UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 97a0955d authored by Kavitha Thulasiraman's avatar Kavitha Thulasiraman Committed by Ryan Garcia
Browse files

add vault deployment

parent 28fc9a61
No related branches found
No related tags found
2 merge requests!1386Master,!913SKIP UPGRADE Deploy vault as Addon
{{- $fluxSettingsVault := merge .Values.vault.flux .Values.flux -}}
{{- if .Values.vault.enabled }}
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: vault
namespace: {{ .Release.Namespace }}
labels:
app.kubernetes.io/name: vault
app.kubernetes.io/component: "sandbox"
{{- include "commonLabels" . | nindent 4}}
spec:
targetNamespace: vault
chart:
spec:
chart: {{ .Values.vault.git.path }}
interval: 5m
sourceRef:
kind: GitRepository
name: vault
namespace: {{ .Release.Namespace }}
{{- toYaml $fluxSettingsVault | nindent 2 }}
{{- if .Values.vault.postRenderers }}
postRenderers:
{{ toYaml .Values.vault.postRenderers | nindent 4 }}
{{- end }}
valuesFrom:
- name: {{ .Release.Name }}-vault-values
kind: Secret
valuesKey: "common"
- name: {{ .Release.Name }}-vault-values
kind: Secret
valuesKey: "defaults"
- name: {{ .Release.Name }}-vault-values
kind: Secret
valuesKey: "overlays"
# TODO: DRY this up
{{- if or .Values.gatekeeper.enabled .Values.istio.enabled }}
dependsOn:
{{- if .Values.gatekeeper.enabled }}
- name: gatekeeper
namespace: {{ .Release.Namespace }}
{{- end }}
{{- if .Values.istio.enabled }}
- name: istio
namespace: {{ .Release.Namespace }}
{{- end }}
{{- if .Values.monitoring.enabled }}
- name: monitoring
namespace: {{ .Release.Namespace }}
{{- end }}
{{- end }}
{{- end }}
......@@ -485,6 +485,21 @@ twistlock:
# ----------------------------------------------------------------------------------------------------------------------
#
addons:
vault:
# -- Toggle deployment of Vault.
enabled: true
git:
repo: https://repo1.dso.mil/platform-one/big-bang/apps/sandbox/vault.git
path: "./chart"
branch: "deploy-vault"
# -- Flux reconciliation overrides specifically for the Twistlock Package
flux: {}
ingress:
gateway: ""
values: {}
postRenderers: []
argocd:
# -- Toggle deployment of ArgoCD.
enabled: false
......@@ -549,18 +564,6 @@ addons:
# -- Additional authservice chain configurations.
chains: {}
# ----------------------------------------------------------------------------------------------------------------------
# Vault
#
vault:
# -- Toggle deployment of vault.
enabled: true
git:
repo: https://repo1.dso.mil/platform-one/big-bang/apps/sandbox/vault.git
path: "./chart"
branch: "deploy-vault"
# ----------------------------------------------------------------------------------------------------------------------
# ----------------------------------------------------------------------------------------------------------------------
# Minio Operator and Instance
#
......
......@@ -360,6 +360,8 @@ twistlock:
# Addons are toggled based on labels in CI
addons:
vault:
enabled: true
argocd:
enabled: false
sso:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment