From 7023b7ef42b4adfe1a9ab93768849e5ed57647f3 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 25 Jul 2024 06:16:03 +0000 Subject: [PATCH] Regenerate bundle manifests Co-authored-by: coreydaley --- ...backstage-default-config_v1_configmap.yaml | 180 +++++------------- ...kstage-operator.clusterserviceversion.yaml | 2 +- 2 files changed, 53 insertions(+), 129 deletions(-) diff --git a/bundle/manifests/backstage-default-config_v1_configmap.yaml b/bundle/manifests/backstage-default-config_v1_configmap.yaml index 6a87fa42..31af04cf 100644 --- a/bundle/manifests/backstage-default-config_v1_configmap.yaml +++ b/bundle/manifests/backstage-default-config_v1_configmap.yaml @@ -150,134 +150,58 @@ data: resources: requests: storage: 1Gi - deployment.yaml: | - apiVersion: apps/v1 - kind: Deployment - metadata: - name: backstage # placeholder for 'backstage-' - spec: - replicas: 1 - selector: - matchLabels: - rhdh.redhat.com/app: # placeholder for 'backstage-' - template: - metadata: - labels: - rhdh.redhat.com/app: # placeholder for 'backstage-' - spec: - automountServiceAccountToken: false - # if securityContext not present in AKS/EKS, the error is like this: - #Error: EACCES: permission denied, open '/dynamic-plugins-root/backstage-plugin-scaffolder-backend-module-github-dynamic-0.2.2.tgz' - # fsGroup doesn not work for Openshift - #securityContext: - # fsGroup: 1001 - volumes: - - ephemeral: - volumeClaimTemplate: - spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 2Gi - name: dynamic-plugins-root - - name: dynamic-plugins-npmrc - secret: - defaultMode: 420 - optional: true - secretName: dynamic-plugins-npmrc - - emptyDir: {} - name: npmcacache - initContainers: - - name: install-dynamic-plugins - command: - - ./install-dynamic-plugins.sh - - /dynamic-plugins-root - # image will be replaced by the value of the `RELATED_IMAGE_backstage` env var, if set - image: quay.io/janus-idp/backstage-showcase:next - imagePullPolicy: IfNotPresent - securityContext: - runAsNonRoot: true - allowPrivilegeEscalation: false - seccompProfile: - type: RuntimeDefault - capabilities: - drop: - - ALL - env: - - name: NPM_CONFIG_USERCONFIG - value: /opt/app-root/src/.npmrc.dynamic-plugins - volumeMounts: - - mountPath: /dynamic-plugins-root - name: dynamic-plugins-root - - mountPath: /opt/app-root/src/.npmrc.dynamic-plugins - name: dynamic-plugins-npmrc - readOnly: true - subPath: .npmrc - - mountPath: /opt/app-root/src/.npm/_cacache - name: npmcacache - workingDir: /opt/app-root/src - resources: - requests: - cpu: 250m - memory: 256Mi - limits: - cpu: 1000m - memory: 2.5Gi - ephemeral-storage: 5Gi - containers: - - name: backstage-backend - # image will be replaced by the value of the `RELATED_IMAGE_backstage` env var, if set - image: quay.io/janus-idp/backstage-showcase:next - imagePullPolicy: IfNotPresent - args: - - "--config" - - "dynamic-plugins-root/app-config.dynamic-plugins.yaml" - securityContext: - capabilities: - drop: - - ALL - seccompProfile: - type: RuntimeDefault - runAsNonRoot: true - allowPrivilegeEscalation: false - readinessProbe: - failureThreshold: 3 - httpGet: - path: /healthcheck - port: 7007 - scheme: HTTP - initialDelaySeconds: 30 - periodSeconds: 10 - successThreshold: 2 - timeoutSeconds: 2 - livenessProbe: - failureThreshold: 3 - httpGet: - path: /healthcheck - port: 7007 - scheme: HTTP - initialDelaySeconds: 60 - periodSeconds: 10 - successThreshold: 1 - timeoutSeconds: 2 - ports: - - name: backend - containerPort: 7007 - env: - - name: APP_CONFIG_backend_listen_port - value: "7007" - volumeMounts: - - mountPath: /opt/app-root/src/dynamic-plugins-root - name: dynamic-plugins-root - resources: - requests: - cpu: 250m - memory: 256Mi - limits: - cpu: 1000m - memory: 2.5Gi - ephemeral-storage: 5Gi + deployment.yaml: "apiVersion: apps/v1\nkind: Deployment\nmetadata:\n name: backstage + # placeholder for 'backstage-'\nspec:\n replicas: 1\n selector:\n matchLabels:\n + \ rhdh.redhat.com/app: # placeholder for 'backstage-'\n template:\n + \ metadata:\n labels:\n rhdh.redhat.com/app: # placeholder for + 'backstage-'\n spec:\n automountServiceAccountToken: false\n + \ # if securityContext not present in AKS/EKS, the error is like this:\n #Error: + EACCES: permission denied, open '/dynamic-plugins-root/backstage-plugin-scaffolder-backend-module-github-dynamic-0.2.2.tgz'\n + \ # fsGroup doesn not work for Openshift\n #securityContext:\n # + \ fsGroup: 1001\n volumes:\n - ephemeral:\n volumeClaimTemplate:\n + \ spec:\n accessModes:\n - ReadWriteOnce\n + \ resources:\n requests:\n storage: + 2Gi\n name: dynamic-plugins-root\n - name: dynamic-plugins-npmrc\n + \ secret:\n defaultMode: 420\n optional: true\n + \ secretName: dynamic-plugins-npmrc\n - emptyDir: {}\n name: + npmcacache\n - name: audit-log-data \n persistentVolumeClaim: + \n claimName: audit-log-pvc # placeholder for audit log pvc name\n + \ initContainers:\n - name: install-dynamic-plugins\n command:\n + \ - ./install-dynamic-plugins.sh\n - /dynamic-plugins-root\n + \ # image will be replaced by the value of the `RELATED_IMAGE_backstage` + env var, if set\n image: quay.io/janus-idp/backstage-showcase:next\n + \ imagePullPolicy: IfNotPresent\n securityContext:\n runAsNonRoot: + true\n allowPrivilegeEscalation: false\n seccompProfile:\n + \ type: RuntimeDefault\n capabilities:\n drop:\n + \ - ALL\n env:\n - name: NPM_CONFIG_USERCONFIG\n + \ value: /opt/app-root/src/.npmrc.dynamic-plugins\n volumeMounts:\n + \ - mountPath: /dynamic-plugins-root\n name: dynamic-plugins-root\n + \ - mountPath: /opt/app-root/src/.npmrc.dynamic-plugins\n name: + dynamic-plugins-npmrc\n readOnly: true\n subPath: .npmrc\n + \ - mountPath: /opt/app-root/src/.npm/_cacache\n name: + npmcacache\n workingDir: /opt/app-root/src\n resources:\n requests:\n + \ cpu: 250m\n memory: 256Mi\n limits:\n cpu: + 1000m\n memory: 2.5Gi\n ephemeral-storage: 5Gi\n containers:\n + \ - name: backstage-backend\n # image will be replaced by the value + of the `RELATED_IMAGE_backstage` env var, if set\n image: quay.io/janus-idp/backstage-showcase:next\n + \ imagePullPolicy: IfNotPresent\n args:\n - \"--config\"\n + \ - \"dynamic-plugins-root/app-config.dynamic-plugins.yaml\"\n securityContext:\n + \ capabilities:\n drop:\n - ALL\n seccompProfile:\n + \ type: RuntimeDefault\n runAsNonRoot: true\n allowPrivilegeEscalation: + false\n readinessProbe:\n failureThreshold: 3\n httpGet:\n + \ path: /healthcheck\n port: 7007\n scheme: + HTTP\n initialDelaySeconds: 30\n periodSeconds: 10\n successThreshold: + 2\n timeoutSeconds: 2\n livenessProbe:\n failureThreshold: + 3\n httpGet:\n path: /healthcheck\n port: + 7007\n scheme: HTTP\n initialDelaySeconds: 60\n periodSeconds: + 10\n successThreshold: 1\n timeoutSeconds: 2\n ports:\n + \ - name: backend\n containerPort: 7007\n env:\n + \ - name: APP_CONFIG_backend_listen_port\n value: \"7007\"\n + \ volumeMounts:\n - mountPath: /opt/app-root/src/dynamic-plugins-root\n + \ name: dynamic-plugins-root\n - mountPath: /var/log/audit\n + \ name: audit-log-data\n resources:\n requests:\n + \ cpu: 250m\n memory: 256Mi\n limits:\n cpu: + 1000m\n memory: 2.5Gi\n ephemeral-storage: 5Gi\n" dynamic-plugins.yaml: |- apiVersion: v1 kind: ConfigMap diff --git a/bundle/manifests/backstage-operator.clusterserviceversion.yaml b/bundle/manifests/backstage-operator.clusterserviceversion.yaml index 9578ec6d..089dc66d 100644 --- a/bundle/manifests/backstage-operator.clusterserviceversion.yaml +++ b/bundle/manifests/backstage-operator.clusterserviceversion.yaml @@ -21,7 +21,7 @@ metadata: } ] capabilities: Seamless Upgrades - createdAt: "2024-07-16T20:47:15Z" + createdAt: "2024-07-25T06:16:02Z" operatorframework.io/suggested-namespace: backstage-system operators.operatorframework.io/builder: operator-sdk-v1.33.0 operators.operatorframework.io/project_layout: go.kubebuilder.io/v3