Skip to content

Commit 91847e8

Browse files
feat: add hcp vault deployment
1 parent 86e7ed0 commit 91847e8

File tree

3 files changed

+65
-0
lines changed

3 files changed

+65
-0
lines changed

management_project.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ spec:
2323
- name: in-cluster
2424
namespace: example-application-progressive
2525
server: https://kubernetes.default.svc
26+
- name: in-cluster
27+
namespace: hcp-operators
28+
server: https://kubernetes.default.svc
2629
- name: in-cluster
2730
namespace: example-application-helm-progressive
2831
server: https://kubernetes.default.svc
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
apiVersion: v1
2+
kind: Namespace
3+
metadata:
4+
annotations:
5+
openshift.io/description: ""
6+
openshift.io/display-name: ""
7+
openshift.io/requester: kubeadmin
8+
#openshift.io/sa.scc.mcs: s0:c26,c20
9+
#openshift.io/sa.scc.supplemental-groups: 65535/10000
10+
#openshift.io/sa.scc.uid-range: 65535/10000
11+
argocd.argoproj.io/sync-wave: "-1"
12+
labels:
13+
argocd.argoproj.io/managed-by: openshift-gitops
14+
name: hcp-operators

ocp/deployments/helm_hcp_vault.yaml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
apiVersion: argoproj.io/v1alpha1
2+
kind: Application
3+
metadata:
4+
name: hcp-vault
5+
namespace: &ns hcp-operators
6+
labels:
7+
argocd.argoproj.io/sync-wave: "-1"
8+
spec:
9+
destination:
10+
namespace: *ns
11+
server: https://kubernetes.default.svc
12+
project: hashicorp
13+
source:
14+
chart: vault
15+
repoURL: https://helm.releases.hashicorp.com
16+
targetRevision: 0.29.1
17+
helm:
18+
releaseName: hcp-vault
19+
valuesObject:
20+
global:
21+
openshift: true
22+
injector:
23+
image:
24+
repository: "registry.connect.redhat.com/hashicorp/vault-k8s"
25+
tag: "1.5.0-ubi"
26+
agentImage:
27+
repository: "registry.connect.redhat.com/hashicorp/vault"
28+
tag: "1.18.1-ubi"
29+
server:
30+
image:
31+
repository: "registry.connect.redhat.com/hashicorp/vault"
32+
tag: "1.18.1-ubi"
33+
readinessProbe:
34+
path: "/v1/sys/health?uninitcode=204"
35+
syncPolicy:
36+
automated:
37+
prune: true
38+
selfHeal: true
39+
retry:
40+
backoff:
41+
duration: 5s
42+
factor: 2
43+
maxDuration: 3m0s
44+
limit: 5
45+
syncOptions:
46+
- PruneLast=true
47+
- ApplyOutOfSyncOnly=true
48+
- ServerSideApply=true

0 commit comments

Comments
 (0)