Compare commits

...

50 commits

Author SHA1 Message Date
05e0c8558c chore: update helm release argo-cd to v7.3.8 2024-07-18 02:04:34 +00:00
7a934a9c0f chore: update helm release argo-cd to v7.3.6 2024-07-12 02:00:44 +00:00
738291fe4b chore: update helm release ingress-nginx to 4.11.* 2024-07-09 02:00:46 +00:00
ac9e8d4a43 chore: update helm release argo-cd to v7.3.4 2024-07-04 14:00:47 +00:00
2574a9ff4d chore: update dependency k3s-io/k3s to v1.30.2+k3s1 2024-06-28 02:00:47 +00:00
1d39674dbd chore: update helm release argo-cd to v7.3.1 2024-06-26 02:00:49 +00:00
a80dfc4b54 chore: update helm release argo-cd to v7.2.0 2024-06-21 02:00:44 +00:00
99908ed55b feat(zabbix-proxy): update helm chart repository to v7 2024-06-20 14:19:25 +02:00
61a3057a0a chore: update helm release argo-cd to v7.1.5 2024-06-20 02:00:43 +00:00
210055c43b chore: update helm release argo-cd to v7.1.4 2024-06-18 02:01:03 +00:00
a272504bca chore: update helm release argo-cd to v7.1.2 2024-06-07 02:00:57 +00:00
38c32f0fb3 break(cert-manager): adjust chart values for CRDs 2024-06-06 07:55:38 +02:00
30c38b281d chore: update helm release cert-manager to 1.15.* 2024-06-06 02:00:57 +00:00
c6e5b93055 chore: update helm release argo-cd to v7 2024-06-05 06:18:59 +00:00
fe6b44554f chore: update dependency k3s-io/k3s to v1.30.1+k3s1 2024-06-05 06:09:24 +00:00
fa7fea315f chore: update helm release argo-cd to v6.11.1 2024-05-24 02:00:39 +00:00
e541b539d7 chore: update dependency k3s-io/k3s to v1.30.0+k3s1 2024-05-17 06:21:01 +00:00
b84ac9686d chore: update helm release argo-cd to v6.9.2 2024-05-15 02:00:43 +00:00
bb7804344f chore: update helm release argo-cd to v6.8.0 2024-05-09 02:00:43 +00:00
6c9c86df57 chore: update helm release argo-cd to v6.7.18 2024-05-06 10:03:24 +00:00
adfd98283c chore: update dependency k3s-io/k3s to v1.29.4+k3s1 2024-04-27 02:00:53 +00:00
f1210f501a chore: update helm release argo-cd to v6.7.15 2024-04-25 10:26:57 +00:00
160247d69f fix: consistent jsonnet format for renovate 2024-04-25 12:25:37 +02:00
003f654836 chore: update helm release argo-cd to v6.7.14 2024-04-22 02:00:36 +00:00
1be01b52ae feat(argocd): force-set server replicas 2024-04-19 09:07:09 +02:00
22a1d646bf chore: update helm release argo-cd to v6.7.11 2024-04-11 02:01:14 +00:00
0098aa82ab chore: update helm release argo-cd to v6.7.10 2024-04-06 02:00:38 +00:00
b85658bbf6 fix: downgrade k3s to v1.29.2+k3s1
v1.29.3+k3s1 breaks patching the ingress controller

This reverts commit 638f1a7a46.
2024-04-05 10:16:23 +02:00
018b232cbe fix(init): update argocd app definition format
update project an application definition based an this (mostly useless)
changelog entry:

> make the chart use maps instead of lists

Usefull hints on the new structure can be found in then git diff:
https://github.com/argoproj/argo-helm/compare/argo-events-2.4.4...argocd-apps-2.0.0

