From a5704d82c8992613acfa3df924eebd818d747864 Mon Sep 17 00:00:00 2001 From: Cory Latschkowski Date: Wed, 18 Oct 2023 09:03:32 -0500 Subject: [PATCH 1/8] cleanup --- tenants/README.md | 3 - .../argocd/apps/base/kustomization.yaml | 2 - .../apps/overlays/default/appset-main.yaml | 66 ------------------- .../apps/overlays/default/kustomization.yaml | 7 -- .../argocd/projects/base/kustomization.yaml | 7 -- .../argocd/projects/base/tenant-project.yaml | 13 ---- .../overlays/default/kustomization.yaml | 5 -- .../aggregate/default/kustomization.yaml | 7 -- .../edit-rolebinding.yaml | 13 ---- .../edge-anomaly-detection/kustomization.yaml | 7 -- .../edge-anomaly-detection/namespace.yaml | 7 -- .../view-rolebinding.yaml | 13 ---- .../edit-rolebinding.yaml | 13 ---- .../kustomization.yaml | 7 -- .../edge-failure-prediction/namespace.yaml | 7 -- .../view-rolebinding.yaml | 13 ---- .../edit-rolebinding.yaml | 13 ---- .../kustomization.yaml | 7 -- .../namespace.yaml | 7 -- .../view-rolebinding.yaml | 13 ---- .../configs/rbac/base/kustomization.yaml | 2 - .../rbac/overlays/default/kustomization.yaml | 6 -- ...hop-cluster-reader-clusterrolebinding.yaml | 12 ---- .../components/configs/simple/README.md | 3 - .../configs/simple/pgadmin4/pgadmin4-bc.yml | 29 -------- .../simple/pgadmin4/pgadmin4-deployement.yml | 46 ------------- .../configs/simple/pgadmin4/pgadmin4-is.yml | 21 ------ .../configs/simple/pgadmin4/pgadmin4-ns.yml | 7 -- .../simple/pgadmin4/pgadmin4-pvc.yml.bak | 14 ---- .../simple/pgadmin4/pgadmin4-route.yml | 17 ----- .../configs/simple/pgadmin4/pgadmin4-svc.yml | 20 ------ 31 files changed, 407 deletions(-) delete mode 100644 tenants/README.md delete mode 100644 tenants/codekow/argocd/apps/base/kustomization.yaml delete mode 100644 tenants/codekow/argocd/apps/overlays/default/appset-main.yaml delete mode 100644 tenants/codekow/argocd/apps/overlays/default/kustomization.yaml delete mode 100644 tenants/codekow/argocd/projects/base/kustomization.yaml delete mode 100644 tenants/codekow/argocd/projects/base/tenant-project.yaml delete mode 100644 tenants/codekow/argocd/projects/overlays/default/kustomization.yaml delete mode 100644 tenants/codekow/components/configs/namespaces/aggregate/default/kustomization.yaml delete mode 100644 tenants/codekow/components/configs/namespaces/instances/edge-anomaly-detection/edit-rolebinding.yaml delete mode 100644 tenants/codekow/components/configs/namespaces/instances/edge-anomaly-detection/kustomization.yaml delete mode 100644 tenants/codekow/components/configs/namespaces/instances/edge-anomaly-detection/namespace.yaml delete mode 100644 tenants/codekow/components/configs/namespaces/instances/edge-anomaly-detection/view-rolebinding.yaml delete mode 100644 tenants/codekow/components/configs/namespaces/instances/edge-failure-prediction/edit-rolebinding.yaml delete mode 100644 tenants/codekow/components/configs/namespaces/instances/edge-failure-prediction/kustomization.yaml delete mode 100644 tenants/codekow/components/configs/namespaces/instances/edge-failure-prediction/namespace.yaml delete mode 100644 tenants/codekow/components/configs/namespaces/instances/edge-failure-prediction/view-rolebinding.yaml delete mode 100644 tenants/codekow/components/configs/namespaces/instances/edge-synthetic-data-generator/edit-rolebinding.yaml delete mode 100644 tenants/codekow/components/configs/namespaces/instances/edge-synthetic-data-generator/kustomization.yaml delete mode 100644 tenants/codekow/components/configs/namespaces/instances/edge-synthetic-data-generator/namespace.yaml delete mode 100644 tenants/codekow/components/configs/namespaces/instances/edge-synthetic-data-generator/view-rolebinding.yaml delete mode 100644 tenants/codekow/components/configs/rbac/base/kustomization.yaml delete mode 100644 tenants/codekow/components/configs/rbac/overlays/default/kustomization.yaml delete mode 100644 tenants/codekow/components/configs/rbac/overlays/default/workshop-cluster-reader-clusterrolebinding.yaml delete mode 100644 tenants/codekow/components/configs/simple/README.md delete mode 100644 tenants/codekow/components/configs/simple/pgadmin4/pgadmin4-bc.yml delete mode 100644 tenants/codekow/components/configs/simple/pgadmin4/pgadmin4-deployement.yml delete mode 100644 tenants/codekow/components/configs/simple/pgadmin4/pgadmin4-is.yml delete mode 100644 tenants/codekow/components/configs/simple/pgadmin4/pgadmin4-ns.yml delete mode 100644 tenants/codekow/components/configs/simple/pgadmin4/pgadmin4-pvc.yml.bak delete mode 100644 tenants/codekow/components/configs/simple/pgadmin4/pgadmin4-route.yml delete mode 100644 tenants/codekow/components/configs/simple/pgadmin4/pgadmin4-svc.yml diff --git a/tenants/README.md b/tenants/README.md deleted file mode 100644 index 6ccb150b..00000000 --- a/tenants/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# Tenants - -This folder contains other groups (tenants) configurations for multiple argocd instances on a cluster diff --git a/tenants/codekow/argocd/apps/base/kustomization.yaml b/tenants/codekow/argocd/apps/base/kustomization.yaml deleted file mode 100644 index 4ea1bcca..00000000 --- a/tenants/codekow/argocd/apps/base/kustomization.yaml +++ /dev/null @@ -1,2 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization diff --git a/tenants/codekow/argocd/apps/overlays/default/appset-main.yaml b/tenants/codekow/argocd/apps/overlays/default/appset-main.yaml deleted file mode 100644 index 9c6f05a9..00000000 --- a/tenants/codekow/argocd/apps/overlays/default/appset-main.yaml +++ /dev/null @@ -1,66 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: ApplicationSet -metadata: - name: codekow-tenant-appset - annotations: - argocd.argoproj.io/compare-options: IgnoreExtraneous - # argocd.argoproj.io/sync-options: Prune=false -spec: - generators: - - list: - elements: - - cluster: local - url: https://kubernetes.default.svc - values: - name: demo-kafka - path: components/demos/instance/kafka/overlays/kafdrop - - cluster: local - url: https://kubernetes.default.svc - values: - name: demo-pgadmin4 - path: components/demos/instance/pgadmin4 - - cluster: local - url: https://kubernetes.default.svc - values: - name: demo-rhods - path: components/demos/overlays/rhods - - cluster: local - url: https://kubernetes.default.svc - values: - name: edge-workshop-namespaces - path: tenants/edge-workshop/components/configs/namespaces/overlays/default-limited - - cluster: local - url: https://kubernetes.default.svc - values: - name: edge-workshop-namespaces-users - path: components/demos/instance/workshop-users - - cluster: local - url: https://kubernetes.default.svc - values: - name: edge-workshop-rbac - path: tenants/edge-workshop/components/configs/rbac/overlays/default - template: - metadata: - name: '{{values.name}}' - # annotations: - # argocd.argoproj.io/compare-options: IgnoreExtraneous - # argocd.argoproj.io/sync-options: Prune=false - spec: - project: codekow-tenant - syncPolicy: - automated: - prune: true - selfHeal: true - retry: - limit: 6 - backoff: - duration: 15s - factor: 2 - # maxDuration: 3m - source: - repoURL: 'https://github.com/Enterprise-Neurosystem/cluster-bootstrap.git' - targetRevision: main - path: '{{values.path}}' - destination: - server: https://kubernetes.default.svc - namespace: openshift-gitops diff --git a/tenants/codekow/argocd/apps/overlays/default/kustomization.yaml b/tenants/codekow/argocd/apps/overlays/default/kustomization.yaml deleted file mode 100644 index 7f8aa628..00000000 --- a/tenants/codekow/argocd/apps/overlays/default/kustomization.yaml +++ /dev/null @@ -1,7 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization - -namespace: openshift-gitops - -resources: - - appset-main.yaml diff --git a/tenants/codekow/argocd/projects/base/kustomization.yaml b/tenants/codekow/argocd/projects/base/kustomization.yaml deleted file mode 100644 index a188124f..00000000 --- a/tenants/codekow/argocd/projects/base/kustomization.yaml +++ /dev/null @@ -1,7 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization - -namespace: openshift-gitops - -resources: - - tenant-project.yaml diff --git a/tenants/codekow/argocd/projects/base/tenant-project.yaml b/tenants/codekow/argocd/projects/base/tenant-project.yaml deleted file mode 100644 index 2c5a1517..00000000 --- a/tenants/codekow/argocd/projects/base/tenant-project.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: AppProject -metadata: - name: codekow-tenant -spec: - clusterResourceWhitelist: - - group: '*' - kind: '*' - destinations: - - namespace: '*' - server: '*' - sourceRepos: - - '*' diff --git a/tenants/codekow/argocd/projects/overlays/default/kustomization.yaml b/tenants/codekow/argocd/projects/overlays/default/kustomization.yaml deleted file mode 100644 index 774a422d..00000000 --- a/tenants/codekow/argocd/projects/overlays/default/kustomization.yaml +++ /dev/null @@ -1,5 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization - -resources: - - ../../base diff --git a/tenants/codekow/components/configs/namespaces/aggregate/default/kustomization.yaml b/tenants/codekow/components/configs/namespaces/aggregate/default/kustomization.yaml deleted file mode 100644 index c4deb0da..00000000 --- a/tenants/codekow/components/configs/namespaces/aggregate/default/kustomization.yaml +++ /dev/null @@ -1,7 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization - -resources: - - ../../instances/edge-anomaly-detection - - ../../instances/edge-failure-prediction - - ../../instances/edge-synthetic-data-generator diff --git a/tenants/codekow/components/configs/namespaces/instances/edge-anomaly-detection/edit-rolebinding.yaml b/tenants/codekow/components/configs/namespaces/instances/edge-anomaly-detection/edit-rolebinding.yaml deleted file mode 100644 index 9f603261..00000000 --- a/tenants/codekow/components/configs/namespaces/instances/edge-anomaly-detection/edit-rolebinding.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - name: edge-anomaly-detection-edit - namespace: edge-anomaly-detection -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: edit -subjects: -- apiGroup: rbac.authorization.k8s.io - kind: Group - name: workshop-admins diff --git a/tenants/codekow/components/configs/namespaces/instances/edge-anomaly-detection/kustomization.yaml b/tenants/codekow/components/configs/namespaces/instances/edge-anomaly-detection/kustomization.yaml deleted file mode 100644 index f11c2799..00000000 --- a/tenants/codekow/components/configs/namespaces/instances/edge-anomaly-detection/kustomization.yaml +++ /dev/null @@ -1,7 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization - -resources: - - edit-rolebinding.yaml - - namespace.yaml - - view-rolebinding.yaml diff --git a/tenants/codekow/components/configs/namespaces/instances/edge-anomaly-detection/namespace.yaml b/tenants/codekow/components/configs/namespaces/instances/edge-anomaly-detection/namespace.yaml deleted file mode 100644 index 36b51726..00000000 --- a/tenants/codekow/components/configs/namespaces/instances/edge-anomaly-detection/namespace.yaml +++ /dev/null @@ -1,7 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - annotations: - openshift.io/description: Edge Detection Workshop Namespace - openshift.io/display-name: Edge Detection Workshop - name: edge-anomaly-detection diff --git a/tenants/codekow/components/configs/namespaces/instances/edge-anomaly-detection/view-rolebinding.yaml b/tenants/codekow/components/configs/namespaces/instances/edge-anomaly-detection/view-rolebinding.yaml deleted file mode 100644 index 2af28b37..00000000 --- a/tenants/codekow/components/configs/namespaces/instances/edge-anomaly-detection/view-rolebinding.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - name: edge-anomaly-detection-view - namespace: edge-anomaly-detection -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: view -subjects: -- apiGroup: rbac.authorization.k8s.io - kind: Group - name: system:authenticated diff --git a/tenants/codekow/components/configs/namespaces/instances/edge-failure-prediction/edit-rolebinding.yaml b/tenants/codekow/components/configs/namespaces/instances/edge-failure-prediction/edit-rolebinding.yaml deleted file mode 100644 index 10332155..00000000 --- a/tenants/codekow/components/configs/namespaces/instances/edge-failure-prediction/edit-rolebinding.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - name: edge-failure-prediction-edit - namespace: edge-failure-prediction -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: edit -subjects: -- apiGroup: rbac.authorization.k8s.io - kind: Group - name: workshop-admins diff --git a/tenants/codekow/components/configs/namespaces/instances/edge-failure-prediction/kustomization.yaml b/tenants/codekow/components/configs/namespaces/instances/edge-failure-prediction/kustomization.yaml deleted file mode 100644 index f11c2799..00000000 --- a/tenants/codekow/components/configs/namespaces/instances/edge-failure-prediction/kustomization.yaml +++ /dev/null @@ -1,7 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization - -resources: - - edit-rolebinding.yaml - - namespace.yaml - - view-rolebinding.yaml diff --git a/tenants/codekow/components/configs/namespaces/instances/edge-failure-prediction/namespace.yaml b/tenants/codekow/components/configs/namespaces/instances/edge-failure-prediction/namespace.yaml deleted file mode 100644 index ac624e80..00000000 --- a/tenants/codekow/components/configs/namespaces/instances/edge-failure-prediction/namespace.yaml +++ /dev/null @@ -1,7 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - annotations: - openshift.io/description: Edge Prediction Workshop Namespace - openshift.io/display-name: Edge Prediction Workshop - name: edge-failure-prediction diff --git a/tenants/codekow/components/configs/namespaces/instances/edge-failure-prediction/view-rolebinding.yaml b/tenants/codekow/components/configs/namespaces/instances/edge-failure-prediction/view-rolebinding.yaml deleted file mode 100644 index 9bf1c0da..00000000 --- a/tenants/codekow/components/configs/namespaces/instances/edge-failure-prediction/view-rolebinding.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - name: edge-failure-prediction-view - namespace: edge-failure-prediction -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: view -subjects: -- apiGroup: rbac.authorization.k8s.io - kind: Group - name: system:authenticated diff --git a/tenants/codekow/components/configs/namespaces/instances/edge-synthetic-data-generator/edit-rolebinding.yaml b/tenants/codekow/components/configs/namespaces/instances/edge-synthetic-data-generator/edit-rolebinding.yaml deleted file mode 100644 index 1a611666..00000000 --- a/tenants/codekow/components/configs/namespaces/instances/edge-synthetic-data-generator/edit-rolebinding.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - name: edge-synthetic-data-generator-edit - namespace: edge-synthetic-data-generator -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: edit -subjects: -- apiGroup: rbac.authorization.k8s.io - kind: Group - name: workshop-admins diff --git a/tenants/codekow/components/configs/namespaces/instances/edge-synthetic-data-generator/kustomization.yaml b/tenants/codekow/components/configs/namespaces/instances/edge-synthetic-data-generator/kustomization.yaml deleted file mode 100644 index f11c2799..00000000 --- a/tenants/codekow/components/configs/namespaces/instances/edge-synthetic-data-generator/kustomization.yaml +++ /dev/null @@ -1,7 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization - -resources: - - edit-rolebinding.yaml - - namespace.yaml - - view-rolebinding.yaml diff --git a/tenants/codekow/components/configs/namespaces/instances/edge-synthetic-data-generator/namespace.yaml b/tenants/codekow/components/configs/namespaces/instances/edge-synthetic-data-generator/namespace.yaml deleted file mode 100644 index b1e9f144..00000000 --- a/tenants/codekow/components/configs/namespaces/instances/edge-synthetic-data-generator/namespace.yaml +++ /dev/null @@ -1,7 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - annotations: - openshift.io/description: Edge Data Gen Workshop Namespace - openshift.io/display-name: Edge Data Gen Workshop - name: edge-synthetic-data-generator diff --git a/tenants/codekow/components/configs/namespaces/instances/edge-synthetic-data-generator/view-rolebinding.yaml b/tenants/codekow/components/configs/namespaces/instances/edge-synthetic-data-generator/view-rolebinding.yaml deleted file mode 100644 index f33e2489..00000000 --- a/tenants/codekow/components/configs/namespaces/instances/edge-synthetic-data-generator/view-rolebinding.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - name: edge-synthetic-data-generator-view - namespace: edge-synthetic-data-generator -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: view -subjects: -- apiGroup: rbac.authorization.k8s.io - kind: Group - name: system:authenticated diff --git a/tenants/codekow/components/configs/rbac/base/kustomization.yaml b/tenants/codekow/components/configs/rbac/base/kustomization.yaml deleted file mode 100644 index 4ea1bcca..00000000 --- a/tenants/codekow/components/configs/rbac/base/kustomization.yaml +++ /dev/null @@ -1,2 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization diff --git a/tenants/codekow/components/configs/rbac/overlays/default/kustomization.yaml b/tenants/codekow/components/configs/rbac/overlays/default/kustomization.yaml deleted file mode 100644 index 0eabb1a1..00000000 --- a/tenants/codekow/components/configs/rbac/overlays/default/kustomization.yaml +++ /dev/null @@ -1,6 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization - -resources: - - ../../base - # - workshop-cluster-reader-clusterrolebinding.yaml diff --git a/tenants/codekow/components/configs/rbac/overlays/default/workshop-cluster-reader-clusterrolebinding.yaml b/tenants/codekow/components/configs/rbac/overlays/default/workshop-cluster-reader-clusterrolebinding.yaml deleted file mode 100644 index 30ac9b9c..00000000 --- a/tenants/codekow/components/configs/rbac/overlays/default/workshop-cluster-reader-clusterrolebinding.yaml +++ /dev/null @@ -1,12 +0,0 @@ -kind: ClusterRoleBinding -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: workshop-cluster-reader -subjects: - - kind: Group - apiGroup: rbac.authorization.k8s.io - name: workshop-admins -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: cluster-reader diff --git a/tenants/codekow/components/configs/simple/README.md b/tenants/codekow/components/configs/simple/README.md deleted file mode 100644 index be35a545..00000000 --- a/tenants/codekow/components/configs/simple/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# Info - -This folder contains gitops examples that can be configured by `oc apply -f` or `kubectl apply -f`. \ No newline at end of file diff --git a/tenants/codekow/components/configs/simple/pgadmin4/pgadmin4-bc.yml b/tenants/codekow/components/configs/simple/pgadmin4/pgadmin4-bc.yml deleted file mode 100644 index e56b3d7c..00000000 --- a/tenants/codekow/components/configs/simple/pgadmin4/pgadmin4-bc.yml +++ /dev/null @@ -1,29 +0,0 @@ -apiVersion: build.openshift.io/v1 -kind: BuildConfig -metadata: - name: pgadmin4-patch -spec: - source: - type: Dockerfile - dockerfile: | - FROM docker.io/dpage/pgadmin4:latest - USER root - RUN setcap -r /usr/bin/python3.10 && \ - getcap /usr/bin/python3.10 && \ - sed -i 's@443@8443@g; s@80@8080@g' /entrypoint.sh - # ENV PGADMIN_LISTEN_PORT 8080 - ENV PGADMIN_DISABLE_POSTFIX true - USER pgadmin - strategy: - type: Docker - dockerStrategy: - from: - kind: ImageStreamTag - name: 'pgadmin4:latest' - output: - to: - kind: ImageStreamTag - name: pgadmin4:patch - triggers: - - type: ImageChange - - type: ConfigChange diff --git a/tenants/codekow/components/configs/simple/pgadmin4/pgadmin4-deployement.yml b/tenants/codekow/components/configs/simple/pgadmin4/pgadmin4-deployement.yml deleted file mode 100644 index feafba5f..00000000 --- a/tenants/codekow/components/configs/simple/pgadmin4/pgadmin4-deployement.yml +++ /dev/null @@ -1,46 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - annotations: - image.openshift.io/triggers: '[{"from":{"kind":"ImageStreamTag","name":"pgadmin4:patch"},"fieldPath":"spec.template.spec.containers[?(@.name==\"pgadmin4\")].image"}]' - labels: - app: pgadmin4 - app.kubernetes.io/component: pgadmin4 - app.kubernetes.io/instance: pgadmin4 - name: pgadmin4 -spec: - replicas: 1 - selector: - matchLabels: - deployment: pgadmin4 - strategy: - type: Recreate - template: - metadata: - labels: - deployment: pgadmin4 - spec: - containers: - - env: - - name: PGADMIN_DEFAULT_EMAIL - value: user@example.com - - name: PGADMIN_DEFAULT_PASSWORD - value: WorkshopPassword - image: ' ' - name: pgadmin4 - ports: - - containerPort: 443 - protocol: TCP - - containerPort: 80 - protocol: TCP - resources: {} - volumeMounts: - - mountPath: /var/lib/pgadmin - # name: pgadmin4-volume-1 - name: empty - volumes: - - emptyDir: {} - name: empty - # - persistentVolumeClaim: - # claimName: pgadmin4-pvc - # name: pgadmin4-volume-1 diff --git a/tenants/codekow/components/configs/simple/pgadmin4/pgadmin4-is.yml b/tenants/codekow/components/configs/simple/pgadmin4/pgadmin4-is.yml deleted file mode 100644 index 8df6b68b..00000000 --- a/tenants/codekow/components/configs/simple/pgadmin4/pgadmin4-is.yml +++ /dev/null @@ -1,21 +0,0 @@ -apiVersion: image.openshift.io/v1 -kind: ImageStream -metadata: - labels: - app: pgadmin4 - app.kubernetes.io/component: pgadmin4 - app.kubernetes.io/instance: pgadmin4 - name: pgadmin4 -spec: - lookupPolicy: - local: false - tags: - - annotations: - openshift.io/imported-from: docker.io/dpage/pgadmin4:latest - from: - kind: DockerImage - name: docker.io/dpage/pgadmin4:latest - importPolicy: {} - name: latest - referencePolicy: - type: Source diff --git a/tenants/codekow/components/configs/simple/pgadmin4/pgadmin4-ns.yml b/tenants/codekow/components/configs/simple/pgadmin4/pgadmin4-ns.yml deleted file mode 100644 index 2da86cba..00000000 --- a/tenants/codekow/components/configs/simple/pgadmin4/pgadmin4-ns.yml +++ /dev/null @@ -1,7 +0,0 @@ -apiVersion: v1 -kind: Namespace -metadata: - annotations: - openshift.io/description: For all your postgres needs - openshift.io/display-name: Postgres Admin - name: pgadmin4 diff --git a/tenants/codekow/components/configs/simple/pgadmin4/pgadmin4-pvc.yml.bak b/tenants/codekow/components/configs/simple/pgadmin4/pgadmin4-pvc.yml.bak deleted file mode 100644 index adaa40a4..00000000 --- a/tenants/codekow/components/configs/simple/pgadmin4/pgadmin4-pvc.yml.bak +++ /dev/null @@ -1,14 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - labels: - app: pgadmin4 - app.kubernetes.io/component: pgadmin4 - app.kubernetes.io/instance: pgadmin4 - name: pgadmin4-pvc -spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 1Gi diff --git a/tenants/codekow/components/configs/simple/pgadmin4/pgadmin4-route.yml b/tenants/codekow/components/configs/simple/pgadmin4/pgadmin4-route.yml deleted file mode 100644 index d9206e8e..00000000 --- a/tenants/codekow/components/configs/simple/pgadmin4/pgadmin4-route.yml +++ /dev/null @@ -1,17 +0,0 @@ -apiVersion: route.openshift.io/v1 -kind: Route -metadata: - labels: - app: pgadmin4 - app.kubernetes.io/component: pgadmin4 - app.kubernetes.io/instance: pgadmin4 - name: pgadmin4 -spec: - port: - targetPort: 8080 - tls: - insecureEdgeTerminationPolicy: Redirect - termination: edge - to: - kind: Service - name: pgadmin4 diff --git a/tenants/codekow/components/configs/simple/pgadmin4/pgadmin4-svc.yml b/tenants/codekow/components/configs/simple/pgadmin4/pgadmin4-svc.yml deleted file mode 100644 index ed310d4f..00000000 --- a/tenants/codekow/components/configs/simple/pgadmin4/pgadmin4-svc.yml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - labels: - app: pgadmin4 - app.kubernetes.io/component: pgadmin4 - app.kubernetes.io/instance: pgadmin4 - name: pgadmin4 -spec: - ports: - - name: 8080-tcp - port: 8080 - protocol: TCP - targetPort: 8080 - - name: 8443-tcp - port: 8443 - protocol: TCP - targetPort: 8443 - selector: - deployment: pgadmin4 From 04f53069ba149d519078ea871b3aec12aaf0a479 Mon Sep 17 00:00:00 2001 From: Cory Latschkowski Date: Wed, 18 Oct 2023 09:08:10 -0500 Subject: [PATCH 2/8] update: docs --- README.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 12dcca11..b9a476e9 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ oc whoami git clone ``` -### Cluster Quick Start +### Cluster Quick Start for OpenShift GitOps Execute the following script: @@ -50,12 +50,13 @@ The `bootstrap.sh` script will: - Install the [OpenShift GitOps Operator](components/operators/openshift-gitops-operator) - Create an [ArgoCD instance](components/operators/openshift-gitops-operator/instance/base/openshift-gitops-cr.yaml) in the `openshift-gitops` namespace - -You can run individual [functions](scripts/functions.sh) in a `bash` shell: +Many common operational tasks are provided in the [scripts library](scripts/library/). You can run individual [functions](scripts/functions.sh) in a `bash` shell: ```sh source scripts/functions.sh + +get_functions ```