Skip to content

Commit

Permalink
remove module template managed-by (#1657)
Browse files Browse the repository at this point in the history
  • Loading branch information
lindnerby authored May 15, 2023
1 parent a5d74b6 commit 16b536a
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions cmd/kyma/alpha/list/module/testdata/template_sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ metadata:
creationTimestamp: "2023-01-10T09:50:15Z"
generation: 1
labels:
operator.kyma-project.io/controller-name: manifest
operator.kyma-project.io/managed-by: lifecycle-manager
operator.kyma-project.io/module-name: manifest-1
name: manifest-1
namespace: kcp-system
Expand Down
2 changes: 0 additions & 2 deletions internal/kustomize/testdata/expected/manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ apiVersion: operator.kyma-project.io/v1beta1
kind: ModuleTemplate
metadata:
labels:
operator.kyma-project.io/controller-name: manifest
operator.kyma-project.io/managed-by: lifecycle-manager
operator.kyma-project.io/module-name: template-operator
name: moduletemplate-template-operator
namespace: kcp-system
Expand Down
2 changes: 0 additions & 2 deletions internal/kustomize/testdata/given/alpha/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ metadata:
name: moduletemplate-template-operator
namespace: kcp-system
labels:
"operator.kyma-project.io/managed-by": "lifecycle-manager"
"operator.kyma-project.io/controller-name": "manifest"
"operator.kyma-project.io/module-name": "template-operator"
spec:
target: remote
Expand Down
2 changes: 0 additions & 2 deletions pkg/module/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ metadata:
name: moduletemplate-{{ .ShortName }}
namespace: kcp-system
labels:
"operator.kyma-project.io/managed-by": "lifecycle-manager"
"operator.kyma-project.io/controller-name": "manifest"
"operator.kyma-project.io/module-name": "{{ .ShortName }}"
spec:
target: {{.Target}}
Expand Down

0 comments on commit 16b536a

Please sign in to comment.