-
Notifications
You must be signed in to change notification settings - Fork 5
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
OPSEXP-3005 Add registry secret login for setup-kind action #877
base: master
Are you sure you want to change the base?
Conversation
…ch for setup-kind action
import-docker-registry-secret: | ||
description: | | ||
Whether to create a secret for the docker registry. It will create a secret from file $HOME/.docker/config.json. | ||
You have to login to the registry when enabling this option. | ||
default: "false" |
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.
import-docker-registry-secret: | |
description: | | |
Whether to create a secret for the docker registry. It will create a secret from file $HOME/.docker/config.json. | |
You have to login to the registry when enabling this option. | |
default: "false" | |
import-docker-credentials-secret-name: | |
description: | | |
Whether to create a secret using the given name using file $HOME/.docker/config.json. | |
You have to login to one or more registries before using this option. |
if: inputs.import-docker-registry-secret == 'true' | ||
run: | | ||
kubectl create secret generic regcred \ |
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.
if: inputs.import-docker-registry-secret == 'true' | |
run: | | |
kubectl create secret generic regcred \ | |
if: inputs.import-docker-registry-secret != '' | |
run: | | |
kubectl create secret generic ${{ inputs.import-docker-credentials-secret-name }} \ |
@@ -1600,6 +1600,9 @@ Spin up a local kubernetes cluster with nginx ingress exposing http/https ports. | |||
# ingress-nginx-ref: controller-v1.8.2 | |||
# Enable deploying Metrics server with KinD | |||
# metrics: true | |||
# Whether to create a secret for the docker registry. It will create a secret from file $HOME/.docker/config.json. | |||
# You have to login to the registry when enabling this option (defaults to false) | |||
# import-docker-registry-secret: "true" |
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.
looks a bit unreadable, maybe try to simplify every documented input
Checklist
OPSEXP-3005 Update setup-kind acs-deployment#1279
Description