Compare commits
5
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b4d27c6546 | ||
|
|
481ff9e7ac | ||
|
|
5865c38ea7 | ||
|
|
4f90febc89 | ||
|
|
90c3d37e74 |
No files matched your search
@@ -69,6 +69,7 @@ const certManager = new k8s.helm.v3.Release(
|
|||||||
{
|
{
|
||||||
name: "cert-manager",
|
name: "cert-manager",
|
||||||
chart: "cert-manager",
|
chart: "cert-manager",
|
||||||
|
version: "v1.21.1",
|
||||||
repositoryOpts: { repo: "https://charts.jetstack.io" },
|
repositoryOpts: { repo: "https://charts.jetstack.io" },
|
||||||
namespace: "cert-manager",
|
namespace: "cert-manager",
|
||||||
createNamespace: true,
|
createNamespace: true,
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ new k8s.apps.v1.Deployment(
|
|||||||
},
|
},
|
||||||
spec: {
|
spec: {
|
||||||
replicas: 1,
|
replicas: 1,
|
||||||
|
strategy: { type: "Recreate" },
|
||||||
selector: { matchLabels: labels },
|
selector: { matchLabels: labels },
|
||||||
template: {
|
template: {
|
||||||
metadata: { labels },
|
metadata: { labels },
|
||||||
@@ -70,6 +71,20 @@ new k8s.apps.v1.Deployment(
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
terminationGracePeriodSeconds: 5,
|
terminationGracePeriodSeconds: 5,
|
||||||
|
tolerations: [
|
||||||
|
{
|
||||||
|
key: "node.kubernetes.io/unreachable",
|
||||||
|
operator: "Exists",
|
||||||
|
effect: "NoExecute",
|
||||||
|
tolerationSeconds: 30,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "node.kubernetes.io/not-ready",
|
||||||
|
operator: "Exists",
|
||||||
|
effect: "NoExecute",
|
||||||
|
tolerationSeconds: 30,
|
||||||
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user