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 secrets section in Kubernetes Task #6611

Merged
merged 3 commits into from
Mar 8, 2018

Conversation

Anumita
Copy link
Contributor

@Anumita Anumita commented Mar 6, 2018

Docker registry secret
secreets

Generic secret
image

@Anumita Anumita requested review from jikuma and bansalaseem March 6, 2018 07:20
"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",
Copy link
Contributor

Choose a reason for hiding this comment

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

Why this change?

Copy link
Contributor Author

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());
Copy link
Contributor

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());
Copy link
Contributor

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",
Copy link
Contributor

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,
Copy link
Contributor

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

Copy link
Contributor

@bansalaseem bansalaseem left a 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"
Copy link
Contributor

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.

Copy link
Contributor Author

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

@Anumita Anumita force-pushed the users/ansheno/kubernetesSecretsSection branch 2 times, most recently from f4874d2 to 2578ff7 Compare March 7, 2018 12:30
@Anumita Anumita merged commit b57a75d into master Mar 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants