-
-
Save KyMidd/0ad3e0c8c244845438ffd8b7f7454e89 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: secret-fetcher | |
| labels: | |
| app: secret-fetcher | |
| spec: | |
| replicas: 1 | |
| selector: | |
| matchLabels: | |
| app: secret-fetcher | |
| template: | |
| metadata: | |
| name: secret-fetcher | |
| labels: | |
| app: secret-fetcher | |
| spec: | |
| serviceAccountName: our-eks-sa-name | |
| volumes: | |
| - name: secrets-store-inline | |
| csi: | |
| driver: secrets-store.csi.k8s.io | |
| readOnly: true | |
| volumeAttributes: | |
| secretProviderClass: "secrets-provider-name" | |
| containers: | |
| - name: secret-fetcher | |
| image: your-docker-username/your-docker-container-repo-name:latest | |
| volumeMounts: | |
| - name: secrets-store-inline | |
| mountPath: "/mnt/secrets-store" | |
| readOnly: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment