mirror of
https://github.com/hanzo-ml/katib.git
synced 2026-10-30 14:46:14 +00:00
* ran kustomize edit fix for katib-cert-manager Signed-off-by: Vikas Saxena <[email protected]> * ran kustomize edit fix for katib-external-db Signed-off-by: Vikas Saxena <[email protected]> * fixed up comments Signed-off-by: Vikas Saxena <[email protected]> * fixed build error with katib-cert-maanager Signed-off-by: Vikas Saxena <[email protected]> * fixed up comments in katib-external-db Signed-off-by: Vikas Saxena <[email protected]> * fixed warnings in katib-leader-election Signed-off-by: Vikas Saxena <[email protected]> * fixed warnings in katib-openshift Signed-off-by: Vikas Saxena <[email protected]> * fixed warnings in katib-standalone-postgres Signed-off-by: Vikas Saxena <[email protected]> * fixed warnings in katib-with-kubeflow Signed-off-by: Vikas Saxena <[email protected]> * fixed up comments Signed-off-by: Vikas Saxena <[email protected]> * fixing diffs errors in the updated code Signed-off-by: Vikas Saxena <[email protected]> --------- Signed-off-by: Vikas Saxena <[email protected]>
159 lines
3.4 KiB
YAML
159 lines
3.4 KiB
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
namespace: kubeflow
|
|
resources:
|
|
# Namespace.
|
|
- ../../components/namespace
|
|
# Katib controller.
|
|
- ../../components/controller/
|
|
# Katib CRDs.
|
|
- ../../components/crd/
|
|
# Katib DB manager.
|
|
- ../../components/db-manager/
|
|
# Katib DB mysql.
|
|
- ../../components/mysql/
|
|
# Katib UI.
|
|
- ../../components/ui/
|
|
# Katib webhooks.
|
|
- ../../components/webhook/
|
|
# Cert-manager certificate for webhooks
|
|
- certificate.yaml
|
|
images:
|
|
- name: ghcr.io/kubeflow/katib/katib-controller
|
|
newName: ghcr.io/kubeflow/katib/katib-controller
|
|
newTag: latest
|
|
- name: ghcr.io/kubeflow/katib/katib-db-manager
|
|
newName: ghcr.io/kubeflow/katib/katib-db-manager
|
|
newTag: latest
|
|
- name: ghcr.io/kubeflow/katib/katib-ui
|
|
newName: ghcr.io/kubeflow/katib/katib-ui
|
|
newTag: latest
|
|
|
|
|
|
|
|
configurations:
|
|
- params.yaml
|
|
|
|
configMapGenerator:
|
|
- behavior: create
|
|
files:
|
|
- katib-config.yaml
|
|
name: katib-config
|
|
options:
|
|
disableNameSuffixHash: true
|
|
patches:
|
|
- path: patches/katib-cert-injection.yaml
|
|
replacements:
|
|
- source:
|
|
fieldPath: metadata.namespace
|
|
kind: Service
|
|
name: katib-controller
|
|
version: v1
|
|
targets:
|
|
- fieldPaths:
|
|
- spec.commonName
|
|
options:
|
|
delimiter: .
|
|
index: 1
|
|
select:
|
|
group: cert-manager.io
|
|
kind: Certificate
|
|
name: katib-webhook-cert
|
|
version: v1
|
|
- fieldPaths:
|
|
- spec.dnsNames.0
|
|
options:
|
|
delimiter: .
|
|
index: 1
|
|
select:
|
|
group: cert-manager.io
|
|
kind: Certificate
|
|
name: katib-webhook-cert
|
|
version: v1
|
|
- fieldPaths:
|
|
- spec.dnsNames.1
|
|
options:
|
|
delimiter: .
|
|
index: 1
|
|
select:
|
|
group: cert-manager.io
|
|
kind: Certificate
|
|
name: katib-webhook-cert
|
|
version: v1
|
|
- fieldPaths:
|
|
- metadata.annotations.[cert-manager.io/inject-ca-from]
|
|
options:
|
|
delimiter: /
|
|
create: true
|
|
select:
|
|
group: admissionregistration.k8s.io
|
|
kind: ValidatingWebhookConfiguration
|
|
version: v1
|
|
- fieldPaths:
|
|
- metadata.annotations.[cert-manager.io/inject-ca-from]
|
|
options:
|
|
delimiter: /
|
|
create: true
|
|
select:
|
|
group: admissionregistration.k8s.io
|
|
kind: MutatingWebhookConfiguration
|
|
version: v1
|
|
- source:
|
|
fieldPath: metadata.name
|
|
kind: Service
|
|
name: katib-controller
|
|
version: v1
|
|
targets:
|
|
- fieldPaths:
|
|
- spec.commonName
|
|
options:
|
|
delimiter: .
|
|
select:
|
|
group: cert-manager.io
|
|
kind: Certificate
|
|
name: katib-webhook-cert
|
|
version: v1
|
|
- fieldPaths:
|
|
- spec.dnsNames.0
|
|
options:
|
|
delimiter: .
|
|
select:
|
|
group: cert-manager.io
|
|
kind: Certificate
|
|
name: katib-webhook-cert
|
|
version: v1
|
|
- fieldPaths:
|
|
- spec.dnsNames.1
|
|
options:
|
|
delimiter: .
|
|
select:
|
|
group: cert-manager.io
|
|
kind: Certificate
|
|
name: katib-webhook-cert
|
|
version: v1
|
|
- source:
|
|
fieldPath: metadata.name
|
|
kind: Certificate
|
|
name: katib-webhook-cert
|
|
targets:
|
|
- fieldPaths:
|
|
- metadata.annotations.[cert-manager.io/inject-ca-from]
|
|
options:
|
|
delimiter: /
|
|
index: 1
|
|
create: true
|
|
select:
|
|
group: admissionregistration.k8s.io
|
|
kind: ValidatingWebhookConfiguration
|
|
version: v1
|
|
- fieldPaths:
|
|
- metadata.annotations.[cert-manager.io/inject-ca-from]
|
|
options:
|
|
delimiter: /
|
|
index: 1
|
|
create: true
|
|
select:
|
|
group: admissionregistration.k8s.io
|
|
kind: MutatingWebhookConfiguration
|
|
version: v1
|