From d5dfe340606ebccbc57c7431e6c834c61517aa43 Mon Sep 17 00:00:00 2001 From: Krishanx92 Date: Thu, 14 Dec 2023 12:18:19 +0530 Subject: [PATCH] Fix helm issue --- .../management-server-deployment.yaml | 42 ------------------- 1 file changed, 42 deletions(-) diff --git a/helm-charts/templates/control-plane/management-server/management-server-deployment.yaml b/helm-charts/templates/control-plane/management-server/management-server-deployment.yaml index 817cf769d..fa0cd09fa 100644 --- a/helm-charts/templates/control-plane/management-server/management-server-deployment.yaml +++ b/helm-charts/templates/control-plane/management-server/management-server-deployment.yaml @@ -70,27 +70,6 @@ spec: {{ else }} subPath: tls.crt {{ end }} - - name: backoffice-ds-tls-volume - mountPath: /home/wso2/security/truststore/backoffice.pem - {{- if and .Values.wso2.apk.cp.backoffice.configs .Values.wso2.apk.cp.backoffice.configs.tls }} - subPath: {{ .Values.wso2.apk.cp.backoffice.configs.tls.certFilename | default "tls.crt" }} - {{- else }} - subPath: tls.crt - {{- end }} - - name: devportal-ds-tls-volume - mountPath: /home/wso2/security/truststore/devportal.pem - {{- if and .Values.wso2.apk.cp.devportal.configs .Values.wso2.apk.cp.devportal.configs.tls }} - subPath: {{ .Values.wso2.apk.cp.devportal.configs.tls.certFilename | default "tls.crt" }} - {{- else }} - subPath: tls.crt - {{- end }} - - name: admin-ds-tls-volume - mountPath: /home/wso2/security/truststore/admin.pem - {{- if and .Values.wso2.apk.cp.admin.configs .Values.wso2.apk.cp.admin.configs.tls }} - subPath: {{ .Values.wso2.apk.cp.admin.configs.tls.certFilename | default "tls.crt" }} - {{- else }} - subPath: tls.crt - {{- end }} - name: management-server-config-toml-volume mountPath: /home/wso2/conf/ readinessProbe: @@ -128,26 +107,5 @@ spec: - name: management-server-config-toml-volume configMap: name: {{ template "apk-helm.resource.prefix" . }}-management-server-config-toml - - name: backoffice-ds-tls-volume - secret: - {{ if and .Values.wso2.apk.cp.backoffice.configs .Values.wso2.apk.cp.backoffice.configs.tls }} - secretName: {{ .Values.wso2.apk.cp.backoffice.configs.tls.secretName | default (printf "%s-backoffice-ds-server-cert" (include "apk-helm.resource.prefix" .)) }} - {{ else }} - secretName: {{ template "apk-helm.resource.prefix" . }}-backoffice-ds-server-cert - {{ end }} - - name: devportal-ds-tls-volume - secret: - {{ if and .Values.wso2.apk.cp.devportal.configs .Values.wso2.apk.cp.devportal.configs.tls }} - secretName: {{ .Values.wso2.apk.cp.devportal.configs.tls.secretName | default (printf "%s-devportal-ds-server-cert" (include "apk-helm.resource.prefix" .)) }} - {{ else }} - secretName: {{ template "apk-helm.resource.prefix" . }}-devportal-ds-server-cert - {{ end }} - - name: admin-ds-tls-volume - secret: - {{ if and .Values.wso2.apk.cp.admin.configs .Values.wso2.apk.cp.admin.configs.tls }} - secretName: {{ .Values.wso2.apk.cp.admin.configs.tls.secretName | default (printf "%s-admin-ds-server-cert" (include "apk-helm.resource.prefix" .)) }} - {{ else }} - secretName: {{ template "apk-helm.resource.prefix" . }}-admin-ds-server-cert - {{ end }} {{- end -}}