UNCLASSIFIED - NO CUI
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bigbang
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Big Bang
bigbang
Commits
2d93f514
Commit
2d93f514
authored
3 years ago
by
Kavitha Thulasiraman
Committed by
Ryan Garcia
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
add vault deployment
parent
e7f33b8a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!1386
Master
,
!913
SKIP UPGRADE Deploy vault as Addon
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
chart/templates/vault/gitrepository.yaml
+10
-0
10 additions, 0 deletions
chart/templates/vault/gitrepository.yaml
chart/templates/vault/twistlock-helmrelease.yaml
+56
-0
56 additions, 0 deletions
chart/templates/vault/twistlock-helmrelease.yaml
chart/values.yaml
+12
-0
12 additions, 0 deletions
chart/values.yaml
with
78 additions
and
0 deletions
chart/templates/vault/gitrepository.yaml
+
10
−
0
View file @
2d93f514
<<<<<<< HEAD
{{
- if and (not .Values.offline) .Values.addons.vault.enabled
}}
=======
{{
- if and (not .Values.offline) .Values.vault.enabled
}}
>
>>>>>>
eb61ff0b
(add
vault
deployment)
a
piVersion: source.toolkit.fluxcd.io/v1beta1
k
ind: GitRepository
m
etadata:
...
...
@@ -10,9 +14,15 @@ metadata:
{{- include "commonLabels" . | nindent 4}}
s
pec:
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 }}
This diff is collapsed.
Click to expand it.
chart/templates/vault/twistlock-helmrelease.yaml
0 → 100644
+
56
−
0
View file @
2d93f514
{{
- $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
}}
This diff is collapsed.
Click to expand it.
chart/values.yaml
+
12
−
0
View file @
2d93f514
...
...
@@ -562,6 +562,18 @@ 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
#
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment