apiVersion: apps/v1 kind: Deployment metadata: annotations: kompose.cmd: kompose convert -f docker-compose.yml kompose.version: 1.31.2 (a92241f79) creationTimestamp: null labels: io.kompose.service: api name: api spec: replicas: 1 selector: matchLabels: io.kompose.service: api strategy: type: Recreate template: metadata: annotations: kompose.cmd: kompose convert -f docker-compose.yml kompose.version: 1.31.2 (a92241f79) creationTimestamp: null labels: io.kompose.network/docker-default: "true" io.kompose.network/docker-public: "true" io.kompose.service: api spec: containers: - name: bitwarden-api #image: bitwarden/api:2023.1.0 image: bitwarden/api:2024.5.0 ### # Bitbetter ### #image: localhost:31795/bitbetter_api image: localhost:31795/bitbetter_api_again:2024.5.0 envFrom: - configMapRef: name: global.env - configMapRef: name: uid.env - configMapRef: name: global.override.env ports: - containerPort: 5000 name: port5000 resources: {} volumeMounts: - name: bitwarden-core mountPath: /etc/bitwarden/core - name: bitwarden-ca-certificates mountPath: /etc/bitwarden/ca-certificates - name: bitwarden-logs mountPath: /etc/bitwarden/logs subPath: api restartPolicy: Always volumes: - name: bitwarden-ca-certificates persistentVolumeClaim: claimName: bitwarden-ca-certificates - name: bitwarden-core persistentVolumeClaim: claimName: bitwarden-core - name: bitwarden-identity persistentVolumeClaim: claimName: bitwarden-identity - name: bitwarden-letsencrypt persistentVolumeClaim: claimName: bitwarden-letsencrypt - name: bitwarden-logs persistentVolumeClaim: claimName: bitwarden-logs - name: bitwarden-mssql persistentVolumeClaim: claimName: bitwarden-mssql - name: bitwarden-nginx persistentVolumeClaim: claimName: bitwarden-nginx - name: bitwarden-ssl persistentVolumeClaim: claimName: bitwarden-ssl - name: bitwarden-web persistentVolumeClaim: claimName: bitwarden-web --- apiVersion: v1 kind: Service metadata: name: api namespace: bitwarden spec: ports: - port: 5000 # targetPort: port5000 protocol: TCP selector: io.kompose.service: api