We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
kompose convert should replace underscores with dashes in kubernetes Service metadata.name when compose service name contains underscores
kompose convert
apiVersion: v1 kind: Service metadata: labels: io.kompose.service: myservice-api name: myservice-api # THIS IS OK spec: ports: - name: "8000" port: 8000 targetPort: 8000 selector: io.kompose.service: myservice-api
It generates:
apiVersion: v1 kind: Service metadata: labels: io.kompose.service: myservice-api name: myservice_api # <-- THIS IS NOT VALID name spec: ports: - name: "8000" port: 8000 targetPort: 8000 selector: io.kompose.service: myservice-api
metadata.name is not valid (it contains underscore instead of dash)
metadata.name
No response
1.34.0
The text was updated successfully, but these errors were encountered:
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
lifecycle/rotten
You can:
/remove-lifecycle stale
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
Sorry, something went wrong.
No branches or pull requests
Expected Behavior
kompose convert
should replace underscores with dashes in kubernetes Service metadata.name when compose service name contains underscoresActual Behavior
It generates:
metadata.name
is not valid (it contains underscore instead of dash)Steps To Reproduce
No response
Kompose Version
Docker-Compose file
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: