apiVersion: apps/v1
kind: ReplicaSet
metadata:
  annotations:
    deployment.kubernetes.io/desired-replicas: "1"
    deployment.kubernetes.io/max-replicas: "2"
    deployment.kubernetes.io/revision: "1"
  creationTimestamp: "2026-04-04T02:14:02Z"
  generation: 1
  labels:
    app: nmstate-console-plugin
    pod-template-hash: 7b5ddc4dc7
  name: nmstate-console-plugin-7b5ddc4dc7
  namespace: openshift-nmstate
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: Deployment
    name: nmstate-console-plugin
    uid: 41322172-ba08-47eb-83c4-2609452e8159
  resourceVersion: "35726"
  uid: a08dc581-e92f-4e1b-a9ef-fcbb55bd133d
spec:
  replicas: 1
  selector:
    matchLabels:
      app: nmstate-console-plugin
      pod-template-hash: 7b5ddc4dc7
  template:
    metadata:
      creationTimestamp: null
      labels:
        app: nmstate-console-plugin
        pod-template-hash: 7b5ddc4dc7
    spec:
      containers:
      - image: registry.redhat.io/openshift4/nmstate-console-plugin-rhel9@sha256:58adb3e9e8f3664a74508118b1b5694c4fd0b2e8457fc559692493f4b934f43c
        imagePullPolicy: Always
        name: nmstate-console-plugin
        ports:
        - containerPort: 9443
          protocol: TCP
        resources:
          requests:
            cpu: 10m
            memory: 50Mi
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /var/serving-cert
          name: plugin-serving-cert
          readOnly: true
        - mountPath: /etc/nginx/nginx.conf
          name: nginx-conf
          readOnly: true
          subPath: nginx.conf
      dnsPolicy: ClusterFirst
      restartPolicy: Always
      schedulerName: default-scheduler
      securityContext: {}
      terminationGracePeriodSeconds: 30
      volumes:
      - name: plugin-serving-cert
        secret:
          defaultMode: 420
          secretName: plugin-serving-cert
      - configMap:
          defaultMode: 420
          name: nginx-conf
        name: nginx-conf
status:
  availableReplicas: 1
  fullyLabeledReplicas: 1
  observedGeneration: 1
  readyReplicas: 1
  replicas: 1
