the default GitOps source repository for booting up Jenkins X
修訂 | 477eda6a84e3b780ab046aea3b4b1e15fcf29779 (tree) |
---|---|
時間 | 2019-07-18 20:20:01 |
作者 | James Rawlings <rawlingsj80@gmai...> |
Commiter | GitHub |
Merge pull request #11 from rawlingsj/cert
feat: update to certmanager v0.8.1 to fix issues with dns solvers being los…
@@ -9,7 +9,7 @@ spec: | ||
9 | 9 | name: letsencrypt-prod |
10 | 10 | commonName: "*.{{ .Values.cluster.domain }}" |
11 | 11 | dnsNames: |
12 | - - "*.{{ .Values.cluster.domain }}" | |
12 | + - "{{ .Values.cluster.domain }}" | |
13 | 13 | acme: |
14 | 14 | config: |
15 | 15 | - dns01: |
@@ -13,14 +13,11 @@ spec: | ||
13 | 13 | solvers: |
14 | 14 | # ACME DNS-01 provider configurations |
15 | 15 | - dns01: |
16 | - # Here we define a list of DNS-01 providers that can solve DNS challenges | |
17 | - providers: | |
18 | - - name: jenkins-x-dns | |
19 | - clouddns: | |
20 | - # A secretKeyRef to a google cloud json service account | |
21 | - serviceAccountSecretRef: | |
22 | - name: external-dns-gcp-sa | |
23 | - key: credentials.json | |
24 | - # The project in which to update the DNS zone | |
25 | - project: "{{ .Values.cluster.projectID }}" | |
16 | + clouddns: | |
17 | + # The project in which to update the DNS zone | |
18 | + project: "{{ .Values.cluster.projectID }}" | |
19 | + # A secretKeyRef to a google cloud json service account | |
20 | + serviceAccountSecretRef: | |
21 | + name: external-dns-gcp-sa | |
22 | + key: credentials.json | |
26 | 23 | {{- end }} |
\ No newline at end of file |
@@ -9,12 +9,11 @@ spec: | ||
9 | 9 | name: letsencrypt-staging |
10 | 10 | commonName: "*.{{ .Values.cluster.domain }}" |
11 | 11 | dnsNames: |
12 | - - "*.{{ .Values.cluster.domain }}" | |
12 | + - "{{ .Values.cluster.domain }}" | |
13 | 13 | acme: |
14 | 14 | config: |
15 | 15 | - dns01: |
16 | 16 | provider: jenkins-x-dns |
17 | 17 | domains: |
18 | 18 | - "*.{{ .Values.cluster.domain }}" |
19 | - - "{{ .Values.cluster.domain }}" | |
20 | 19 | {{- end }} |
\ No newline at end of file |
@@ -12,15 +12,12 @@ spec: | ||
12 | 12 | name: letsencrypt-staging |
13 | 13 | solvers: |
14 | 14 | # ACME DNS-01 provider configurations |
15 | - dns01: | |
16 | - # Here we define a list of DNS-01 providers that can solve DNS challenges | |
17 | - providers: | |
18 | - - name: jenkins-x-dns | |
19 | - clouddns: | |
20 | - # A secretKeyRef to a google cloud json service account | |
21 | - serviceAccountSecretRef: | |
22 | - name: external-dns-gcp-sa | |
23 | - key: credentials.json | |
24 | - # The project in which to update the DNS zone | |
25 | - project: "{{ .Values.cluster.projectID }}" | |
15 | + - dns01: | |
16 | + clouddns: | |
17 | + # The project in which to update the DNS zone | |
18 | + project: "{{ .Values.cluster.projectID }}" | |
19 | + # A secretKeyRef to a google cloud json service account | |
20 | + serviceAccountSecretRef: | |
21 | + name: external-dns-gcp-sa | |
22 | + key: credentials.json | |
26 | 23 | {{- end }} |
\ No newline at end of file |
@@ -36,14 +36,10 @@ pipelineConfig: | ||
36 | 36 | - name: cert-manager-crds |
37 | 37 | dir: /workspace/source |
38 | 38 | command: kubectl |
39 | - args: ['apply', '--wait', '--validate=true', '-f', 'https://raw.githubusercontent.com/jetstack/cert-manager/release-0.6/deploy/manifests/00-crds.yaml'] | |
39 | + args: ['apply', '--wait', '--validate=true', '-f', 'https://raw.githubusercontent.com/jetstack/cert-manager/release-0.8/deploy/manifests/00-crds.yaml'] | |
40 | 40 | env: |
41 | 41 | - name: DEPLOY_NAMESPACE |
42 | 42 | value: cert-manager |
43 | - - name: clean-cert-manager | |
44 | - dir: /workspace/source | |
45 | - command: kubectl | |
46 | - args: ['delete', 'issuers.certmanager.k8s.io,certificates.certmanager.k8s.io,challenges.certmanager.k8s.io,orders.certmanager.k8s.io', '--all'] | |
47 | 43 | - name: cert-manager |
48 | 44 | dir: /workspace/source/systems/cm |
49 | 45 | command: jx |
@@ -1,5 +1,5 @@ | ||
1 | 1 | dependencies: |
2 | 2 | - alias: cert-manager |
3 | 3 | name: cert-manager |
4 | - repository: https://kubernetes-charts.storage.googleapis.com | |
5 | - version: v0.6.7 | |
4 | + repository: https://charts.jetstack.io | |
5 | + version: v0.8.1 | |
\ No newline at end of file |