Skip to content

Commit

Permalink
Remove a katib-webhook-cert Secret from components (#2207)
Browse files Browse the repository at this point in the history
Signed-off-by: Yuki Iwai <yuki.iwai.tz@gmail.com>
  • Loading branch information
tenzen-y committed Aug 16, 2023
1 parent bc5add9 commit 1d86b49
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 6 deletions.
1 change: 0 additions & 1 deletion manifests/v1beta1/components/webhook/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ kind: Kustomization

resources:
- webhooks.yaml
- secret.yaml
5 changes: 0 additions & 5 deletions manifests/v1beta1/components/webhook/secret.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ secretGenerator:
- name: katib-mysql-secrets
envs:
- secrets.env
# Secret for webhooks certs.
- name: katib-webhook-cert
options:
disableNameSuffixHash: true
configMapGenerator:
- name: katib-config
behavior: create
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,8 @@ configMapGenerator:
- katib-config.yaml
options:
disableNameSuffixHash: true
# Secret for webhooks certs.
secretGenerator:
- name: katib-webhook-cert
options:
disableNameSuffixHash: true
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,8 @@ configMapGenerator:
- katib-config.yaml
options:
disableNameSuffixHash: true
# Secret for webhooks certs.
secretGenerator:
- name: katib-webhook-cert
options:
disableNameSuffixHash: true

0 comments on commit 1d86b49

Please sign in to comment.