Skip to content

Commit 911edff

Browse files
committed
fix: VaultConnection dedicated name
1 parent 25daf97 commit 911edff

File tree

4 files changed

+4
-10
lines changed

4 files changed

+4
-10
lines changed

charts/dso-argocd-zone/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: dso-argocd-zone
33
description: Creates an ApplicationSet that will scan and deploy all Console-managed applications for its zone (multiple clusters).
44
type: application
5-
version: 1.0.2
5+
version: 1.0.3
66
appVersion: 1.0.0
77
maintainers:
88
- name: cloud-pi-native

charts/dso-argocd-zone/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# dso-argocd-zone
22

3-
![Version: 1.0.2](https://img.shields.io/badge/Version-1.0.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)
3+
![Version: 1.0.3](https://img.shields.io/badge/Version-1.0.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)
44

55
Creates an ApplicationSet that will scan and deploy all Console-managed applications for its zone (multiple clusters).
66

@@ -16,7 +16,6 @@ Creates an ApplicationSet that will scan and deploy all Console-managed applicat
1616
|-----|------|---------|-------------|
1717
| clusters | list | `[]` | List of managed cluster names for the entire zone |
1818
| dsoZoneRepo | string | `"https://gitlab.com/infra/zone.git"` | Repository URL where DSO Cosnole stores application specifications that must be applied by ArgoCD in current zone |
19-
| openshift.enabled | bool | `false` | Indicates if OpenShift specificities are needed |
2019
| vault.kvName | string | `"zone-kv"` | Name of the key-value store to use for retreiving zone secrets |
2120
| vault.roleId | string | `"app-role"` | AppRole to use when connecting to Vault |
2221
| vault.secretId | string | `"secret"` | AppRole associated secret to autorize Vault connection |

charts/dso-argocd-zone/templates/vso-auth.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
{{ if not .Values.openshift.enabled -}}
21
apiVersion: secrets.hashicorp.com/v1beta1
32
kind: VaultConnection
43
metadata:
5-
name: default
4+
name: argocd-vault-connection
65
namespace: {{ .Release.Namespace }}
76
spec:
87
address: {{ .Values.vault.url }}
9-
{{- end }}
108
---
119
apiVersion: v1
1210
kind: Secret
@@ -22,6 +20,7 @@ metadata:
2220
name: vault-auth
2321
namespace: {{ .Release.Namespace }}
2422
spec:
23+
vaultConnectionRef: argocd-vault-connection
2524
method: appRole
2625
mount: approle
2726
appRole:

charts/dso-argocd-zone/values.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
# -- Repository URL where DSO Cosnole stores application specifications that must be applied by ArgoCD in current zone
22
dsoZoneRepo: https://gitlab.com/infra/zone.git
33

4-
openshift:
5-
# -- Indicates if OpenShift specificities are needed
6-
enabled: false
7-
84
vault:
95
# -- URL of the Vualt instance storing zone secrets (like kubeconfigs)
106
url: test.com

0 commit comments

Comments
 (0)