or in the new valuesContent:
https://artifacthub.io/packages/helm/argo/argocd-apps?modal=values
2024-04-05 09:41:51 +02:00
a65d4e8455 chore: update helm release argocd-apps to v2 2024-04-05 07:21:27 +00:00
6989dad9a2 chore: update helm release argo-cd to v6.7.9 2024-04-05 07:21:21 +00:00
638f1a7a46 chore: update dependency k3s-io/k3s to v1.29.3+k3s1 2024-03-28 02:00:42 +00:00
2c9586be67 feat: add task to create a monthly cronjob for restarting k3s 2024-03-13 09:28:16 +01:00
eec3113ea1 chore: update dependency k3s-io/k3s to v1.29.2+k3s1 2024-03-13 08:23:13 +00:00
468148fb0a chore: update helm release ingress-nginx to 4.10.* 2024-03-13 08:23:03 +00:00
a95def7a2e chore: update helm release argo-cd to v6.7.1 2024-03-12 02:01:03 +00:00
3c7ea554fd chore: update helm release argo-cd to v6.4.0 2024-02-26 07:08:57 +00:00
2bb25a7a83 chore: update helm release argocd-apps to v1.6.2 2024-02-26 02:00:47 +00:00
92a5a80e83 chore: update helm release argo-cd to v6.3.1 2024-02-24 02:00:48 +00:00
fa1cf7959d chore: update dependency k3s-io/k3s to v1.29.1+k3s2 2024-02-15 06:33:53 +00:00
3a6ce860ad chore: update helm release argo-cd to v6 2024-02-15 02:00:43 +00:00
391b648c3c chore: update helm release argo-cd to v5.55.0 2024-02-08 02:01:10 +00:00
29c76102f4 chore: update helm release cert-manager to 1.14.* 2024-02-07 06:58:42 +00:00
d106010f42 chore: update helm release argo-cd to v5.54.0 2024-02-07 06:56:17 +00:00
635593f889 chore: update helm release argocd-apps to v1.6.1 2024-02-03 02:01:06 +00:00
9cf4731013 chore: update helm release argo-cd to v5.53.8 2024-01-23 02:00:36 +00:00
5ce963bdb4 chore: update helm release argo-cd to v5.52.0 2023-12-31 02:00:39 +00:00
a763bec661 chore: update dependency k3s-io/k3s to v1.29.0+k3s1 2023-12-22 06:45:46 +00:00
5d80234bd6 chore: update helm release ingress-nginx to 4.9.* 2023-12-22 02:01:05 +00:00
3ebd843458 break(monitoring): remove prometheus-stack and loki 2023-12-13 17:54:55 +01:00
9 changed files with 30 additions and 1581 deletions

View file

@ -23,7 +23,7 @@
"argocd-init\\.yml$" "argocd-init\\.yml$"
], ],
"matchStrings": [ "matchStrings": [
"\\s+repo:\\s(?<registryUrl>.*)\\n\\s+chart:\\s(?<depName>.*)\\n\\s+version:\\s(?<currentValue>.*)\\n" "\\s+chart:\\s(?<depName>.*)\\n\\s+repo:\\s(?<registryUrl>.*)\\n\\s+version:\\s(?<currentValue>.*)\\n"
], ],
"datasourceTemplate": "helm" "datasourceTemplate": "helm"
}, },
@ -35,8 +35,8 @@
], ],
"matchStrings": [ "matchStrings": [
"\\s+chart::\\s\\\"(?<depName>.*)\\\",", "\\s+chart::\\s\\\"(?<depName>.*)\\\",",
"\\s+version::\\s\\\"(?<currentValue>.*)\\\",", "\\s+repo::\\s\\\"(?<registryUrl>.*)\\\",",
"\\s+repo::\\s\\\"(?<registryUrl>.*)\\\"," "\\s+version::\\s\\\"(?<currentValue>.*)\\\","
], ],
"matchStringsStrategy": "combination", "matchStringsStrategy": "combination",
"datasourceTemplate": "helm" "datasourceTemplate": "helm"
@ -49,8 +49,8 @@
], ],
"matchStrings": [ "matchStrings": [
"\\s+chart::\\s\\\"(?<depName>.*)\\\",", "\\s+chart::\\s\\\"(?<depName>.*)\\\",",
"\\s+\\\"version\\\":\\s\\\"(?<currentValue>.*)\\\",", "\\s+repo::\\s\\\"(?<registryUrl>.*)\\\",",
"\\s+repo::\\s\\\"(?<registryUrl>.*)\\\"," "\\s+\\\"version\\\":\\s\\\"(?<currentValue>.*)\\\","
], ],
"matchStringsStrategy": "combination", "matchStringsStrategy": "combination",
"datasourceTemplate": "helm" "datasourceTemplate": "helm"

