Skip to content

Commit

Permalink
Merge pull request #39 from computate/cluster-scope-obs
Browse files Browse the repository at this point in the history
Fake metrics endpoint to make ODF happy in obs cluster
  • Loading branch information
computate authored Feb 2, 2024
2 parents fd9a10d + 58b5e86 commit ae7016f
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
15 changes: 15 additions & 0 deletions clusters/nerc-ocp-obs/fake-metrics-server/application.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: fake-metrics-server
labels:
nerc.mghpcc.org/sync-policy: common
spec:
destination:
name: nerc-ocp-obs
namespace: openshift-storage
project: default
source:
repoURL: https://github.com/ocp-on-nerc/nerc-ocp-config.git
path: fake-metrics-server/overlays/nerc-ocp-obs
targetRevision: HEAD
4 changes: 4 additions & 0 deletions clusters/nerc-ocp-obs/fake-metrics-server/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- application.yaml
1 change: 1 addition & 0 deletions clusters/nerc-ocp-obs/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
resources:
- ../lib/cluster-scope
- fake-metrics-server

nameSuffix: -obs

Expand Down

0 comments on commit ae7016f

Please sign in to comment.