We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Kubernetes@x
It would be nice to have the possibility of configuring Kubernetes task output as a secret.
suggested example:
- task: Kubernetes@1 inputs: connectionType: None namespace: $(namespace) command: get outputFormat: go-template outputIsSecret: true arguments: >- secret $(secretName) --template="{{.data.password|base64decode}}" --ignore-not-found
#azure pipelines logs ... /agent/_work/_tool/kubectl/1.27.9/x64/kubectl get -n namespace secret secret-name --template={{.data.password|base64decode}} --ignore-not-found -o go-template ##[debug]Called Toolrunner exec() method asynchronously. Returning the promise. *** ##[debug]Exit code 0 received from tool '/agent/_work/_tool/kubectl/1.27.9/x64/kubectl' ##[debug]STDIO streams have closed for tool '/agent/_work/_tool/kubectl/1.27.9/x64/kubectl' ##[debug]Toolrunner exec() method returned successfully for the kubectl command. commandOutput*** ##[debug]set KubectlOutput=*** ##[debug]Processed: ##vso[task.setvariable variable=KubectlOutput;isOutput=false;issecret=true;]*** ##[debug]outputFormat=go-template ##[debug]task result: Succeeded ##[debug]Processed: ##vso[task.complete result=Succeeded;] ##[debug]connectionType=None ...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Task name
Kubernetes@x
Describe your feature request here
It would be nice to have the possibility of configuring Kubernetes task output as a secret.
suggested example:
The text was updated successfully, but these errors were encountered: