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

add a prefix for the name of a logical backup job #1287

Merged
merged 3 commits into from
Jan 7, 2021

Conversation

sdudoladov
Copy link
Member

@sdudoladov sdudoladov commented Jan 5, 2021

Operator currently prepends the logical-backup- prefix to the name of a CronJob doing the backup.
The prefix proved to be too long as it counts towards the name length limit imposed by k8s.
This patch makes the prefix configurable.

Automatic job renaming after prefix change is out of scope. Operator will automatically create a new job with the updated prefix. The old job will stay around and has to be deleted manually. Logical backup jobs for $CLUSTERNAME are visible with

kubectl get cronjobs -l application=spilo,cluster-name=$CLUSTERNAME

Operator currently does not assign any specific labels to the jobs.

@zalando-robot
Copy link

Docker image "registry-write.opensource.zalan.do/acid/postgres-operator-ui-test:v1.6.0-5-g7e4170a-pr-1287-2" is not based on an approved base image. Currently, this will have no impact on your deployments, but builds using non-allowed images will be blocked from deployment from February 1st 2021.

To create a compliant Docker image of your application, you must reference an allowed Docker image as its base image in your Dockerfile. This base image must come from the Open Source Registry namespace library and use a recommended version as listed in the documentation.

@Jan-M
Copy link
Member

Jan-M commented Jan 7, 2021

👍

1 similar comment
@sdudoladov
Copy link
Member Author

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants