-
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
Added secrets section in Kubernetes Task #6611
Conversation
"loc.group.displayName.advanced": "Advanced", | ||
"loc.group.displayName.output": "Output", | ||
"loc.input.label.kubernetesServiceEndpoint": "Kubernetes Service Connection", | ||
"loc.input.help.kubernetesServiceEndpoint": "Select a Kubernetes service connection.", | ||
"loc.input.label.namespace": "Namespace", |
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.
Why this change?
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.
As discussed with Atul ,the commands and secrets section use the same namespace field so it would be more readable if the namespace field is moved just below the kubernetes service connection field.
} | ||
} | ||
|
||
function deleteSecret(connection: ClusterConnection, secret: string): any { | ||
tl.debug(tl.loc('DeleteSecret', secret)); | ||
var command = connection.createCommand(); | ||
command.arg(getNameSpace()); |
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.
why this change?
|
||
if(authenticationToken) | ||
{ | ||
tl.debug(tl.loc('CreatingSecret', secret)); | ||
var command = connection.createCommand(); | ||
command.arg(getNameSpace()); |
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.
why this change?
@@ -47,6 +47,14 @@ | |||
"label": "Kubernetes Service Connection", | |||
"helpMarkDown": "Select a Kubernetes service connection." | |||
}, | |||
{ | |||
"name": "namespace", |
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.
Why this change?
"name": "namespace", | ||
"type": "string", | ||
"label": "Namespace", | ||
"required": false, |
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.
why this change? Please undo it
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.
Please incorporate my comments and also make sure that the grid gets in first before the task
"defaultValue": "", | ||
"groupName": "registry" | ||
"groupName": "secrets" |
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.
Changing group of an old input will not break the old task right?. Have we verified it.
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.
Yes, i have verified. The task will run the same
f4874d2
to
2578ff7
Compare
Docker registry secret
Generic secret