better examples and tests

This commit is contained in:
2025-12-11 04:52:08 -05:00
parent ddb5a2b164
commit c525337d87
3 changed files with 61 additions and 11 deletions

19
test-webhook.yaml Normal file
View File

@@ -0,0 +1,19 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: test-irsa
namespace: default
annotations:
vultr.com/role-arn: "arn:aws:iam::123456789012:role/test-role"
---
apiVersion: v1
kind: Pod
metadata:
name: test-pod
namespace: default
spec:
serviceAccountName: test-irsa
containers:
- name: busybox
image: busybox
command: ["sh", "-c", "env | grep AWS && ls -la /var/run/secrets/vultr.com/serviceaccount/ && sleep 3600"]