Skip to content

Commit

Permalink
fix: add secrets-config secret for local dev. close #175
Browse files Browse the repository at this point in the history
  • Loading branch information
rochecompaan committed Feb 21, 2024
2 parents 79ed57b + e76fb96 commit cef62cc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions {{cookiecutter.project_slug}}/k8s/local/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ bases:
- ../base
resources:
- ./postgres.yaml
- ./secrets.yaml
11 changes: 11 additions & 0 deletions {{cookiecutter.project_slug}}/k8s/local/secrets.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
apiVersion: v1
stringData:
POSTGRES_PASSWORD: {{ cookiecutter.project_slug }}
POSTGRES_HOST: postgres
POSTGRES_USER: {{ cookiecutter.project_slug }}
DATABASE_URL: postgresql://{{ cookiecutter.project_slug }}:{{ cookiecutter.project_slug }}@postgres/{{ cookiecutter.project_slug }}
DJANGO_SECRET_KEY: local
kind: Secret
metadata:
name: secrets-config
type: Opaque

0 comments on commit cef62cc

Please sign in to comment.