diff --git a/kubeflow-monitoring/envs/dev/Chart.yaml b/kubeflow-monitoring/envs/dev/Chart.yaml new file mode 100644 index 000000000..7e958d11e --- /dev/null +++ b/kubeflow-monitoring/envs/dev/Chart.yaml @@ -0,0 +1,5 @@ +apiVersion: v1 +appVersion: "1.0" +name: kubeflow-monitoring-dev-applications +description: App of apps chart for the dev EKS kubeflow monitoring. +version: 0.1.0 \ No newline at end of file diff --git a/kubeflow-monitoring/envs/dev/templates/team-yoda.yaml b/kubeflow-monitoring/envs/dev/templates/team-yoda.yaml new file mode 100644 index 000000000..e2f889f07 --- /dev/null +++ b/kubeflow-monitoring/envs/dev/templates/team-yoda.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kubeflow + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: default + destination: + namespace: argocd + server: {{ .Values.spec.destination.server }} + source: + repoURL: {{ .Values.spec.source.repoURL }} + targetRevision: {{ .Values.spec.source.targetRevision }} + path: teams/team-yoda/kustomize/overlays/dev + syncPolicy: + automated: + prune: true + selfHeal: true + allowEmpty: false \ No newline at end of file diff --git a/kubeflow-monitoring/envs/dev/values.yaml b/kubeflow-monitoring/envs/dev/values.yaml new file mode 100644 index 000000000..006abdc51 --- /dev/null +++ b/kubeflow-monitoring/envs/dev/values.yaml @@ -0,0 +1,6 @@ +spec: + destination: + server: https://kubernetes.default.svc + source: + repoURL: https://github.com/arunvthangaraj/eks-blueprints-workloads.git + targetRevision: main \ No newline at end of file diff --git a/kubeflow-monitoring/envs/prod/Chart.yaml b/kubeflow-monitoring/envs/prod/Chart.yaml new file mode 100644 index 000000000..f46432674 --- /dev/null +++ b/kubeflow-monitoring/envs/prod/Chart.yaml @@ -0,0 +1,5 @@ +apiVersion: v1 +appVersion: "1.0" +name: kubeflow-monitoring-prod-applications +description: App of apps chart for the prod EKS kubeflow monitoring. +version: 0.1.0 \ No newline at end of file diff --git a/kubeflow-monitoring/envs/prod/templates/team-yoda.yaml b/kubeflow-monitoring/envs/prod/templates/team-yoda.yaml new file mode 100644 index 000000000..de45a51ae --- /dev/null +++ b/kubeflow-monitoring/envs/prod/templates/team-yoda.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kubeflow + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: default + destination: + namespace: argocd + server: {{ .Values.spec.destination.server }} + source: + repoURL: {{ .Values.spec.source.repoURL }} + targetRevision: {{ .Values.spec.source.targetRevision }} + path: teams/team-yoda/kustomize/overlays/prod + syncPolicy: + automated: + prune: true + selfHeal: true + allowEmpty: false \ No newline at end of file diff --git a/kubeflow-monitoring/envs/prod/values.yaml b/kubeflow-monitoring/envs/prod/values.yaml new file mode 100644 index 000000000..006abdc51 --- /dev/null +++ b/kubeflow-monitoring/envs/prod/values.yaml @@ -0,0 +1,6 @@ +spec: + destination: + server: https://kubernetes.default.svc + source: + repoURL: https://github.com/arunvthangaraj/eks-blueprints-workloads.git + targetRevision: main \ No newline at end of file diff --git a/kubeflow-monitoring/envs/test/Chart.yaml b/kubeflow-monitoring/envs/test/Chart.yaml new file mode 100644 index 000000000..8cc441726 --- /dev/null +++ b/kubeflow-monitoring/envs/test/Chart.yaml @@ -0,0 +1,5 @@ +apiVersion: v1 +appVersion: "1.0" +name: kubeflow-monitoring-test-applications +description: App of apps chart for the test EKS kubeflow monitoring. +version: 0.1.0 \ No newline at end of file diff --git a/kubeflow-monitoring/envs/test/templates/team-yoda.yaml b/kubeflow-monitoring/envs/test/templates/team-yoda.yaml new file mode 100644 index 000000000..014218b42 --- /dev/null +++ b/kubeflow-monitoring/envs/test/templates/team-yoda.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kubeflow + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: default + destination: + namespace: argocd + server: {{ .Values.spec.destination.server }} + source: + repoURL: {{ .Values.spec.source.repoURL }} + targetRevision: {{ .Values.spec.source.targetRevision }} + path: teams/team-yoda/kustomize/overlays/test + syncPolicy: + automated: + prune: true + selfHeal: true + allowEmpty: false \ No newline at end of file diff --git a/kubeflow-monitoring/envs/test/values.yaml b/kubeflow-monitoring/envs/test/values.yaml new file mode 100644 index 000000000..006abdc51 --- /dev/null +++ b/kubeflow-monitoring/envs/test/values.yaml @@ -0,0 +1,6 @@ +spec: + destination: + server: https://kubernetes.default.svc + source: + repoURL: https://github.com/arunvthangaraj/eks-blueprints-workloads.git + targetRevision: main \ No newline at end of file diff --git a/kubeflow-monitoring/upstream/central-dashboard/kustomization.yaml b/kubeflow-monitoring/upstream/central-dashboard/kustomization.yaml new file mode 100644 index 000000000..ea706c925 --- /dev/null +++ b/kubeflow-monitoring/upstream/central-dashboard/kustomization.yaml @@ -0,0 +1,5 @@ +resources: + - github.com/kubeflow/manifests/apps/centraldashboard/upstream/overlays/istio?ref=v1.8.1 + +patches: + - path: patches/configMapPatch.yaml diff --git a/kubeflow-monitoring/upstream/central-dashboard/patches/configMapPatch.yaml b/kubeflow-monitoring/upstream/central-dashboard/patches/configMapPatch.yaml new file mode 100644 index 000000000..effd5066d --- /dev/null +++ b/kubeflow-monitoring/upstream/central-dashboard/patches/configMapPatch.yaml @@ -0,0 +1,131 @@ +apiVersion: v1 +data: + settings: |- + { + "DASHBOARD_FORCE_IFRAME": true + } + links: |- + { + "menuLinks": [ + { + "type": "item", + "link": "/jupyter/", + "text": "Notebooks", + "icon": "book" + }, + { + "type": "item", + "link": "/tensorboards/", + "text": "Tensorboards", + "icon": "assessment" + }, + { + "type": "item", + "link": "/volumes/", + "text": "Volumes", + "icon": "device:storage" + }, + { + "type": "item", + "link": "/kserve-endpoints/", + "text": "Models", + "icon": "kubeflow:models" + }, + { + "type": "item", + "link": "/katib/", + "text": "Experiments (AutoML)", + "icon": "kubeflow:katib" + }, + { + "type": "item", + "text": "Experiments (KFP)", + "link": "/pipeline/#/experiments", + "icon": "done-all" + }, + { + "type": "item", + "link": "/pipeline/#/pipelines", + "text": "Pipelines", + "icon": "kubeflow:pipeline-centered" + }, + { + "type": "item", + "link": "/pipeline/#/runs", + "text": "Runs", + "icon": "maps:directions-run" + }, + { + "type": "item", + "link": "/pipeline/#/recurringruns", + "text": "Recurring Runs", + "icon": "device:access-alarm" + }, + { + "type": "item", + "link": "/pipeline/#/artifacts", + "text": "Artifacts", + "icon": "editor:bubble-chart" + }, + { + "type": "item", + "link": "/pipeline/#/executions", + "text": "Executions", + "icon": "av:play-arrow" + } + ], + "externalLinks": [ ], + "quickLinks": [ + { + "text": "Upload a pipeline", + "desc": "Pipelines", + "link": "/pipeline/" + }, + { + "text": "View all pipeline runs", + "desc": "Pipelines", + "link": "/pipeline/#/runs" + }, + { + "text": "Create a new Notebook server", + "desc": "Notebook Servers", + "link": "/jupyter/new?namespace=kubeflow" + }, + { + "text": "View Katib Experiments", + "desc": "Katib", + "link": "/katib/" + } + ], + "documentationItems": [ + { + "text": "Getting Started with Kubeflow", + "desc": "Get your machine-learning workflow up and running on Kubeflow", + "link": "https://www.kubeflow.org/docs/started/getting-started/" + }, + { + "text": "Kubeflow on AWS", + "desc": "Running Kubeflow on Amazon Elastic Kubernetes Service (Amazon EKS) and Amazon Web Services", + "link": "https://www.kubeflow.org/docs/aws/" + }, + { + "text": "Amazon SageMaker Components for Kubeflow Pipelines", + "desc": "Create Machine Learning workflows to run on Amazon SageMaker from Kubeflow Pipelines", + "link": "https://awslabs.github.io/kubeflow-manifests/docs/amazon-sagemaker-integration/sagemaker-components-for-kubeflow-pipelines" + }, + { + "text": "Amazon SageMaker Operator for Kubernetes (ACK)", + "desc": "Use SageMaker Operators for Kubernetes (ACK) to manage your SageMaker resources from your Kubernetes cluster directly", + "link": "https://awslabs.github.io/kubeflow-manifests/docs/amazon-sagemaker-integration/sagemaker-operators-ack" + }, + { + "text": "Requirements for Kubeflow", + "desc": "Get more detailed information about using Kubeflow and its components", + "link": "https://www.kubeflow.org/docs/started/requirements/" + } + ] + } +kind: ConfigMap +metadata: + name: centraldashboard-config + namespace: kubeflow \ No newline at end of file diff --git a/kubeflow-monitoring/upstream/jupyter-web-app/configs/spawner_ui_config.yaml b/kubeflow-monitoring/upstream/jupyter-web-app/configs/spawner_ui_config.yaml new file mode 100644 index 000000000..4ff8d0967 --- /dev/null +++ b/kubeflow-monitoring/upstream/jupyter-web-app/configs/spawner_ui_config.yaml @@ -0,0 +1,182 @@ +# Configuration file for the Jupyter UI. +# +# Each Jupyter UI option is configured by two keys: 'value' and 'readOnly' +# - The 'value' key contains the default value +# - The 'readOnly' key determines if the option will be available to users +# +# If the 'readOnly' key is present and set to 'true', the respective option +# will be disabled for users and only set by the admin. Also when a +# Notebook is POSTED to the API if a necessary field is not present then +# the value from the config will be used. +# +# If the 'readOnly' key is missing (defaults to 'false'), the respective option +# will be available for users to edit. +# +# Note that some values can be templated. Such values are the names of the +# Volumes as well as their StorageClass +spawnerFormDefaults: + image: + # The container Image for the user's Jupyter Notebook + value: public.ecr.aws/kubeflow-on-aws/notebook-servers/jupyter-tensorflow:2.12.0-cpu-py310-ubuntu20.04-ec2-v1.0 + # The list of available standard container Images + options: + - kubeflownotebookswg/jupyter-scipy:v1.7.0 + - public.ecr.aws/kubeflow-on-aws/notebook-servers/jupyter-tensorflow:2.12.0-gpu-py310-cu118-ubuntu20.04-ec2-v1.0 + - public.ecr.aws/kubeflow-on-aws/notebook-servers/jupyter-tensorflow:2.12.0-cpu-py310-ubuntu20.04-ec2-v1.0 + - public.ecr.aws/kubeflow-on-aws/notebook-servers/jupyter-pytorch:2.0.0-gpu-py310-cu118-ubuntu20.04-ec2-v1.0 + - public.ecr.aws/kubeflow-on-aws/notebook-servers/jupyter-pytorch:2.0.0-cpu-py310-ubuntu20.04-ec2-v1.0 + imageGroupOne: + # The container Image for the user's Group One Server + # The annotation `notebooks.kubeflow.org/http-rewrite-uri: /` + # is applied to notebook in this group, configuring + # the Istio rewrite for containers that host their web UI at `/` + value: kubeflownotebookswg/codeserver-python:v1.7.0 + # The list of available standard container Images + options: + - kubeflownotebookswg/codeserver-python:v1.7.0 + imageGroupTwo: + # The container Image for the user's Group Two Server + # The annotation `notebooks.kubeflow.org/http-rewrite-uri: /` + # is applied to notebook in this group, configuring + # the Istio rewrite for containers that host their web UI at `/` + # The annotation `notebooks.kubeflow.org/http-headers-request-set` + # is applied to notebook in this group, configuring Istio + # to add the `X-RStudio-Root-Path` header to requests + value: kubeflownotebookswg/rstudio-tidyverse:v1.7.0 + # The list of available standard container Images + options: + - kubeflownotebookswg/rstudio-tidyverse:v1.7.0 + # If true, hide registry and/or tag name in the image selection dropdown + hideRegistry: true + hideTag: false + allowCustomImage: true + # If true, users can input custom images + # If false, users can only select from the images in this config + imagePullPolicy: + # Supported values: Always, IfNotPresent, Never + value: IfNotPresent + readOnly: false + cpu: + # CPU for user's Notebook + value: '0.5' + # Factor by with to multiply request to calculate limit + # if no limit is set, to disable set "none" + limitFactor: "1.2" + readOnly: false + memory: + # Memory for user's Notebook + value: 1.0Gi + # Factor by with to multiply request to calculate limit + # if no limit is set, to disable set "none" + limitFactor: "1.2" + readOnly: false + environment: + value: {} + readOnly: false + workspaceVolume: + # Workspace Volume to be attached to user's Notebook + # If you don't want a workspace volume then delete the 'value' key + value: + mount: /home/jovyan + newPvc: + metadata: + name: '{notebook-name}-workspace' + spec: + resources: + requests: + storage: 10Gi + accessModes: + - ReadWriteOnce + readOnly: false + dataVolumes: + # List of additional Data Volumes to be attached to the user's Notebook + value: [] + # For example, a list with 2 Data Volumes: + # value: + # - mount: /home/jovyan/datavol-1 + # newPvc: + # metadata: + # name: '{notebook-name}-datavol-1' + # spec: + # resources: + # requests: + # storage: 5Gi + # accessModes: + # - ReadWriteOnce + # - mount: /home/jovyan/datavol-1 + # existingSource: + # persistentVolumeClaim: + # claimName: test-pvc + readOnly: false + gpus: + # Number of GPUs to be assigned to the Notebook Container + value: + # values: "none", "1", "2", "4", "8" + num: "none" + # Determines what the UI will show and send to the backend + vendors: + - limitsKey: "nvidia.com/gpu" + uiName: "NVIDIA" + - limitsKey: "amd.com/gpu" + uiName: "AMD" + # Values: "" or a `limits-key` from the vendors list + vendor: "" + readOnly: false + affinityConfig: + # If readonly, the default value will be the only option + # value is a list of `configKey`s that we want to be selected by default + value: "" + # The list of available affinity configs + options: [] + #options: + # - configKey: "exclusive__n1-standard-2" + # displayName: "Exclusive: n1-standard-2" + # affinity: + # # (Require) Node having label: `node_pool=notebook-n1-standard-2` + # nodeAffinity: + # requiredDuringSchedulingIgnoredDuringExecution: + # nodeSelectorTerms: + # - matchExpressions: + # - key: "node_pool" + # operator: "In" + # values: + # - "notebook-n1-standard-2" + # # (Require) Node WITHOUT existing Pod having label: `notebook-name` + # podAntiAffinity: + # requiredDuringSchedulingIgnoredDuringExecution: + # - labelSelector: + # matchExpressions: + # - key: "notebook-name" + # operator: "Exists" + # namespaces: [] + # topologyKey: "kubernetes.io/hostname" + #readOnly: false + tolerationGroup: + # The default `groupKey` from the options list + # If readonly, the default value will be the only option + value: "" + # The list of available tolerationGroup configs + options: [] + #options: + # - groupKey: "group_1" + # displayName: "Group 1: description" + # tolerations: + # - key: "key1" + # operator: "Equal" + # value: "value1" + # effect: "NoSchedule" + # - key: "key2" + # operator: "Equal" + # value: "value2" + # effect: "NoSchedule" + readOnly: false + shm: + value: true + readOnly: false + configurations: + # List of labels to be selected, these are the labels from PodDefaults + # value: + # - add-aws-secret + # - default-editor + value: [] + readOnly: false \ No newline at end of file diff --git a/kubeflow-monitoring/upstream/jupyter-web-app/kustomization.yaml b/kubeflow-monitoring/upstream/jupyter-web-app/kustomization.yaml new file mode 100644 index 000000000..7d9c0a9db --- /dev/null +++ b/kubeflow-monitoring/upstream/jupyter-web-app/kustomization.yaml @@ -0,0 +1,7 @@ +resources: +- github.com/kubeflow/manifests/apps/jupyter/jupyter-web-app/upstream/overlays/istio?ref=v1.8.1 +configMapGenerator: +- name: config + behavior: merge + files: + - configs/spawner_ui_config.yaml \ No newline at end of file diff --git a/kubeflow-monitoring/upstream/notebook-controller/kustomization.yaml b/kubeflow-monitoring/upstream/notebook-controller/kustomization.yaml new file mode 100644 index 000000000..45b47637d --- /dev/null +++ b/kubeflow-monitoring/upstream/notebook-controller/kustomization.yaml @@ -0,0 +1,7 @@ +namespace: kubeflow +resources: +- github.com/kubeflow/manifests/apps/jupyter/notebook-controller/upstream/overlays/kubeflow?ref=v1.8.1 +configMapGenerator: +- name: config + behavior: merge + env: params.env \ No newline at end of file diff --git a/kubeflow-monitoring/upstream/notebook-controller/params.env b/kubeflow-monitoring/upstream/notebook-controller/params.env new file mode 100644 index 000000000..8b76ecab8 --- /dev/null +++ b/kubeflow-monitoring/upstream/notebook-controller/params.env @@ -0,0 +1,3 @@ +ENABLE_CULLING=false +CULL_IDLE_TIME=30 +IDLENESS_CHECK_PERIOD=5 \ No newline at end of file diff --git a/kubeflow-monitoring/upstream/notebook-token/kubeflow-pod-default.yaml b/kubeflow-monitoring/upstream/notebook-token/kubeflow-pod-default.yaml new file mode 100644 index 000000000..4c163776d --- /dev/null +++ b/kubeflow-monitoring/upstream/notebook-token/kubeflow-pod-default.yaml @@ -0,0 +1,25 @@ +apiVersion: kubeflow.org/v1alpha1 +kind: PodDefault +metadata: + name: access-ml-pipeline + namespace: kubeflow-user-example-com +spec: + desc: Allow access to Kubeflow Pipelines + selector: + matchLabels: + access-ml-pipeline: "true" + volumes: + - name: volume-kf-pipeline-token + projected: + sources: + - serviceAccountToken: + path: token + expirationSeconds: 7200 + audience: pipelines.kubeflow.org + volumeMounts: + - mountPath: /var/run/secrets/kubeflow/pipelines + name: volume-kf-pipeline-token + readOnly: true + env: + - name: KF_PIPELINES_SA_TOKEN_PATH + value: /var/run/secrets/kubeflow/pipelines/token \ No newline at end of file diff --git a/kubeflow-monitoring/upstream/notebook-token/kustomization.yaml b/kubeflow-monitoring/upstream/notebook-token/kustomization.yaml new file mode 100644 index 000000000..fffb45fb5 --- /dev/null +++ b/kubeflow-monitoring/upstream/notebook-token/kustomization.yaml @@ -0,0 +1,2 @@ +resources: + - kubeflow-pod-default.yaml \ No newline at end of file diff --git a/teams/team-test/kustomize/base/kubeflow-ns.yaml b/teams/team-test/kustomize/base/kubeflow-ns.yaml new file mode 100644 index 000000000..792aa20a5 --- /dev/null +++ b/teams/team-test/kustomize/base/kubeflow-ns.yaml @@ -0,0 +1,25 @@ +apiVersion: source.toolkit.fluxcd.io/v1 +kind: GitRepository +metadata: + name: kubeflowgit + namespace: default +spec: + interval: 5m + url: https://github.com/kubeflow/manifests.git + ref: + branch: master +--- +apiVersion: kustomize.toolkit.fluxcd.io/v1 +kind: Kustomization +metadata: + name: kubeflowkustomization + namespace: default +spec: + interval: 10m + targetNamespace: default + sourceRef: + kind: GitRepository + name: kubeflowgit + path: "./common/kubeflow-namespace/base" + prune: true + timeout: 1m \ No newline at end of file diff --git a/teams/team-yoda/kustomize/base/ack-sagemaker-controller.yaml b/teams/team-yoda/kustomize/base/ack-sagemaker-controller.yaml new file mode 100644 index 000000000..d1e02712c --- /dev/null +++ b/teams/team-yoda/kustomize/base/ack-sagemaker-controller.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kubeflow-ack-sagemaker-controller + finalizers: + - resources-finalizer.argocd.argoproj.io + annotations: + appSource: aws + argocd.argoproj.io/sync-wave: "25" +spec: + project: default + destination: + namespace: argocd + server: https://kubernetes.default.svc + source: + repoURL: https://github.com/awslabs/kubeflow-manifests.git + targetRevision: main + path: awsconfigs/common/ack-sagemaker-controller + syncPolicy: + automated: + prune: true \ No newline at end of file diff --git a/teams/team-yoda/kustomize/base/admission-webhook.yaml b/teams/team-yoda/kustomize/base/admission-webhook.yaml new file mode 100644 index 000000000..993ab71be --- /dev/null +++ b/teams/team-yoda/kustomize/base/admission-webhook.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kubeflow-admission-webhook + finalizers: + - resources-finalizer.argocd.argoproj.io + annotations: + appSource: upstream + argocd.argoproj.io/sync-wave: "15" +spec: + project: default + destination: + namespace: argocd + server: https://kubernetes.default.svc + source: + repoURL: https://github.com/kubeflow/manifests.git + targetRevision: master + path: apps/admission-webhook/upstream/overlays/cert-manager + syncPolicy: + automated: + prune: true \ No newline at end of file diff --git a/teams/team-yoda/kustomize/base/central-dashboard.yaml b/teams/team-yoda/kustomize/base/central-dashboard.yaml new file mode 100644 index 000000000..6fc9a5feb --- /dev/null +++ b/teams/team-yoda/kustomize/base/central-dashboard.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kubeflow-central-dashboard + finalizers: + - resources-finalizer.argocd.argoproj.io + annotations: + appSource: inline + argocd.argoproj.io/sync-wave: "13" +spec: + project: default + destination: + namespace: argocd + server: https://kubernetes.default.svc + source: + repoURL: https://github.com/arunvthangaraj/eks-blueprints-workloads.git + targetRevision: main + path: kubeflow-monitoring/upstream/central-dashboard + syncPolicy: + automated: + prune: true \ No newline at end of file diff --git a/teams/team-yoda/kustomize/base/cluster-local-gateway.yaml b/teams/team-yoda/kustomize/base/cluster-local-gateway.yaml new file mode 100644 index 000000000..7d8e82cac --- /dev/null +++ b/teams/team-yoda/kustomize/base/cluster-local-gateway.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kubeflow-istio-cluster-local-gateway + finalizers: + - resources-finalizer.argocd.argoproj.io + annotations: + appSource: upstream + argocd.argoproj.io/sync-wave: "4" +spec: + project: default + destination: + namespace: argocd + server: https://kubernetes.default.svc + source: + repoURL: https://github.com/kubeflow/manifests.git + targetRevision: master + path: common/istio-1-16/cluster-local-gateway/base + syncPolicy: + automated: + prune: true \ No newline at end of file diff --git a/teams/team-yoda/kustomize/base/dex.yaml b/teams/team-yoda/kustomize/base/dex.yaml new file mode 100644 index 000000000..3aa6969d9 --- /dev/null +++ b/teams/team-yoda/kustomize/base/dex.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kubeflow-dex + finalizers: + - resources-finalizer.argocd.argoproj.io + annotations: + appSource: upstream + argocd.argoproj.io/sync-wave: "2" +spec: + project: default + destination: + namespace: argocd + server: https://kubernetes.default.svc + source: + repoURL: https://github.com/kubeflow/manifests.git + targetRevision: master + path: common/dex/overlays/istio + syncPolicy: + automated: + prune: true \ No newline at end of file diff --git a/teams/team-yoda/kustomize/base/istio-resources.yaml b/teams/team-yoda/kustomize/base/istio-resources.yaml new file mode 100644 index 000000000..4c41c4331 --- /dev/null +++ b/teams/team-yoda/kustomize/base/istio-resources.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kubeflow-istio-resources + finalizers: + - resources-finalizer.argocd.argoproj.io + annotations: + appSource: upstream + argocd.argoproj.io/sync-wave: "6" +spec: + project: default + destination: + namespace: argocd + server: https://kubernetes.default.svc + source: + repoURL: https://github.com/kubeflow/manifests.git + targetRevision: master + path: common/istio-1-16/kubeflow-istio-resources/base + syncPolicy: + automated: + prune: true \ No newline at end of file diff --git a/teams/team-yoda/kustomize/base/istio.yaml b/teams/team-yoda/kustomize/base/istio.yaml new file mode 100644 index 000000000..0ecdd5855 --- /dev/null +++ b/teams/team-yoda/kustomize/base/istio.yaml @@ -0,0 +1,67 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kubeflow-istio-namespace + finalizers: + - resources-finalizer.argocd.argoproj.io + annotations: + appSource: upstream + argocd.argoproj.io/sync-wave: "1" +spec: + project: default + destination: + namespace: argocd + server: https://kubernetes.default.svc + source: + repoURL: https://github.com/kubeflow/manifests.git + targetRevision: master + path: common/istio-1-16/istio-namespace/base + helm: + syncPolicy: + automated: + prune: true +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kubeflow-istio-crds + finalizers: + - resources-finalizer.argocd.argoproj.io + annotations: + appSource: upstream + argocd.argoproj.io/sync-wave: "1" +spec: + project: default + destination: + namespace: argocd + server: https://kubernetes.default.svc + source: + repoURL: https://github.com/kubeflow/manifests.git + targetRevision: master + path: common/istio-1-16/istio-crds/base + helm: + syncPolicy: + automated: + prune: true +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kubeflow-istio + finalizers: + - resources-finalizer.argocd.argoproj.io + annotations: + appSource: upstream + argocd.argoproj.io/sync-wave: "1" +spec: + project: default + destination: + namespace: argocd + server: https://kubernetes.default.svc + source: + repoURL: https://github.com/kubeflow/manifests.git + targetRevision: master + path: common/istio-1-16/istio-install/base + syncPolicy: + automated: + prune: true \ No newline at end of file diff --git a/teams/team-yoda/kustomize/base/jupyter-web-app.yaml b/teams/team-yoda/kustomize/base/jupyter-web-app.yaml new file mode 100644 index 000000000..8badb61ce --- /dev/null +++ b/teams/team-yoda/kustomize/base/jupyter-web-app.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kubeflow-jupyter-web-app + finalizers: + - resources-finalizer.argocd.argoproj.io + annotations: + appSource: inline + argocd.argoproj.io/sync-wave: "16" +spec: + project: default + destination: + namespace: argocd + server: https://kubernetes.default.svc + source: + repoURL: https://github.com/arunvthangaraj/eks-blueprints-workloads.git + targetRevision: main + path: kubeflow-monitoring/upstream/jupyter-web-app + syncPolicy: + automated: + prune: true \ No newline at end of file diff --git a/teams/team-yoda/kustomize/base/katib.yaml b/teams/team-yoda/kustomize/base/katib.yaml new file mode 100644 index 000000000..a44778ea2 --- /dev/null +++ b/teams/team-yoda/kustomize/base/katib.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kubeflow-katib + finalizers: + - resources-finalizer.argocd.argoproj.io + annotations: + appSource: upstream + argocd.argoproj.io/sync-wave: "20" +spec: + project: default + destination: + namespace: argocd + server: https://kubernetes.default.svc + source: + repoURL: https://github.com/kubeflow/manifests.git + targetRevision: master + path: apps/katib/upstream/installs/katib-with-kubeflow + syncPolicy: + automated: + prune: true \ No newline at end of file diff --git a/teams/team-yoda/kustomize/base/knative-eventing.yaml b/teams/team-yoda/kustomize/base/knative-eventing.yaml new file mode 100644 index 000000000..adce0c13c --- /dev/null +++ b/teams/team-yoda/kustomize/base/knative-eventing.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kubeflow-knative-eventing + finalizers: + - resources-finalizer.argocd.argoproj.io + annotations: + appSource: upstream + argocd.argoproj.io/sync-wave: "10" +spec: + project: default + destination: + namespace: argocd + server: https://kubernetes.default.svc + source: + repoURL: https://github.com/kubeflow/manifests.git + targetRevision: master + path: common/knative/knative-eventing/base + syncPolicy: + automated: + prune: true \ No newline at end of file diff --git a/teams/team-yoda/kustomize/base/knative-serving.yaml b/teams/team-yoda/kustomize/base/knative-serving.yaml new file mode 100644 index 000000000..4db05595a --- /dev/null +++ b/teams/team-yoda/kustomize/base/knative-serving.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kubeflow-knative-serving + finalizers: + - resources-finalizer.argocd.argoproj.io + annotations: + appSource: upstream-custom #This annotation is added to prevent patch + argocd.argoproj.io/sync-wave: "9" +spec: + project: default + destination: + namespace: argocd + server: https://kubernetes.default.svc + source: + repoURL: https://github.com/kubeflow/manifests.git + targetRevision: v1.8.0 + path: common/knative/knative-serving/overlays/gateways + syncPolicy: + automated: + prune: true \ No newline at end of file diff --git a/teams/team-yoda/kustomize/base/kserve.yaml b/teams/team-yoda/kustomize/base/kserve.yaml new file mode 100644 index 000000000..23af85285 --- /dev/null +++ b/teams/team-yoda/kustomize/base/kserve.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kubeflow-kserve + finalizers: + - resources-finalizer.argocd.argoproj.io + annotations: + appSource: upstream + argocd.argoproj.io/sync-wave: "11" +spec: + project: default + destination: + namespace: argocd + server: https://kubernetes.default.svc + source: + repoURL: https://github.com/kubeflow/manifests.git + targetRevision: master + path: contrib/kserve/kserve + syncPolicy: + automated: + prune: true \ No newline at end of file diff --git a/teams/team-yoda/kustomize/base/kubeflow-issuer.yaml b/teams/team-yoda/kustomize/base/kubeflow-issuer.yaml new file mode 100644 index 000000000..21c61a2b7 --- /dev/null +++ b/teams/team-yoda/kustomize/base/kubeflow-issuer.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kubeflow-issuer + finalizers: + - resources-finalizer.argocd.argoproj.io + annotations: + appSource: upstream + argocd.argoproj.io/sync-wave: "8" +spec: + project: default + destination: + namespace: argocd + server: https://kubernetes.default.svc + source: + repoURL: https://github.com/kubeflow/manifests.git + targetRevision: master + path: common/cert-manager/kubeflow-issuer/base + syncPolicy: + automated: + prune: true \ No newline at end of file diff --git a/teams/team-yoda/kustomize/base/kubeflow-namespace.yaml b/teams/team-yoda/kustomize/base/kubeflow-namespace.yaml new file mode 100644 index 000000000..f783dd91e --- /dev/null +++ b/teams/team-yoda/kustomize/base/kubeflow-namespace.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kubeflow-namespace + finalizers: + - resources-finalizer.argocd.argoproj.io + annotations: + appSource: upstream + argocd.argoproj.io/sync-wave: "5" +spec: + project: default + destination: + namespace: argocd + server: https://kubernetes.default.svc + source: + repoURL: https://github.com/kubeflow/manifests.git + targetRevision: master + path: common/kubeflow-namespace/base + syncPolicy: + automated: + prune: true \ No newline at end of file diff --git a/teams/team-yoda/kustomize/base/kubeflow-roles.yaml b/teams/team-yoda/kustomize/base/kubeflow-roles.yaml new file mode 100644 index 000000000..88e3ac094 --- /dev/null +++ b/teams/team-yoda/kustomize/base/kubeflow-roles.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kubeflow-roles + finalizers: + - resources-finalizer.argocd.argoproj.io + annotations: + appSource: upstream + argocd.argoproj.io/sync-wave: "7" +spec: + project: default + destination: + namespace: argocd + server: https://kubernetes.default.svc + source: + repoURL: https://github.com/kubeflow/manifests.git + targetRevision: master + path: common/kubeflow-roles/base + syncPolicy: + automated: + prune: true \ No newline at end of file diff --git a/teams/team-yoda/kustomize/base/kustomization.yaml b/teams/team-yoda/kustomize/base/kustomization.yaml new file mode 100644 index 000000000..a92e5674f --- /dev/null +++ b/teams/team-yoda/kustomize/base/kustomization.yaml @@ -0,0 +1,27 @@ +resources: +- istio.yaml +- dex.yaml +- oidc-authservice.yaml +- cluster-local-gateway.yaml +- kubeflow-namespace.yaml +- istio-resources.yaml +- kubeflow-roles.yaml +- kubeflow-issuer.yaml +- knative-serving.yaml +- knative-eventing.yaml +- kserve.yaml +- models-web-app.yaml +- central-dashboard.yaml +- pipeline.yaml +- admission-webhook.yaml +- jupyter-web-app.yaml +- notebook-controller.yaml +- volumes-web-app.yaml +- training-operator.yaml +- katib.yaml +- tensorboards-web-app.yaml +- tensorboard-controller.yaml +- profiles-and-kfam.yaml +- user-namespace.yaml +- ack-sagemaker-controller.yaml +- notebook-token.yaml \ No newline at end of file diff --git a/teams/team-yoda/kustomize/base/models-web-app.yaml b/teams/team-yoda/kustomize/base/models-web-app.yaml new file mode 100644 index 000000000..f1e4cd353 --- /dev/null +++ b/teams/team-yoda/kustomize/base/models-web-app.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kubeflow-models-web-app + finalizers: + - resources-finalizer.argocd.argoproj.io + annotations: + appSource: upstream + argocd.argoproj.io/sync-wave: "12" +spec: + project: default + destination: + namespace: argocd + server: https://kubernetes.default.svc + source: + repoURL: https://github.com/kubeflow/manifests.git + targetRevision: master + path: contrib/kserve/models-web-app/overlays/kubeflow + syncPolicy: + automated: + prune: true \ No newline at end of file diff --git a/teams/team-yoda/kustomize/base/notebook-controller.yaml b/teams/team-yoda/kustomize/base/notebook-controller.yaml new file mode 100644 index 000000000..4cff859f4 --- /dev/null +++ b/teams/team-yoda/kustomize/base/notebook-controller.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kubeflow-notebook-controller + finalizers: + - resources-finalizer.argocd.argoproj.io + annotations: + appSource: inline + argocd.argoproj.io/sync-wave: "17" +spec: + project: default + destination: + namespace: argocd + server: https://kubernetes.default.svc + source: + repoURL: https://github.com/arunvthangaraj/eks-blueprints-workloads.git + targetRevision: main + path: kubeflow-monitoring/upstream/notebook-controller + syncPolicy: + automated: + prune: true \ No newline at end of file diff --git a/teams/team-yoda/kustomize/base/notebook-token.yaml b/teams/team-yoda/kustomize/base/notebook-token.yaml new file mode 100644 index 000000000..ee862df9e --- /dev/null +++ b/teams/team-yoda/kustomize/base/notebook-token.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kubeflow-notebook-token + finalizers: + - resources-finalizer.argocd.argoproj.io + annotations: + appSource: inline + argocd.argoproj.io/sync-wave: "26" +spec: + project: default + destination: + namespace: argocd + server: https://kubernetes.default.svc + source: + repoURL: https://github.com/arunvthangaraj/eks-blueprints-workloads.git + targetRevision: main + path: kubeflow-monitoring/upstream/notebook-token + syncPolicy: + automated: + prune: true \ No newline at end of file diff --git a/teams/team-yoda/kustomize/base/oidc-authservice.yaml b/teams/team-yoda/kustomize/base/oidc-authservice.yaml new file mode 100644 index 000000000..93145960a --- /dev/null +++ b/teams/team-yoda/kustomize/base/oidc-authservice.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kubeflow-oidc-authservice + finalizers: + - resources-finalizer.argocd.argoproj.io + annotations: + appSource: upstream + argocd.argoproj.io/sync-wave: "3" +spec: + project: default + destination: + namespace: argocd + server: https://kubernetes.default.svc + source: + repoURL: https://github.com/kubeflow/manifests.git + targetRevision: master + path: common/oidc-authservice/base + syncPolicy: + automated: + prune: true \ No newline at end of file diff --git a/teams/team-yoda/kustomize/base/pipeline.yaml b/teams/team-yoda/kustomize/base/pipeline.yaml new file mode 100644 index 000000000..25fb9d4b5 --- /dev/null +++ b/teams/team-yoda/kustomize/base/pipeline.yaml @@ -0,0 +1,24 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kubeflow-pipeline + finalizers: + - resources-finalizer.argocd.argoproj.io + annotations: + appSource: upstream + argocd.argoproj.io/sync-wave: "14" +spec: + project: default + destination: + namespace: argocd + server: https://kubernetes.default.svc + source: + repoURL: https://github.com/kubeflow/manifests.git + targetRevision: master + path: apps/pipeline/upstream/env/cert-manager/platform-agnostic-multi-user + kustomize: + images: + - gcr.io/ml-pipeline/api-server=public.ecr.aws/kubeflow-on-aws/ml-pipeline/api-server:2.0.0-alpha.7 + syncPolicy: + automated: + prune: true \ No newline at end of file diff --git a/teams/team-yoda/kustomize/base/profiles-and-kfam.yaml b/teams/team-yoda/kustomize/base/profiles-and-kfam.yaml new file mode 100644 index 000000000..c32db70c1 --- /dev/null +++ b/teams/team-yoda/kustomize/base/profiles-and-kfam.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kubeflow-profiles-and-kfam + finalizers: + - resources-finalizer.argocd.argoproj.io + annotations: + appSource: upstream + argocd.argoproj.io/sync-wave: "23" +spec: + project: default + destination: + namespace: argocd + server: https://kubernetes.default.svc + source: + repoURL: https://github.com/kubeflow/manifests.git + targetRevision: master + path: apps/profiles/upstream/overlays/kubeflow + syncPolicy: + automated: + prune: true \ No newline at end of file diff --git a/teams/team-yoda/kustomize/base/tensorboard-controller.yaml b/teams/team-yoda/kustomize/base/tensorboard-controller.yaml new file mode 100644 index 000000000..5cf212029 --- /dev/null +++ b/teams/team-yoda/kustomize/base/tensorboard-controller.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kubeflow-tensorboard-controller + finalizers: + - resources-finalizer.argocd.argoproj.io + annotations: + appSource: upstream + argocd.argoproj.io/sync-wave: "22" +spec: + project: default + destination: + namespace: argocd + server: https://kubernetes.default.svc + source: + repoURL: https://github.com/kubeflow/manifests.git + targetRevision: master + path: apps/tensorboard/tensorboard-controller/upstream/overlays/kubeflow + syncPolicy: + automated: + prune: true \ No newline at end of file diff --git a/teams/team-yoda/kustomize/base/tensorboards-web-app.yaml b/teams/team-yoda/kustomize/base/tensorboards-web-app.yaml new file mode 100644 index 000000000..171c8140e --- /dev/null +++ b/teams/team-yoda/kustomize/base/tensorboards-web-app.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kubeflow-tensorboards-web-app + finalizers: + - resources-finalizer.argocd.argoproj.io + annotations: + appSource: upstream + argocd.argoproj.io/sync-wave: "21" +spec: + project: default + destination: + namespace: argocd + server: https://kubernetes.default.svc + source: + repoURL: https://github.com/kubeflow/manifests.git + targetRevision: master + path: apps/tensorboard/tensorboards-web-app/upstream/overlays/istio + syncPolicy: + automated: + prune: true \ No newline at end of file diff --git a/teams/team-yoda/kustomize/base/training-operator.yaml b/teams/team-yoda/kustomize/base/training-operator.yaml new file mode 100644 index 000000000..6564a7231 --- /dev/null +++ b/teams/team-yoda/kustomize/base/training-operator.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kubeflow-training-operator + finalizers: + - resources-finalizer.argocd.argoproj.io + annotations: + appSource: upstream + argocd.argoproj.io/sync-wave: "19" +spec: + project: default + destination: + namespace: argocd + server: https://kubernetes.default.svc + source: + repoURL: https://github.com/kubeflow/manifests.git + targetRevision: master + path: apps/training-operator/upstream/overlays/kubeflow + syncPolicy: + automated: + prune: true \ No newline at end of file diff --git a/teams/team-yoda/kustomize/base/user-namespace.yaml b/teams/team-yoda/kustomize/base/user-namespace.yaml new file mode 100644 index 000000000..01dc50bcc --- /dev/null +++ b/teams/team-yoda/kustomize/base/user-namespace.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kubeflow-user-namespace + finalizers: + - resources-finalizer.argocd.argoproj.io + annotations: + appSource: upstream + argocd.argoproj.io/sync-wave: "24" +spec: + project: default + destination: + namespace: argocd + server: https://kubernetes.default.svc + source: + repoURL: https://github.com/kubeflow/manifests.git + targetRevision: master + path: common/user-namespace/base + syncPolicy: + automated: + prune: true \ No newline at end of file diff --git a/teams/team-yoda/kustomize/base/volumes-web-app.yaml b/teams/team-yoda/kustomize/base/volumes-web-app.yaml new file mode 100644 index 000000000..b5dca3683 --- /dev/null +++ b/teams/team-yoda/kustomize/base/volumes-web-app.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: kubeflow-volumes-web-app + finalizers: + - resources-finalizer.argocd.argoproj.io + annotations: + appSource: upstream + argocd.argoproj.io/sync-wave: "18" +spec: + project: default + destination: + namespace: argocd + server: https://kubernetes.default.svc + source: + repoURL: https://github.com/kubeflow/manifests.git + targetRevision: master + path: apps/volumes-web-app/upstream/overlays/istio + syncPolicy: + automated: + prune: true \ No newline at end of file diff --git a/teams/team-yoda/kustomize/overlays/dev/kustomization.yaml b/teams/team-yoda/kustomize/overlays/dev/kustomization.yaml new file mode 100644 index 000000000..4ad198f9d --- /dev/null +++ b/teams/team-yoda/kustomize/overlays/dev/kustomization.yaml @@ -0,0 +1,12 @@ +resources: +- ../../base + +patches: + - target: + kind: Application + annotationSelector: appSource=upstream + path: ./patch.yaml + - target: + kind: Application + annotationSelector: appSource=aws + path: ./patch-aws.yaml \ No newline at end of file diff --git a/teams/team-yoda/kustomize/overlays/dev/patch-aws.yaml b/teams/team-yoda/kustomize/overlays/dev/patch-aws.yaml new file mode 100644 index 000000000..a28b0cb5c --- /dev/null +++ b/teams/team-yoda/kustomize/overlays/dev/patch-aws.yaml @@ -0,0 +1,7 @@ +- op: replace + path: /spec/source/repoURL + value: https://github.com/awslabs/kubeflow-manifests.git + +- op: replace + path: /spec/source/targetRevision + value: v1.7.0-aws-b1.0.3 \ No newline at end of file diff --git a/teams/team-yoda/kustomize/overlays/dev/patch.yaml b/teams/team-yoda/kustomize/overlays/dev/patch.yaml new file mode 100644 index 000000000..0b3f49215 --- /dev/null +++ b/teams/team-yoda/kustomize/overlays/dev/patch.yaml @@ -0,0 +1,7 @@ +- op: replace + path: /spec/source/repoURL + value: https://github.com/kubeflow/manifests.git + +- op: replace + path: /spec/source/targetRevision + value: v1.7.0 \ No newline at end of file diff --git a/teams/team-yoda/kustomize/overlays/prod/kustomization.yaml b/teams/team-yoda/kustomize/overlays/prod/kustomization.yaml new file mode 100644 index 000000000..4ad198f9d --- /dev/null +++ b/teams/team-yoda/kustomize/overlays/prod/kustomization.yaml @@ -0,0 +1,12 @@ +resources: +- ../../base + +patches: + - target: + kind: Application + annotationSelector: appSource=upstream + path: ./patch.yaml + - target: + kind: Application + annotationSelector: appSource=aws + path: ./patch-aws.yaml \ No newline at end of file diff --git a/teams/team-yoda/kustomize/overlays/prod/patch-aws.yaml b/teams/team-yoda/kustomize/overlays/prod/patch-aws.yaml new file mode 100644 index 000000000..a28b0cb5c --- /dev/null +++ b/teams/team-yoda/kustomize/overlays/prod/patch-aws.yaml @@ -0,0 +1,7 @@ +- op: replace + path: /spec/source/repoURL + value: https://github.com/awslabs/kubeflow-manifests.git + +- op: replace + path: /spec/source/targetRevision + value: v1.7.0-aws-b1.0.3 \ No newline at end of file diff --git a/teams/team-yoda/kustomize/overlays/prod/patch.yaml b/teams/team-yoda/kustomize/overlays/prod/patch.yaml new file mode 100644 index 000000000..0b3f49215 --- /dev/null +++ b/teams/team-yoda/kustomize/overlays/prod/patch.yaml @@ -0,0 +1,7 @@ +- op: replace + path: /spec/source/repoURL + value: https://github.com/kubeflow/manifests.git + +- op: replace + path: /spec/source/targetRevision + value: v1.7.0 \ No newline at end of file diff --git a/teams/team-yoda/kustomize/overlays/test/kustomization.yaml b/teams/team-yoda/kustomize/overlays/test/kustomization.yaml new file mode 100644 index 000000000..4ad198f9d --- /dev/null +++ b/teams/team-yoda/kustomize/overlays/test/kustomization.yaml @@ -0,0 +1,12 @@ +resources: +- ../../base + +patches: + - target: + kind: Application + annotationSelector: appSource=upstream + path: ./patch.yaml + - target: + kind: Application + annotationSelector: appSource=aws + path: ./patch-aws.yaml \ No newline at end of file diff --git a/teams/team-yoda/kustomize/overlays/test/patch-aws.yaml b/teams/team-yoda/kustomize/overlays/test/patch-aws.yaml new file mode 100644 index 000000000..a28b0cb5c --- /dev/null +++ b/teams/team-yoda/kustomize/overlays/test/patch-aws.yaml @@ -0,0 +1,7 @@ +- op: replace + path: /spec/source/repoURL + value: https://github.com/awslabs/kubeflow-manifests.git + +- op: replace + path: /spec/source/targetRevision + value: v1.7.0-aws-b1.0.3 \ No newline at end of file diff --git a/teams/team-yoda/kustomize/overlays/test/patch.yaml b/teams/team-yoda/kustomize/overlays/test/patch.yaml new file mode 100644 index 000000000..0b3f49215 --- /dev/null +++ b/teams/team-yoda/kustomize/overlays/test/patch.yaml @@ -0,0 +1,7 @@ +- op: replace + path: /spec/source/repoURL + value: https://github.com/kubeflow/manifests.git + +- op: replace + path: /spec/source/targetRevision + value: v1.7.0 \ No newline at end of file