diff --git a/charts/overwhelm/Chart.yaml b/charts/overwhelm/Chart.yaml index 20fc304..5f47811 100644 --- a/charts/overwhelm/Chart.yaml +++ b/charts/overwhelm/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: overwhelm -version: 1.2.3 +version: 1.2.4 maintainers: - name: "Expedia Group" url: "https://github.com/ExpediaGroup/overwhelm" diff --git a/charts/overwhelm/templates/overwhelm-manager-role-cr.yaml b/charts/overwhelm/templates/overwhelm-manager-role-cr.yaml index e642b06..eb448b7 100755 --- a/charts/overwhelm/templates/overwhelm-manager-role-cr.yaml +++ b/charts/overwhelm/templates/overwhelm-manager-role-cr.yaml @@ -40,6 +40,7 @@ rules: - create - get - list + - patch - update - watch - apiGroups: diff --git a/config/rbac/role.yaml b/config/rbac/role.yaml index 7d72dac..04cd27d 100644 --- a/config/rbac/role.yaml +++ b/config/rbac/role.yaml @@ -41,6 +41,7 @@ rules: - create - get - list + - patch - update - watch - apiGroups: diff --git a/controllers/application_controller.go b/controllers/application_controller.go index e61da8f..598226a 100644 --- a/controllers/application_controller.go +++ b/controllers/application_controller.go @@ -98,7 +98,7 @@ var log logr.Logger //+kubebuilder:rbac:groups=core,resources=pods/status,verbs=get;watch //+kubebuilder:rbac:groups=apps,resources=deployments,verbs=get;list;watch //+kubebuilder:rbac:groups=apps,resources=replicasets,verbs=get;list;watch -//+kubebuilder:rbac:groups=core,resources=events,verbs=get;list;watch;update;create +//+kubebuilder:rbac:groups=core,resources=events,verbs=get;list;watch;update;create;patch // Reconcile is part of the main kubernetes reconciliation loop which aims to // move the current state of the cluster closer to the desired state.