Skip to content

Commit

Permalink
Merge pull request #594 from accorvin/telemetry-grafana-namespace
Browse files Browse the repository at this point in the history
Move sandbox telemetry grafana to new cluster
  • Loading branch information
accorvin authored Feb 16, 2024
2 parents fd5831d + b9aab10 commit 28d9638
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ metadata:
namespace: internal-data-hub--argocd
spec:
destination:
namespace: dh-sandbox-telemetry-grafana
server: https://api.datahub-ocp4.prod.psi.redhat.com:6443
namespace: internal-data-hub--telemetry-grafana-sandbox
server: https://api.gpc.ocp-hub.prod.psi.redhat.com:6443
project: internal-data-hub
source:
path: telemetry-grafana/overlays/sandbox
Expand All @@ -32,8 +32,8 @@ metadata:
namespace: internal-data-hub--argocd
spec:
destination:
namespace: dh-sandbox-telemetry-grafana
server: https://api.datahub-ocp4.prod.psi.redhat.com:6443
namespace: internal-data-hub--telemetry-grafana-sandbox
server: https://api.gpc.ocp-hub.prod.psi.redhat.com:6443
project: internal-data-hub
source:
path: overlays/sandbox
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: argocd-manager-admin
namespace: internal-data-hub--telemetry-grafana-sandbox
subjects:
- kind: ServiceAccount
name: tenantaccess-argocd-manager
namespace: internal-data-hub--config
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: admin
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: tenant.paas.redhat.com/v1alpha1
kind: TenantNamespace
metadata:
name: telemetry-grafana-sandbox
namespace: internal-data-hub--config
spec:
type: runtime
network:
security-zone: internal
2 changes: 1 addition & 1 deletion telemetry-grafana/overlays/sandbox/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ resources:
generators:
- ./secret-generator.yaml

namespace: dh-sandbox-telemetry-grafana
namespace: internal-data-hub--telemetry-grafana-sandbox

patchesJson6902:
- target:
Expand Down

0 comments on commit 28d9638

Please sign in to comment.