mirror of
https://github.com/bvanroll/environment-ff-stage-euw1-gkecluster-primary-dev.git
synced 2025-08-29 20:12:42 +00:00
initial config based of jenkins-x/jenkins-x-boot-config with ref v1.0.82
This commit is contained in:
6
systems/vault/Chart.yaml
Normal file
6
systems/vault/Chart.yaml
Normal file
@@ -0,0 +1,6 @@
|
||||
apiVersion: v1
|
||||
description: Vault Chart
|
||||
maintainers:
|
||||
- name: Team
|
||||
name: vault
|
||||
version: "1"
|
4
systems/vault/values.tmpl.yaml
Normal file
4
systems/vault/values.tmpl.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
vault:
|
||||
service:
|
||||
annotations:
|
||||
fabric8.io/exposeUrl: vault{{ .Requirements.ingress.namespaceSubDomain | default ".jx." }}{{ .Requirements.ingress.domain }}
|
25
systems/vault/vault-ing.tmpl.yaml
Normal file
25
systems/vault/vault-ing.tmpl.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
apiVersion: extensions/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: nginx
|
||||
helm.sh/hook: pre-install,pre-upgrade
|
||||
name: {{ .Requirements.vault.name }}
|
||||
spec:
|
||||
rules:
|
||||
- host: vault{{ .Requirements.ingress.namespaceSubDomain | default ".jx." }}{{ .Requirements.ingress.domain }}
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
serviceName: {{ .Requirements.vault.name }}
|
||||
servicePort: 8200
|
||||
{{- if .Requirements.ingress.tls.enabled }}
|
||||
tls:
|
||||
- hosts:
|
||||
- vault{{ .Requirements.ingress.namespaceSubDomain | default ".jx." }}{{ .Requirements.ingress.domain }}
|
||||
{{- if .Requirements.ingress.tls.production }}
|
||||
secretName: "tls-{{ .Requirements.ingress.domain | replace "." "-" }}-p"
|
||||
{{- else }}
|
||||
secretName: "tls-{{ .Requirements.ingress.domain | replace "." "-" }}-s"
|
||||
{{- end }}
|
||||
{{- end }}
|
Reference in New Issue
Block a user