Skip to content

Commit

Permalink
Renamed secret uri to database-uri
Browse files Browse the repository at this point in the history
  • Loading branch information
rofrano committed Jul 7, 2024
1 parent 78ce5fb commit 78fa1c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion k8s/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
valueFrom:
secretKeyRef:
name: redis-creds
key: uri
key: database-uri
resources:
limits:
cpu: "0.25"
Expand Down
4 changes: 2 additions & 2 deletions k8s/secret.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# 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
kind: Secret
metadata:
name: redis-creds
data:
uri: cmVkaXM6Ly86QHJlZGlzOjYzNzkvMA==
database-uri: cmVkaXM6Ly86QHJlZGlzOjYzNzkvMA==

0 comments on commit 78fa1c7

Please sign in to comment.