You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
697 B
YAML

{{- if .Values.secrets.create -}}
apiVersion: v1
kind: Secret
metadata:
name: {{ include "openclaw.fullname" . }}
labels:
{{- include "openclaw.labels" . | nindent 4 }}
type: Opaque
stringData:
gatewayToken: {{ .Values.secrets.data.gatewayToken | default (randAlphaNum 32) | quote }}
{{- with .Values.secrets.data.anthropicApiKey }}
anthropicApiKey: {{ . | quote }}
{{- end }}
{{- with .Values.secrets.data.openaiApiKey }}
openaiApiKey: {{ . | quote }}
{{- end }}
{{- with .Values.secrets.data.discordBotToken }}
discordBotToken: {{ . | quote }}
{{- end }}
{{- with .Values.secrets.data.telegramBotToken }}
telegramBotToken: {{ . | quote }}
{{- end }}
{{- end }}