diff --git a/class/defaults.yml b/class/defaults.yml index fa5988c..dfc75c2 100644 --- a/class/defaults.yml +++ b/class/defaults.yml @@ -3,7 +3,7 @@ parameters: charts: k8up: source: https://k8up-io.github.io/k8up - version: 4.4.3 + version: 4.7.0 images: k8up: diff --git a/tests/golden/defaults/backup-k8up/backup-k8up/01_k8up_helmchart/k8up/templates/cleanup-hook.yaml b/tests/golden/defaults/backup-k8up/backup-k8up/01_k8up_helmchart/k8up/templates/cleanup-hook.yaml index 996acb9..56476d7 100644 --- a/tests/golden/defaults/backup-k8up/backup-k8up/01_k8up_helmchart/k8up/templates/cleanup-hook.yaml +++ b/tests/golden/defaults/backup-k8up/backup-k8up/01_k8up_helmchart/k8up/templates/cleanup-hook.yaml @@ -9,7 +9,7 @@ metadata: app.kubernetes.io/instance: k8up app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: k8up - helm.sh/chart: k8up-4.4.3 + helm.sh/chart: k8up-4.7.0 name: cleanup-service-account --- apiVersion: rbac.authorization.k8s.io/v1 @@ -23,7 +23,7 @@ metadata: app.kubernetes.io/instance: k8up app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: k8up - helm.sh/chart: k8up-4.4.3 + helm.sh/chart: k8up-4.7.0 name: k8up-cleanup-roles namespace: syn-backup-k8up rules: @@ -53,7 +53,7 @@ metadata: app.kubernetes.io/instance: k8up app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: k8up - helm.sh/chart: k8up-4.4.3 + helm.sh/chart: k8up-4.7.0 name: cleanup-rolebinding roleRef: apiGroup: rbac.authorization.k8s.io @@ -75,7 +75,7 @@ metadata: app.kubernetes.io/instance: k8up app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: k8up - helm.sh/chart: k8up-4.4.3 + helm.sh/chart: k8up-4.7.0 name: k8up-cleanup spec: template: diff --git a/tests/golden/defaults/backup-k8up/backup-k8up/01_k8up_helmchart/k8up/templates/clusterrolebinding.yaml b/tests/golden/defaults/backup-k8up/backup-k8up/01_k8up_helmchart/k8up/templates/clusterrolebinding.yaml index e885883..203570a 100644 --- a/tests/golden/defaults/backup-k8up/backup-k8up/01_k8up_helmchart/k8up/templates/clusterrolebinding.yaml +++ b/tests/golden/defaults/backup-k8up/backup-k8up/01_k8up_helmchart/k8up/templates/clusterrolebinding.yaml @@ -5,7 +5,7 @@ metadata: app.kubernetes.io/instance: k8up app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: k8up - helm.sh/chart: k8up-4.4.3 + helm.sh/chart: k8up-4.7.0 name: k8up roleRef: apiGroup: rbac.authorization.k8s.io diff --git a/tests/golden/defaults/backup-k8up/backup-k8up/01_k8up_helmchart/k8up/templates/deployment.yaml b/tests/golden/defaults/backup-k8up/backup-k8up/01_k8up_helmchart/k8up/templates/deployment.yaml index dea4909..509d9dc 100644 --- a/tests/golden/defaults/backup-k8up/backup-k8up/01_k8up_helmchart/k8up/templates/deployment.yaml +++ b/tests/golden/defaults/backup-k8up/backup-k8up/01_k8up_helmchart/k8up/templates/deployment.yaml @@ -5,7 +5,7 @@ metadata: app.kubernetes.io/instance: k8up app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: k8up - helm.sh/chart: k8up-4.4.3 + helm.sh/chart: k8up-4.7.0 name: k8up spec: replicas: 1 @@ -29,6 +29,8 @@ spec: value: Etc/UTC - name: BACKUP_ENABLE_LEADER_ELECTION value: 'true' + - name: BACKUP_SKIP_WITHOUT_ANNOTATION + value: 'false' - name: BACKUP_OPERATOR_NAMESPACE valueFrom: fieldRef: diff --git a/tests/golden/defaults/backup-k8up/backup-k8up/01_k8up_helmchart/k8up/templates/executor-clusterrole.yaml b/tests/golden/defaults/backup-k8up/backup-k8up/01_k8up_helmchart/k8up/templates/executor-clusterrole.yaml index 14edc2f..1f4967d 100644 --- a/tests/golden/defaults/backup-k8up/backup-k8up/01_k8up_helmchart/k8up/templates/executor-clusterrole.yaml +++ b/tests/golden/defaults/backup-k8up/backup-k8up/01_k8up_helmchart/k8up/templates/executor-clusterrole.yaml @@ -5,7 +5,7 @@ metadata: app.kubernetes.io/instance: k8up app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: k8up - helm.sh/chart: k8up-4.4.3 + helm.sh/chart: k8up-4.7.0 name: k8up-executor rules: - apiGroups: diff --git a/tests/golden/defaults/backup-k8up/backup-k8up/01_k8up_helmchart/k8up/templates/operator-clusterrole.yaml b/tests/golden/defaults/backup-k8up/backup-k8up/01_k8up_helmchart/k8up/templates/operator-clusterrole.yaml index 5988b1c..b1c4eeb 100644 --- a/tests/golden/defaults/backup-k8up/backup-k8up/01_k8up_helmchart/k8up/templates/operator-clusterrole.yaml +++ b/tests/golden/defaults/backup-k8up/backup-k8up/01_k8up_helmchart/k8up/templates/operator-clusterrole.yaml @@ -5,7 +5,7 @@ metadata: app.kubernetes.io/instance: k8up app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: k8up - helm.sh/chart: k8up-4.4.3 + helm.sh/chart: k8up-4.7.0 name: k8up-manager rules: - apiGroups: @@ -163,6 +163,14 @@ rules: - effectiveschedules/finalizers verbs: - update + - apiGroups: + - k8up.io + resources: + - podconfigs + verbs: + - get + - list + - watch - apiGroups: - k8up.io resources: diff --git a/tests/golden/defaults/backup-k8up/backup-k8up/01_k8up_helmchart/k8up/templates/service.yaml b/tests/golden/defaults/backup-k8up/backup-k8up/01_k8up_helmchart/k8up/templates/service.yaml index 73567c4..1084a67 100644 --- a/tests/golden/defaults/backup-k8up/backup-k8up/01_k8up_helmchart/k8up/templates/service.yaml +++ b/tests/golden/defaults/backup-k8up/backup-k8up/01_k8up_helmchart/k8up/templates/service.yaml @@ -5,7 +5,7 @@ metadata: app.kubernetes.io/instance: k8up app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: k8up - helm.sh/chart: k8up-4.4.3 + helm.sh/chart: k8up-4.7.0 name: k8up-metrics spec: ports: diff --git a/tests/golden/defaults/backup-k8up/backup-k8up/01_k8up_helmchart/k8up/templates/serviceaccount.yaml b/tests/golden/defaults/backup-k8up/backup-k8up/01_k8up_helmchart/k8up/templates/serviceaccount.yaml index e88646a..a49fb2a 100644 --- a/tests/golden/defaults/backup-k8up/backup-k8up/01_k8up_helmchart/k8up/templates/serviceaccount.yaml +++ b/tests/golden/defaults/backup-k8up/backup-k8up/01_k8up_helmchart/k8up/templates/serviceaccount.yaml @@ -5,5 +5,5 @@ metadata: app.kubernetes.io/instance: k8up app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: k8up - helm.sh/chart: k8up-4.4.3 + helm.sh/chart: k8up-4.7.0 name: k8up