File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
charts/shield/templates/host Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
- { {- define " host.existing_rapid_response_secret " } }
1
+ { {- define " host.rapid_response_existing_secret " } }
2
2
{ {- if and (hasKey .Values.features.respond.rapid_response " existing_secret" ) (not (empty .Values.features.respond.rapid_response.existing_secret)) } }
3
3
{ {- .Values.features.respond.rapid_response.existing_secret } }
4
4
{ {- end } }
5
5
{ {- end } }
6
6
7
7
{ {- 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 " .) } }
10
10
{ {- else } }
11
11
{ {- printf " %s-host-rapid-response" (include " shield.fullname" . | trunc 43 | trimSuffix " -" ) } }
12
12
{ {- end } }
Original file line number Diff line number Diff line change 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 " .)) }}
2
2
---
3
3
apiVersion : v1
4
4
kind : Secret
You can’t perform that action at this time.
0 commit comments