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

Fix labels in deployment template (#189) #190

Merged
merged 3 commits into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions config/operator/base/crd/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@ resources:
- bases/operator.kyma-project.io_dockerregistries.yaml
#+kubebuilder:scaffold:crdkustomizeresource

commonLabels:
app.kubernetes.io/component: dockerregistry-operator.kyma-project.io
app.kubernetes.io/instance: dockerregistries.operator.kyma-project.io
labels:
- pairs:
app.kubernetes.io/component: dockerregistry-operator.kyma-project.io
app.kubernetes.io/instance: dockerregistries.operator.kyma-project.io
includeSelectors: false
includeTemplates: true

# the following config is for teaching kustomize how to do kustomization for CRDs.
configurations:
Expand Down
1 change: 1 addition & 0 deletions config/operator/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ labels:
app.kubernetes.io/part-of: dockerregistry-operator
app.kubernetes.io/managed-by: kustomize
includeSelectors: false
includeTemplates: true
resources:
- ./crd
- ./deployment
Expand Down
Loading