Skip to content

Commit

Permalink
Fix the deployment template for spiceDB - job patch (#282)
Browse files Browse the repository at this point in the history
- Migrate container is created as a part of a job and not deployment,
move the migrate container changes to kind: Job under patch
  • Loading branch information
Rajagopalan-Ranganathan authored Nov 20, 2024
1 parent 6459390 commit c5df774
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions deploy/kessel-relations-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,21 @@ objects:
datastoreEngine: postgres
secretName: spicedb-config
patches:
- kind: Job
patch:
spec:
template:
spec:
containers:
- name: migrate
volumeMounts:
- mountPath: /etc/tls/rds.pem
name: rds-tls
subPath: db.ca_cert
volumes:
- name: rds-tls
secret:
secretName: kessel-relations-spicedb
- kind: Deployment
patch:
spec:
Expand Down

0 comments on commit c5df774

Please sign in to comment.