mirror of
https://github.com/storytold/irsa-manager.git
synced 2026-10-09 00:09:43 +00:00
87 lines
3.1 KiB
YAML
87 lines
3.1 KiB
YAML
---
|
|
apiVersion: apiextensions.k8s.io/v1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
annotations:
|
|
controller-gen.kubebuilder.io/version: v0.14.0
|
|
name: irsas.irsa.kkb0318.github.io
|
|
spec:
|
|
group: irsa.kkb0318.github.io
|
|
names:
|
|
kind: IRSA
|
|
listKind: IRSAList
|
|
plural: irsas
|
|
singular: irsa
|
|
scope: Namespaced
|
|
versions:
|
|
- name: v1alpha1
|
|
schema:
|
|
openAPIV3Schema:
|
|
description: IRSA is the Schema for the irsas API
|
|
properties:
|
|
apiVersion:
|
|
description: |-
|
|
APIVersion defines the versioned schema of this representation of an object.
|
|
Servers should convert recognized schemas to the latest internal value, and
|
|
may reject unrecognized values.
|
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
type: string
|
|
kind:
|
|
description: |-
|
|
Kind is a string value representing the REST resource this object represents.
|
|
Servers may infer this from the endpoint the client submits requests to.
|
|
Cannot be updated.
|
|
In CamelCase.
|
|
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
type: string
|
|
metadata:
|
|
type: object
|
|
spec:
|
|
description: IRSASpec defines the desired state of IRSA
|
|
properties:
|
|
cleanup:
|
|
description: |-
|
|
Cleanup, when enabled, allows the IRSA to perform garbage collection
|
|
of resources that are no longer needed or managed.
|
|
type: boolean
|
|
iamPolicies:
|
|
description: IamPolicies represents the list of IAM policies to be
|
|
attached to the IAM role
|
|
items:
|
|
type: string
|
|
type: array
|
|
iamRole:
|
|
description: IamRole represents the IAM role details associated with
|
|
the IRSA
|
|
properties:
|
|
name:
|
|
description: Name represents the name of the IAM role
|
|
type: string
|
|
type: object
|
|
serviceAccount:
|
|
description: ServiceAccount represents the Kubernetes service account
|
|
associated with the IRSA
|
|
properties:
|
|
name:
|
|
description: Name represents the name of the Kubernetes service
|
|
account
|
|
type: string
|
|
namespaces:
|
|
description: Namespaces represents the list of namespaces where
|
|
the service account is used
|
|
items:
|
|
type: string
|
|
type: array
|
|
type: object
|
|
required:
|
|
- cleanup
|
|
type: object
|
|
status:
|
|
description: IRSAStatus defines the observed state of IRSA
|
|
type: object
|
|
type: object
|
|
served: true
|
|
storage: true
|
|
subresources:
|
|
status: {}
|