--- apiVersion: apps/v1 kind: Deployment metadata: labels: app: test-deployment name: test-deployment spec: selector: matchLabels: app: test-deployment template: metadata: labels: app: test-deployment spec: containers: - image: quay.io/service-binding/generic-test-app:20220216 imagePullPolicy: IfNotPresent name: app securityContext: allowPrivilegeEscalation: false capabilities: drop: - ALL restartPolicy: Always securityContext: runAsNonRoot: true seccompProfile: type: RuntimeDefault --- apiVersion: v1 kind: Secret metadata: name: test-secret stringData: username: foo password: bar type: db --- apiVersion: servicebinding.io/v1alpha3 kind: ServiceBinding metadata: name: test spec: workload: apiVersion: apps/v1 kind: Deployments name: test-deployment service: apiVersion: v1 kind: Secret name: test-secret ---