-
Notifications
You must be signed in to change notification settings - Fork 426
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix kustomize manifests for kubeflow (#1498)
* fix kustomize manifests for kubeflow * fix standalone and external-db manifests * remove old namespace file * remove PV from kubeflow manifest * fix katib-external-db reference outside of root * fix katib-with-kubeflow-cert-manager * Move image tags to katib-config.yaml and remove patches * use common namespace kustomization * Make kubeflow-cert use kubeflow as a base * Remove katib-cert-generator job from kubeflow-cert-generator manifests * Move pv-patch to patches folder * Create katib-cert-manager and make kubeflowuse this as base * Fix release and CI scripts for new layout * Remove unnecessary cert-generator images from kustomization.yaml * Remove unnecessary SA, CR and CRB from katib-cert-manager * Remove commonLabel from katib-with-kubeflow * Separate cert-generator from webhook kustomization
- Loading branch information
Showing
24 changed files
with
172 additions
and
252 deletions.
There are no files selected for viewing
File renamed without changes.
6 changes: 6 additions & 0 deletions
6
manifests/v1beta1/components/cert-generator/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- cert-generator.yaml | ||
- rbac.yaml |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- controller.yaml | ||
- katib-config.yaml | ||
- rbac.yaml | ||
- service.yaml | ||
- trial-templates.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- experiment.yaml | ||
- suggestion.yaml | ||
- trial.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- db-manager.yaml | ||
- service.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- mysql.yaml | ||
- pv.yaml | ||
- pvc.yaml | ||
- secret.yaml | ||
- service.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
namespace: kubeflow | ||
resources: | ||
# Namespace. | ||
- namespace.yaml |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- rbac.yaml | ||
- service.yaml | ||
- ui.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
resources: | ||
- webhooks.yaml |
File renamed without changes.
60 changes: 60 additions & 0 deletions
60
manifests/v1beta1/installs/katib-cert-manager/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
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: docker.io/kubeflowkatib/katib-controller | ||
newName: docker.io/kubeflowkatib/katib-controller | ||
newTag: latest | ||
- name: docker.io/kubeflowkatib/katib-db-manager | ||
newName: docker.io/kubeflowkatib/katib-db-manager | ||
newTag: latest | ||
- name: docker.io/kubeflowkatib/katib-ui | ||
newName: docker.io/kubeflowkatib/katib-ui | ||
newTag: latest | ||
|
||
patchesStrategicMerge: | ||
- patches/katib-cert-injection.yaml | ||
|
||
vars: | ||
- fieldref: | ||
fieldPath: metadata.namespace | ||
name: KATIB_NAMESPACE | ||
objref: | ||
apiVersion: v1 | ||
kind: Service | ||
name: katib-controller | ||
- fieldref: | ||
fieldPath: metadata.name | ||
name: KATIB_SERVICE_NAME | ||
objref: | ||
apiVersion: v1 | ||
kind: Service | ||
name: katib-controller | ||
- name: KATIB_CERT_NAME | ||
objref: | ||
kind: Certificate | ||
group: cert-manager.io | ||
version: v1alpha2 | ||
name: katib-webhook-cert | ||
fieldref: | ||
fieldpath: metadata.name | ||
|
||
configurations: | ||
- params.yaml |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 0 additions & 61 deletions
61
manifests/v1beta1/installs/katib-standalone/katib-config-patch.yaml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.