latest charts
This commit is contained in:
1 parent
8cb1ec043e
commit
f1ef61d508
10 files changed
+127
-45
No files matched your search
@@ -2,7 +2,7 @@
|
||||
kind: Deployment
|
||||
apiVersion: apps/v1
|
||||
metadata:
|
||||
name: dummy-app-2
|
||||
name: dummy-app
|
||||
namespace: "{{ .Release.Namespace }}"
|
||||
spec:
|
||||
replicas: 1
|
||||
|
||||
Whitespace-only changes.
Whitespace-only changes.
@@ -0,0 +1,106 @@
|
||||
{{ if .Values.global.tls.enabled }}
|
||||
---
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: ClusterIssuer
|
||||
metadata:
|
||||
name: {{ .Values.global.tls.issuer }}
|
||||
spec:
|
||||
acme:
|
||||
server: {{ .Values.global.tls.acmeServer }}
|
||||
skipTLSVerify: {{ .Values.global.tls.skipTLSVerify }}
|
||||
email: {{ .Values.global.email }}
|
||||
privateKeySecretRef:
|
||||
name: {{ .Values.global.tls.issuer }}
|
||||
solvers:
|
||||
- http01:
|
||||
ingress:
|
||||
class: traefik
|
||||
|
||||
{{ if .Values.cloudflare.enabled }}
|
||||
---
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Issuer
|
||||
metadata:
|
||||
name: cloudflare
|
||||
spec:
|
||||
acme:
|
||||
server: {{ .Values.global.tls.acmeServer }}
|
||||
skipTLSVerify: {{ .Values.global.tls.skipTLSVerify }}
|
||||
email: {{ .Values.global.email }}
|
||||
privateKeySecretRef:
|
||||
name: cloudflare
|
||||
solvers:
|
||||
- dns01:
|
||||
cloudflare:
|
||||
apiTokenSecretRef:
|
||||
name: {{ .Values.cloudflare.tokenSecretName }}
|
||||
key: {{ .Values.cloudflare.tokenSecretKey }}
|
||||
{{ range $prefix := .Values.cloudflare.certificateRootDomains }}
|
||||
---
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: cloudflare-wildcard{{$prefix}}.{{ $.Values.global.rootSubDomain }}.{{ $.Values.global.domain }}
|
||||
spec:
|
||||
secretName: cloudflare-wildcard{{$prefix}}.{{ $.Values.global.rootSubDomain }}.{{ $.Values.global.domain }}
|
||||
issuerRef:
|
||||
name: cloudflare
|
||||
kind: Issuer
|
||||
commonName: '*{{$prefix}}.{{ $.Values.global.rootSubDomain }}.{{ $.Values.global.domain }}'
|
||||
dnsNames:
|
||||
- "*{{$prefix}}.{{ $.Values.global.rootSubDomain }}.{{ $.Values.global.domain }}"
|
||||
{{ end }}
|
||||
---
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: cloudflare-wildcard.{{ $.Values.global.domain }}
|
||||
spec:
|
||||
secretName: cloudflare-wildcard.{{ $.Values.global.domain }}
|
||||
issuerRef:
|
||||
name: cloudflare
|
||||
kind: Issuer
|
||||
commonName: '*.{{ $.Values.global.domain }}'
|
||||
dnsNames:
|
||||
- "*.{{ $.Values.global.domain }}"
|
||||
---
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: cloudflare-wildcard.{{ $.Values.global.secondaryDomain }}
|
||||
spec:
|
||||
secretName: cloudflare-wildcard.{{ $.Values.global.secondaryDomain }}
|
||||
issuerRef:
|
||||
name: cloudflare
|
||||
kind: Issuer
|
||||
commonName: '*.{{ $.Values.global.secondaryDomain }}'
|
||||
dnsNames:
|
||||
- "*.{{ $.Values.global.secondaryDomain }}"
|
||||
---
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: cloudflare.{{ $.Values.global.domain }}
|
||||
spec:
|
||||
secretName: cloudflare.{{ $.Values.global.domain }}
|
||||
issuerRef:
|
||||
name: cloudflare
|
||||
kind: Issuer
|
||||
commonName: '{{ $.Values.global.domain }}'
|
||||
dnsNames:
|
||||
- "{{ $.Values.global.domain }}"
|
||||
---
|
||||
apiVersion: cert-manager.io/v1
|
||||
kind: Certificate
|
||||
metadata:
|
||||
name: cloudflare.{{ $.Values.global.secondaryDomain }}
|
||||
spec:
|
||||
secretName: cloudflare.{{ $.Values.global.secondaryDomain }}
|
||||
issuerRef:
|
||||
name: cloudflare
|
||||
kind: Issuer
|
||||
commonName: '{{ $.Values.global.secondaryDomain }}'
|
||||
dnsNames:
|
||||
- "{{ $.Values.global.secondaryDomain }}"
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
@@ -1,38 +0,0 @@
|
||||
---
|
||||
kind: Deployment
|
||||
apiVersion: apps/v1
|
||||
metadata:
|
||||
name: dummy-app
|
||||
namespace: "{{ .Release.Namespace }}"
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: dummy
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: dummy
|
||||
spec:
|
||||
containers:
|
||||
- name: name
|
||||
image: nginxdemos/hello
|
||||
resources:
|
||||
limits:
|
||||
memory: 1Gi
|
||||
ports:
|
||||
- containerPort: 80
|
||||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: dummy-app
|
||||
spec:
|
||||
selector:
|
||||
app: dummy
|
||||
release: "{{ .Release.Name }}"
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
targetPort: 80
|
||||
Whitespace-only changes.
@@ -0,0 +1,2 @@
|
||||
cloudflare:
|
||||
enabled: true
|
||||
@@ -0,0 +1,9 @@
|
||||
cloudflare:
|
||||
enabled: false
|
||||
tokenSecretName: ~
|
||||
tokenSecretKey: ~
|
||||
certificateRootDomains:
|
||||
- ""
|
||||
- ".core"
|
||||
- ".vh"
|
||||
- ".wa"
|
||||
@@ -28,4 +28,11 @@ spec:
|
||||
source:
|
||||
path: '{{`{{path}}`}}'
|
||||
repoURL: git@github.com:{{ .Values.gitops.repo }}.git
|
||||
targetRevision: "{{ .Values.gitops.revision }}"
|
||||
targetRevision: "{{ .Values.gitops.revision }}"
|
||||
helm:
|
||||
valueFiles:
|
||||
- values.yaml
|
||||
- values-{{$.Values.global.deployment}}.yaml
|
||||
values: |-
|
||||
global:
|
||||
{{ .Values.global | toYaml | nindent 20 }}
|
||||
@@ -1,8 +1,4 @@
|
||||
global:
|
||||
timezone: America/Toronto
|
||||
nfs:
|
||||
server: 10.0.10.1
|
||||
rootPath: /mnt/EightTerra/k3s-cluster/direct-mounts
|
||||
global: {}
|
||||
|
||||
registry:
|
||||
ip: 10.0.100.101
|
||||
|
||||
Reference in new issue
Block a user