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

Trim kf-notebook object names to size #21

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

samkulkarni20
Copy link
Contributor

No description provided.

@@ -3,7 +3,7 @@
apiVersion: kubeflow.org/v1
kind: Notebook
metadata:
name: {{ include "kf-notebooks.fullname" . }}-{{ .Values.notebooks.vscode.name }}
name: {{ printf "%s-%s" (include "kf-notebooks.fullname" .) .Values.notebooks.vscode.name | trunc 41 | trimSuffix "-" }}

Choose a reason for hiding this comment

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

The name field is duplicated in the metadata section. You should remove one of the name definitions to fix the error.

metadata:
  name: {{ printf "%s-%s" (include "kf-notebooks.fullname" .) .Values.notebooks.vscode.name | trunc 41 | trimSuffix "-" }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants