Files
HetznerTerra/infrastructure/charts/rancher/templates/pre-upgrade-hook-cluster-role-binding.yaml
T
micqdf b1eab6a0fa
Deploy Cluster / Terraform (push) Successful in 31s
Deploy Cluster / Ansible (push) Has been cancelled
fix: vendor Rancher chart for bootstrap
2026-04-25 23:08:26 +00:00

18 lines
592 B
YAML

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: {{ template "rancher.fullname" . }}-pre-upgrade
labels: {{ include "rancher.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": pre-upgrade
"helm.sh/hook-weight": "-1"
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: {{ template "rancher.fullname" . }}-pre-upgrade
subjects:
- kind: ServiceAccount
name: {{ template "rancher.fullname" . }}-pre-upgrade
namespace: {{ .Release.Namespace }}