Skip to content

Commit 485c9df

Browse files
committed
Refactor cert-manager
1 parent 618d162 commit 485c9df

File tree

4 files changed

+17
-30
lines changed

4 files changed

+17
-30
lines changed

infra/argo-apps/cert-manager.yaml

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,22 @@ metadata:
55
namespace: argocd
66
spec:
77
project: infra
8-
source:
9-
chart: cert-manager
10-
helm:
11-
values: |-
12-
installCRDs: true
13-
global:
14-
leaderElection:
15-
namespace: cert-manager
16-
prometheus:
17-
enabled: false
18-
repoURL: https://charts.jetstack.io
19-
targetRevision: v1.17.2
8+
sources:
9+
- chart: cert-manager
10+
helm:
11+
values: |-
12+
global:
13+
leaderElection:
14+
namespace: cert-manager
15+
crds:
16+
enabled: true
17+
prometheus:
18+
enabled: false
19+
repoURL: https://charts.jetstack.io
20+
targetRevision: v1.18.2
21+
- repoURL: https://github.com/code4romania/code4ro-k8s.git
22+
path: infra/cert-manager
23+
targetRevision: HEAD
2024
destination:
2125
namespace: cert-manager
2226
server: https://kubernetes.default.svc

infra/argocd/kustomization.yaml

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@ kind: Kustomization
33

44
namespace: argocd
55
resources:
6-
- https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml?ref=v2.14.2
6+
- https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml?ref=v3.0.12
77
- namespace.yaml
88
- project.yaml
9-
- domain-mapping.yaml
109
- sealed-secret.yaml
1110

1211
patches:
@@ -21,19 +20,3 @@ patches:
2120
version: v1
2221
kind: ConfigMap
2322
name: argocd-cm
24-
- patch: |-
25-
kind: not-important
26-
metadata:
27-
name: not-important
28-
spec:
29-
template:
30-
spec:
31-
nodeSelector:
32-
nodegroup-role: spot
33-
tolerations:
34-
- key: "nodegroup-role"
35-
operator: "Equal"
36-
value: "spot"
37-
effect: "NoSchedule"
38-
target:
39-
kind: (StatefulSet|Deployment)

0 commit comments

Comments
 (0)