Skip to content

Commit da73815

Browse files
chore: rename existing_rapid_response_secret to rapid_response_existing_secret
1 parent 3dfe060 commit da73815

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

charts/shield/templates/host/_secrets.tpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
{{- define "host.existing_rapid_response_secret" }}
1+
{{- define "host.rapid_response_existing_secret" }}
22
{{- if and (hasKey .Values.features.respond.rapid_response "existing_secret") (not (empty .Values.features.respond.rapid_response.existing_secret)) }}
33
{{- .Values.features.respond.rapid_response.existing_secret }}
44
{{- end }}
55
{{- end }}
66

77
{{- define "host.rapid_response_secret" }}
8-
{{- if (include "host.existing_rapid_response_secret" .) }}
9-
{{- (include "host.existing_rapid_response_secret" .) }}
8+
{{- if (include "host.rapid_response_existing_secret" .) }}
9+
{{- (include "host.rapid_response_existing_secret" .) }}
1010
{{- else }}
1111
{{- printf "%s-host-rapid-response" (include "shield.fullname" . | trunc 43 | trimSuffix "-") }}
1212
{{- end }}

charts/shield/templates/host/secrets.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if and (include "host.rapid_response_enabled" .) (not (include "host.existing_rapid_response_secret" .)) }}
1+
{{- if and (include "host.rapid_response_enabled" .) (not (include "host.rapid_response_existing_secret" .)) }}
22
---
33
apiVersion: v1
44
kind: Secret

0 commit comments

Comments
 (0)