Skip to content

Commit

Permalink
feat: ✨ new boolean value to disable argocd installation
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieulaude committed Oct 24, 2024
1 parent b145ace commit 87a5d83
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 8 deletions.
4 changes: 2 additions & 2 deletions charts/dso-infra-argocd/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ dependencies:
- name: vault-secrets-operator
repository: https://helm.releases.hashicorp.com
version: 0.8.1
digest: sha256:9afbd19b021c523fb44d57dd476b95b6f8fb37edf4d03d6fd404aa92358a6d76
generated: "2024-09-19T16:47:11.542579767+02:00"
digest: sha256:56c5618b61d35d94ee4db6b18378065b2eb2762b0bf4d66ff3ba9925b9846438
generated: "2024-10-24T14:21:33.255722762+02:00"
5 changes: 3 additions & 2 deletions charts/dso-infra-argocd/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@
apiVersion: v2
name: dso-argocd
type: application
version: 1.2.1
version: 1.3.0
appVersion: 2.12.3
dependencies:
- name: argo-cd
repository: https://argoproj.github.io/argo-helm
version: 7.5.2
condition: argocd.enabled
- name: vault-secrets-operator
repository: https://helm.releases.hashicorp.com
version: 0.8.1
condition: vso.install
condition: vso.enabled
maintainers:
- name: this-is-tobi
email: [email protected]
Expand Down
5 changes: 3 additions & 2 deletions charts/dso-infra-argocd/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# dso-argocd

![Version: 1.2.1](https://img.shields.io/badge/Version-1.2.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.12.3](https://img.shields.io/badge/AppVersion-2.12.3-informational?style=flat-square)
![Version: 1.3.0](https://img.shields.io/badge/Version-1.3.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.12.3](https://img.shields.io/badge/AppVersion-2.12.3-informational?style=flat-square)

## Maintainers

Expand All @@ -19,13 +19,14 @@

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| argocd | object | `{"enabled":true}` | Indique s'il faut installer ArgoCD (à désactiver si ArgoCD est préinstallé sur le cluster) |
| argocdUrl | string | `"argocd.local.fr"` | URL argocd pour configurer argocd et le SSO Keycloak |
| gitlab.token | string | `"secret-token"` | Token d'accès au dépôt Gitlab |
| gitlab.url | string | `"https://gitlab.com/"` | Url du Gitlab hébergeant le dépôt de code pour cette zone |
| gitlab.zoneRepo | string | `"https://gitlab.com/infra/zone.git"` | URL du dépôt où les applications à déployer par ArgoCD sont spécifiées |
| namespace | string | `"dso-argocd"` | Namespace d'installation de l'instance ArgoCD |
| organization | string | `"org"` | Nom de l'organisation (utilisé dans les annotations) |
| vso.install | bool | `true` | Indique s'il faut installer Vault Secrets Operator (à désactiver si l'opérateur est préinstallé sur le cluster) |
| vso | object | `{"enabled":true}` | Indique s'il faut installer Vault Secrets Operator (à désactiver si l'opérateur est préinstallé sur le cluster) |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.14.2](https://github.com/norwoodj/helm-docs/releases/v1.14.2)
2 changes: 2 additions & 0 deletions charts/dso-infra-argocd/templates/repo-secret.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{ if .Values.argocd.enabled -}}
apiVersion: v1
kind: Secret
metadata:
Expand All @@ -8,3 +9,4 @@ stringData:
password: {{ .Values.gitlab.token }}
url: {{ .Values.gitlab.url }}
username: root
{{ end -}}
7 changes: 5 additions & 2 deletions charts/dso-infra-argocd/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,12 @@ gitlab:
token: secret-token
# -- URL du dépôt où les applications à déployer par ArgoCD sont spécifiées
zoneRepo: https://gitlab.com/infra/zone.git
# -- Indique s'il faut installer Vault Secrets Operator (à désactiver si l'opérateur est préinstallé sur le cluster)
vso:
# -- Indique s'il faut installer Vault Secrets Operator (à désactiver si l'opérateur est préinstallé sur le cluster)
install: true
enabled: true
# -- Indique s'il faut installer ArgoCD (à désactiver si ArgoCD est préinstallé sur le cluster)
argocd:
enabled: true
# See https://artifacthub.io/packages/helm/argo/argo-cd?modal=values
# @ignored
argo-cd:
Expand Down

0 comments on commit 87a5d83

Please sign in to comment.