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

chore: Align Application namespace creation and readme script(#213) #230

Merged
merged 1 commit into from
Feb 12, 2025
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
103 changes: 52 additions & 51 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ helm install argocd argo-cd -n argocd --create-namespace
4. Configure integration with the forked repository by adding credential template to the Argo CD.
5. Apply the [`clusters/core/bootstrap-addons.yaml`](clusters/core/bootstrap-addons.yaml) application to the Argo CD.
6. Enable the add-on by setting the `enable` field to `true` in the [`clusters/core/apps/values.yaml`](clusters/core/apps/values.yaml) file.
7. To change the application namespace, update the namespace field in the [`clusters/core/apps/values.yaml`](clusters/core/apps/values.yaml) file.

## Available add-ons

Expand All @@ -72,54 +73,54 @@ make update-readme
```

<!-- AUTOGENERATED CONTENT BELOW -->
| Component | version | appVersion | createNamespace | enable |
|:-----------------------|:----------|:-------------|:------------------|:---------|
| argo-cd | 7.7.11 | v2.13.2 | False | False |
| aws-efs-csi-driver | 1.5.7 | 1.5.7 | N/A | False |
| awx-operator | 2.19.1 | 2.19.1 | False | False |
| capsule | 0.5.3 | 0.4.2 | False | False |
| capsule-tenant | N/A | N/A | N/A | False |
| cert-manager | 1.16.1 | v1.16.1 | False | False |
| defectdojo | 1.6.127 | 2.34.1 | False | False |
| dependency-track | 0.24.0 | v4.12.2 | False | False |
| karma-dashboard | 2.9.3 | v0.120 | False | False |
| karpenter-np | 0.1.0 | 0.1.0 | False | False |
| karpenter | 1.0.8 | 1.0.8 | False | False |
| keda-tenants | 0.1.0 | 0.1.0 | False | False |
| keda | 2.15.2 | 2.15.1 | False | False |
| kuberocketci | 3.10.2 | 3.10.2 | False | False |
| kuberocketci-pipelines | N/A | N/A | False | False |
| kuberocketci-rbac | 0.1.0 | 0.1.0 | False | False |
| external-secrets | 0.10.5 | 1.0 | False | False |
| fluent-bit | 0.46.11 | 3.0.7 | False | False |
| harbor | 0.1.0 | 1.12.2 | False | False |
| harbor-ha | 1.13.0 | 2.9.0 | False | False |
| harbor-ha-okd | 1.13.0 | 2.9.0 | False | False |
| ingress-nginx | 4.11.3 | 1.11.3 | False | False |
| ingress-nginx-external | 4.11.3 | 1.11.3 | False | False |
| jaeger-operator | 2.53.0 | 1.52.0 | False | False |
| keycloak | 2.3.0 | 24.0.4 | False | False |
| keycloak-postgresql | 0.1.1 | 1.0 | False | False |
| keycloak-operator | 1.23.0 | 1.23.0 | False | False |
| krakend | 0.1.36 | 2.7.2 | False | False |
| minio-operator | 0.1.0 | 5.0.5 | False | False |
| nexus | 61.0.3 | 3.70.3 | False | False |
| nexus-operator | 3.3.0 | 3.3.0 | False | False |
| oauth2-proxy | 7.6.0 | v7.6.0 | False | False |
| opensearch | 2.26.1 | 2.17.1 | False | False |
| opentelemetry-operator | 0.62.0 | 0.102.0 | False | False |
| postgres-operator | 0.1.0 | 5.7.0 | False | False |
| report-portal | 5.10.0 | 23.2 | False | False |
| prometheus-operator | 65.5.1 | v0.77.2 | False | False |
| redis-operator | 0.1.0 | 3.2.8 | False | False |
| sonar | 8.0.2 | 9.9.2 | False | False |
| sonar-operator | 3.1.1 | 3.1.1 | False | False |
| storage-class | N/A | N/A | N/A | False |
| tekton-cache | 0.4.0 | 0.4.0 | False | False |
| tekton | N/A | N/A | False | False |
| tekton-custom-task | 0.1.0 | 0.1.0 | False | False |
| tekton-dashboard | 0.52.0 | 0.52.0 | False | False |
| vault | 0.24.1 | 1.13.1 | False | False |
| vault-kms | 0.25.0 | 1.14.0 | False | False |
| vault-okd | 0.25.0 | 1.14.0 | False | False |
| atlantis | 5.8.0 | v0.30.0 | False | False |
| Component | version | appVersion | namespace | createNamespace | enable |
|:-----------------------|:----------|:-------------|:-----------------------|:------------------|:---------|
| argo-cd | 7.7.11 | v2.13.2 | krci | False | False |
| atlantis | 5.8.0 | v0.30.0 | atlantis | False | False |
| aws-efs-csi-driver | 1.5.7 | 1.5.7 | kube-system | N/A | False |
| awx-operator | 2.19.1 | 2.19.1 | awx-operator | False | False |
| capsule | 0.5.3 | 0.4.2 | capsule-system | False | False |
| capsule-tenant | N/A | N/A | capsule-system | N/A | False |
| cert-manager | 1.16.1 | v1.16.1 | cert-manager | False | False |
| defectdojo | 1.6.168 | 2.42.1 | defectdojo | False | False |
| dependency-track | 0.24.0 | v4.12.2 | dependency-track | False | False |
| external-secrets | 0.10.5 | 1.0 | external-secrets | False | False |
| fluent-bit | 0.46.11 | 3.0.7 | logging | False | False |
| harbor | 0.1.0 | 1.12.2 | harbor | False | False |
| harbor-ha | 1.13.0 | 2.9.0 | harbor | False | False |
| harbor-ha-okd | 1.13.0 | 2.9.0 | harbor | False | False |
| ingress-nginx | 4.11.3 | 1.11.3 | ingress-nginx | False | False |
| ingress-nginx-external | 4.11.3 | 1.11.3 | ingress-nginx-external | False | False |
| jaeger-operator | 2.53.0 | 1.52.0 | jaeger-operator | False | False |
| karma-dashboard | 2.9.3 | v0.120 | monitoring | False | False |
| karpenter-np | 0.1.0 | 0.1.0 | karpenter | False | False |
| karpenter | 1.0.8 | 1.0.8 | karpenter | False | False |
| keda-tenants | 0.1.0 | 0.1.0 | keda | False | False |
| keda | 2.15.2 | 2.15.1 | keda | False | False |
| keycloak | 2.3.0 | 24.0.4 | security | False | False |
| keycloak-postgresql | 0.1.1 | 1.0 | security | False | False |
| keycloak-operator | 1.23.0 | 1.23.0 | keycloak-operator | False | False |
| krakend | 0.1.36 | 2.7.2 | krakend | False | False |
| kuberocketci-pipelines | N/A | N/A | krci | False | False |
| kuberocketci-rbac | 0.1.0 | 0.1.0 | security | False | False |
| kuberocketci | 3.10.2 | 3.10.2 | krci | False | False |
| minio-operator | 0.1.0 | 5.0.5 | minio-operator | False | False |
| nexus | 61.0.3 | 3.70.3 | nexus | False | False |
| nexus-operator | 3.3.0 | 3.3.0 | nexus | False | False |
| oauth2-proxy | 7.6.0 | v7.6.0 | oauth2-proxy | False | False |
| opensearch | 2.26.1 | 2.17.1 | logging | False | False |
| opentelemetry-operator | 0.62.0 | 0.102.0 | opentelemetry-operator | False | False |
| postgres-operator | 0.1.0 | 5.7.0 | postgres-operator | False | False |
| prometheus-operator | 65.5.1 | v0.77.2 | monitoring | False | False |
| redis-operator | 0.1.0 | 3.2.8 | redis-operator | False | False |
| report-portal | 5.10.0 | 23.2 | report-portal | False | False |
| sonar | 8.0.2 | 9.9.2 | sonar | False | False |
| sonar-operator | 3.1.1 | 3.1.1 | sonar | False | False |
| storage-class | N/A | N/A | N/A | N/A | False |
| tekton-cache | 0.4.0 | 0.4.0 | tekton-cache | False | False |
| tekton | N/A | N/A | tekton-pipelines | False | False |
| tekton-custom-task | 0.1.0 | 0.1.0 | krci | False | False |
| tekton-dashboard | 0.52.0 | 0.52.0 | krci | False | False |
| vault-kms | 0.25.0 | 1.14.0 | vault | False | False |
| vault-okd | 0.25.0 | 1.14.0 | vault | False | False |
| vault | 0.24.1 | 1.13.1 | vault | False | False |
54 changes: 46 additions & 8 deletions clusters/core/apps/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,105 +21,143 @@ EDP Cluster Addons that extend the Kubernetes Cluster Functionality

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| argo-cd | object | `{"createNamespace":false,"enable":false}` | ArgoCD Deployment |
| argo-cd | object | `{"createNamespace":false,"enable":false,"namespace":"krci"}` | ArgoCD Deployment |
| argo-cd.createNamespace | bool | `false` | whether to create the namespace or not |
| argoProject | string | `"core"` | |
| atlantis.createNamespace | bool | `false` | |
| atlantis.enable | bool | `false` | |
| aws-efs-csi-driver | object | `{"enable":false}` | AWS EFS CSI Driver |
| atlantis.namespace | string | `"atlantis"` | |
| aws-efs-csi-driver | object | `{"enable":false,"namespace":"kube-system"}` | AWS EFS CSI Driver |
| awx-operator.createNamespace | bool | `false` | |
| awx-operator.enable | bool | `false` | |
| capsule | object | `{"createNamespace":false,"enable":false}` | Capsule |
| capsule-tenant | object | `{"enable":false}` | Capsule Tenant |
| awx-operator.namespace | string | `"awx-operator"` | |
| capsule | object | `{"createNamespace":false,"enable":false,"namespace":"capsule-system"}` | Capsule |
| capsule-tenant | object | `{"enable":false,"namespace":"capsule-system"}` | Capsule Tenant |
| capsule.createNamespace | bool | `false` | whether to create the namespace or not |
| cert-manager | object | `{"createNamespace":false,"enable":false}` | Cert Manager |
| cert-manager | object | `{"createNamespace":false,"enable":false,"namespace":"cert-manager"}` | Cert Manager |
| cert-manager.createNamespace | bool | `false` | whether to create the namespace or not |
| clusterName | string | `"core"` | |
| defectdojo | object | `{"createNamespace":false,"enable":false}` | DefectDojo |
| defectdojo | object | `{"createNamespace":false,"enable":false,"namespace":"defectdojo"}` | DefectDojo |
| defectdojo.createNamespace | bool | `false` | whether to create the namespace or not |
| dependency-track.createNamespace | bool | `false` | |
| dependency-track.enable | bool | `false` | |
| dependency-track.namespace | string | `"dependency-track"` | |
| destinationServer | string | `"in-cluster"` | |
| external-secrets.createNamespace | bool | `false` | |
| external-secrets.enable | bool | `false` | |
| external-secrets.namespace | string | `"external-secrets"` | |
| fluent-bit.createNamespace | bool | `false` | |
| fluent-bit.enable | bool | `false` | |
| fluent-bit.namespace | string | `"logging"` | |
| harbor-ha-okd.createNamespace | bool | `false` | |
| harbor-ha-okd.enable | bool | `false` | |
| harbor-ha-okd.namespace | string | `"harbor"` | |
| harbor-ha.createNamespace | bool | `false` | |
| harbor-ha.enable | bool | `false` | |
| harbor-ha.namespace | string | `"harbor"` | |
| harbor.createNamespace | bool | `false` | |
| harbor.enable | bool | `false` | |
| harbor.namespace | string | `"harbor"` | |
| ingress-nginx-external.createNamespace | bool | `false` | |
| ingress-nginx-external.enable | bool | `false` | |
| ingress-nginx-external.namespace | string | `"ingress-nginx-external"` | |
| ingress-nginx.createNamespace | bool | `false` | |
| ingress-nginx.enable | bool | `false` | |
| ingress-nginx.namespace | string | `"ingress-nginx"` | |
| jaeger-operator.createNamespace | bool | `false` | |
| jaeger-operator.enable | bool | `false` | |
| jaeger-operator.namespace | string | `"jaeger-operator"` | |
| karma-dashboard.createNamespace | bool | `false` | |
| karma-dashboard.enable | bool | `false` | |
| karpenter-np | object | `{"createNamespace":false,"enable":false}` | Application with Karpenter resources: NodePools and NodeClass |
| karma-dashboard.namespace | string | `"monitoring"` | |
| karpenter-np | object | `{"createNamespace":false,"enable":false,"namespace":"karpenter"}` | Application with Karpenter resources: NodePools and NodeClass |
| karpenter.createNamespace | bool | `false` | |
| karpenter.enable | bool | `false` | |
| keda-tenants | object | `{"createNamespace":false,"enable":false}` | Keda Job Scaler for KRCI deployments |
| karpenter.namespace | string | `"karpenter"` | |
| keda-tenants | object | `{"createNamespace":false,"enable":false,"namespace":"keda"}` | Keda Job Scaler for KRCI deployments |
| keda.createNamespace | bool | `false` | |
| keda.enable | bool | `false` | |
| keda.namespace | string | `"keda"` | |
| keycloak-operator.createNamespace | bool | `false` | |
| keycloak-operator.enable | bool | `false` | |
| keycloak-operator.namespace | string | `"keycloak-operator"` | |
| keycloak-postgresql.createNamespace | bool | `false` | |
| keycloak-postgresql.enable | bool | `false` | |
| keycloak-postgresql.namespace | string | `"security"` | |
| keycloak.createNamespace | bool | `false` | |
| keycloak.enable | bool | `false` | |
| keycloak.namespace | string | `"security"` | |
| krakend.createNamespace | bool | `false` | |
| krakend.enable | bool | `false` | |
| krakend.namespace | string | `"krakend"` | |
| kuberocketci-pipelines.createNamespace | bool | `false` | |
| kuberocketci-pipelines.enable | bool | `false` | |
| kuberocketci-pipelines.namespace | string | `"krci"` | |
| kuberocketci-pipelines.repoUrl | string | `"ssh://[email protected]:22/epmd-edp/helm-helm-pipeline.git"` | |
| kuberocketci-rbac.createNamespace | bool | `false` | |
| kuberocketci-rbac.enable | bool | `false` | |
| kuberocketci-rbac.namespace | string | `"security"` | |
| kuberocketci.createNamespace | bool | `false` | |
| kuberocketci.enable | bool | `false` | |
| kuberocketci.namespace | string | `"krci"` | |
| minio-operator.createNamespace | bool | `false` | |
| minio-operator.enable | bool | `false` | |
| minio-operator.namespace | string | `"minio-operator"` | |
| nexus-operator.createNamespace | bool | `false` | |
| nexus-operator.enable | bool | `false` | |
| nexus-operator.namespace | string | `"nexus"` | |
| nexus.createNamespace | bool | `false` | |
| nexus.enable | bool | `false` | |
| nexus.namespace | string | `"nexus"` | |
| oauth2-proxy.createNamespace | bool | `false` | |
| oauth2-proxy.enable | bool | `false` | |
| oauth2-proxy.namespace | string | `"oauth2-proxy"` | |
| opensearch.createNamespace | bool | `false` | |
| opensearch.enable | bool | `false` | |
| opensearch.namespace | string | `"logging"` | |
| opentelemetry-operator.createNamespace | bool | `false` | |
| opentelemetry-operator.enable | bool | `false` | |
| opentelemetry-operator.namespace | string | `"opentelemetry-operator"` | |
| postgres-operator.createNamespace | bool | `false` | |
| postgres-operator.enable | bool | `false` | |
| postgres-operator.namespace | string | `"postgres-operator"` | |
| prometheus-operator.createNamespace | bool | `false` | |
| prometheus-operator.enable | bool | `false` | |
| prometheus-operator.namespace | string | `"monitoring"` | |
| redis-operator.createNamespace | bool | `false` | |
| redis-operator.enable | bool | `false` | |
| redis-operator.namespace | string | `"redis-operator"` | |
| repoUrl | string | `"ssh://[email protected]:22/kuberocketci/edp-cluster-add-ons"` | |
| report-portal.createNamespace | bool | `false` | |
| report-portal.enable | bool | `false` | |
| report-portal.namespace | string | `"report-portal"` | |
| sonar-operator.createNamespace | bool | `false` | |
| sonar-operator.enable | bool | `false` | |
| sonar-operator.namespace | string | `"sonar"` | |
| sonar.createNamespace | bool | `false` | |
| sonar.enable | bool | `false` | |
| sonar.namespace | string | `"sonar"` | |
| storage-class.enable | bool | `false` | |
| targetRevision | string | `"main"` | |
| tekton-cache.createNamespace | bool | `false` | |
| tekton-cache.enable | bool | `false` | |
| tekton-cache.namespace | string | `"tekton-cache"` | |
| tekton-custom-task.createNamespace | bool | `false` | |
| tekton-custom-task.enable | bool | `false` | |
| tekton-custom-task.namespace | string | `"krci"` | |
| tekton-dashboard.createNamespace | bool | `false` | |
| tekton-dashboard.enable | bool | `false` | |
| tekton-dashboard.namespace | string | `"krci"` | |
| tekton.createNamespace | bool | `false` | |
| tekton.enable | bool | `false` | |
| tekton.namespace | string | `"tekton-pipelines"` | |
| vault-kms.createNamespace | bool | `false` | |
| vault-kms.enable | bool | `false` | |
| vault-kms.namespace | string | `"vault"` | |
| vault-okd.createNamespace | bool | `false` | |
| vault-okd.enable | bool | `false` | |
| vault-okd.namespace | string | `"vault"` | |
| vault.createNamespace | bool | `false` | |
| vault.enable | bool | `false` | |
| vault.namespace | string | `"vault"` | |

2 changes: 1 addition & 1 deletion clusters/core/apps/templates/argo-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
releaseName: argocd
destination:
name: {{ .Values.destinationServer | default "in-cluster" }}
namespace: krci
namespace: {{ index .Values "argo-cd" "namespace" }}
syncPolicy:
syncOptions:
- CreateNamespace={{ (index .Values "argo-cd" "createNamespace") }}
Expand Down
2 changes: 1 addition & 1 deletion clusters/core/apps/templates/atlantis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
releaseName: atlantis
destination:
name: {{ .Values.destinationServer | default "in-cluster" }}
namespace: atlantis
namespace: {{ index .Values "atlantis" "namespace" }}
syncPolicy:
syncOptions:
- CreateNamespace={{ .Values.atlantis.createNamespace }}
Expand Down
Loading