generated from AMRC-FactoryPlus/acs-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This should make debugging drivers easier.
- Loading branch information
1 parent
31d2c15
commit c56b8bc
Showing
4 changed files
with
45 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
edge-helm-charts/charts/edge-agent/templates/local-secrets.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{{- $k8sname := include "edge-agent.k8sname" . }} | ||
{{ range $name, $image := .Values.drivers }} | ||
--- | ||
apiVersion: factoryplus.app.amrc.co.uk/v1 | ||
kind: LocalSecret | ||
metadata: | ||
namespace: {{ $.Release.Namespace }} | ||
name: "driver-passwords.{{ $k8sname }}.{{ $name | lower }}" | ||
spec: | ||
format: Password | ||
secret: "driver-passwords.{{ $k8sname }}" | ||
key: "{{ $name }}" | ||
{{- end }} | ||
{{- if .Values.driverDebugUser }} | ||
--- | ||
apiVersion: factoryplus.app.amrc.co.uk/v1 | ||
kind: LocalSecret | ||
metadata: | ||
namespace: {{ $.Release.Namespace }} | ||
name: "driver-passwords.{{ $k8sname }}.{{ .Values.driverDebugUser | lower }}" | ||
spec: | ||
format: Password | ||
secret: "driver-passwords.{{ $k8sname }}" | ||
key: "{{ .Values.driverDebugUser }}" | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters