From f85bef799561f321f23f4740984f890600b43ec2 Mon Sep 17 00:00:00 2001 From: kkb0318 Date: Sat, 25 May 2024 21:54:37 +0900 Subject: [PATCH] add example --- Makefile | 7 ------- examples/irsa.yaml | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 7 deletions(-) create mode 100644 examples/irsa.yaml diff --git a/Makefile b/Makefile index 8fd0284..aba177c 100644 --- a/Makefile +++ b/Makefile @@ -222,10 +222,3 @@ else OPERATOR_SDK = $(shell which operator-sdk) 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 - - diff --git a/examples/irsa.yaml b/examples/irsa.yaml new file mode 100644 index 0000000..41e3210 --- /dev/null +++ b/examples/irsa.yaml @@ -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