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
Having issue syncing secret name with more than 63 characters
Docker image used : bourneid/secret-sync-operator
ERROR from secret-sync pod:
"error":"Secret "clustername-xxxxxxxxxxxxxxx-0001" is invalid: metadata.labels: Invalid value: "default.clustername-xxxxxxxxxxxxxxx-0001": must be no more than 63 characters",
The text was updated successfully, but these errors were encountered:
We ran into this same issue. Our cluster's name is 18 characters, xyz-k8s-production. The operator attempts to create a secret with a label secretsync.ibm.com/replicated-from: default.xyz-k8s-production-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-0000. This fails because the label is longer than 63 characters. We added code to secret_controller.go at line 68 to limit the secret name to 63 characters. This works but there's probably a better way.
Having issue syncing secret name with more than 63 characters
Docker image used : bourneid/secret-sync-operator
ERROR from secret-sync pod:
"error":"Secret "clustername-xxxxxxxxxxxxxxx-0001" is invalid: metadata.labels: Invalid value: "default.clustername-xxxxxxxxxxxxxxx-0001": must be no more than 63 characters",
The text was updated successfully, but these errors were encountered: