diff --git a/chart/templates/vault/gitrepository.yaml b/chart/templates/vault/gitrepository.yaml index 7579d2f2a42142a87a2434eb1766c2956298a433..bc0ae65c84b8f69f8958bed0434752a1d5d58fd6 100644 --- a/chart/templates/vault/gitrepository.yaml +++ b/chart/templates/vault/gitrepository.yaml @@ -1,8 +1,4 @@ -<<<<<<< HEAD {{- if and (not .Values.offline) .Values.addons.vault.enabled }} -======= -{{- if and (not .Values.offline) .Values.vault.enabled }} ->>>>>>> eb61ff0b (add vault deployment) apiVersion: source.toolkit.fluxcd.io/v1beta1 kind: GitRepository metadata: @@ -14,15 +10,9 @@ metadata: {{- include "commonLabels" . | nindent 4}} spec: interval: {{ .Values.flux.interval }} -<<<<<<< HEAD url: {{ .Values.addons.vault.git.repo }} ref: {{- include "validRef" .Values.addons.vault.git | nindent 4 }} -======= - url: {{ .Values.vault.git.repo }} - ref: - {{- include "validRef" .Values.vault.git | nindent 4 }} ->>>>>>> eb61ff0b (add vault deployment) {{ include "gitIgnore" . }} {{- include "gitCreds" . | nindent 2 }} {{- end }} \ No newline at end of file diff --git a/chart/templates/vault/twistlock-helmrelease.yaml b/chart/templates/vault/twistlock-helmrelease.yaml deleted file mode 100644 index 14e476fc10595935352c30b82d1207dc0397f1ff..0000000000000000000000000000000000000000 --- a/chart/templates/vault/twistlock-helmrelease.yaml +++ /dev/null @@ -1,56 +0,0 @@ -{{- $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 }} diff --git a/chart/values.yaml b/chart/values.yaml index fa4926a2761e5f024751c1803abdfd9f7964dc1a..2e211754ac59a27beeda56da2816702aafd2ea80 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -562,18 +562,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 #