Skip to content

App name cannot have more than 63 characters #646

Closed
@DimpleRajaVamsi

Description

@DimpleRajaVamsi

What steps did you take:
Created an app with the app name having more than 63 characters.

What happened:
App creation failed because the app-change ConfigMaps uses the app name as a label.

kapp: Error: Creating app change:
  ConfigMap "byoi-2213-photon-ns-antrea-11ns1-c1-guest-cluster-auth-serzfmpw" is invalid: metadata.labels:
    Invalid value: "byoi-2213-photon-ns-antrea-11ns1-c1-guest-cluster-auth-service-ctrl": must be no more than 63 characters

What did you expect:
App to be created successfully.

Anything else you would like to add:
This causes issues for App CRs and PackageInstall CRs from kapp-controller because a kapp app is created using the name of app/package install.

Environment:

  • kapp version (use kapp --version): kapp controller version is v0.41.2
  • OS (e.g. from /etc/os-release): Photon
  • Kubernetes version (use kubectl version): 1.22.13

Vote on this request

This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.

👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"

We are also happy to receive and review Pull Requests if you want to help working on this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue describes a defect or unexpected behaviorcarvel acceptedThis issue should be considered for future work and that the triage process has been completedpriority/important-soonMust be staffed and worked on currently or soon.

    Type

    No type

    Projects

    • Status

      Closed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions