File tree Expand file tree Collapse file tree 6 files changed +12
-4
lines changed
Expand file tree Collapse file tree 6 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ type: application
2525# This is the chart version. This version number should be incremented each time you make changes
2626# to the chart and its templates, including the app version.
2727# Versions are expected to follow Semantic Versioning (https://semver.org/)
28- version : 0.4.1
28+ version : 0.4.2
2929# This is the version number of the application being deployed. This version number should be
3030# incremented each time you make changes to the application. Versions are not expected to
3131# follow Semantic Versioning. They should reflect the version the application is using.
Original file line number Diff line number Diff line change 4747 "https://superstream-monitoring.mgmt.memphis-gcp.dev"
4848 ]
4949 [outputs.influxdb_v2.http_headers]
50- Authorization = {{ .Values.global.activationToken | quote }}
50+ Authorization = "<< $TOKEN >>"
5151 [[outputs.influxdb_v2]]
5252 bucket = "metrics"
5353 content_encoding = "gzip"
6060 "https://superstream-monitoring.mgmt.memphis-gcp.dev"
6161 ]
6262 [outputs.influxdb_v2.http_headers]
63- Authorization = {{ .Values.global.activationToken | quote }}
63+ Authorization = "<< $TOKEN >>"
6464 [[inputs.syslog]]
6565 server = "udp://:6514"
6666 [inputs.syslog.tags]
Original file line number Diff line number Diff line change @@ -21,6 +21,11 @@ fullnameOverride: telegraf
2121env :
2222- name : HOSTNAME
2323 value : " telegraf-polling-service"
24+ - name : TOKEN
25+ valueFrom :
26+ secretKeyRef :
27+ name : superstream-creds
28+ key : ACTIVATION_TOKEN
2429# An older "volumeMounts" key was previously added which will likely
2530# NOT WORK as you expect. Please use this newer configuration.
2631
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ app.kubernetes.io/instance: {{ .Release.Name }}
5555{{- end }}
5656
5757{{- define " superstream.secret" -}}
58+ {{- if not .Values.superstreamEngine.secret.useExisting -}}
5859{{- $secret := lookup " v1" " Secret" .Release.Namespace .Values.superstreamEngine.secret.name -}}
5960{{- if $secret -}}
6061{{ toYaml $secret .data }}
@@ -63,6 +64,7 @@ ENCRYPTION_SECRET_KEY: {{ randAlphaNum 32 | b64enc | quote }}
6364ACTIVATION_TOKEN: {{ .Values.global.activationToken | toString | b64enc | quote }}
6465{{- end -}}
6566{{- end -}}
67+ {{- end -}}
6668
6769{{/*
6870Create the name of the service account to use
Original file line number Diff line number Diff line change 1- {{- if not .Values.superstreamEngine.secret.existingSecret -}}
1+ {{- if not .Values.superstreamEngine.secret.useExisting -}}
22apiVersion : v1
33kind : Secret
44metadata :
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ superstreamEngine:
6262 name : superstream-creds
6363 encryptionSecretKey : " "
6464 activationToken : " "
65+ useExisting : false
6566 podAnnotations :
6667 prometheus.io/path : " /monitoring/metrics"
6768 prometheus.io/scrape : ' true'
You can’t perform that action at this time.
0 commit comments