-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(manifests): refactor manifests for kustomize5 compatibility. Pa…
…rt of #10053 (#10087) * refactor ml-pipeline component for kustomize5 compatibility Signed-off-by: Alin Spinu <[email protected]> * rm bk folder Signed-off-by: Alin Spinu <[email protected]> * fix kustomizations using auto kustomize edit Signed-off-by: Alin Spinu <[email protected]> * fix env/aws Signed-off-by: Alin Spinu <[email protected]> * fix kustomize version v5.0.3 in tests Signed-off-by: Alin Spinu <[email protected]> * minor changes to manifest apply method in pipeline deployment script Signed-off-by: Alin Spinu <[email protected]> * fix Signed-off-by: Alin Spinu <[email protected]> * fix kustomize release Signed-off-by: Alin Spinu <[email protected]> * fix archive Signed-off-by: Alin Spinu <[email protected]> * fix bin Signed-off-by: Alin Spinu <[email protected]> * replace patchStrategicMerge refs in test manifests Signed-off-by: Alin Spinu <[email protected]> * replace kustomize version with 5.2.1 Signed-off-by: Alin Spinu <[email protected]> * replace all kustomize versions with 5.2.1 Signed-off-by: Alin Spinu <[email protected]> --------- Signed-off-by: Alin Spinu <[email protected]>
- Loading branch information
Showing
51 changed files
with
283 additions
and
287 deletions.
There are no files selected for viewing
83 changes: 41 additions & 42 deletions
83
manifests/kustomize/base/installs/generic/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 |
---|---|---|
@@ -1,48 +1,47 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
namespace: kubeflow | ||
bases: | ||
- ../../pipeline | ||
- ../../cache | ||
- ../../cache-deployer | ||
resources: | ||
- pipeline-install-config.yaml | ||
- mysql-secret.yaml | ||
- ../../pipeline | ||
- ../../cache | ||
- ../../cache-deployer | ||
- pipeline-install-config.yaml | ||
- mysql-secret.yaml | ||
vars: | ||
- name: kfp-namespace | ||
objref: | ||
kind: Deployment | ||
apiVersion: apps/v1 | ||
name: ml-pipeline | ||
fieldref: | ||
fieldpath: metadata.namespace | ||
- name: kfp-app-name | ||
objref: | ||
kind: ConfigMap | ||
name: pipeline-install-config | ||
apiVersion: v1 | ||
fieldref: | ||
fieldpath: data.appName | ||
- name: kfp-app-version | ||
objref: | ||
kind: ConfigMap | ||
name: pipeline-install-config | ||
apiVersion: v1 | ||
fieldref: | ||
fieldpath: data.appVersion | ||
- name: kfp-artifact-bucket-name | ||
objref: | ||
kind: ConfigMap | ||
name: pipeline-install-config | ||
apiVersion: v1 | ||
fieldref: | ||
fieldpath: data.bucketName | ||
- name: kfp-default-pipeline-root | ||
objref: | ||
kind: ConfigMap | ||
name: pipeline-install-config | ||
apiVersion: v1 | ||
fieldref: | ||
fieldpath: data.defaultPipelineRoot | ||
- name: kfp-namespace | ||
objref: | ||
kind: Deployment | ||
apiVersion: apps/v1 | ||
name: ml-pipeline | ||
fieldref: | ||
fieldpath: metadata.namespace | ||
- name: kfp-app-name | ||
objref: | ||
kind: ConfigMap | ||
name: pipeline-install-config | ||
apiVersion: v1 | ||
fieldref: | ||
fieldpath: data.appName | ||
- name: kfp-app-version | ||
objref: | ||
kind: ConfigMap | ||
name: pipeline-install-config | ||
apiVersion: v1 | ||
fieldref: | ||
fieldpath: data.appVersion | ||
- name: kfp-artifact-bucket-name | ||
objref: | ||
kind: ConfigMap | ||
name: pipeline-install-config | ||
apiVersion: v1 | ||
fieldref: | ||
fieldpath: data.bucketName | ||
- name: kfp-default-pipeline-root | ||
objref: | ||
kind: ConfigMap | ||
name: pipeline-install-config | ||
apiVersion: v1 | ||
fieldref: | ||
fieldpath: data.defaultPipelineRoot | ||
configurations: | ||
- params.yaml | ||
- params.yaml |
3 changes: 1 addition & 2 deletions
3
manifests/kustomize/base/installs/generic/postgres/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
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
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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
bases: | ||
resources: | ||
- ../../cache | ||
patchesStrategicMerge: | ||
- cache-deployment-patch.yaml | ||
patches: | ||
- path: cache-deployment-patch.yaml |
6 changes: 3 additions & 3 deletions
6
manifests/kustomize/base/postgresql/pipeline/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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
bases: | ||
resources: | ||
- ../../pipeline | ||
patchesStrategicMerge: | ||
- ml-pipeline-apiserver-deployment-patch.yaml | ||
patches: | ||
- path: ml-pipeline-apiserver-deployment-patch.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
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
27 changes: 27 additions & 0 deletions
27
manifests/kustomize/env/aws/aws-configuration-pipeline-ui-patch.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,27 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: ml-pipeline-ui | ||
spec: | ||
template: | ||
metadata: | ||
labels: | ||
app: ml-pipeline-ui | ||
spec: | ||
volumes: | ||
- name: config-volume | ||
configMap: | ||
name: ml-pipeline-ui-configmap | ||
containers: | ||
- name: ml-pipeline-ui | ||
env: | ||
- name: AWS_ACCESS_KEY_ID | ||
valueFrom: | ||
secretKeyRef: | ||
name: mlpipeline-minio-artifact | ||
key: accesskey | ||
- name: AWS_SECRET_ACCESS_KEY | ||
valueFrom: | ||
secretKeyRef: | ||
name: mlpipeline-minio-artifact | ||
key: secretkey |
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
2 changes: 1 addition & 1 deletion
2
manifests/kustomize/env/cert-manager/cluster-scoped-resources/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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
bases: | ||
resources: | ||
- ../../../third-party/application/cluster-scoped | ||
- ../../../third-party/argo/installs/namespace/cluster-scoped | ||
- ../../../base/pipeline/cluster-scoped |
Oops, something went wrong.