View file

@ -11,11 +11,13 @@ metadata:
namespace: kube-system namespace: kube-system
spec: spec:
# do not change order! (needed for renovate) # do not change order! (needed for renovate)
repo: https://argoproj.github.io/argo-helm
chart: argo-cd chart: argo-cd
version: 5.51.6 repo: https://argoproj.github.io/argo-helm
version: 7.3.8
targetNamespace: argocd targetNamespace: argocd
valuesContent: |- valuesContent: |-
server:
replicas: 1
applicationSet: applicationSet:
enabled: false enabled: false
notifications: notifications:
@ -30,13 +32,13 @@ metadata:
namespace: kube-system namespace: kube-system
spec: spec:
# do not change order! (needed for renovate) # do not change order! (needed for renovate)
repo: https://argoproj.github.io/argo-helm
chart: argocd-apps chart: argocd-apps
version: 1.4.1 repo: https://argoproj.github.io/argo-helm
version: 2.0.0
targetNamespace: argocd targetNamespace: argocd
valuesContent: |- valuesContent: |-
projects: projects:
- name: baseline baseline:
namespace: argocd namespace: argocd
finalizers: finalizers:
- resources-finalizer.argocd.argoproj.io - resources-finalizer.argocd.argoproj.io
@ -49,8 +51,7 @@ spec:
- group: '*' - group: '*'
kind: '*' kind: '*'
applications: applications:
- name: baseline baseline:
namespace: argocd
project: baseline project: baseline
finalizers: finalizers:
- resources-finalizer.argocd.argoproj.io - resources-finalizer.argocd.argoproj.io

View file

@ -4,9 +4,11 @@ local app = import "../_templates/argocd_app.libsonnet";
app + { app + {
chart:: "cert-manager", chart:: "cert-manager",
repo:: "https://charts.jetstack.io", repo:: "https://charts.jetstack.io",
version:: "1.13.*", version:: "1.15.*",
values:: ||| values:: |||
installCRDs: true crds:
enabled: true
keep: false
||| |||
}, },
] ]

View file

@ -4,7 +4,7 @@ local app = import "../_templates/argocd_app.libsonnet";
app + { app + {
chart:: "ingress-nginx", chart:: "ingress-nginx",
repo:: "https://kubernetes.github.io/ingress-nginx", repo:: "https://kubernetes.github.io/ingress-nginx",
version:: "4.8.*", version:: "4.11.*",
values:: ||| values:: |||
defaultBackend: defaultBackend:
enabled: true enabled: true

File diff suppressed because it is too large Load diff

View file

@ -1,39 +0,0 @@
local app = import "../../_templates/argocd_app.libsonnet";
[
app + {
name:: "loki",
namespace:: "metrics",
chart:: "loki-stack",
repo:: "https://grafana.github.io/helm-charts",
version:: "2.9.*",
syncOptions:: ["CreateNamespace=true", "Force=true"],
values:: |||
loki:
isDefault: false
promtail:
extraScrapeConfigs:
- job_name: journal
journal:
path: /var/log/journal
max_age: 12h
labels:
job: systemd-journal
relabel_configs:
- source_labels:
- '__journal__systemd_unit'
target_label: 'unit'
- source_labels:
- '__journal__hostname'
target_label: 'hostname'
extraVolumes:
- name: journal
hostPath:
path: /var/log/journal
extraVolumeMounts:
- name: journal
mountPath: /var/log/journal
readOnly: true
|||
}
]

View file

@ -1,47 +0,0 @@
# see https://blog.ediri.io/kube-prometheus-stack-and-argocd-23-how-to-remove-a-workaround
local app = import "../../_templates/argocd_app.libsonnet";
local vars = {
"version": "55.3.1",
"namespace": "metrics"
};
[
app + {
name:: "prometheus-crds",
namespace:: vars.namespace,
path:: "charts/kube-prometheus-stack/charts/crds/crds",
repo:: "https://github.com/prometheus-community/helm-charts.git",
version:: "kube-prometheus-stack-" + vars.version,
syncOptions:: ["CreateNamespace=true", "Replace=true"],
sync_wave:: -1,
},
app + {
name:: "prometheus-grafana",
namespace: vars.namespace,
chart:: "kube-prometheus-stack",
repo:: "https://prometheus-community.github.io/helm-charts",
version:: vars.version,
skipCrds:: true,
values:: |||
fullnameOverride: prometheus-stack
kubeProxy:
enabled: false
kubeScheduler:
enabled: false
kubeControllerManager:
enabled: false
alertmanager:
enabled: false
prometheus:
prometheusSpec:
storageSpec:
volumeClaimTemplate:
spec:
accessModes: ["ReadWriteOnce"]
resources:
requests:
storage: 10Gi
|||
}
]

View file

@ -5,8 +5,8 @@ app + {
name:: "zabbix-proxy", name:: "zabbix-proxy",
namespace:: "monitoring", namespace:: "monitoring",
chart:: "zabbix-helm-chrt", chart:: "zabbix-helm-chrt",
repo:: "https://cdn.zabbix.com/zabbix/integrations/kubernetes-helm/6.4", repo:: "https://cdn.zabbix.com/zabbix/integrations/kubernetes-helm/7.0",
version:: "1.3.*", version:: "0.0.*",
values:: ||| values:: |||
zabbixAgent: zabbixAgent:
enabled: false enabled: false

View file

@ -1,7 +1,7 @@
--- ---
- hosts: all - name: Install k3s server
hosts: all
gather_facts: false gather_facts: false
name: Install k3s server
tags: k3s-server tags: k3s-server
tasks: tasks:
- name: Download k3s install script - name: Download k3s install script
@ -12,7 +12,7 @@
- name: Install k3s server - name: Install k3s server
ansible.builtin.command: "k3s_install.sh" ansible.builtin.command: "k3s_install.sh"
environment: environment:
INSTALL_K3S_CHANNEL: v1.28.4+k3s1 INSTALL_K3S_CHANNEL: v1.30.2+k3s1
INSTALL_K3S_EXEC: "--disable traefik" INSTALL_K3S_EXEC: "--disable traefik"
changed_when: false changed_when: false
- name: Start and enable k3s server - name: Start and enable k3s server
@ -20,15 +20,20 @@
name: k3s name: k3s
state: started state: started
enabled: true enabled: true
- name: Add restart cronjob
ansible.builtin.cron:
name: "restart k3s (and regenerate certs if necessary)"
special_time: monthly
job: "systemctl restart k3s"
- name: Get kubeconfig - name: Get kubeconfig
ansible.builtin.fetch: ansible.builtin.fetch:
src: /etc/rancher/k3s/k3s.yaml src: /etc/rancher/k3s/k3s.yaml
dest: kubeconfig_{{ ansible_host }}.yml dest: kubeconfig_{{ ansible_host }}.yml
flat: true flat: true
- hosts: all - name: Deploy baseline
hosts: all
gather_facts: false gather_facts: false
name: Deploy baseline
tags: baseline tags: baseline
tasks: tasks:
- name: Copy manifest - name: Copy manifest