Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Error deploying module with some name length #1522

Open
joaoinaciozup opened this issue Dec 20, 2021 · 0 comments
Open

Error deploying module with some name length #1522

joaoinaciozup opened this issue Dec 20, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@joaoinaciozup
Copy link

joaoinaciozup commented Dec 20, 2021

Describe the bug
When a module with a name greater than some specific threshold is deployed it gives some error related to the size of a labels.

To Reproduce
Steps to reproduce the behavior:

  1. Install charlescd 1.0.0 or 1.0.1
  2. Configure workspace and modules
  3. Deploy a module named "notification-connector"
  4. Check for replica error

Expected behavior
Expected the module to be deployed successfully

Screenshots

Your Environment

  • CharlesCD version used: 1.0.0 and 1.0.1
  • Description of environment where CharlesCD is running: GKE (1.20.12-gke.1500)
  • Browser Name and version (if applicable):

Additional context
Error:

  • type: ReplicaFailure
    status: 'True'
    lastTransitionTime: '2021-12-20T14:51:18Z'
    reason: FailedCreate
    message: >-
    Pod "notification-connector-v73ecd7a-a2f58396-fd71-4d9c-9fdc-bcnqhzx" is
    invalid: metadata.labels: Invalid value:
    "notification-connector-v73ecd7a-a2f58396-fd71-4d9c-9fdc-bc16a014143f":
    must be no more than 63 characters

labels configured in the deployment.yaml

labels: component: {{ .Values.component }} tag: {{ .Values.tag }} circleId: {{ .Values.circleId }}

@joaoinaciozup joaoinaciozup added the bug Something isn't working label Dec 20, 2021
pedropbazzo pushed a commit to pedropbazzo/charlescd that referenced this issue Dec 26, 2021
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

No branches or pull requests

1 participant