Commit 534a9a7 1 parent 98ee8ea commit 534a9a7 Copy full SHA for 534a9a7
File tree 5 files changed +17
-3
lines changed
helm-charts/falcon-integration-gateway
5 files changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,9 @@ data:
110
110
111
111
# Uncomment to provide Secrets Manager secret name. Alternatively, use SECRETS_MANAGER_SECRET_NAME env variable.
112
112
#secrets_manager_secret_name = falcon/fig/credentials
113
+ {{- if .Values.credentials_store.secrets_manager.secret_name }}
114
+ secrets_manager_secret_name = {{ .Values.credentials_store.secrets_manager.secret_name }}
115
+ {{- end }}
113
116
114
117
# Uncomment to provide Secrets Manager client id key. Alternatively, use SECRETS_MANAGER_CLIENT_ID_KEY env variable.
115
118
#secrets_manager_client_id_key = client_id
Original file line number Diff line number Diff line change 42
42
subPath : config.ini
43
43
envFrom :
44
44
- secretRef :
45
+ {{- if .Values.falcon.existingSecret }}
46
+ name : {{ .Values.falcon.existingSecret }}
47
+ {{- else }}
45
48
name : {{ include "falcon-integration-gateway.fullname" . }}-creds
49
+ {{- end }}
46
50
resources :
47
51
{{- toYaml .Values.resources | nindent 12 }}
48
52
command :
Original file line number Diff line number Diff line change
1
+ {{- if not .Values.falcon.existingSecret -}}
1
2
apiVersion : v1
2
3
kind : Secret
3
4
type : Opaque
10
11
FALCON_CLIENT_ID : {{ .Values.falcon.client_id | b64enc }}
11
12
FALCON_CLIENT_SECRET : {{ .Values.falcon.client_secret | b64enc }}
12
13
FALCON_CLOUD_REGION : {{ .Values.falcon.cloud_region | b64enc }}
13
- {{- if .Values.credentials_store.secrets_manager.secret_name }}
14
- SECRETS_MANAGER_SECRET_NAME : {{ .Values.credentials_store.secrets_manager.secret_name | b64enc }}
15
- {{- end }}
16
14
{{- if .Values.push.azure_log_analytics.enabled }}
17
15
WORKSPACE_ID : {{ .Values.push.azure_log_analytics.workspace_id | b64enc }}
18
16
PRIMARY_KEY : {{ .Values.push.azure_log_analytics.primary_key | b64enc }}
26
24
{{- if .Values.push.vmware_workspace_one.enabled }}
27
25
WORKSPACEONE_TOKEN : {{ .Values.push.vmware_workspace_one.token | b64enc }}
28
26
{{- end }}
27
+ {{- end }}
Original file line number Diff line number Diff line change 42
42
" us-gov-1"
43
43
]
44
44
},
45
+ "existingSecret" : {
46
+ "type" : " string"
47
+ },
45
48
"integration_gateway" : {
46
49
"type" : " object" ,
47
50
"properties" : {
Original file line number Diff line number Diff line change @@ -67,6 +67,11 @@ falcon:
67
67
client_secret :
68
68
cloud_region :
69
69
70
+ # Use this value if you have an existing secret
71
+ # defined in your k8s that may contain secrets
72
+ # for falcon api client id and pw
73
+ existingSecret : " "
74
+
70
75
integration_gateway :
71
76
# Configure number of threads that process Falcon Events
72
77
worker_threads : 4
You can’t perform that action at this time.
0 commit comments