Skip to content

Commit

Permalink
Fix helm issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Krishanx92 committed Dec 14, 2023
1 parent a24c86e commit d5dfe34
Showing 1 changed file with 0 additions and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 -}}

0 comments on commit d5dfe34

Please sign in to comment.