Skip to content

Commit bee143c

Browse files
committed
Update backend auth default secret
Signed-off-by: Roey <[email protected]>
1 parent 8202149 commit bee143c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

charts/konnector/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: konnector
33
description: Deploys Palo Alto Networks' Cortex KSPM connector for advanced Kubernetes security posture management.
44
type: application
5-
version: 1.0.23
5+
version: 1.0.24
66
appVersion: "1.0.0"
77
maintainers:
88
- name: Palo Alto Networks - Cortex KSPM team

charts/konnector/templates/_helpers.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,12 @@ Return a base64 value for a Secret key:
121121
- If an existing Secret is present: reuse existing.data[key] (already base64).
122122
If that key is missing, fall back to base64 of "" (or change to seed if you prefer).
123123
- If no existing Secret: use base64 of the provided seed.
124-
Usage: {{ include "secret.valueOrExistingB64" (dict "existing" $existing "key" "token" "seed" "--set-by-konnnector-at-runtime--") }}
124+
Usage: {{ include "secret.valueOrExistingB64" (dict "existing" $existing "key" "token" "seed" "") }}
125125
*/}}
126126
{{- define "secret.valueOrExistingB64" -}}
127127
{{- $existing := .existing -}}
128128
{{- $key := .key -}}
129-
{{- $seed := .seed | default "--set-by-konnnector-at-runtime--" -}}
129+
{{- $seed := .seed | default "" -}}
130130
{{- if $existing -}}
131131
{{- index $existing.data $key | default (b64enc "") | quote -}}
132132
{{- else -}}

charts/konnector/templates/secret.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ metadata:
1111
type: Opaque
1212
data:
1313
{{- range $k := list "token" "refreshToken" "sosToken" "chapi" }}
14-
{{ $k }}: {{ include "secret.valueOrExistingB64" (dict "existing" $existing "key" $k "seed" "--set-by-konnnector-at-runtime--") }}
14+
{{ $k }}: {{ include "secret.valueOrExistingB64" (dict "existing" $existing "key" $k "seed" "") }}
1515
{{- end }}
1616
---
1717
apiVersion: v1

0 commit comments

Comments
 (0)