Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

[BUG] Invalid /metadata/name format for generated ids of Integration #723

Closed
igarashitm opened this issue Jun 27, 2023 · 1 comment · Fixed by #725
Closed

[BUG] Invalid /metadata/name format for generated ids of Integration #723

igarashitm opened this issue Jun 27, 2023 · 1 comment · Fixed by #725
Assignees
Labels
bug Something isn't working
Milestone

Comments

@igarashitm
Copy link
Contributor

Describe the bug
The auto-generated /metadata/name uses upper case character which is not allowed

[tomo@p1 camel-k]$ kubectl apply -f example.integration.yaml
The Integration "Integration1687900965845" is invalid: metadata.name: Invalid value: "Integration1687900965845": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is 'a-z0-9?(.a-z0-9?)*')

To Reproduce
Steps to reproduce the behavior:

  1. Choose Integration or Kamelet
  2. deploy generated YAML onto k8s

Expected behavior
Use lowercase

@igarashitm igarashitm added the bug Something isn't working label Jun 27, 2023
@igarashitm igarashitm added this to the 1.1.0 milestone Jun 27, 2023
@apupier apupier changed the title [BUG] Invalid /metadata/name format [BUG] Invalid /metadata/name format for generated ids of Integration Jun 28, 2023
@Delawen Delawen self-assigned this Jun 28, 2023
@Delawen
Copy link
Collaborator

Delawen commented Jun 28, 2023

Oops, good one!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants