diff --git a/0-bootstrap/hub/3-policies/argocd/otp-policies/openshift-serverless/openshift-serverless.yaml b/0-bootstrap/hub/3-policies/argocd/otp-policies/openshift-serverless/openshift-serverless.yaml new file mode 100644 index 00000000..e773e833 --- /dev/null +++ b/0-bootstrap/hub/3-policies/argocd/otp-policies/openshift-serverless/openshift-serverless.yaml @@ -0,0 +1,21 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: policy-managed-openshift-serverless + annotations: + argocd.argoproj.io/sync-wave: "300" + labels: + gitops.tier.layer: policies + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + destination: + namespace: openshift-serverless + server: https://kubernetes.default.svc + project: policies + source: + path: otp-policies/openshift-serverless + syncPolicy: + automated: + prune: true + selfHeal: true \ No newline at end of file diff --git a/0-bootstrap/hub/3-policies/kustomization.yaml b/0-bootstrap/hub/3-policies/kustomization.yaml index 8781b3b3..ac72f01f 100644 --- a/0-bootstrap/hub/3-policies/kustomization.yaml +++ b/0-bootstrap/hub/3-policies/kustomization.yaml @@ -1,6 +1,9 @@ resources: ## Policy to install OpenShift GitOps on Managed Clusters for "Last Mile" Configuration - # - argocd/otp-policies/openshift-gitops/openshift-gitops.yaml + - argocd/otp-policies/openshift-gitops/openshift-gitops.yaml + + ## Policy to install OpenShift Serverless for ClusterSet dev + # - argocd/otp-policies/openshift-serverless/openshift-serverless.yaml patches: - target: