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

Added goroutine to watch namespaces and add secrets #32

Merged
merged 3 commits into from
Nov 29, 2022

Conversation

iastewar
Copy link
Contributor

@iastewar iastewar commented Nov 25, 2022

Fixes a long overdue bug where newly created namespaces do not include the image registry pull secret. I created an additional PR in the minikube repo to go along with this one.

To test:
Ensure you have the minikube changes as well.
$ minikube addons enable gcp-auth
$ kubectl create ns new-namespace
$ kubectl get secrets -n new-namespace

Before:

<nothing>

After:

NAME       TYPE                      DATA   AGE
gcp-auth   kubernetes.io/dockercfg   1      10s

Additional Changes:

  • Properly return from updateCheck() if it errors, instead of possibly crashing the server
  • Updated dependencies
  • Added more docs to README including how to run locally

- Properly return from `updateCheck()` if it errors, instead of possibly crashing the server
- Updated dependencies
- Added more docs to README including how to run locally
Copy link
Member

@spowelljr spowelljr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small documentation nits

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
server.go Outdated Show resolved Hide resolved
- inverted large if block and moved check to beginning of func
- small readme fixes
server.go Outdated Show resolved Hide resolved
@spowelljr spowelljr merged commit 6967a33 into GoogleContainerTools:main Nov 29, 2022
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.

None yet

2 participants