From 864815c0e7a04574b46f2faf6c337515402dfe56 Mon Sep 17 00:00:00 2001 From: Christopher Tate Date: Tue, 12 Mar 2024 10:35:50 -0600 Subject: [PATCH] Add required KnativeServing and KnativeEventing for Serverless The BU SAIL team would like to use OpenShift Serverless for a Sign Language project. To enable this, we add an ArgoCD app to deploy the default KnativeServing and KnativeEventing resources for Serverless. --- clusters/nerc-ocp-prod/kustomization.yaml | 1 + .../nerc-ocp-prod/serverless/application.yaml | 15 +++++++++++++++ .../nerc-ocp-prod/serverless/kustomization.yaml | 4 ++++ 3 files changed, 20 insertions(+) create mode 100644 clusters/nerc-ocp-prod/serverless/application.yaml create mode 100644 clusters/nerc-ocp-prod/serverless/kustomization.yaml diff --git a/clusters/nerc-ocp-prod/kustomization.yaml b/clusters/nerc-ocp-prod/kustomization.yaml index 37b2752..cc3275d 100644 --- a/clusters/nerc-ocp-prod/kustomization.yaml +++ b/clusters/nerc-ocp-prod/kustomization.yaml @@ -14,6 +14,7 @@ resources: - fake-metrics-server - xdmod-reader - openshift-custom-metrics-autoscaler-controller +- serverless - software-application-innovation-lab-sail-projects-fcd6dfa - smart-village-faeeb6c diff --git a/clusters/nerc-ocp-prod/serverless/application.yaml b/clusters/nerc-ocp-prod/serverless/application.yaml new file mode 100644 index 0000000..1802904 --- /dev/null +++ b/clusters/nerc-ocp-prod/serverless/application.yaml @@ -0,0 +1,15 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: serverless + labels: + nerc.mghpcc.org/sync-policy: common +spec: + project: default + source: + repoURL: https://github.com/ocp-on-nerc/nerc-ocp-config.git + targetRevision: HEAD + path: serverless/overlays/nerc-ocp-prod + destination: + name: nerc-ocp-prod + namespace: knative-serving diff --git a/clusters/nerc-ocp-prod/serverless/kustomization.yaml b/clusters/nerc-ocp-prod/serverless/kustomization.yaml new file mode 100644 index 0000000..1f43d0d --- /dev/null +++ b/clusters/nerc-ocp-prod/serverless/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: +- application.yaml