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

Episode 3(book): secret need to be removed in order to pull image correctly #43

Closed
nqb opened this issue Sep 30, 2022 · 2 comments
Closed
Labels

Comments

@nqb
Copy link

nqb commented Sep 30, 2022

Hello Jeff,

In book version 0.3, at page 24, we use following command:

kubectl set image deployment/hello-go kube101-go=geerlingguy/kube101:hello-go

in order to switch from a private image to a public image.

However, before doing this, we added a secret to the deployment.

It looks like until:

imagePullSecrets:
- name: regcred

is defined for the deployment, pull of new image doesn't work.

I did my test using:

# kubectl version --output=yaml
clientVersion:
  buildDate: "2022-05-03T13:46:05Z"
  compiler: gc
  gitCommit: 4ce5a8954017644c5420bae81d72b09b735c21f0
  gitTreeState: clean
  gitVersion: v1.24.0
  goVersion: go1.18.1
  major: "1"
  minor: "24"
  platform: windows/amd64
kustomizeVersion: v4.5.4
serverVersion:
  buildDate: "2022-08-17T18:26:59Z"
  compiler: gc
  gitCommit: 7e54d50d3012cf3389e43b096ba35300f36e0817
  gitTreeState: clean
  gitVersion: v1.23.10
  goVersion: go1.17.13
  major: "1"
  minor: "23"
  platform: linux/amd64
@stale
Copy link

stale bot commented Jan 5, 2023

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

@stale stale bot added the stale label Jan 5, 2023
@stale
Copy link

stale bot commented Mar 18, 2023

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

@stale stale bot closed this as completed Mar 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant