File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
22name : konnector
33description : Deploys Palo Alto Networks' Cortex KSPM connector for advanced Kubernetes security posture management.
44type : application
5- version : 1.0.23
5+ version : 1.0.24
66appVersion : " 1.0.0"
77maintainers :
88 - name : Palo Alto Networks - Cortex KSPM team
Original file line number Diff line number Diff 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 -} }
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ metadata:
1111type : Opaque
1212data :
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---
1717apiVersion : v1
You can’t perform that action at this time.
0 commit comments