-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Running commands silently #13189
Running commands silently #13189
Conversation
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
e3e0e56
to
a465448
Compare
Now the helm task will run kubectl cluster-info which will result in a forbidden warning because cluster-info may not be accessible for the given service connection, e.g. Error from server (Forbidden): services is forbidden: User "system:serviceaccount:xxx-sa:xxx cannot list resource "services" in API group "" in the namespace "kube-system" |
Task name: HelmDeployV0
Description: Running
helm get manifest
andkubectl get pods -o json
silently to avoid revealing secrets and lengthy logsDocumentation changes required: (Y/N) N
Added unit tests: (Y/N) (Updated)
Attached related issue: (Y/N) #13175
Checklist:
✔️ Task version was bumped - please check instruction how to do it
✔️ Checked that applied changes work as expected