Created
July 15, 2023 02:10
-
-
Save xximjasonxx/699dd6418c4f872372ca2e038c0d0701 to your computer and use it in GitHub Desktop.
This file contains 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
kind: Pod | |
apiVersion: v1 | |
metadata: | |
name: busybox-secrets-store-inline | |
namespace: blog-post | |
spec: | |
serviceAccountName: kv-access-account | |
containers: | |
- name: busybox | |
image: registry.k8s.io/e2e-test-images/busybox:1.29-4 | |
command: | |
- "/bin/sleep" | |
- "10000" | |
volumeMounts: | |
- name: secrets-store-inline | |
mountPath: "/mnt/secrets-store" | |
readOnly: true | |
volumes: | |
- name: secrets-store-inline | |
csi: | |
driver: secrets-store.csi.k8s.io | |
readOnly: true | |
volumeAttributes: | |
secretProviderClass: "azure-kv-password-provider" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment