mirror of
https://github.com/storytold/irsa-manager.git
synced 2026-10-09 00:09:43 +00:00
irsa create/update/delete role and attach policy
This commit is contained in:
@@ -20,9 +20,6 @@ import (
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
)
|
||||
|
||||
// EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN!
|
||||
// NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized.
|
||||
|
||||
// IRSASpec defines the desired state of IRSA
|
||||
type IRSASpec struct {
|
||||
// ServiceAccount represents the Kubernetes service account associated with the IRSA
|
||||
@@ -43,8 +40,6 @@ type IRSAServiceAccount struct {
|
||||
|
||||
// IamRole represents the IAM role configuration
|
||||
type IamRole struct {
|
||||
// Create specifies whether to create the IAM role or not
|
||||
Create bool `json:"create,omitempty"`
|
||||
// Name represents the name of the IAM role
|
||||
Name string `json:"name,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user