From db997a6cb0479a538a91e8fe993a6be8386979eb Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Wed, 25 Sep 2024 08:59:08 -0500 Subject: [PATCH] fix secret name --- .gitignore | 1 + justfile | 2 +- temperature-cronjob/templates/openweathermap-api-key.yaml | 6 +++--- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 621f648..7c05ee7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ sqlite-data private/* +.env diff --git a/justfile b/justfile index 7134493..ba23d71 100644 --- a/justfile +++ b/justfile @@ -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: diff --git a/temperature-cronjob/templates/openweathermap-api-key.yaml b/temperature-cronjob/templates/openweathermap-api-key.yaml index 2793cb9..ff23ac3 100644 --- a/temperature-cronjob/templates/openweathermap-api-key.yaml +++ b/temperature-cronjob/templates/openweathermap-api-key.yaml @@ -3,13 +3,13 @@ apiVersion: bitnami.com/v1alpha1 kind: SealedSecret metadata: creationTimestamp: null - name: mysecret + name: openweathermap-api-key namespace: default spec: encryptedData: - openweathermap-api-key: AgCFICyiqMaxx5vf4D06GuuB/xoC8SJJ43KD5+ipsF7stwzDN7BWQexnPAgPvCMiRq+w+oRRbR/IBIYPk4Ng3kdTwYjkCf1rUFogaHdACs9dS1mhaW9ipwd2rO7ImJVVJUZgkAmEv/F6JBz+cR4w6RUsU8OcDBLqPMehe8JG/YrXP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LNoknU+fyGqsQnksXQSFlfwJZTOKFIcXwQ+exAkja8KpBYzehJulvU8A1UZZ0ylqniLTgxEMpOJ7Vu1MsBuBddZn4qHModbM1dCRC6GJEVQAaFYrZWonb9nhqLX9xei2LE2j/amaw6D7oZQ0b0+4cMsGC/mtRMgWMC5VorQH8qRPXtSitztOQv1mejvnpJWv0mUvmWiNsynaALMbA89OorMNPc5xn5HogTpygp69lb03n7UGwBBIvkQHGD336Uwh07L4iZ5lOe4sA== template: metadata: creationTimestamp: null - name: mysecret + name: openweathermap-api-key namespace: default