From 35b4b2bc07a1ff75c8717ef31be3147e04cdd1eb Mon Sep 17 00:00:00 2001 From: Daniele De Lorenzi Date: Fri, 29 Dec 2023 14:16:18 +0100 Subject: [PATCH] Update fluxcd api's version Signed-off-by: Daniele De Lorenzi --- apps/k8s-vms-daniele/awx/secrets.yml | 2 +- apps/k8s-vms-daniele/fluxcd/secrets.yaml | 2 +- apps/k8s-vms-daniele/sysdig-agent/secrets.yaml | 2 +- .../system-upgrade-controller/deploy-app.yaml | 2 +- apps/k8s-vms-daniele/teleport-agent/secrets.yaml | 2 +- apps/kubenuc/bareos/deploy-app.yaml | 2 +- apps/kubenuc/film-tv-exporter/deploy.yaml | 2 +- apps/kubenuc/fluxcd/notifications.yaml | 12 ++++++++---- apps/kubenuc/fluxcd/secrets.yaml | 2 +- apps/kubenuc/mediaserver/deploy-app.yaml | 2 +- apps/kubenuc/net-mon/deploy.yaml | 2 +- apps/kubenuc/nextcloud/secrets.yaml | 2 +- apps/kubenuc/nut/deploy.yaml | 2 +- apps/kubenuc/sendgrid/deploy.yaml | 2 +- apps/kubenuc/sysdig-agent/secrets.yaml | 2 +- apps/kubenuc/sysdig-harbor-scanner/secrets.yaml | 2 +- .../system-upgrade-controller/deploy-app.yaml | 2 +- apps/kubenuc/unifi/secrets.yaml | 2 +- apps/oc-ampere/sysdig-agent/secrets.yaml | 2 +- charts/awx.yml | 2 +- charts/bitnami.yml | 2 +- charts/cetic.yml | 2 +- charts/crowdsec.yml | 2 +- charts/harbor.yml | 2 +- charts/ingress-nginx.yml | 2 +- charts/k8s-at-home.yml | 2 +- charts/kubernetes-sigs.yml | 2 +- charts/nextcloud.yml | 2 +- charts/portainer.yml | 2 +- charts/prometheus-community.yml | 2 +- charts/sysdig.yml | 2 +- charts/teleport.yml | 2 +- charts/zabbix-community.yml | 2 +- clusters/k8s-vms-daniele/apps.yaml | 2 +- clusters/k8s-vms-daniele/charts.yaml | 2 +- clusters/kubenuc/apps.yaml | 2 +- clusters/kubenuc/charts.yaml | 2 +- clusters/oc-ampere/apps.yaml | 2 +- clusters/oc-ampere/charts.yaml | 2 +- 39 files changed, 46 insertions(+), 42 deletions(-) diff --git a/apps/k8s-vms-daniele/awx/secrets.yml b/apps/k8s-vms-daniele/awx/secrets.yml index 7582edd3..4f8c383a 100644 --- a/apps/k8s-vms-daniele/awx/secrets.yml +++ b/apps/k8s-vms-daniele/awx/secrets.yml @@ -1,5 +1,5 @@ --- -apiVersion: kustomize.toolkit.fluxcd.io/v1beta2 +apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: awx-secrets diff --git a/apps/k8s-vms-daniele/fluxcd/secrets.yaml b/apps/k8s-vms-daniele/fluxcd/secrets.yaml index 56e6cb2b..60c29727 100644 --- a/apps/k8s-vms-daniele/fluxcd/secrets.yaml +++ b/apps/k8s-vms-daniele/fluxcd/secrets.yaml @@ -1,4 +1,4 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1beta1 +apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: slack-secrets diff --git a/apps/k8s-vms-daniele/sysdig-agent/secrets.yaml b/apps/k8s-vms-daniele/sysdig-agent/secrets.yaml index cdfea01d..1f56200d 100644 --- a/apps/k8s-vms-daniele/sysdig-agent/secrets.yaml +++ b/apps/k8s-vms-daniele/sysdig-agent/secrets.yaml @@ -1,4 +1,4 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1beta2 +apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: sysdig-agent-secrets diff --git a/apps/k8s-vms-daniele/system-upgrade-controller/deploy-app.yaml b/apps/k8s-vms-daniele/system-upgrade-controller/deploy-app.yaml index 1d257a89..3bdfe58a 100644 --- a/apps/k8s-vms-daniele/system-upgrade-controller/deploy-app.yaml +++ b/apps/k8s-vms-daniele/system-upgrade-controller/deploy-app.yaml @@ -1,4 +1,4 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1beta1 +apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: system-upgrade diff --git a/apps/k8s-vms-daniele/teleport-agent/secrets.yaml b/apps/k8s-vms-daniele/teleport-agent/secrets.yaml index 98db60d5..8899ce69 100644 --- a/apps/k8s-vms-daniele/teleport-agent/secrets.yaml +++ b/apps/k8s-vms-daniele/teleport-agent/secrets.yaml @@ -1,4 +1,4 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1beta2 +apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: teleport-kube-agent-join-token diff --git a/apps/kubenuc/bareos/deploy-app.yaml b/apps/kubenuc/bareos/deploy-app.yaml index b256b4bd..111b0001 100644 --- a/apps/kubenuc/bareos/deploy-app.yaml +++ b/apps/kubenuc/bareos/deploy-app.yaml @@ -1,4 +1,4 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1beta1 +apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: bareos-app diff --git a/apps/kubenuc/film-tv-exporter/deploy.yaml b/apps/kubenuc/film-tv-exporter/deploy.yaml index a747d709..87cf6ffd 100644 --- a/apps/kubenuc/film-tv-exporter/deploy.yaml +++ b/apps/kubenuc/film-tv-exporter/deploy.yaml @@ -1,5 +1,5 @@ --- -apiVersion: kustomize.toolkit.fluxcd.io/v1beta1 +apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: film-tv-app diff --git a/apps/kubenuc/fluxcd/notifications.yaml b/apps/kubenuc/fluxcd/notifications.yaml index db0f4725..a84ea2c4 100644 --- a/apps/kubenuc/fluxcd/notifications.yaml +++ b/apps/kubenuc/fluxcd/notifications.yaml @@ -1,5 +1,5 @@ --- -apiVersion: notification.toolkit.fluxcd.io/v1beta1 +apiVersion: notification.toolkit.fluxcd.io/v1beta3 kind: Provider metadata: name: slack @@ -10,15 +10,19 @@ spec: secretRef: name: slack-url --- -apiVersion: notification.toolkit.fluxcd.io/v1beta1 +apiVersion: notification.toolkit.fluxcd.io/v1beta3 kind: Alert metadata: name: fluxcd-notifications namespace: flux-system spec: - summary: "kubenuc cluster" + summary: "cluster status" providerRef: name: slack + eventMetadata: + env: "production" + cluster: "kubenuc" + region: "milan" eventSeverity: info eventSources: - kind: GitRepository @@ -28,4 +32,4 @@ spec: - kind: HelmRelease name: '*' # - kind: Kustomization -# name: '*' +# name: '*' \ No newline at end of file diff --git a/apps/kubenuc/fluxcd/secrets.yaml b/apps/kubenuc/fluxcd/secrets.yaml index 33e3bcc0..78873dec 100644 --- a/apps/kubenuc/fluxcd/secrets.yaml +++ b/apps/kubenuc/fluxcd/secrets.yaml @@ -1,4 +1,4 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1beta1 +apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: slack-secrets diff --git a/apps/kubenuc/mediaserver/deploy-app.yaml b/apps/kubenuc/mediaserver/deploy-app.yaml index a01ae094..48fcd72c 100644 --- a/apps/kubenuc/mediaserver/deploy-app.yaml +++ b/apps/kubenuc/mediaserver/deploy-app.yaml @@ -1,4 +1,4 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1beta1 +apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: mediaserver-app diff --git a/apps/kubenuc/net-mon/deploy.yaml b/apps/kubenuc/net-mon/deploy.yaml index d85454cd..eec49d79 100644 --- a/apps/kubenuc/net-mon/deploy.yaml +++ b/apps/kubenuc/net-mon/deploy.yaml @@ -1,5 +1,5 @@ --- -apiVersion: kustomize.toolkit.fluxcd.io/v1beta1 +apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: net-mon diff --git a/apps/kubenuc/nextcloud/secrets.yaml b/apps/kubenuc/nextcloud/secrets.yaml index db164edf..f3fa1283 100644 --- a/apps/kubenuc/nextcloud/secrets.yaml +++ b/apps/kubenuc/nextcloud/secrets.yaml @@ -1,4 +1,4 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1beta1 +apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: nextcloud-secrets diff --git a/apps/kubenuc/nut/deploy.yaml b/apps/kubenuc/nut/deploy.yaml index 741c2b9b..0b8cb02b 100644 --- a/apps/kubenuc/nut/deploy.yaml +++ b/apps/kubenuc/nut/deploy.yaml @@ -1,5 +1,5 @@ --- -apiVersion: kustomize.toolkit.fluxcd.io/v1beta1 +apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: nut-exporter diff --git a/apps/kubenuc/sendgrid/deploy.yaml b/apps/kubenuc/sendgrid/deploy.yaml index 56fa9d88..0f5f4763 100644 --- a/apps/kubenuc/sendgrid/deploy.yaml +++ b/apps/kubenuc/sendgrid/deploy.yaml @@ -1,5 +1,5 @@ --- -apiVersion: kustomize.toolkit.fluxcd.io/v1beta1 +apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: sendgrid-exporter diff --git a/apps/kubenuc/sysdig-agent/secrets.yaml b/apps/kubenuc/sysdig-agent/secrets.yaml index 48ab06e9..86fad0bb 100644 --- a/apps/kubenuc/sysdig-agent/secrets.yaml +++ b/apps/kubenuc/sysdig-agent/secrets.yaml @@ -1,4 +1,4 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1beta1 +apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: sysdig-agent-secrets diff --git a/apps/kubenuc/sysdig-harbor-scanner/secrets.yaml b/apps/kubenuc/sysdig-harbor-scanner/secrets.yaml index 86430bae..29080f62 100644 --- a/apps/kubenuc/sysdig-harbor-scanner/secrets.yaml +++ b/apps/kubenuc/sysdig-harbor-scanner/secrets.yaml @@ -1,4 +1,4 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1beta1 +apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: harbor-scanner-secret diff --git a/apps/kubenuc/system-upgrade-controller/deploy-app.yaml b/apps/kubenuc/system-upgrade-controller/deploy-app.yaml index ab4577dd..f68b3e84 100644 --- a/apps/kubenuc/system-upgrade-controller/deploy-app.yaml +++ b/apps/kubenuc/system-upgrade-controller/deploy-app.yaml @@ -1,4 +1,4 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1beta1 +apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: system-upgrade diff --git a/apps/kubenuc/unifi/secrets.yaml b/apps/kubenuc/unifi/secrets.yaml index e4a05904..6cb93e56 100644 --- a/apps/kubenuc/unifi/secrets.yaml +++ b/apps/kubenuc/unifi/secrets.yaml @@ -1,4 +1,4 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1beta1 +apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: unifi-poller-secrets diff --git a/apps/oc-ampere/sysdig-agent/secrets.yaml b/apps/oc-ampere/sysdig-agent/secrets.yaml index cdfea01d..1f56200d 100644 --- a/apps/oc-ampere/sysdig-agent/secrets.yaml +++ b/apps/oc-ampere/sysdig-agent/secrets.yaml @@ -1,4 +1,4 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1beta2 +apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: sysdig-agent-secrets diff --git a/charts/awx.yml b/charts/awx.yml index 5d66f4e1..1f5bdd1a 100644 --- a/charts/awx.yml +++ b/charts/awx.yml @@ -1,5 +1,5 @@ --- -apiVersion: source.toolkit.fluxcd.io/v1beta2 +apiVersion: source.toolkit.fluxcd.io/v1 kind: HelmRepository metadata: name: awx-chart diff --git a/charts/bitnami.yml b/charts/bitnami.yml index 1f79a92f..7c6d0bb0 100644 --- a/charts/bitnami.yml +++ b/charts/bitnami.yml @@ -1,5 +1,5 @@ --- -apiVersion: source.toolkit.fluxcd.io/v1beta2 +apiVersion: source.toolkit.fluxcd.io/v1 kind: HelmRepository metadata: name: bitnami-chart diff --git a/charts/cetic.yml b/charts/cetic.yml index 5f582ae3..85f94eed 100644 --- a/charts/cetic.yml +++ b/charts/cetic.yml @@ -1,5 +1,5 @@ --- -apiVersion: source.toolkit.fluxcd.io/v1beta2 +apiVersion: source.toolkit.fluxcd.io/v1 kind: HelmRepository metadata: name: cetic-charts diff --git a/charts/crowdsec.yml b/charts/crowdsec.yml index 0a51ef8c..4188721f 100644 --- a/charts/crowdsec.yml +++ b/charts/crowdsec.yml @@ -1,5 +1,5 @@ --- -apiVersion: source.toolkit.fluxcd.io/v1beta2 +apiVersion: source.toolkit.fluxcd.io/v1 kind: HelmRepository metadata: name: crowdsec diff --git a/charts/harbor.yml b/charts/harbor.yml index 3ac8e1f4..f6e89f1c 100644 --- a/charts/harbor.yml +++ b/charts/harbor.yml @@ -1,5 +1,5 @@ --- -apiVersion: source.toolkit.fluxcd.io/v1beta2 +apiVersion: source.toolkit.fluxcd.io/v1 kind: HelmRepository metadata: name: harbor-charts diff --git a/charts/ingress-nginx.yml b/charts/ingress-nginx.yml index 020bbbaa..c88391e6 100644 --- a/charts/ingress-nginx.yml +++ b/charts/ingress-nginx.yml @@ -1,5 +1,5 @@ --- -apiVersion: source.toolkit.fluxcd.io/v1beta2 +apiVersion: source.toolkit.fluxcd.io/v1 kind: HelmRepository metadata: name: ingress-nginx diff --git a/charts/k8s-at-home.yml b/charts/k8s-at-home.yml index c696afb8..f9d808b8 100644 --- a/charts/k8s-at-home.yml +++ b/charts/k8s-at-home.yml @@ -1,5 +1,5 @@ --- -apiVersion: source.toolkit.fluxcd.io/v1beta2 +apiVersion: source.toolkit.fluxcd.io/v1 kind: HelmRepository metadata: name: k8s-at-home-charts diff --git a/charts/kubernetes-sigs.yml b/charts/kubernetes-sigs.yml index f9b454ae..90ebbab2 100644 --- a/charts/kubernetes-sigs.yml +++ b/charts/kubernetes-sigs.yml @@ -1,5 +1,5 @@ --- -apiVersion: source.toolkit.fluxcd.io/v1beta2 +apiVersion: source.toolkit.fluxcd.io/v1 kind: HelmRepository metadata: name: kubernetes-sigs-chart diff --git a/charts/nextcloud.yml b/charts/nextcloud.yml index ff61b84e..a2537af2 100644 --- a/charts/nextcloud.yml +++ b/charts/nextcloud.yml @@ -1,5 +1,5 @@ --- -apiVersion: source.toolkit.fluxcd.io/v1beta2 +apiVersion: source.toolkit.fluxcd.io/v1 kind: HelmRepository metadata: name: nextcloud diff --git a/charts/portainer.yml b/charts/portainer.yml index b81111ac..def056c8 100644 --- a/charts/portainer.yml +++ b/charts/portainer.yml @@ -1,5 +1,5 @@ --- -apiVersion: source.toolkit.fluxcd.io/v1beta2 +apiVersion: source.toolkit.fluxcd.io/v1 kind: HelmRepository metadata: name: portainer-charts diff --git a/charts/prometheus-community.yml b/charts/prometheus-community.yml index 42d36ee6..35549cf4 100644 --- a/charts/prometheus-community.yml +++ b/charts/prometheus-community.yml @@ -1,5 +1,5 @@ --- -apiVersion: source.toolkit.fluxcd.io/v1beta2 +apiVersion: source.toolkit.fluxcd.io/v1 kind: HelmRepository metadata: name: prometheus-community-charts diff --git a/charts/sysdig.yml b/charts/sysdig.yml index a573c09b..c852943f 100644 --- a/charts/sysdig.yml +++ b/charts/sysdig.yml @@ -1,5 +1,5 @@ --- -apiVersion: source.toolkit.fluxcd.io/v1beta2 +apiVersion: source.toolkit.fluxcd.io/v1 kind: HelmRepository metadata: name: sysdig-charts diff --git a/charts/teleport.yml b/charts/teleport.yml index 90efa4bd..f41e8b6b 100644 --- a/charts/teleport.yml +++ b/charts/teleport.yml @@ -1,5 +1,5 @@ --- -apiVersion: source.toolkit.fluxcd.io/v1beta2 +apiVersion: source.toolkit.fluxcd.io/v1 kind: HelmRepository metadata: name: teleport-charts diff --git a/charts/zabbix-community.yml b/charts/zabbix-community.yml index 119602e4..33f10b66 100644 --- a/charts/zabbix-community.yml +++ b/charts/zabbix-community.yml @@ -1,5 +1,5 @@ --- -apiVersion: source.toolkit.fluxcd.io/v1beta2 +apiVersion: source.toolkit.fluxcd.io/v1 kind: HelmRepository metadata: name: zabbix-community-charts diff --git a/clusters/k8s-vms-daniele/apps.yaml b/clusters/k8s-vms-daniele/apps.yaml index bb8878d8..47722b87 100644 --- a/clusters/k8s-vms-daniele/apps.yaml +++ b/clusters/k8s-vms-daniele/apps.yaml @@ -1,4 +1,4 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1beta2 +apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: apps diff --git a/clusters/k8s-vms-daniele/charts.yaml b/clusters/k8s-vms-daniele/charts.yaml index 71f101d6..afcd0849 100644 --- a/clusters/k8s-vms-daniele/charts.yaml +++ b/clusters/k8s-vms-daniele/charts.yaml @@ -1,5 +1,5 @@ --- -apiVersion: kustomize.toolkit.fluxcd.io/v1beta2 +apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: charts diff --git a/clusters/kubenuc/apps.yaml b/clusters/kubenuc/apps.yaml index 6064c5ba..e9f25cd6 100644 --- a/clusters/kubenuc/apps.yaml +++ b/clusters/kubenuc/apps.yaml @@ -1,4 +1,4 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1beta2 +apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: apps diff --git a/clusters/kubenuc/charts.yaml b/clusters/kubenuc/charts.yaml index 0f34353d..d98805b3 100644 --- a/clusters/kubenuc/charts.yaml +++ b/clusters/kubenuc/charts.yaml @@ -1,5 +1,5 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1beta1 +apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: charts diff --git a/clusters/oc-ampere/apps.yaml b/clusters/oc-ampere/apps.yaml index abd5a07d..a52384f7 100644 --- a/clusters/oc-ampere/apps.yaml +++ b/clusters/oc-ampere/apps.yaml @@ -1,4 +1,4 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1beta2 +apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: apps diff --git a/clusters/oc-ampere/charts.yaml b/clusters/oc-ampere/charts.yaml index 0f34353d..d98805b3 100644 --- a/clusters/oc-ampere/charts.yaml +++ b/clusters/oc-ampere/charts.yaml @@ -1,5 +1,5 @@ -apiVersion: kustomize.toolkit.fluxcd.io/v1beta1 +apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: name: charts