diff --git a/.gitignore b/.gitignore index 8c2994d1..78ee321c 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,6 @@ kubeconfig # e2e logs e2e_logs + +# Action for `make build-installer` generate `dist/install.yaml` +dist/install.yaml diff --git a/config/rbac/role.yaml b/config/rbac/role.yaml index f923e1fd..145c9209 100644 --- a/config/rbac/role.yaml +++ b/config/rbac/role.yaml @@ -100,7 +100,7 @@ rules: - apiGroups: - autoscaling resources: - - horizontalpodautoscalars + - horizontalpodautoscalers verbs: - create - delete diff --git a/dist/install.yaml b/dist/install.yaml index 7db6d9d6..5f1f7fa6 100644 --- a/dist/install.yaml +++ b/dist/install.yaml @@ -5199,7 +5199,7 @@ rules: - apiGroups: - autoscaling resources: - - horizontalpodautoscalars + - horizontalpodautoscalers verbs: - create - delete diff --git a/internal/controller/nemo_datastore_controller.go b/internal/controller/nemo_datastore_controller.go index e22a8d9f..74567ea1 100644 --- a/internal/controller/nemo_datastore_controller.go +++ b/internal/controller/nemo_datastore_controller.go @@ -93,7 +93,7 @@ func NewNemoDatastoreReconciler(client client.Client, scheme *runtime.Scheme, up // +kubebuilder:rbac:groups=batch,resources=jobs,verbs=get;list;watch;create;update;patch;delete // +kubebuilder:rbac:groups=route.openshift.io,resources=routes,verbs=get;list;watch;create;update;patch;delete // +kubebuilder:rbac:groups=networking.k8s.io,resources=ingresses,verbs=get;list;watch;create;update;patch;delete -// +kubebuilder:rbac:groups=autoscaling,resources=horizontalpodautoscalars,verbs=get;list;watch;create;update;patch;delete +// +kubebuilder:rbac:groups=autoscaling,resources=horizontalpodautoscalers,verbs=get;list;watch;create;update;patch;delete // +kubebuilder:rbac:groups="",resources=events,verbs=create;update;patch // Reconcile is part of the main kubernetes reconciliation loop which aims to diff --git a/internal/controller/nemo_guardrail_controller.go b/internal/controller/nemo_guardrail_controller.go index 55620297..f7a34e87 100644 --- a/internal/controller/nemo_guardrail_controller.go +++ b/internal/controller/nemo_guardrail_controller.go @@ -94,7 +94,7 @@ func NewNemoGuardrailReconciler(client client.Client, scheme *runtime.Scheme, up // +kubebuilder:rbac:groups=batch,resources=jobs,verbs=get;list;watch;create;update;patch;delete // +kubebuilder:rbac:groups=route.openshift.io,resources=routes,verbs=get;list;watch;create;update;patch;delete // +kubebuilder:rbac:groups=networking.k8s.io,resources=ingresses,verbs=get;list;watch;create;update;patch;delete -// +kubebuilder:rbac:groups=autoscaling,resources=horizontalpodautoscalars,verbs=get;list;watch;create;update;patch;delete +// +kubebuilder:rbac:groups=autoscaling,resources=horizontalpodautoscalers,verbs=get;list;watch;create;update;patch;delete // +kubebuilder:rbac:groups="",resources=events,verbs=create;update;patch // Reconcile is part of the main kubernetes reconciliation loop which aims to diff --git a/internal/controller/nimservice_controller.go b/internal/controller/nimservice_controller.go index 5a77e711..113dc71c 100644 --- a/internal/controller/nimservice_controller.go +++ b/internal/controller/nimservice_controller.go @@ -91,7 +91,7 @@ func NewNIMServiceReconciler(client client.Client, scheme *runtime.Scheme, updat // +kubebuilder:rbac:groups=batch,resources=jobs,verbs=get;list;watch;create;update;patch;delete // +kubebuilder:rbac:groups=route.openshift.io,resources=routes,verbs=get;list;watch;create;update;patch;delete // +kubebuilder:rbac:groups=networking.k8s.io,resources=ingresses,verbs=get;list;watch;create;update;patch;delete -// +kubebuilder:rbac:groups=autoscaling,resources=horizontalpodautoscalars,verbs=get;list;watch;create;update;patch;delete +// +kubebuilder:rbac:groups=autoscaling,resources=horizontalpodautoscalers,verbs=get;list;watch;create;update;patch;delete // +kubebuilder:rbac:groups="",resources=events,verbs=create;update;patch // Reconcile is part of the main kubernetes reconciliation loop which aims to