Skip to content

Commit

Permalink
Update mysql operator release version (#64)
Browse files Browse the repository at this point in the history
Co-authored-by: Carlos Gonzalez <[email protected]>
  • Loading branch information
carlosgo13 and Carlos Gonzalez authored Jul 9, 2024
1 parent 78886ba commit ba085c9
Show file tree
Hide file tree
Showing 11 changed files with 28 additions and 22 deletions.
8 changes: 7 additions & 1 deletion bin/update_charts
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -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" \
Expand Down
6 changes: 3 additions & 3 deletions defaults/main/argocd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: []
Expand Down
4 changes: 2 additions & 2 deletions defaults/main/certmanager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 2 additions & 2 deletions defaults/main/longhorn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions defaults/main/metallb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
4 changes: 2 additions & 2 deletions defaults/main/mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 2 additions & 2 deletions defaults/main/nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
4 changes: 2 additions & 2 deletions defaults/main/opensearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
4 changes: 2 additions & 2 deletions defaults/main/reflector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
4 changes: 2 additions & 2 deletions defaults/main/sealedsecrets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions defaults/main/zalando.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit ba085c9

Please sign in to comment.