Skip to content

Commit

Permalink
acm: add nerc-ocp-test managedcluster
Browse files Browse the repository at this point in the history
We noticed this cluster wasn't defined in the repo while working:

nerc-project/operations#262
  • Loading branch information
jtriley committed Nov 2, 2023
1 parent 4449bae commit bb73c86
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 0 deletions.
1 change: 1 addition & 0 deletions acm/overlays/nerc-ocp-infra/clusters/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ kind: Kustomization

resources:
- nerc-ocp-prod
- nerc-ocp-test
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
apiVersion: agent.open-cluster-management.io/v1
kind: KlusterletAddonConfig
metadata:
name: nerc-ocp-test
namespace: nerc-ocp-test
spec:
clusterName: nerc-ocp-test
clusterNamespace: nerc-ocp-test
clusterLabels:
name: nerc-ocp-test
cloud: auto-detect
vendor: auto-detect
cluster.open-cluster-management.io/clusterset: default
applicationManager:
enabled: true
policyController:
enabled: true
searchCollector:
enabled: true
certPolicyController:
enabled: true
iamPolicyController:
enabled: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- klusterletaddonconfig.yaml
- managedcluster.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: cluster.open-cluster-management.io/v1
kind: ManagedCluster
metadata:
name: nerc-ocp-test
labels:
name: nerc-ocp-test
cloud: BareMetal
vendor: OpenShift
cluster.open-cluster-management.io/clusterset: argocd-managed
annotations: {}
spec:
hubAcceptsClient: true

0 comments on commit bb73c86

Please sign in to comment.