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

Issue 280 #282

Merged
merged 5 commits into from
Dec 22, 2023
Merged

Issue 280 #282

merged 5 commits into from
Dec 22, 2023

Conversation

JuHyung-Son
Copy link
Contributor

@JuHyung-Son JuHyung-Son commented Dec 1, 2023

Closes #280

πŸ“‘ Description

add imagePullSecrets to k8sgpt spec.
if given, imagePullSecrets will be added to k8sgpt serviceaccounts

βœ… Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

β„Ή Additional Information

i couldn't test it on my local environment. please test it works well. i will ask how to set local dev environment in slack.

AlexsJones
AlexsJones previously approved these changes Dec 6, 2023
@AlexsJones
Copy link
Member

Thanks @JuHyung-Son ! Can you please resolve conflicts?

@JuHyung-Son
Copy link
Contributor Author

i just did it thanks

@JuHyung-Son
Copy link
Contributor Author

@AlexsJones would you review this?

Copy link
Member

@AlexsJones AlexsJones left a comment

Choose a reason for hiding this comment

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

Sorry for the delay @JuHyung-Son please make pullsecrets optional - we could have it as a single example in the README also e.g.

<details>

<summary>Pull secrets</summary>

...
</details>

README.md Outdated
@@ -50,6 +50,8 @@ spec:
noCache: false
repository: ghcr.io/k8sgpt-ai/k8sgpt
version: v0.3.8
imagePullSecrets:
Copy link
Member

Choose a reason for hiding this comment

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

Not everyone will use pull secrets, even if they do can you put a more generic secret name e.g. mysecret ? we only need an example of this in the full example of the k8sgpt CR

Copy link
Contributor Author

Choose a reason for hiding this comment

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

you are right. i add k8sgpt configuration option

Signed-off-by: JuHyung-Son <[email protected]>
Signed-off-by: JuHyung-Son <[email protected]>
Signed-off-by: JuHyung-Son <[email protected]>
@JuHyung-Son
Copy link
Contributor Author

@AlexsJones i resolved DCO

@AlexsJones AlexsJones merged commit f4673cc into k8sgpt-ai:main Dec 22, 2023
6 checks passed
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.

[Feature]: add imagePullSecret to k8sgpt crd spec
2 participants