add example

This commit is contained in:
kkb0318
2024-05-25 21:54:37 +09:00
parent 9cc6d08eb5
commit f85bef7995
2 changed files with 16 additions and 7 deletions
-7
View File
@@ -222,10 +222,3 @@ else
OPERATOR_SDK = $(shell which operator-sdk) OPERATOR_SDK = $(shell which operator-sdk)
endif endif
endif endif
.PHONY: test-deploy
test-deploy: build install
docker build . -t ghcr.io/kkb0318/irsa-manager
docker push ghcr.io/kkb0318/irsa-manager:latest
+16
View File
@@ -0,0 +1,16 @@
apiVersion: irsa.kkb0318.github.io/v1alpha1
kind: IRSA
metadata:
name: irsa-sample
namespace: irsa-manager-system
spec:
cleanup: true
serviceAccount:
name: irsa1-sa
namespaces:
- kube-system
- default
iamRole:
name: irsa1-role
iamPolicies:
- AmazonS3FullAccess