Skip to content

Commit

Permalink
feat: yeet csr-approver
Browse files Browse the repository at this point in the history
  • Loading branch information
joryirving committed Jan 6, 2025
1 parent 51dec4a commit a1dda4d
Show file tree
Hide file tree
Showing 21 changed files with 8 additions and 194 deletions.
4 changes: 2 additions & 2 deletions .taskfiles/talos/Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ tasks:
cmds:
- task: down
- talosctl apply-config --nodes {{.HOSTNAME}} --mode={{.MODE}} --file {{.CLUSTER_DIR}}/talos/clusterconfig/{{.CLUSTER}}-{{.HOSTNAME}}.yaml
- talosctl --nodes {{.HOSTNAME}} health --wait-timeout=10m --server=false
- talosctl --nodes {{.HOSTNAME}} health
- task: up
vars:
MODE: '{{.MODE | default "auto"}}'
Expand Down Expand Up @@ -68,7 +68,7 @@ tasks:
cmds:
- task: down
- talosctl --nodes {{.HOSTNAME}} reboot
- talosctl --nodes {{.HOSTNAME}} health --wait-timeout=10m --server=false
- talosctl --nodes {{.HOSTNAME}} health
- task: up
requires:
vars: [CLUSTER, HOSTNAME]
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

21 changes: 0 additions & 21 deletions kubernetes/main/apps/kube-system/kubelet-csr-approver/ks.yaml

This file was deleted.

1 change: 0 additions & 1 deletion kubernetes/main/apps/kube-system/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ resources:
# Flux-Kustomizations
- ./cilium/ks.yaml
- ./coredns/ks.yaml
- ./kubelet-csr-approver/ks.yaml
- ./metrics-server/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ spec:
values:
replicas: 2
args:
- --kubelet-insecure-tls
- --kubelet-preferred-address-types=InternalIP,ExternalIP,Hostname
- --kubelet-use-node-status-port
- --metric-resolution=15s
- --metric-resolution=10s
- --kubelet-request-timeout=2s
metrics:
enabled: true
serviceMonitor:
Expand Down
9 changes: 1 addition & 8 deletions kubernetes/main/bootstrap/apps/helmfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,9 @@ releases:
helm.toolkit.fluxcd.io/namespace: *namespace
needs: ["kube-system/cilium"]

- name: kubelet-csr-approver
namespace: kube-system
chart: postfinance/kubelet-csr-approver
version: 1.2.4
values: ["../../apps/kube-system/kubelet-csr-approver/app/helm-values.yaml"]
needs: ["kube-system/coredns"]

- name: spegel
namespace: kube-system
chart: oci://ghcr.io/spegel-org/helm-charts/spegel
version: v0.0.28
values: ["../../apps/kube-system/spegel/app/helm-values.yaml"]
needs: ["kube-system/kubelet-csr-approver"]
needs: ["kube-system/coredns"]
4 changes: 0 additions & 4 deletions kubernetes/main/talos/talconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,6 @@ patches:
- |-
machine:
kubelet:
extraArgs:
image-gc-low-threshold: 50
image-gc-high-threshold: 55
rotate-server-certificates: true
nodeIP:
validSubnets:
- "10.69.1.0/24"
Expand Down
1 change: 0 additions & 1 deletion kubernetes/shared/repos/helm/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ resources:
- ./metrics-server.yaml
- ./openebs.yaml
- ./piraeus.yaml
- ./postfinance.yaml
- ./prometheus-community.yaml
- ./spegel.yaml
- ./stakater.yaml
Expand Down
10 changes: 0 additions & 10 deletions kubernetes/shared/repos/helm/postfinance.yaml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

20 changes: 0 additions & 20 deletions kubernetes/utility/apps/kube-system/kubelet-csr-approver/ks.yaml

This file was deleted.

1 change: 0 additions & 1 deletion kubernetes/utility/apps/kube-system/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ resources:
# Flux-Kustomizations
- ./cilium/ks.yaml
- ./coredns/ks.yaml
- ./kubelet-csr-approver/ks.yaml
- ./metrics-server/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ spec:
- --kubelet-insecure-tls
- --kubelet-preferred-address-types=InternalIP,ExternalIP,Hostname
- --kubelet-use-node-status-port
- --metric-resolution=15s
- --metric-resolution=10s
- --kubelet-request-timeout=2s
metrics:
enabled: true
serviceMonitor:
Expand Down
8 changes: 0 additions & 8 deletions kubernetes/utility/bootstrap/apps/helmfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,3 @@ releases:
helm.toolkit.fluxcd.io/name: *name
helm.toolkit.fluxcd.io/namespace: *namespace
needs: ["kube-system/cilium"]

- name: kubelet-csr-approver
namespace: kube-system
chart: postfinance/kubelet-csr-approver
version: 1.2.4
values: ["../../apps/kube-system/kubelet-csr-approver/app/helm-values.yaml"]
needs: ["kube-system/coredns"]

4 changes: 0 additions & 4 deletions kubernetes/utility/talos/talconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,6 @@ patches:
- |-
machine:
kubelet:
extraArgs:
image-gc-low-threshold: 50
image-gc-high-threshold: 55
rotate-server-certificates: true
nodeIP:
validSubnets:
- "10.69.1.0/24"
Expand Down

0 comments on commit a1dda4d

Please sign in to comment.