From b35201328aa128af558319385837bebb1ff94cdb Mon Sep 17 00:00:00 2001 From: Angelo Bradley <92221369+AngeloB-AIS@users.noreply.github.com> Date: Fri, 27 Sep 2024 16:29:31 -0400 Subject: [PATCH] Feature remove acme challenge resources (#44) * updated configmap name in all files * feature: updated postgres name * feature: updated server name, debugged changes * feature: updated ui name and debugged * feature: fixed worker name * feature: fixed temporal naming * feature: removed unnecessary acme challenge resources * revert namespace back to just multiwoven * change env name from suffix to prefix: configmap * change env name from suffix to prefix: ingress * change env name from suffix to prefix: postgresql deployment/service * change env name from suffix to prefix: postgresql pvc * change env name from suffix to prefix: server * change env name from suffix to prefix: ui * change env name from suffix to prefix: worker * change env name from suffix to prefix: temporal * change env name from suffix to prefix: temporal in ingress template * feature: parameterized temporalHost and postgresql default values * fix: added app env to workflow deployment names * fix: remove appEnv prefix changes * fix: remove appEnv from values file * fix: remove appEnv from values file * fix: remove double quotes from values file --- .../templates/acme-challenge-deployment.yaml | 39 ------------------- .../templates/acme-challenge-service.yaml | 12 ------ .../templates/multiwoven-ingress.yaml | 14 ------- 3 files changed, 65 deletions(-) delete mode 100644 charts/multiwoven/templates/acme-challenge-deployment.yaml delete mode 100644 charts/multiwoven/templates/acme-challenge-service.yaml diff --git a/charts/multiwoven/templates/acme-challenge-deployment.yaml b/charts/multiwoven/templates/acme-challenge-deployment.yaml deleted file mode 100644 index b4e6230..0000000 --- a/charts/multiwoven/templates/acme-challenge-deployment.yaml +++ /dev/null @@ -1,39 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: {{ include "chart.fullname" . }}-acme-challenge - namespace: {{ .Values.kubernetesNamespace }} -spec: - replicas: {{ .Values.acmeChallenge.acmeChallenge.replicas }} - selector: - matchLabels: - app: {{ include "chart.fullname" . }}-acme-challenge - template: - metadata: - labels: - app: {{ include "chart.fullname" . }}-acme-challenge - spec: - containers: - - name: {{ include "chart.fullname" . }}-acme-challenge - image: {{ .Values.acmeChallenge.acmeChallenge.image.repository }}:{{ .Values.acmeChallenge.acmeChallenge.image.tag | default .Chart.AppVersion }} - ports: - - containerPort: {{ (index .Values.acmeChallenge.ports 0).port }} - volumeMounts: - - name: acme-challenge - mountPath: /usr/share/nginx/html/.well-known/acme-challenge - livenessProbe: - httpGet: - path: / - port: {{ (index .Values.acmeChallenge.ports 0).port }} - initialDelaySeconds: 15 - periodSeconds: 10 - readinessProbe: - httpGet: - path: / - port: {{ (index .Values.acmeChallenge.ports 0).port }} - initialDelaySeconds: 5 - periodSeconds: 10 - resources: {{- toYaml .Values.acmeChallenge.acmeChallenge.resources | nindent 10 }} - volumes: - - name: acme-challenge - emptyDir: {} diff --git a/charts/multiwoven/templates/acme-challenge-service.yaml b/charts/multiwoven/templates/acme-challenge-service.yaml deleted file mode 100644 index f2f9841..0000000 --- a/charts/multiwoven/templates/acme-challenge-service.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: {{ include "chart.fullname" . }}-acme-challenge-service - namespace: {{ .Values.kubernetesNamespace }} -spec: - selector: - app: {{ include "chart.fullname" . }}-acme-challenge - ports: - - protocol: TCP - port: {{ (index .Values.acmeChallenge.ports 0).port }} - targetPort: {{ (index .Values.acmeChallenge.ports 0).port }} diff --git a/charts/multiwoven/templates/multiwoven-ingress.yaml b/charts/multiwoven/templates/multiwoven-ingress.yaml index 5888b60..dd89f92 100644 --- a/charts/multiwoven/templates/multiwoven-ingress.yaml +++ b/charts/multiwoven/templates/multiwoven-ingress.yaml @@ -28,13 +28,6 @@ spec: - host: {{ .Values.multiwovenConfig.uiHost }} http: paths: - - path: /.well-known/acme-challenge/ - pathType: Prefix - backend: - service: - name: '{{ include "chart.fullname" . }}-acme-challenge-service' - port: - number: {{ (index .Values.acmeChallenge.ports 0).port }} - path: /(.*) pathType: Prefix backend: @@ -45,13 +38,6 @@ spec: - host: {{ .Values.multiwovenConfig.apiHost }} http: paths: - - path: /.well-known/acme-challenge/ - pathType: Prefix - backend: - service: - name: '{{ include "chart.fullname" . }}-acme-challenge-service' - port: - number: {{ (index .Values.acmeChallenge.ports 0).port }} - path: /(.*) pathType: Prefix backend: