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 back image_pull_secret field for backwards compatibility #870

Merged
merged 1 commit into from
Apr 14, 2022

Conversation

rooftopcellist
Copy link
Member

#860 introduced a new field (image_pull_secrets) which allows users to specify multiple pull secrets if needed for app and database container images. The old field on the CRD (image_pull_secret) was removed at that time.

This patch adds that back for backwards compatibility. Without this change, users who specify it the old way will be met with a validator error when applying the AWX CR.

The new syntax that should be used is:

---
apiVersion: awx.ansible.com/v1beta1
kind: AWX
metadata:
  name: awx
spec:
  image_pull_secrets:
    - pull-secret

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

Successfully merging this pull request may close these issues.

2 participants