forked from kubeflow/manifests
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync kubeflow/pipelines manifests 1.8.2 (kubeflow#2223)
* Update kubeflow/pipelines manifests from 1.8.2 * update example, tests
- Loading branch information
Showing
23 changed files
with
236 additions
and
20 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -8,4 +8,4 @@ commonLabels: | |
app: cache-deployer | ||
images: | ||
- name: gcr.io/ml-pipeline/cache-deployer | ||
newTag: 1.8.1 | ||
newTag: 1.8.2 |
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 |
---|---|---|
|
@@ -10,4 +10,4 @@ commonLabels: | |
app: cache-server | ||
images: | ||
- name: gcr.io/ml-pipeline/cache-server | ||
newTag: 1.8.1 | ||
newTag: 1.8.2 |
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 |
---|---|---|
|
@@ -9,4 +9,4 @@ resources: | |
- metadata-grpc-sa.yaml | ||
images: | ||
- name: gcr.io/ml-pipeline/metadata-envoy | ||
newTag: 1.8.1 | ||
newTag: 1.8.2 |
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
6 changes: 6 additions & 0 deletions
6
apps/pipeline/upstream/env/cert-manager/base/cache-cert-issuer.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: cert-manager.io/v1 | ||
kind: Issuer | ||
metadata: | ||
name: kfp-cache-selfsigned-issuer | ||
spec: | ||
selfSigned: {} |
15 changes: 15 additions & 0 deletions
15
apps/pipeline/upstream/env/cert-manager/base/cache-cert.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,15 @@ | ||
apiVersion: cert-manager.io/v1 | ||
kind: Certificate | ||
metadata: | ||
name: kfp-cache-cert | ||
spec: | ||
commonName: kfp-cache-cert | ||
isCA: true | ||
dnsNames: | ||
- cache-server | ||
- cache-server.$(kfp-namespace) | ||
- cache-server.$(kfp-namespace).svc | ||
issuerRef: | ||
kind: Issuer | ||
name: kfp-cache-selfsigned-issuer | ||
secretName: webhook-server-tls |
25 changes: 25 additions & 0 deletions
25
apps/pipeline/upstream/env/cert-manager/base/cache-webhook-config.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,25 @@ | ||
apiVersion: admissionregistration.k8s.io/v1 | ||
kind: MutatingWebhookConfiguration | ||
metadata: | ||
name: cache-webhook-kubeflow | ||
annotations: | ||
cert-manager.io/inject-ca-from: $(kfp-namespace)/kfp-cache-cert | ||
webhooks: | ||
- name: cache-server.$(kfp-namespace).svc | ||
clientConfig: | ||
service: | ||
name: cache-server | ||
namespace: $(kfp-namespace) | ||
path: "/mutate" | ||
failurePolicy: Ignore | ||
rules: | ||
- operations: [ "CREATE" ] | ||
apiGroups: [""] | ||
apiVersions: ["v1"] | ||
resources: ["pods"] | ||
sideEffects: None | ||
timeoutSeconds: 5 | ||
objectSelector: | ||
matchLabels: | ||
pipelines.kubeflow.org/cache_enabled: "true" | ||
admissionReviewVersions: ["v1beta1"] |
13 changes: 13 additions & 0 deletions
13
apps/pipeline/upstream/env/cert-manager/base/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,13 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
namespace: kubeflow | ||
|
||
resources: | ||
- cache-cert-issuer.yaml | ||
- cache-cert.yaml | ||
- cache-webhook-config.yaml | ||
commonLabels: | ||
app: cache-server-cert-manager | ||
|
||
configurations: | ||
- params.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,13 @@ | ||
varReference: | ||
- path: spec/commonName | ||
kind: Certificate | ||
- path: spec/dnsNames | ||
kind: Certificate | ||
- path: spec/issuerRef/name | ||
kind: Certificate | ||
- path: metadata/annotations | ||
kind: MutatingWebhookConfiguration | ||
- path: webhooks/clientConfig/service/namespace | ||
kind: MutatingWebhookConfiguration | ||
- path: webhooks/name | ||
kind: MutatingWebhookConfiguration |
7 changes: 7 additions & 0 deletions
7
apps/pipeline/upstream/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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
bases: | ||
- ../../../third-party/application/cluster-scoped | ||
- ../../../third-party/argo/installs/namespace/cluster-scoped | ||
- ../../../base/pipeline/cluster-scoped |
18 changes: 18 additions & 0 deletions
18
apps/pipeline/upstream/env/cert-manager/dev/delete-cache-deployer.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,18 @@ | ||
# Delete cache deployer related resources as we use the cert-manager instead | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: cache-deployer-deployment | ||
$patch: delete | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: Role | ||
metadata: | ||
name: kubeflow-pipelines-cache-deployer-role | ||
$patch: delete | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: RoleBinding | ||
metadata: | ||
name: kubeflow-pipelines-cache-deployer-rolebinding | ||
$patch: delete |
47 changes: 47 additions & 0 deletions
47
apps/pipeline/upstream/env/cert-manager/dev/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,47 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
bases: | ||
- ../../dev | ||
- ../base | ||
namespace: kubeflow | ||
|
||
# Delete the cache deployer as we use the cert-manager instead | ||
patchesStrategicMerge: | ||
- ./delete-cache-deployer.yaml | ||
|
||
resources: | ||
- namespace.yaml | ||
|
||
vars: | ||
# NOTE: var name must be unique globally to allow composition of multiple kustomize | ||
# packages. Therefore, we added prefix `kfp-dev-` to distinguish it from | ||
# others. | ||
- name: kfp-dev-namespace | ||
objref: | ||
# ml-pipeline sa's metadata.namespace will be first transformed by namespace field in kustomization.yaml | ||
# so that we only need to change kustomization.yaml's namespace field for namespace customization. | ||
kind: ServiceAccount | ||
name: ml-pipeline | ||
apiVersion: v1 | ||
fieldref: | ||
fieldpath: metadata.namespace | ||
configurations: | ||
- params.yaml | ||
|
||
# Pass proper arguments to cache-server to use cert-manager certificate | ||
patches: | ||
- patch: |- | ||
- op: add | ||
path: /spec/template/spec/containers/0/args/- | ||
value: "--tls_cert_filename=tls.crt" | ||
target: | ||
kind: Deployment | ||
name: cache-server | ||
- patch: |- | ||
- op: add | ||
path: /spec/template/spec/containers/0/args/- | ||
value: "--tls_key_filename=tls.key" | ||
target: | ||
kind: Deployment | ||
name: cache-server |
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,4 @@ | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: '$(kfp-dev-namespace)' |
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,4 @@ | ||
# Allow Kustomize var to replace following fields. | ||
varReference: | ||
- path: metadata/name | ||
kind: Namespace |
36 changes: 36 additions & 0 deletions
36
...ipeline/upstream/env/cert-manager/platform-agnostic-multi-user/delete-cache-deployer.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,36 @@ | ||
# Delete cache deployer as we use the cert-manager instead | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: kubeflow-pipelines-cache-deployer-clusterrole | ||
$patch: delete | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: kubeflow-pipelines-cache-deployer-clusterrolebinding | ||
$patch: delete | ||
--- | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: kubeflow-pipelines-cache-deployer-sa | ||
$patch: delete | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: cache-deployer-deployment | ||
$patch: delete | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: Role | ||
metadata: | ||
name: kubeflow-pipelines-cache-deployer-role | ||
$patch: delete | ||
--- | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: RoleBinding | ||
metadata: | ||
name: kubeflow-pipelines-cache-deployer-rolebinding | ||
$patch: delete |
28 changes: 28 additions & 0 deletions
28
apps/pipeline/upstream/env/cert-manager/platform-agnostic-multi-user/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,28 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
|
||
bases: | ||
- ../../platform-agnostic-multi-user | ||
- ../base | ||
namespace: kubeflow | ||
|
||
# Delete the cache deployer as we use the cert-manager instead | ||
patchesStrategicMerge: | ||
- ./delete-cache-deployer.yaml | ||
|
||
# Pass proper arguments to cache-server to use cert-manager certificate | ||
patches: | ||
- patch: |- | ||
- op: add | ||
path: /spec/template/spec/containers/0/args/- | ||
value: "--tls_cert_filename=tls.crt" | ||
target: | ||
kind: Deployment | ||
name: cache-server | ||
- patch: |- | ||
- op: add | ||
path: /spec/template/spec/containers/0/args/- | ||
value: "--tls_key_filename=tls.key" | ||
target: | ||
kind: Deployment | ||
name: cache-server |
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