Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -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
5 changes: 4 additions & 1 deletion 0-bootstrap/hub/3-policies/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down