Andy Bavier | 1d72fff | 2022-06-09 15:35:16 -0700 | [diff] [blame^] | 1 | # Copyright 2022-present Open Networking Foundation |
2 | # SPDX-License-Identifier: Apache-2.0 | ||||
3 | |||||
4 | {{- if not .Values.useExistingSecret }} | ||||
5 | apiVersion: v1 | ||||
6 | kind: Secret | ||||
7 | metadata: | ||||
8 | name: {{ .Values.secretName }} | ||||
9 | labels: | ||||
10 | {{- include "edge-maintenance-agent.labels" . | nindent 4 }} | ||||
11 | type: kubernetes.io/basic-auth | ||||
12 | stringData: | ||||
13 | username: {{ .Values.basicAuthUsername }} | ||||
14 | password: {{ .Values.basicAuthPassword }} | ||||
15 | {{- end }} |