Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove user-visible klt strings from helm chart #2015

Closed
1 task
StackScribe opened this issue Sep 4, 2023 · 2 comments · Fixed by #2229
Closed
1 task

remove user-visible klt strings from helm chart #2015

StackScribe opened this issue Sep 4, 2023 · 2 comments · Fixed by #2229
Labels
documentation Improvements or additions to documentation
Milestone

Comments

@StackScribe
Copy link
Contributor

StackScribe commented Sep 4, 2023

Need to scrub the Helm Chart for klt strings that are user-visible as part of the 7 Sept 2023 product name change.

For example, in Use Keptn Automatic App Discovery, we have a sample KeptnApp resource that includes the following:

apiVersion: lifecycle.keptn.sh/v1alpha2
kind: KeptnApp
metadata:
  name: podtato-head
  namespace: podtato-kubectl
  annotations:
    app.kubernetes.io/managed-by: "klt"

After this is fixed, update the aforementioned doc page.

AC

  • update all documentation files

Depends on

@StackScribe StackScribe added documentation Improvements or additions to documentation helm labels Sep 4, 2023
@StackScribe StackScribe added this to the 0.9 milestone Sep 4, 2023
@mowies mowies removed the documentation Improvements or additions to documentation label Sep 5, 2023
@agardnerIT
Copy link
Contributor

agardnerIT commented Sep 6, 2023

This is not just a Helm change. That annotation is core to the functionality of KLT / Keptn.

Changing only this in the Helm chart will cause the deployments to fail.

There are checks all over the KeptnAppCreationRequest controller than not only check for, but actively create resources with this name.

https://github.com/keptn/lifecycle-toolkit/blob/main/lifecycle-operator/controllers/lifecycle/keptnappcreationrequest/controller.go#L103

func (r *KeptnAppCreationRequestReconciler) createKeptnApp(ctx context.Context, creationRequest *lifecycle.KeptnAppCreationRequest, workloads []lifecycle.KeptnWorkload) error {

@RealAnna
Copy link
Contributor

RealAnna commented Oct 2, 2023

As @agardnerIT mentioned, we need to make sure that both the old klt annotation and the new keptn one are accepted in the logic at line103 so that we can have a smooth transition between the two installations.

@RealAnna RealAnna added lifecycle-operator documentation Improvements or additions to documentation status: ready-for-refinement Issue is relevant for the next backlog refinment and removed helm labels Oct 2, 2023
@mowies mowies moved this from 🏗 Shaping to 🎟️ Refined in Keptn Lifecycle Toolkit Oct 4, 2023
@mowies mowies removed the status: ready-for-refinement Issue is relevant for the next backlog refinment label Oct 4, 2023
@github-project-automation github-project-automation bot moved this from 🎟️ Refined to ✅ Done in Keptn Lifecycle Toolkit Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

5 participants