Skip to content

How to update an existing application when a the definition of a trait is updated #1810

Discussion options

You must be logged in to vote

@wonderflow @yangsoon

I finally found where the error came from. There is the following event when applying the application with a specific revision on the ingress-tls trait:

Message:         cannot apply trait "networking.k8s.io/v1" "Ingress" "hello-world": cannot patch object: Ingress.extensions "hello-world" is invalid: metadata.labels: Invalid value: "ingress-tls@v14": 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])?')

The following labels are populated when the ingres…

Replies: 3 comments 9 replies

Comment options

You must be logged in to vote
3 replies
@alexis-wefight
Comment options

@alexis-wefight
Comment options

@wonderflow
Comment options

Comment options

You must be logged in to vote
1 reply
@alexis-wefight
Comment options

Comment options

You must be logged in to vote
5 replies
@wonderflow
Comment options

@alexis-wefight
Comment options

@wonderflow
Comment options

@alexis-wefight
Comment options

@wonderflow
Comment options

Answer selected by alexis-wefight
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants