diff --git a/bin/update_charts b/bin/update_charts index 91daf1f..b35ad1e 100755 --- a/bin/update_charts +++ b/bin/update_charts @@ -1,5 +1,7 @@ #!/usr/bin/env bash +date_darwin="-Iseconds" +date_linux="--iso-8601=seconds" release_files=$(grep -Rl "k8s_.*_release:" defaults/) for file in $release_files; do ref_versions=$(grep --no-filename "k8s_.*_release:" "$file" | cut -d':' -f 1) @@ -32,7 +34,11 @@ for file in $chart_files; do helm repo update >/dev/null 2>&1 version=$(helm search repo "$chart/$chart" -o json | jq '.[0].version' -r) tmp="$(mktemp)" - timestamp=$(date --iso-8601=seconds) + if [[ "$OSTYPE" == "linux-gnu"* ]]; then + timestamp=$(date $date_linux) + elif [[ "$OSTYPE" == "darwin"* ]]; then + timestamp=$(date $date_darwin) + fi # shellcheck disable=SC2016 yq eval-all '. as $item ireduce ({}; . * $item)' \ "$file" \ diff --git a/defaults/main/argocd.yml b/defaults/main/argocd.yml index f1f57b2..ea7328f 100644 --- a/defaults/main/argocd.yml +++ b/defaults/main/argocd.yml @@ -8,8 +8,8 @@ k8s_argocd_exec_timeout: "3m" k8s_argocd_chart: name: "argo-cd" repo: "https://argoproj.github.io/argo-helm" - release: "6.7.14" - last_checked: "2024-04-23T22:53:28-06:00" + release: "7.3.4" + last_checked: "2024-07-09T16:00:20-05:00" k8s_argocd_chart_values: redis-ha: enabled: false @@ -31,7 +31,7 @@ k8s_argocd_apps_chart: name: "argocd-apps" repo: "https://argoproj.github.io/argo-helm" release: "2.0.0" - last_checked: "2024-04-23T22:53:35-06:00" + last_checked: "2024-07-09T16:00:25-05:00" k8s_argocd_apps_chart_values: applications: [] applicationsets: [] diff --git a/defaults/main/certmanager.yml b/defaults/main/certmanager.yml index 770a5bc..9a92ced 100644 --- a/defaults/main/certmanager.yml +++ b/defaults/main/certmanager.yml @@ -4,7 +4,7 @@ k8s_certmanager_namespace: "cert-manager" k8s_certmanager_chart: name: "cert-manager" repo: "https://charts.jetstack.io" - release: "v1.14.4" - last_checked: "2024-04-23T22:52:57-06:00" + release: "v1.15.1" + last_checked: "2024-07-09T16:00:35-05:00" k8s_certmanager_wait_timeout: "{{ k8s_wait_timeout }}" k8s_certmanager_cacert: "/usr/share/ca-certificates/{{ k8s_cluster_name }}.crt" diff --git a/defaults/main/longhorn.yml b/defaults/main/longhorn.yml index 8dcebec..7073891 100644 --- a/defaults/main/longhorn.yml +++ b/defaults/main/longhorn.yml @@ -6,8 +6,8 @@ k8s_longhorn_wait_timeout: "{{ k8s_wait_timeout }}" k8s_longhorn_chart: name: longhorn repo: "https://charts.longhorn.io" - release: "1.6.1" - last_checked: "2024-04-23T22:53:22-06:00" + release: "1.6.2" + last_checked: "2024-07-09T16:01:01-05:00" k8s_longhorn_chart_values: persistence: defaultClass: false diff --git a/defaults/main/metallb.yml b/defaults/main/metallb.yml index 786b94d..0bd2e3e 100644 --- a/defaults/main/metallb.yml +++ b/defaults/main/metallb.yml @@ -3,6 +3,6 @@ k8s_metallb_namespace: "metallb-system" k8s_metallb_chart: name: "metallb" repo: "https://charts.bitnami.com/bitnami" - release: "6.1.2" - last_checked: "2024-04-23T22:53:48-06:00" + release: "6.3.7" + last_checked: "2024-07-09T16:00:30-05:00" k8s_metallb_wait_timeout: "{{ k8s_wait_timeout }}" diff --git a/defaults/main/mysql.yml b/defaults/main/mysql.yml index fa597ad..0786ecf 100644 --- a/defaults/main/mysql.yml +++ b/defaults/main/mysql.yml @@ -6,5 +6,5 @@ k8s_mysql_wait_timeout: "{{ k8s_wait_timeout }}" k8s_mysql_chart: name: "mysql-operator" repo: "https://mysql.github.io/mysql-operator" - release: "2.1.3" - last_checked: "2024-05-02T11:13:05-05:00" + release: "2.2.0" + last_checked: "2024-07-09T16:00:45-05:00" diff --git a/defaults/main/nginx.yml b/defaults/main/nginx.yml index 5f7b121..ad104f5 100644 --- a/defaults/main/nginx.yml +++ b/defaults/main/nginx.yml @@ -5,6 +5,6 @@ k8s_nginx_namespace: "nginx" k8s_nginx_chart: name: "ingress-nginx" repo: "https://kubernetes.github.io/ingress-nginx" - release: "4.10.0" - last_checked: "2024-04-23T22:53:16-06:00" + release: "4.11.0" + last_checked: "2024-07-09T16:00:40-05:00" k8s_nginx_wait_timeout: "{{ k8s_wait_timeout }}" diff --git a/defaults/main/opensearch.yml b/defaults/main/opensearch.yml index 43bc1b2..63d4d3c 100644 --- a/defaults/main/opensearch.yml +++ b/defaults/main/opensearch.yml @@ -4,7 +4,7 @@ k8s_opensearch_verify: "{{ k8s_opensearch_deploy }}" k8s_opensearch_chart: name: "opensearch-operator" repo: "https://opensearch-project.github.io/opensearch-k8s-operator" - release: "2.4.0" - last_checked: "2024-04-23T11:38:48-06:00" + release: "2.6.1" + last_checked: "2024-07-09T16:01:16-05:00" k8s_opensearch_namespace: opensearch k8s_opensearch_wait_timeout: "{{ k8s_wait_timeout }}" diff --git a/defaults/main/reflector.yml b/defaults/main/reflector.yml index 00e2899..e544cf6 100644 --- a/defaults/main/reflector.yml +++ b/defaults/main/reflector.yml @@ -4,6 +4,6 @@ k8s_reflector_namespace: "kube-system" k8s_reflector_chart: name: "reflector" repo: "https://emberstack.github.io/helm-charts" - release: "7.1.262" - last_checked: "2024-04-23T22:52:49-06:00" + release: "7.1.288" + last_checked: "2024-07-09T16:01:06-05:00" k8s_reflector_wait_timeout: "{{ k8s_wait_timeout }}" diff --git a/defaults/main/sealedsecrets.yml b/defaults/main/sealedsecrets.yml index 9aad58c..16dc0f6 100644 --- a/defaults/main/sealedsecrets.yml +++ b/defaults/main/sealedsecrets.yml @@ -5,8 +5,8 @@ k8s_sealedsecrets_namespace: "kube-system" k8s_sealedsecrets_chart: name: "sealed-secrets" repo: "https://bitnami-labs.github.io/sealed-secrets" - release: "2.15.3" - last_checked: "2024-04-23T22:52:36-06:00" + release: "2.16.0" + last_checked: "2024-07-09T16:00:55-05:00" k8s_sealedsecrets_wait_timeout: "{{ k8s_wait_timeout }}" k8s_sealedsecrets_values: fullnameOverride: sealed-secrets-controller diff --git a/defaults/main/zalando.yml b/defaults/main/zalando.yml index fc56068..ce5f3c6 100644 --- a/defaults/main/zalando.yml +++ b/defaults/main/zalando.yml @@ -8,5 +8,5 @@ k8s_zalando_secret_template: "{username}-{cluster}" k8s_zalando_chart: name: "postgres-operator" repo: "https://opensource.zalando.com/postgres-operator/charts/postgres-operator" - release: "1.11.0" - last_checked: "2024-04-23T22:52:43-06:00" + release: "1.12.2" + last_checked: "2024-07-09T16:01:22-05:00"