apiVersion: apps/v1
kind: StatefulSet
metadata:
  creationTimestamp: "2026-04-04T02:28:05Z"
  generation: 2
  name: nova-cell1-novncproxy
  namespace: openstack
  ownerReferences:
  - apiVersion: nova.openstack.org/v1beta1
    blockOwnerDeletion: true
    controller: true
    kind: NovaNoVNCProxy
    name: nova-cell1-novncproxy
    uid: d4a032b4-8f23-401c-b3a5-8cdc5d34a0cc
  resourceVersion: "54449"
  uid: d51e300f-eb99-4820-9af6-cdbbb687f3fc
spec:
  persistentVolumeClaimRetentionPolicy:
    whenDeleted: Retain
    whenScaled: Retain
  podManagementPolicy: Parallel
  replicas: 1
  revisionHistoryLimit: 10
  selector:
    matchLabels:
      cell: cell1
      service: nova-novncproxy
  serviceName: ""
  template:
    metadata:
      annotations:
        k8s.v1.cni.cncf.io/networks: '[]'
      creationTimestamp: null
      labels:
        cell: cell1
        service: nova-novncproxy
    spec:
      affinity:
        podAntiAffinity:
          preferredDuringSchedulingIgnoredDuringExecution:
          - podAffinityTerm:
              labelSelector:
                matchExpressions:
                - key: service
                  operator: In
                  values:
                  - nova-cell1-novncproxy
              topologyKey: kubernetes.io/hostname
            weight: 100
      containers:
      - args:
        - -c
        - /usr/local/bin/kolla_start
        command:
        - /bin/bash
        env:
        - name: CONFIG_HASH
          value: nd6h5b8h5d6h9ch5c7h8dh69h545hfbh59hb9h9ch567hdbh5b9h68fh67bh8ch6ch667h554h5fdhf7h55bh5ddhfchbch7bh588h546h5c4h564q
        - name: KOLLA_CONFIG_STRATEGY
          value: COPY_ALWAYS
        image: 38.102.83.110:5001/podified-master-centos10/openstack-nova-novncproxy:watcher_latest
        imagePullPolicy: IfNotPresent
        livenessProbe:
          failureThreshold: 3
          httpGet:
            path: /vnc_lite.html
            port: 6080
            scheme: HTTPS
          periodSeconds: 10
          successThreshold: 1
          timeoutSeconds: 10
        name: nova-cell1-novncproxy-novncproxy
        readinessProbe:
          failureThreshold: 3
          httpGet:
            path: /vnc_lite.html
            port: 6080
            scheme: HTTPS
          periodSeconds: 5
          successThreshold: 1
          timeoutSeconds: 5
        resources: {}
        securityContext:
          runAsUser: 42436
        startupProbe:
          failureThreshold: 6
          httpGet:
            path: /vnc_lite.html
            port: 6080
            scheme: HTTPS
          periodSeconds: 10
          successThreshold: 1
          timeoutSeconds: 1
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /var/lib/openstack/config
          name: config-data
        - mountPath: /var/lib/kolla/config_files/config.json
          name: config-data
          subPath: nova-novncproxy-config.json
        - mountPath: /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
          name: combined-ca-bundle
          readOnly: true
          subPath: tls-ca-bundle.pem
        - mountPath: /var/lib/config-data/tls/certs/nova-novncproxy.crt
          name: nova-novncproxy-tls-certs
          readOnly: true
          subPath: tls.crt
        - mountPath: /var/lib/config-data/tls/private/nova-novncproxy.key
          name: nova-novncproxy-tls-certs
          readOnly: true
          subPath: tls.key
        - mountPath: /var/lib/config-data/tls/certs/vencrypt.crt
          name: vencrypt-tls-certs
          readOnly: true
          subPath: tls.crt
        - mountPath: /var/lib/config-data/tls/private/vencrypt.key
          name: vencrypt-tls-certs
          readOnly: true
          subPath: tls.key
      dnsPolicy: ClusterFirst
      restartPolicy: Always
      schedulerName: default-scheduler
      securityContext: {}
      serviceAccount: nova-nova
      serviceAccountName: nova-nova
      terminationGracePeriodSeconds: 30
      volumes:
      - name: config-data
        secret:
          defaultMode: 416
          secretName: nova-cell1-novncproxy-config-data
      - name: combined-ca-bundle
        secret:
          defaultMode: 292
          secretName: combined-ca-bundle
      - name: nova-novncproxy-tls-certs
        secret:
          defaultMode: 256
          secretName: cert-nova-novncproxy-cell1-public-svc
      - name: vencrypt-tls-certs
        secret:
          defaultMode: 256
          secretName: cert-nova-novncproxy-cell1-vencrypt
  updateStrategy:
    rollingUpdate:
      partition: 0
    type: RollingUpdate
status:
  availableReplicas: 1
  collisionCount: 0
  currentReplicas: 1
  currentRevision: nova-cell1-novncproxy-94d65ff84
  observedGeneration: 2
  readyReplicas: 1
  replicas: 1
  updateRevision: nova-cell1-novncproxy-94d65ff84
  updatedReplicas: 1
