Skip to content

Commit

Permalink
Configure OpenShift console
Browse files Browse the repository at this point in the history
Ensure that all console plugins are enabled. Add NERC custom logo.

x-branch: feature/odf
  • Loading branch information
larsks committed Jul 1, 2022
1 parent 6a157af commit 3ae714e
Show file tree
Hide file tree
Showing 8 changed files with 44 additions and 1 deletion.
8 changes: 8 additions & 0 deletions cluster-scope/base/core/configmaps/nerc-logo/configmap.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- configmap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
apiVersion: operator.openshift.io/v1
kind: Console
metadata:
name: cluster
spec:
plugins:
- odf-console
- acm
- mce
customization:
customLogoFile:
name: nerc-logo
key: nerc-logo.png
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- console.yaml
5 changes: 5 additions & 0 deletions cluster-scope/bundles/console/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base/operator.openshift.io/consoles/cluster
- ../../base/core/configmaps/nerc-logo
1 change: 1 addition & 0 deletions cluster-scope/overlays/common/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ resources:
- ../../base/rbac.authorization.k8s.io/clusterrolebindings/self-provisioners
- ../../bundles/cluster-admin-rbac/
- ../../bundles/nmstate
- ../../bundles/console
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: operator.openshift.io/v1
kind: Console
metadata:
name: cluster
spec:
customization:
customProductName: NERC OCP Infra Cluster
3 changes: 2 additions & 1 deletion cluster-scope/overlays/nerc-ocp-infra/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
commonLabels:
nerc.mghpcc.org/kustomized: "true"

resources:
- ../common
- ../../bundles/openshift-gitops
Expand All @@ -13,11 +14,11 @@ resources:
- machineconfigs/mellanox-udev-rules
- machineconfigs/configure-bond0
- nodenetworkconfigurationpolicies/vlan-2177-nese.yaml

- groupsyncs/github-ocp-on-nerc.yaml
- clusterrolebindings/nerc-ops-cluster-reader.yaml
- clusterrolebindings/nerc-ops-sudoers.yaml
- clusterrolebindings/nerc-ops-portforward.yaml

patches:
- path: oauths/cluster_patch.yaml
- path: consoles.operator.openshift.io/cluster_patch.yaml

0 comments on commit 3ae714e

Please sign in to comment.