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

Fixing comp names #1239

Merged
merged 2 commits into from
Apr 26, 2019
Merged

Conversation

animeshsingh
Copy link
Contributor

@animeshsingh animeshsingh commented Apr 26, 2019

Moving the verb in comp names before because of UI real estate, plus removing the space in metadata label value as Jupyter notebook driven pipelines are complaining about the space

metadata.labels: Invalid value: "Open Source": a valid label must be an empty string or consist of alphanumeric characters, '-', '' or '.', and must start and end with an alphanumeric character (e.g. 'MyValue', or 'my_value', or '12345', regex used for validation is '(([A-Za-z0-9][-A-Za-z0-9.]*)?[A-Za-z0-9])?')


This change is Reviewable

@Ark-kun
Copy link
Contributor

Ark-kun commented Apr 26, 2019

pipelines are complaining about the space

Kubernetes' labels are strict and probably should not be used for this. Use annotations instead.

@animeshsingh
Copy link
Contributor Author

This is something we discussed - values in labels are just metadata we need to display on our custom UI, not passed to Kube. Also the same pipeline works fine if I go through python code directly - running from notebook is when that error message pops up. For now this gives a safer option

@Ark-kun
Copy link
Contributor

Ark-kun commented Apr 26, 2019

not passed to Kube

The thing is that they are actually passed.

@animeshsingh
Copy link
Contributor Author

Thanks. Can we merge this @Ark-kun. As mentioned, for now our internal systems are coded to use metadata.labels, and many internal components we have created are using this. Once we are able to test/verify and convert everything to annotations, we can come back and change this.

@Ark-kun
Copy link
Contributor

Ark-kun commented Apr 26, 2019

Once we are able to test/verify and convert everything to annotations, we can come back and change this.

Ok.

/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Ark-kun

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

1 similar comment
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Ark-kun

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 9f6d34f into kubeflow:master Apr 26, 2019
magdalenakuhn17 pushed a commit to magdalenakuhn17/pipelines that referenced this pull request Oct 22, 2023
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.

3 participants