apiVersion: v1 kind: Service metadata: name: vaultwarden spec: ipFamilyPolicy: PreferDualStack ipFamilies: - IPv4 - IPv6 selector: app: vaultwarden ports: - port: 80 targetPort: http name: http - port: 3012 targetPort: ws name: ws