From 0775956c9187902cb2132c3108d426d1938fa0cd Mon Sep 17 00:00:00 2001 From: Daniel Wind Date: Tue, 10 Sep 2024 14:29:21 +0200 Subject: [PATCH] fixes for Openshift deployment Signed-off-by: Daniel Wind --- config/manager/manager.yaml | 2 +- controllers/argorollouts_controller.go | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index 1e45d20..72dd0bb 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -94,7 +94,7 @@ spec: resources: limits: cpu: 500m - memory: 128Mi + memory: 512Mi requests: cpu: 10m memory: 64Mi diff --git a/controllers/argorollouts_controller.go b/controllers/argorollouts_controller.go index 22b619a..5f29308 100644 --- a/controllers/argorollouts_controller.go +++ b/controllers/argorollouts_controller.go @@ -67,9 +67,9 @@ const ( //+kubebuilder:rbac:groups="",resources=configmaps;endpoints;events;pods;namespaces;secrets;serviceaccounts;services;services/finalizers,verbs=get;list;watch;create;update;patch;delete //+kubebuilder:rbac:groups=apps,resources=podtemplates;deployments;replicasets,verbs=get;list;watch;create;update;patch;delete //+kubebuilder:rbac:groups=apps,resources=deployments/finalizers,verbs=update -//+kubebuilder:rbac:groups="",resources=deployments,verbs=get;list;watch +//+kubebuilder:rbac:groups="",resources=deployments,verbs=get;list;watch;update;patch //+kubebuilder:rbac:groups="",resources=pods/eviction,verbs=create -//+kubebuilder:rbac:groups="",resources=podtemplates,verbs=get;list;watch +//+kubebuilder:rbac:groups="",resources=podtemplates,verbs=get;list;watch;update;patch //+kubebuilder:rbac:groups="appmesh.k8s.aws",resources=virtualnodes;virtualrouters,verbs=get;list;watch;update;patch //+kubebuilder:rbac:groups="appmesh.k8s.aws",resources=virtualservices,verbs=get;list;watch //+kubebuilder:rbac:groups="argoproj.io",resources=analysisruns;analysisruns/finalizers;experiments;experiments/finalizers,verbs=create;get;list;watch;update;patch;delete;deletecollection @@ -85,6 +85,7 @@ const ( //+kubebuilder:rbac:groups="networking.k8s.io",resources=ingresses,verbs=create;watch;get;update;patch;list //+kubebuilder:rbac:groups="split.smi-spec.io",resources=trafficsplits,verbs=create;watch;get;update;patch //+kubebuilder:rbac:groups="traefik.containo.us",resources=traefikservices,verbs=watch;get;update +//+kubebuilder:rbac:groups=traefik.io,resources=traefikservices,verbs=get;update;watch //+kubebuilder:rbac:groups="x.getambassador.io",resources=ambassadormappings;mappings,verbs=create;watch;get;update;list;delete //+kubebuilder:rbac:groups="apisix.apache.org",resources=apisixroutes,verbs=watch;get;update //+kubebuilder:rbac:groups="route.openshift.io",resources=routes,verbs=create;watch;get;update;patch;list