fix secret name

This commit is contained in:
Waylon S. Walker 2024-09-25 08:59:08 -05:00
parent 3822da0457
commit db997a6cb0
3 changed files with 5 additions and 4 deletions

View file

@ -20,7 +20,7 @@ sealed-secretes-backup:
kubectl get secret -n kube-system -l sealedsecrets.bitnami.com/sealed-secrets-key -o yaml > private/sealed-secrets-key.yaml
seal-openweathermap-api-key:
kubectl create secret generic mysecret --from-literal=openweathermap-api-key=${OPENWEATHERMAP_API_KEY} --dry-run=client -o yaml > private/openweathermap-api-key.yaml
kubectl create secret generic openweathermap-api-key --from-literal=openweathermap-api-key=${OPENWEATHERMAP_API_KEY} --dry-run=client -o yaml > private/openweathermap-api-key.yaml
kubeseal --format=yaml < private/openweathermap-api-key.yaml > temperature-cronjob/templates/openweathermap-api-key.yaml
argo-install: