-
Notifications
You must be signed in to change notification settings - Fork 141
[APK] Template secrets for custom secret #1334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -70,13 +70,13 @@ spec: | |
| mountPath: /home/wso2/conf/ | ||
| - name: apk-agent-certificates | ||
| mountPath: /home/wso2/security/keystore/apk-agent.key | ||
| subPath: tls.key | ||
| subPath: {{ .Values.configs.tls.certKeyFilename | default "tls.key" }} | ||
| - name: apk-agent-certificates | ||
| mountPath: /home/wso2/security/keystore/apk-agent.crt | ||
| subPath: tls.crt | ||
| subPath: {{ .Values.configs.tls.certFilename | default "tls.crt" }} | ||
| - name: apk-agent-certificates | ||
| mountPath: /home/wso2/security/truststore/apk-agent-ca.crt | ||
| subPath: ca.crt | ||
| subPath: {{ .Values.configs.tls.certCAFilename | default "ca.crt" }} | ||
| readinessProbe: | ||
| exec: | ||
| command: [ "sh", "check_health.sh" ] | ||
|
|
@@ -106,4 +106,4 @@ spec: | |
| name: {{ .Release.Name }}-log-conf | ||
| - name: apk-agent-certificates | ||
| secret: | ||
| secretName: apk-agent-server-cert | ||
| secretName: {{ .Values.configs.tls.secretName | default "apk-agent-server-cert"}} | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Resolve the secretName inconsistency. The default value
Consider one of these approaches: Option 1: Match the values.yaml default - secretName: {{ .Values.configs.tls.secretName | default "apk-agent-server-cert"}}
+ secretName: {{ .Values.configs.tls.secretName | default "keys-certs"}}Option 2: Keep backward compatibility (and update values.yaml line 61 to match) # In values.yaml, change line 61 to:
secretName: "apk-agent-server-cert"🤖 Prompt for AI Agents |
||
Uh oh!
There was an error while loading. Please reload this page.