Skip to content

Commit

Permalink
fix list
Browse files Browse the repository at this point in the history
  • Loading branch information
lindnerby committed Feb 13, 2025
1 parent 8a1c861 commit 39603c2
Show file tree
Hide file tree
Showing 8 changed files with 7,502 additions and 57 deletions.
5 changes: 2 additions & 3 deletions config/certmanager/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
resources:
- certificate.yaml

- certificate.yaml
configurations:
- kustomizeconfig.yaml
- kustomizeconfig.yaml
72 changes: 36 additions & 36 deletions config/default/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,42 +9,42 @@ commonLabels:
app.kubernetes.io/managed-by: kustomize
app.kubernetes.io/part-of: manual-deployment
patches:
- path: manager_webhook_patch.yaml
- path: manager_webhook_patch.yaml
resources:
- ../manager
- ../certmanager
- namespace_create.yaml
- ../manager
- ../certmanager
- namespace_create.yaml
components:
- ../crd
- ../rbac
- ../webhook
- ../crd
- ../rbac
- ../webhook
transformers:
- |-
apiVersion: builtin
kind: NamespaceTransformer
metadata:
name: adds-resources-to-kcp-system
namespace: kcp-system
unsetOnly: true
setRoleBindingSubjects: allServiceAccounts
- |-
apiVersion: builtin
kind: AnnotationsTransformer
metadata:
name: add-ca-inject-annotation
annotations:
cert-manager.io/inject-ca-from: kcp-system/klm-controller-manager-webhook-serving
fieldSpecs:
- kind: CustomResourceDefinition
path: metadata/annotations
- |-
apiVersion: builtin
kind: PatchTransformer
metadata:
name: fix-cert-dns-names
patch: '[{"op": "replace", "path": "/spec/dnsNames/0", "value": "klm-webhook-service.kcp-system.svc"}, {"op": "replace", "path": "/spec/dnsNames/1", "value": "klm-webhook-service.kcp-system.svc.cluster.local"}]'
target:
kind: Certificate
name: klm-controller-manager-webhook-serving
version: v1
group: cert-manager.io
- |-
apiVersion: builtin
kind: NamespaceTransformer
metadata:
name: adds-resources-to-kcp-system
namespace: kcp-system
unsetOnly: true
setRoleBindingSubjects: allServiceAccounts
- |-
apiVersion: builtin
kind: AnnotationsTransformer
metadata:
name: add-ca-inject-annotation
annotations:
cert-manager.io/inject-ca-from: kcp-system/klm-controller-manager-webhook-serving
fieldSpecs:
- kind: CustomResourceDefinition
path: metadata/annotations
- |-
apiVersion: builtin
kind: PatchTransformer
metadata:
name: fix-cert-dns-names
patch: '[{"op": "replace", "path": "/spec/dnsNames/0", "value": "klm-webhook-service.kcp-system.svc"}, {"op": "replace", "path": "/spec/dnsNames/1", "value": "klm-webhook-service.kcp-system.svc.cluster.local"}]'
target:
kind: Certificate
name: klm-controller-manager-webhook-serving
version: v1
group: cert-manager.io
8 changes: 2 additions & 6 deletions config/maintenance_windows/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component

generatorOptions:
disableNameSuffixHash: true
configMapGenerator:
- name: maintenance-config
files:
- policy.json

generatorOptions:
disableNameSuffixHash: true

patches:
- path: patches/volume_mount.yaml
target:
kind: Deployment
name: klm-controller-manager
namespace: kcp-system

transformers:
- |-
apiVersion: builtin
Expand Down
10 changes: 5 additions & 5 deletions config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ kind: Kustomization
generatorOptions:
disableNameSuffixHash: true
resources:
- manager.yaml
- metrics_service.yaml
- manager.yaml
- metrics_service.yaml
images:
- name: controller
newName: europe-docker.pkg.dev/kyma-project/prod/lifecycle-manager
newTag: latest
- name: controller
newName: europe-docker.pkg.dev/kyma-project/prod/lifecycle-manager
newTag: latest
1 change: 0 additions & 1 deletion config/watcher_local_test/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ kind: Kustomization
generatorOptions:
disableNameSuffixHash: true
resources:
- # The control-plane config does not include namespaces creation, therefore we need to include their creation here
- namespaces.yaml
- ../control-plane
components:
Expand Down
1 change: 1 addition & 0 deletions config/watcher_local_test/namespaces.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: v1
kind: Namespace
metadata:
Expand Down
9 changes: 3 additions & 6 deletions config/webhook/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component

resources:
- service.yaml

configurations:
- kustomizeconfig.yaml

patches:
- patch: |-
- target:
kind: Deployment
patch: |-
- op: add
path: /spec/template/spec/containers/0/args/-
value: --enable-webhooks=true
target:
kind: Deployment
Loading

0 comments on commit 39603c2

Please sign in to comment.