Skip to content

Conversation

@coro
Copy link
Contributor

@coro coro commented Jan 6, 2022

Summary Of Changes

This change allows for the operator to set a configurable list of imagePullSecrets
as the default to use on all Pods created in RabbitmqClusters. If a RabbitmqClusterSpec
does not specify imagePullSecrets, the operator will use the value of the environment variable
DEFAULT_IMAGE_PULL_SECRETS if set to update the RabbitmqClusterSpec.

This closes #870

Note to reviewers: remember to look at the commits in this PR and consider if they can be squashed

Additional Context

This is a follow-on PR from #858

Local Testing

Please ensure you run the unit, integration and system tests before approving the PR.

To run the unit and integration tests:

$ make unit-tests integration-tests

You will need to target a k8s cluster and have the operator deployed for running the system tests.

For example, for a Kubernetes context named dev-bunny:

$ kubectx dev-bunny
$ make destroy deploy-dev
# wait for operator to be deployed
$ make system-tests

This change allows for the operator to set a configurable list of imagePullSecrets
as the default to use on all Pods created in RabbitmqClusters. If a RabbitmqClusterSpec
does not specify imagePullSecrets, the operator will use the value of the environment variable
`DEFAULT_IMAGE_PULL_SECRETS` if set to update the RabbitmqClusterSpec.

This closes #870
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.

Provide a way to configure the default image pull secrets based on env. variables.

4 participants