Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions deploy/kessel-relations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,27 @@ objects:
requests:
cpu: ${SPICEDB_POSTGRES_CPU_REQUEST}
memory: ${SPICEDB_POSTGRES_MEMORY_REQUEST}
volumeMounts:
- name: postgres-data
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue (bug_risk): The indentation of the - name: postgres-data line makes the YAML invalid.

Because - name: postgres-data is aligned with volumes:, it’s not actually in the volumes list and will cause a YAML parse error. Indent it under volumes: (e.g., two spaces further) so it becomes a proper list item.

mountPath: /temp/data
volumes:
- name: postgres-data
persistentVolumeClaim:
claimName: postgres-data
restartPolicy: Always

- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: postgres-data
namespace: ${NAMESPACE}
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi

- apiVersion: v1
kind: Service
metadata:
Expand Down
Loading