From f5fdd4f39d0e95c3b3b1c4b0f62d39a4e960234d Mon Sep 17 00:00:00 2001 From: Romain Arnaud Date: Fri, 7 Feb 2025 16:17:10 -0500 Subject: [PATCH] chore: minor improvement to the repository - Add README.md to all charts - reorganize rhtap-backing-services - removed a few unused resources cf RHTAP-4361 rh-pre-commit.version: 2.3.2 rh-pre-commit.check-secrets: ENABLED --- .../templates/_copy-scripts.tpl | 1 - .../charts/rhtap-app-namespaces/README.md | 4 ++++ .../charts/rhtap-backing-services/README.md | 5 +++++ .../templates/{ => keycloak}/_keycloak.tpl | 0 .../templates/{ => keycloak}/keycloak.yaml | 0 .../route.yaml} | 0 .../service.yaml} | 0 installer/charts/rhtap-dh/README.md | 3 +++ installer/charts/rhtap-gitops/README.md | 3 +++ .../charts/rhtap-infrastructure/README.md | 3 +++ installer/charts/rhtap-openshift/README.md | 3 +++ .../templates/service-account.yaml | 20 ------------------- installer/charts/rhtap-pipelines/README.md | 3 +++ installer/charts/rhtap-quay/README.md | 3 +++ installer/charts/rhtap-tas/README.md | 3 +++ installer/charts/rhtap-tpa/README.md | 3 +++ 16 files changed, 33 insertions(+), 21 deletions(-) delete mode 120000 installer/charts/rhtap-acs-scanner/templates/_copy-scripts.tpl create mode 100644 installer/charts/rhtap-app-namespaces/README.md create mode 100644 installer/charts/rhtap-backing-services/README.md rename installer/charts/rhtap-backing-services/templates/{ => keycloak}/_keycloak.tpl (100%) rename installer/charts/rhtap-backing-services/templates/{ => keycloak}/keycloak.yaml (100%) rename installer/charts/rhtap-backing-services/templates/{keycloak-route.yaml => keycloak/route.yaml} (100%) rename installer/charts/rhtap-backing-services/templates/{keycloak-service.yaml => keycloak/service.yaml} (100%) create mode 100644 installer/charts/rhtap-dh/README.md create mode 100644 installer/charts/rhtap-gitops/README.md create mode 100644 installer/charts/rhtap-infrastructure/README.md create mode 100644 installer/charts/rhtap-openshift/README.md delete mode 100644 installer/charts/rhtap-openshift/templates/service-account.yaml create mode 100644 installer/charts/rhtap-pipelines/README.md create mode 100644 installer/charts/rhtap-quay/README.md create mode 100644 installer/charts/rhtap-tas/README.md create mode 100644 installer/charts/rhtap-tpa/README.md diff --git a/installer/charts/rhtap-acs-scanner/templates/_copy-scripts.tpl b/installer/charts/rhtap-acs-scanner/templates/_copy-scripts.tpl deleted file mode 120000 index fa0f3066..00000000 --- a/installer/charts/rhtap-acs-scanner/templates/_copy-scripts.tpl +++ /dev/null @@ -1 +0,0 @@ -../../_common/_copy-scripts.tpl \ No newline at end of file diff --git a/installer/charts/rhtap-app-namespaces/README.md b/installer/charts/rhtap-app-namespaces/README.md new file mode 100644 index 00000000..e8fea564 --- /dev/null +++ b/installer/charts/rhtap-app-namespaces/README.md @@ -0,0 +1,4 @@ +# App Namespaces + +This chart creates the namespaces where the Developer Hub components will be deployed. +Those namespaces are setup with the proper secrets to run the workloads. diff --git a/installer/charts/rhtap-backing-services/README.md b/installer/charts/rhtap-backing-services/README.md new file mode 100644 index 00000000..d8ef9693 --- /dev/null +++ b/installer/charts/rhtap-backing-services/README.md @@ -0,0 +1,5 @@ +# Backing Services + +This chart deploys services needed by RHTAP products. + +Some of those services would likely be already deployed in a production cluster. diff --git a/installer/charts/rhtap-backing-services/templates/_keycloak.tpl b/installer/charts/rhtap-backing-services/templates/keycloak/_keycloak.tpl similarity index 100% rename from installer/charts/rhtap-backing-services/templates/_keycloak.tpl rename to installer/charts/rhtap-backing-services/templates/keycloak/_keycloak.tpl diff --git a/installer/charts/rhtap-backing-services/templates/keycloak.yaml b/installer/charts/rhtap-backing-services/templates/keycloak/keycloak.yaml similarity index 100% rename from installer/charts/rhtap-backing-services/templates/keycloak.yaml rename to installer/charts/rhtap-backing-services/templates/keycloak/keycloak.yaml diff --git a/installer/charts/rhtap-backing-services/templates/keycloak-route.yaml b/installer/charts/rhtap-backing-services/templates/keycloak/route.yaml similarity index 100% rename from installer/charts/rhtap-backing-services/templates/keycloak-route.yaml rename to installer/charts/rhtap-backing-services/templates/keycloak/route.yaml diff --git a/installer/charts/rhtap-backing-services/templates/keycloak-service.yaml b/installer/charts/rhtap-backing-services/templates/keycloak/service.yaml similarity index 100% rename from installer/charts/rhtap-backing-services/templates/keycloak-service.yaml rename to installer/charts/rhtap-backing-services/templates/keycloak/service.yaml diff --git a/installer/charts/rhtap-dh/README.md b/installer/charts/rhtap-dh/README.md new file mode 100644 index 00000000..b274f553 --- /dev/null +++ b/installer/charts/rhtap-dh/README.md @@ -0,0 +1,3 @@ +# Developer Hub + +This chart deploys a Developer Hub instance and setups the right plugins, based on integration secrets. diff --git a/installer/charts/rhtap-gitops/README.md b/installer/charts/rhtap-gitops/README.md new file mode 100644 index 00000000..831f0e9b --- /dev/null +++ b/installer/charts/rhtap-gitops/README.md @@ -0,0 +1,3 @@ +# OpenShift GitOps + +This chart deploys a gitops instance and sets up an admin user, whose credentials are stored in an integration secret. diff --git a/installer/charts/rhtap-infrastructure/README.md b/installer/charts/rhtap-infrastructure/README.md new file mode 100644 index 00000000..9393174a --- /dev/null +++ b/installer/charts/rhtap-infrastructure/README.md @@ -0,0 +1,3 @@ +# Infrastructure + +This chart deploys a first round of resources critical to the deployment of the other charts. diff --git a/installer/charts/rhtap-openshift/README.md b/installer/charts/rhtap-openshift/README.md new file mode 100644 index 00000000..3921ae77 --- /dev/null +++ b/installer/charts/rhtap-openshift/README.md @@ -0,0 +1,3 @@ +# Openshift + +This chart prepares the cluster for the full deployment of RHTAP. diff --git a/installer/charts/rhtap-openshift/templates/service-account.yaml b/installer/charts/rhtap-openshift/templates/service-account.yaml deleted file mode 100644 index d25ad7e2..00000000 --- a/installer/charts/rhtap-openshift/templates/service-account.yaml +++ /dev/null @@ -1,20 +0,0 @@ ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: {{ .Release.Name }} - namespace: {{ .Release.Namespace }} - ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: {{ .Release.Name }} -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: cluster-admin -subjects: - - kind: ServiceAccount - name: {{ .Release.Name }} - namespace: {{ .Release.Namespace }} diff --git a/installer/charts/rhtap-pipelines/README.md b/installer/charts/rhtap-pipelines/README.md new file mode 100644 index 00000000..bd0bcefe --- /dev/null +++ b/installer/charts/rhtap-pipelines/README.md @@ -0,0 +1,3 @@ +# OpenShift Pipelines + +This chart configures Pipelines as Code, Tekton Pipelines and Tekton Chains. diff --git a/installer/charts/rhtap-quay/README.md b/installer/charts/rhtap-quay/README.md new file mode 100644 index 00000000..f019d054 --- /dev/null +++ b/installer/charts/rhtap-quay/README.md @@ -0,0 +1,3 @@ +# Quay + +This chart deploys a quay instance and sets up a registry, and an admin user, whose credentials are stored in an integration secret. diff --git a/installer/charts/rhtap-tas/README.md b/installer/charts/rhtap-tas/README.md new file mode 100644 index 00000000..a1cfb77a --- /dev/null +++ b/installer/charts/rhtap-tas/README.md @@ -0,0 +1,3 @@ +# Trusted Artifact Signer + +This chart deploys a gitops instance of TAS. diff --git a/installer/charts/rhtap-tpa/README.md b/installer/charts/rhtap-tpa/README.md new file mode 100644 index 00000000..564d3dca --- /dev/null +++ b/installer/charts/rhtap-tpa/README.md @@ -0,0 +1,3 @@ +# Trusted Profile Analyzer + +This chart deploys a TPA instance.