diff --git a/helm/nextcloud-neon/.gitignore b/helm/nextcloud-neon/.gitignore deleted file mode 100644 index 7f47975f..00000000 --- a/helm/nextcloud-neon/.gitignore +++ /dev/null @@ -1 +0,0 @@ -values.yaml diff --git a/helm/nextcloud-neon/Chart.yaml b/helm/nextcloud-neon/Chart.yaml deleted file mode 100644 index 76979767..00000000 --- a/helm/nextcloud-neon/Chart.yaml +++ /dev/null @@ -1,4 +0,0 @@ -apiVersion: "v1" -name: nextcloud-neon -version: 1.0.0 -description: nextcloud-neon diff --git a/helm/nextcloud-neon/templates/common-proxies.yaml b/helm/nextcloud-neon/templates/common-proxies.yaml deleted file mode 100644 index a8584752..00000000 --- a/helm/nextcloud-neon/templates/common-proxies.yaml +++ /dev/null @@ -1,73 +0,0 @@ ---- -kind: Deployment -apiVersion: apps/v1 -metadata: - name: common-proxies -spec: - selector: - matchLabels: - app: common-proxies - template: - metadata: - labels: - app: common-proxies - spec: - containers: - - name: common-proxies - image: "{{ .Values.common_proxies.image.repository }}:{{ .Values.common_proxies.image.tag }}" - imagePullPolicy: {{ .Values.common_proxies.image.pullPolicy }} - env: -{{ toYaml .Values.common_proxies.environment | indent 12 }} - ports: - - name: http - containerPort: 5000 - readinessProbe: - httpGet: - port: http - path: /health - livenessProbe: - httpGet: - port: http - path: /health - ---- -kind: Service -apiVersion: v1 -metadata: - name: common-proxies -spec: - type: {{ .Values.common_proxies.service.type }} - ports: - - port: {{ .Values.common_proxies.service.port }} - targetPort: http - selector: - app: common-proxies - ---- -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: common-proxies -{{ if .Values.common_proxies.ingress.annotations }} - annotations: -{{ toYaml .Values.common_proxies.ingress.annotations | indent 4 }} -{{ end }} -spec: - {{ if .Values.common_proxies.ingress.className }} - ingressClassName: {{ .Values.common_proxies.ingress.className }} - {{ end }} - rules: - - host: {{ .Values.common_proxies.ingress.host }} - http: - paths: - - path: {{ .Values.common_proxies.ingress.path }} - pathType: {{ .Values.common_proxies.ingress.pathType }} - backend: - service: - name: common-proxies - port: - number: {{ .Values.common_proxies.service.port }} -{{ if .Values.common_proxies.ingress.tls }} - tls: -{{ toYaml .Values.common_proxies.ingress.tls | indent 4 }} -{{ end }} diff --git a/helm/nextcloud-neon/templates/push-proxy.yaml b/helm/nextcloud-neon/templates/push-proxy.yaml deleted file mode 100644 index 8c48aa9a..00000000 --- a/helm/nextcloud-neon/templates/push-proxy.yaml +++ /dev/null @@ -1,91 +0,0 @@ ---- -kind: Deployment -apiVersion: apps/v1 -metadata: - name: push-proxy -spec: - selector: - matchLabels: - app: push-proxy - template: - metadata: - labels: - app: push-proxy - spec: - containers: - - name: push-proxy - image: "{{ .Values.imageNextcloudPushProxy }}" - imagePullPolicy: IfNotPresent - ports: - - name: http - containerPort: 8080 - readinessProbe: - httpGet: - port: http - path: /health - livenessProbe: - httpGet: - port: http - path: /health - volumeMounts: - - mountPath: /data - name: push-proxy - volumes: - - name: push-proxy - persistentVolumeClaim: - claimName: push-proxy - ---- -kind: Service -apiVersion: v1 -metadata: - name: push-proxy -spec: - type: {{ .Values.push_proxy.service.type }} - ports: - - port: {{ .Values.push_proxy.service.port }} - targetPort: http - selector: - app: push-proxy - ---- -apiVersion: networking.k8s.io/v1 -kind: Ingress -metadata: - name: push-proxy -{{ if .Values.push_proxy.ingress.annotations }} - annotations: -{{ toYaml .Values.push_proxy.ingress.annotations | indent 4 }} -{{ end }} -spec: - {{ if .Values.push_proxy.ingress.className }} - ingressClassName: {{ .Values.push_proxy.ingress.className }} - {{ end }} - rules: - - host: {{ .Values.push_proxy.ingress.host }} - http: - paths: - - path: {{ .Values.push_proxy.ingress.path }} - pathType: {{ .Values.push_proxy.ingress.pathType }} - backend: - service: - name: push-proxy - port: - number: {{ .Values.push_proxy.service.port }} -{{ if .Values.push_proxy.ingress.tls }} - tls: -{{ toYaml .Values.push_proxy.ingress.tls | indent 4 }} -{{ end }} - - ---- -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: push-proxy -spec: - resources: - requests: - storage: 1Gi - accessModes: - - ReadWriteOnce diff --git a/skaffold.yaml b/skaffold.yaml deleted file mode 100644 index 1bfbd3f7..00000000 --- a/skaffold.yaml +++ /dev/null @@ -1,23 +0,0 @@ -kind: Config -apiVersion: skaffold/v2beta27 -build: - artifacts: - - image: provokateurin/nextcloud-push-proxy - context: packages/nextcloud_push_proxy - local: - useBuildkit: true - concurrency: 0 - push: true - tagPolicy: - sha256: {} -deploy: - helm: - releases: - - name: nextcloud-neon - chartPath: helm/nextcloud-neon - namespace: nextcloud-neon - valuesFiles: - - helm/nextcloud-neon/values.yaml - artifactOverrides: - imageNextcloudPushProxy: provokateurin/nextcloud-push-proxy - statusCheckDeadlineSeconds: 300