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:25:38Z"
  generation: 2
  labels:
    component: barbican-api
    pod-template-hash: 75f6b5466d
    service: barbican
  name: barbican-api-75f6b5466d
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: Deployment
    name: barbican-api
    uid: 938b23d2-1c6c-4ebc-adef-decaf31b3c7d
  resourceVersion: "50053"
  uid: 40832e24-ee12-4d75-a5d0-6e6039818cc8
spec:
  replicas: 0
  selector:
    matchLabels:
      component: barbican-api
      pod-template-hash: 75f6b5466d
      service: barbican
  template:
    metadata:
      annotations:
        k8s.v1.cni.cncf.io/networks: '[]'
      creationTimestamp: null
      labels:
        component: barbican-api
        pod-template-hash: 75f6b5466d
        service: barbican
    spec:
      affinity:
        podAntiAffinity:
          preferredDuringSchedulingIgnoredDuringExecution:
          - podAffinityTerm:
              labelSelector:
                matchExpressions:
                - key: component
                  operator: In
                  values:
                  - barbican-api
              topologyKey: kubernetes.io/hostname
            weight: 100
      containers:
      - args:
        - --single-child
        - --
        - /usr/bin/tail
        - -n+1
        - -F
        - /var/log/barbican/barbican-api.log
        command:
        - /usr/bin/dumb-init
        env:
        - name: CONFIG_HASH
          value: n69h648h55bh54dhfbh595h56h87h689h656h5b4h659h57ch6ch694hb5h68ch586h65bh58fh56dh5bfh5b5hb8hcch96h5c7h549h547h55dh5f8hf5q
        - name: KOLLA_CONFIG_STRATEGY
          value: COPY_ALWAYS
        image: 38.102.83.110:5001/podified-master-centos10/openstack-barbican-api:watcher_latest
        imagePullPolicy: IfNotPresent
        livenessProbe:
          failureThreshold: 3
          httpGet:
            path: /healthcheck
            port: 9311
            scheme: HTTP
          initialDelaySeconds: 5
          periodSeconds: 3
          successThreshold: 1
          timeoutSeconds: 5
        name: barbican-api-log
        readinessProbe:
          failureThreshold: 3
          httpGet:
            path: /healthcheck
            port: 9311
            scheme: HTTP
          initialDelaySeconds: 5
          periodSeconds: 5
          successThreshold: 1
          timeoutSeconds: 5
        resources: {}
        securityContext:
          capabilities:
            drop:
            - MKNOD
          runAsGroup: 42403
          runAsUser: 42403
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /var/log/barbican
          name: logs
      - args:
        - -c
        - /usr/local/bin/kolla_start
        command:
        - /bin/bash
        env:
        - name: CONFIG_HASH
          value: n69h648h55bh54dhfbh595h56h87h689h656h5b4h659h57ch6ch694hb5h68ch586h65bh58fh56dh5bfh5b5hb8hcch96h5c7h549h547h55dh5f8hf5q
        - name: KOLLA_CONFIG_STRATEGY
          value: COPY_ALWAYS
        image: 38.102.83.110:5001/podified-master-centos10/openstack-barbican-api:watcher_latest
        imagePullPolicy: IfNotPresent
        livenessProbe:
          failureThreshold: 3
          httpGet:
            path: /healthcheck
            port: 9311
            scheme: HTTP
          initialDelaySeconds: 5
          periodSeconds: 3
          successThreshold: 1
          timeoutSeconds: 5
        name: barbican-api
        readinessProbe:
          failureThreshold: 3
          httpGet:
            path: /healthcheck
            port: 9311
            scheme: HTTP
          initialDelaySeconds: 5
          periodSeconds: 5
          successThreshold: 1
          timeoutSeconds: 5
        resources: {}
        securityContext:
          capabilities:
            drop:
            - MKNOD
          runAsGroup: 42403
          runAsUser: 42403
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /var/lib/config-data/default
          name: config-data
          readOnly: true
        - mountPath: /etc/my.cnf
          name: config-data
          readOnly: true
          subPath: my.cnf
        - mountPath: /etc/barbican/barbican.conf.d
          name: config-data-custom
          readOnly: true
        - mountPath: /var/lib/kolla/config_files/config.json
          name: config-data
          readOnly: true
          subPath: barbican-api-config.json
        - mountPath: /var/log/barbican
          name: logs
        - mountPath: /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
          name: combined-ca-bundle
          readOnly: true
          subPath: tls-ca-bundle.pem
      dnsPolicy: ClusterFirst
      restartPolicy: Always
      schedulerName: default-scheduler
      securityContext: {}
      serviceAccount: barbican-barbican
      serviceAccountName: barbican-barbican
      terminationGracePeriodSeconds: 30
      volumes:
      - name: config-data
        secret:
          defaultMode: 420
          secretName: barbican-config-data
      - name: config-data-custom
        secret:
          defaultMode: 420
          secretName: barbican-api-config-data
      - emptyDir: {}
        name: logs
      - name: combined-ca-bundle
        secret:
          defaultMode: 292
          secretName: combined-ca-bundle
status:
  observedGeneration: 2
  replicas: 0
