Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make PostgreSQL PVC storage requirements immutable #1638

Closed
Closed
Show file tree
Hide file tree
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
7 changes: 7 additions & 0 deletions config/crd/bases/awx.ansible.com_awxs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1680,12 +1680,19 @@ spec:
properties:
storage:
type: string
default: 8Gi
type: object
x-kubernetes-validations:
- rule: "self == oldSelf"
message: "The postgres_storage_requirements.requests field is immutable and cannot be changed once set."
limits:
properties:
storage:
type: string
type: object
x-kubernetes-validations:
- rule: "self == oldSelf"
message: "The postgres_storage_requirements.limits field is immutable and cannot be changed once set."
type: object
postgres_resource_requirements:
description: Resource requirements for the PostgreSQL container
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -583,8 +583,8 @@ spec:
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:advanced
- urn:alm:descriptor:com.tectonic.ui:hidden
- displayName: Postgres Extra Volumes
description: Specify extra volumes to add to the postgres pod
- description: Specify extra volumes to add to the postgres pod
Copy link
Member Author

Choose a reason for hiding this comment

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

I added in this so that make bundle doesn't create diff for it every time.

displayName: Postgres Extra Volumes
path: postgres_extra_volumes
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:advanced
Expand Down
Loading