Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate superset to new cluster #610

Merged
merged 1 commit into from
Feb 28, 2024
Merged
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
@@ -1,12 +1,12 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: ocp4.dh-prod-superset
name: superset-prod
namespace: internal-data-hub--argocd
spec:
destination:
namespace: dh-prod-superset
server: https://api.datahub-ocp4.prod.psi.redhat.com:6443
namespace: internal-data-hub--superset-prod
server: https://api.gpc.ocp-hub.prod.psi.redhat.com:6443
project: internal-data-hub
source:
path: superset/overlays/prod
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--superset-prod
subjects:
- kind: ServiceAccount
name: tenantaccess-argocd-manager
namespace: internal-data-hub--config
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: admin
9 changes: 9 additions & 0 deletions bootstrap/namespaces/superset-prod-tenantnamespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: tenant.paas.redhat.com/v1alpha1
kind: TenantNamespace
metadata:
name: superset-prod
namespace: internal-data-hub--config
spec:
type: runtime
network:
security-zone: internal
5 changes: 4 additions & 1 deletion superset/overlays/prod/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: dh-prod-superset
namespace: internal-data-hub--superset-prod

resources:
- ../../base/
Expand Down Expand Up @@ -131,6 +131,9 @@ patchesJson6902:
path: "/metadata/annotations"
value:
haproxy.router.openshift.io/timeout: 200s
- op: add
path: "/spec/host"
value: "superset-internal-data-hub--superset-prod.apps.int.gpc.ocp-hub.prod.psi.redhat.com"
target:
kind: Route
name: superset
Expand Down
5 changes: 3 additions & 2 deletions superset/overlays/prod/superset-secured-route.enc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metadata:
haproxy.router.openshift.io/timeout: 1800s
labels:
app: superset
shard: internal
name: superset-datahub
spec:
host: superset.datahub.redhat.com
Expand All @@ -24,8 +25,8 @@ sops:
azure_kv: []
hc_vault: []
age: []
lastmodified: "2024-02-27T18:31:22Z"
mac: ENC[AES256_GCM,data:WJpDBruSjMB6uNnuii4lTm4V/zppx9L3A9KUqJX3Vw60bZRQrEC1qPv4MB8cYb34ZfnYnD7SjT7YRrZSJiXpTWG+sqyeoJvjgGPWdzZ5CZTlh8NlE9zUKWrr0OEw9i8xAVOUMQ0pENMcR6ZDsptjXjex7db29SQnSukFYGvwnBc=,iv:ofxFGMLGTej1CFA89Ee6qAcyyYd0RIpZk2d9dB+r+A8=,tag:Tb4GSHJxeLZ13PRPCcL7rQ==,type:str]
lastmodified: "2024-02-28T13:05:07Z"
mac: ENC[AES256_GCM,data:aZ0y1R4skDvaFA6oK66YZx9GkdTrQbM0NjseRP7KaCsZf02AG/I8VaKaYYKl65899Nb4o+MhVkNcCBsjBNKBDgbYVif1nDCsrFDkhFrhTNj++kGG7SfPnvUwNdrXYeEph0IkbqIideXoRlhWkLKNbrze4nuqU4ZqNRUwPPwYLAg=,iv:KYxGNWcmPoqdolKq4IlRKCpVoqQrrN6vSE3DvvP555I=,tag:byLoRZ1/kMvGQerkmXg2dw==,type:str]
pgp:
- created_at: "2021-09-08T20:35:36Z"
enc: |
Expand Down
1 change: 1 addition & 0 deletions superset/overlays/prod/supersetdb-route.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ kind: Route
metadata:
labels:
app: supersetdb
shard: internal
name: supersetdb
spec:
host: supersetdb.cloud.datahub.psi.redhat.com
Expand Down
Loading