apiVersion: v1
kind: Pod
metadata:
  name: ktistec-pod
  namespace: "{{apps.ktistec.namespace}}"
  labels:
    app: ktistec
spec:
  imagePullSecrets:
    - name: dkregistry-login
  containers:
    - name: ktistec
      image: dkregistry.xai-corp.net/ktistec/app:2.4.13
#      volumeMounts:
#        - name: repo-vol
#          mountPath: "/var/lib/registry"
##        - name: certs-vol
##          mountPath: "/certs"
##          readOnly: true
##        - name: auth-vol
##          mountPath: "/auth"
##          readOnly: false
#        - name: auth-secret
#          mountPath: "/auth"
#          readOnly: true
#      env:
#        - name: REGISTRY_AUTH
#          value: "htpasswd"
#        - name: REGISTRY_AUTH_HTPASSWD_REALM
#          value: "Registry Realm"
#        - name: REGISTRY_AUTH_HTPASSWD_PATH
#          value: "/auth/htpasswd"
#        - name: REGISTRY_HTTP_SECRET
#          value: "/auth/htpasswd"
#        - name: REGISTRY_HTTP_TLS_CERTIFICATE
#          value: "/certs/tls.crt"
#        - name: REGISTRY_HTTP_TLS_KEY
#          value: "/certs/tls.key"
#  volumes:
#    - name: repo-vol
#      persistentVolumeClaim:
#        claimName: data-dkregistry-0
#    - name: auth-vol
#      persistentVolumeClaim:
#        claimName: data-dkregistry-auth-0

#    - name: auth-secret
#      secret:
#        secretName: auth-secret-2025
