File tree Expand file tree Collapse file tree 4 files changed +46
-37
lines changed Expand file tree Collapse file tree 4 files changed +46
-37
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ REPO_BASE_DIR := $(shell git rev-parse --show-toplevel)
44include ${REPO_BASE_DIR}/scripts/common.Makefile
55include $(REPO_CONFIG_LOCATION )
66
7- CONFIG_DIR := $(shell dirname $(REPO_CONFIG_LOCATION ) )
7+ export CONFIG_DIR := $(shell dirname $(REPO_CONFIG_LOCATION ) )
88CHART_DIRS := $(wildcard $(REPO_BASE_DIR ) /charts/* /)
99
1010.PHONY : .check-helmfile-installed
Original file line number Diff line number Diff line change 1+ cert-manager:
2+ extraArgs:
3+ - --dns01-recursive-nameservers="8.8.8.8:53"
4+ - --dns01-recursive-nameservers-only
5+ startupapicheck:
6+ enabled: false
7+ skipDNSResolutionCheck: true
8+ maxConcurrentChallenges: 2
9+ extraObjects:
10+ - |
11+ apiVersion: v1
12+ kind: Secret
13+ metadata:
14+ name: acme-dns-secret
15+ namespace: {{ .Release.Namespace }} # secret must be in same namespace as Cert Manager deployment
16+ type: Opaque
17+ stringData:
18+ {{ $configDir := requiredEnv "CONFIG_DIR" }}
19+ acmedns.json: |
20+ {{ readFile (printf "%s/lego-acme-accounts/acme-dns-accounts.json" $configDir) | indent 8 }}
21+ - |
22+ apiVersion: cert-manager.io/v1
23+ kind: ClusterIssuer
24+ metadata:
25+ name: cert-issuer
26+ namespace: {{ .Release.Namespace }}
27+ spec:
28+ acme:
29+ email: {{ requiredEnv "OSPARC_DEVOPS_MAIL_ADRESS" }}
30+ server: {{ requiredEnv "DNS_CHALLENGE_ACME_SERVER" }}
31+ privateKeySecretRef:
32+ name: cert-manager-acme-private-key
33+ solvers:
34+ - dns01:
35+ cnameStrategy: Follow
36+ acmeDNS:
37+ accountSecretRef:
38+ name: acme-dns-secret
39+ key: acmedns.json
40+ host: {{ requiredEnv "ACME_DNS_API_BASE" }}
Original file line number Diff line number Diff line change @@ -8,3 +8,8 @@ cert-manager:
88
99 webhook:
1010 securePort: 10250
11+ cainjector:
12+ replicaCount: 1
13+ replicaCount: 1
14+ webhook:
15+ replicaCount: 1
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments