You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have a addonTemplate yaml, in which I want to set the namespace of the addon agent deployment a variable so it can be rendered by the managedclusteraddon.spec.installnamespace when deploying the agent.
But when I tried to create this addonTemplate, I got:
The AddOnTemplate "hello-template" is invalid: spec.agentSpec.workload.manifests[0].metadata.namespace: Invalid value: "{{INSTALL_NAMESPACE}}": a lowercase RFC 1123 label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character (e.g. 'my-name', or '123-abc', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?')
To Reproduce
Create the above addontemplate yaml to a kubernetes cluster
Expected behavior
The addon template can be created successfully
Environment ie: OCM version, Kubernetes version and provider:
OCM version: the latest commit: 36e389c
Additional context
The text was updated successfully, but these errors were encountered:
This issue is stale because it has been open for 120 days with no activity. After 14 days of inactivity, it will be closed. Remove the stable label to prevent this issue from being closed.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
Describe the bug
I have a addonTemplate yaml, in which I want to set the namespace of the addon agent deployment a variable so it can be rendered by the managedclusteraddon.spec.installnamespace when deploying the agent.
But when I tried to create this addonTemplate, I got:
To Reproduce
Expected behavior
The addon template can be created successfully
Environment ie: OCM version, Kubernetes version and provider:
OCM version: the latest commit: 36e389c
Additional context
The text was updated successfully, but these errors were encountered: