-
Notifications
You must be signed in to change notification settings - Fork 707
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
Document how to provide container registry credentials in air-gapped environment #7256
Conversation
@@ -53,6 +66,8 @@ The operator expects container images to be located at specific repositories in | |||
* +my.registry/kibana/kibana:{version}+ | |||
* +my.registry/apm/apm-server:{version}+ | |||
|
|||
You can provide credentials to a custom repo by adding the imagePullSecrets parameter to your configuration as shown here - https://github.com/elastic/cloud-on-k8s/issues/2580#issuecomment-589602837 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We prefer to avoid the indirection to GitHub and simply put the information in the documentation.
You can provide credentials to a custom repo by adding the imagePullSecrets parameter to your configuration as shown here - https://github.com/elastic/cloud-on-k8s/issues/2580#issuecomment-589602837 | |
You can provide credentials to your private container registry by setting the `imagePullSecrets` field through the `spec.podTemplate` section of your Elastic resource specification, check <<{p}-customize-pods,how to customize the Elastic resources Pods>> and link:https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/[how to setup a Secret containing your registry credentials]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Due to lack of activity, I applied the suggestion. I hope it is okay for you.
Adding information on how to use credentials with a custom repo. Added details to initial custom repo example also provided a link later on to another example in Github
8a62257
to
adca8a4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…environment (elastic#7256) Co-authored-by: Thibault Richard <thb.krkr@gmail.com>
Adding information on how to use credentials with a custom repo.
Added details to initial custom repo example.
Also provided a link later on to another example in Github.