diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml index d579cd6..ed0bd2d 100644 --- a/k8s/deployment.yaml +++ b/k8s/deployment.yaml @@ -33,7 +33,7 @@ spec: valueFrom: secretKeyRef: name: redis-creds - key: uri + key: database-uri resources: limits: cpu: "0.25" diff --git a/k8s/secret.yaml b/k8s/secret.yaml index 91cbd64..c83b086 100644 --- a/k8s/secret.yaml +++ b/k8s/secret.yaml @@ -1,6 +1,6 @@ # These can also be created from the command line using environment variables # -# kubectl create secret generic redis-creds --from-literal=uri=$DATABASE_URI +# kubectl create secret generic redis-creds --from-literal=database-uri=$DATABASE_URI # --- apiVersion: v1 @@ -8,4 +8,4 @@ kind: Secret metadata: name: redis-creds data: - uri: cmVkaXM6Ly86QHJlZGlzOjYzNzkvMA== + database-uri: cmVkaXM6Ly86QHJlZGlzOjYzNzkvMA==