diff --git a/bundle/backstage.io/manifests/backstage-operator.clusterserviceversion.yaml b/bundle/backstage.io/manifests/backstage-operator.clusterserviceversion.yaml index e76c383de..41e7b4e43 100644 --- a/bundle/backstage.io/manifests/backstage-operator.clusterserviceversion.yaml +++ b/bundle/backstage.io/manifests/backstage-operator.clusterserviceversion.yaml @@ -35,7 +35,7 @@ metadata: } } ] - createdAt: "2025-01-20T11:12:13Z" + createdAt: "2025-02-03T00:37:44Z" description: Backstage Operator operators.operatorframework.io/builder: operator-sdk-v1.37.0 operators.operatorframework.io/project_layout: go.kubebuilder.io/v4 @@ -240,6 +240,7 @@ spec: capabilities: drop: - ALL + readOnlyRootFilesystem: true volumeMounts: - mountPath: /default-config name: default-config diff --git a/bundle/rhdh/manifests/backstage-operator.clusterserviceversion.yaml b/bundle/rhdh/manifests/backstage-operator.clusterserviceversion.yaml index 17f40e8d6..af64cf917 100644 --- a/bundle/rhdh/manifests/backstage-operator.clusterserviceversion.yaml +++ b/bundle/rhdh/manifests/backstage-operator.clusterserviceversion.yaml @@ -39,7 +39,7 @@ metadata: categories: Developer Tools certified: "true" containerImage: registry.redhat.io/rhdh/rhdh-rhel9-operator:1.5 - createdAt: "2025-01-20T11:25:12Z" + createdAt: "2025-02-03T00:37:46Z" description: Red Hat Developer Hub is a Red Hat supported version of Backstage. It comes with pre-built plug-ins and configuration settings, supports use of an external database, and can help streamline the process of setting up a self-managed @@ -292,6 +292,7 @@ spec: capabilities: drop: - ALL + readOnlyRootFilesystem: true volumeMounts: - mountPath: /default-config name: default-config diff --git a/config/manager/deployment.yaml b/config/manager/deployment.yaml index 44269f956..03d47efb7 100644 --- a/config/manager/deployment.yaml +++ b/config/manager/deployment.yaml @@ -31,17 +31,17 @@ spec: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - - key: kubernetes.io/arch - operator: In - values: - - amd64 -# - arm64 -# - ppc64le -# - s390x - - key: kubernetes.io/os - operator: In - values: - - linux + - key: kubernetes.io/arch + operator: In + values: + - amd64 + # - arm64 + # - ppc64le + # - s390x + - key: kubernetes.io/os + operator: In + values: + - linux securityContext: runAsNonRoot: true # (user): For common cases that do not require escalating privileges @@ -52,51 +52,52 @@ spec: # seccompProfile: # type: RuntimeDefault containers: - - command: - - /manager - args: - - --health-probe-bind-address=:8081 - - --metrics-bind-address=:8443 - - --metrics-secure=true - - --leader-elect - image: controller:latest - name: manager - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - "ALL" - ports: - - name: health - containerPort: 8081 - - name: metrics - containerPort: 8443 - livenessProbe: - httpGet: - path: /healthz - port: health - initialDelaySeconds: 15 - periodSeconds: 20 - readinessProbe: - httpGet: - path: /readyz - port: health - initialDelaySeconds: 5 - periodSeconds: 10 - resources: - limits: - cpu: 500m - memory: 1Gi - ephemeral-storage: 20Mi - requests: - cpu: 10m - memory: 128Mi - volumeMounts: - - mountPath: /default-config - name: default-config + - command: + - /manager + args: + - --health-probe-bind-address=:8081 + - --metrics-bind-address=:8443 + - --metrics-secure=true + - --leader-elect + image: controller:latest + name: manager + securityContext: + readOnlyRootFilesystem: true + allowPrivilegeEscalation: false + capabilities: + drop: + - "ALL" + ports: + - name: health + containerPort: 8081 + - name: metrics + containerPort: 8443 + livenessProbe: + httpGet: + path: /healthz + port: health + initialDelaySeconds: 15 + periodSeconds: 20 + readinessProbe: + httpGet: + path: /readyz + port: health + initialDelaySeconds: 5 + periodSeconds: 10 + resources: + limits: + cpu: 500m + memory: 1Gi + ephemeral-storage: 20Mi + requests: + cpu: 10m + memory: 128Mi + volumeMounts: + - mountPath: /default-config + name: default-config serviceAccountName: controller-manager terminationGracePeriodSeconds: 10 volumes: - - name: default-config - configMap: - name: default-config + - name: default-config + configMap: + name: default-config