yt-stats/charts/yt-stats-chart/templates/secrets.yaml

10 lines
295 B
YAML

---
apiVersion: v1
kind: Secret
metadata:
name: {{ include "yt-stats-chart.fullname" . }}-secrets
type: Opaque
data:
YOUTUBE_API_KEY: "{{ .Values.youtubeStatsSettings.apiKey | default "" | b64enc }}"
YOUTUBE_CHANNEL_ID: "{{ .Values.youtubeStatsSettings.channelId | default "" | b64enc }}"