You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Use Deployment mode Recreate, which ensures that all webhook pods
serving CRD conversion requests during upgrade are running the latest
version of ASO.
- Take lease during CRD management, to ensure that ASO doesn't fight
with itself during CRD installation.
- Enable using lease in multitenant (webhooks) mode as well.
Copy file name to clipboardexpand all lines: v2/charts/azure-service-operator/templates/apps_v1_deployment_azureserviceoperator-controller-manager.yaml
Copy file name to clipboardexpand all lines: v2/charts/azure-service-operator/templates/rbac.authorization.k8s.io_v1_clusterrole_azureserviceoperator-crd-manager-role.yaml
-2
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,3 @@
1
-
{{- if or (eq .Values.multitenant.enable false) (eq .Values.azureOperatorMode "webhooks") }}
2
1
{{- if and (eq .Values.installCRDs true) (or (eq .Values.multitenant.enable false) (eq .Values.azureOperatorMode "webhooks")) }}
Copy file name to clipboardexpand all lines: v2/charts/azure-service-operator/templates/rbac.authorization.k8s.io_v1_clusterrolebinding_azureserviceoperator-crd-manager-rolebinding.yaml
-2
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,3 @@
1
-
{{- if or (eq .Values.multitenant.enable false) (eq .Values.azureOperatorMode "webhooks") }}
2
1
{{- if and (eq .Values.installCRDs true) (or (eq .Values.multitenant.enable false) (eq .Values.azureOperatorMode "webhooks")) }}
3
2
apiVersion: rbac.authorization.k8s.io/v1
4
3
kind: ClusterRoleBinding
@@ -13,4 +12,3 @@ subjects:
13
12
name: {{ include "azure-service-operator.serviceAccountName" . }}
0 commit comments