github.com/verrazzano/verrazzano@v1.7.0/platform-operator/thirdparty/charts/argo-cd/templates/crds/crd-extension.yaml (about)

     1  {{- if and .Values.crds.install .Values.server.extensions.enabled }}
     2  apiVersion: apiextensions.k8s.io/v1
     3  kind: CustomResourceDefinition
     4  metadata:
     5    annotations:
     6      {{- if .Values.crds.keep }}
     7      "helm.sh/resource-policy": keep
     8      {{- end }}
     9      {{- with .Values.crds.annotations }}
    10        {{- toYaml . | nindent 4 }}
    11      {{- end }}
    12      controller-gen.kubebuilder.io/version: v0.4.1
    13    labels:
    14      app.kubernetes.io/name: argocdextensions.argoproj.io
    15      app.kubernetes.io/part-of: argocd
    16      {{- with .Values.crds.additionalLabels }}
    17        {{- toYaml . | nindent 4}}
    18      {{- end }} 
    19    name: argocdextensions.argoproj.io
    20  spec:
    21    group: argoproj.io
    22    names:
    23      kind: ArgoCDExtension
    24      listKind: ArgoCDExtensionList
    25      plural: argocdextensions
    26      singular: argocdextension
    27    scope: Namespaced
    28    versions:
    29    - name: v1alpha1
    30      schema:
    31        openAPIV3Schema:
    32          description: ArgoCDExtension is the Schema for the argocdextensions API
    33          properties:
    34            apiVersion:
    35              description: 'APIVersion defines the versioned schema of this representation
    36                of an object. Servers should convert recognized schemas to the latest
    37                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    38              type: string
    39            kind:
    40              description: 'Kind is a string value representing the REST resource this
    41                object represents. Servers may infer this from the endpoint the client
    42                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    43              type: string
    44            metadata:
    45              type: object
    46            spec:
    47              description: ArgoCDExtensionSpec defines the desired state of ArgoCDExtension
    48              properties:
    49                sources:
    50                  description: Sources specifies where the extension should come from
    51                  items:
    52                    description: ExtensionSource specifies where the extension should
    53                      be sourced from
    54                    properties:
    55                      git:
    56                        description: Git is specified if the extension should be sourced
    57                          from a git repository
    58                        properties:
    59                          revision:
    60                            description: Revision specifies the revision of the Repository
    61                              to fetch
    62                            type: string
    63                          url:
    64                            description: URL specifies the Git repository URL to fetch
    65                            type: string
    66                        type: object
    67                      web:
    68                        description: Web is specified if the extension should be sourced
    69                          from a web file
    70                        properties:
    71                          url:
    72                            description: URK specifies the remote file URL
    73                            type: string
    74                        type: object
    75                    type: object
    76                  type: array
    77              required:
    78              - sources
    79              type: object
    80            status:
    81              description: ArgoCDExtensionStatus defines the observed state of ArgoCDExtension
    82              properties:
    83                conditions:
    84                  items:
    85                    properties:
    86                      message:
    87                        description: Message contains human-readable message indicating
    88                          details about condition
    89                        type: string
    90                      status:
    91                        description: Boolean status describing if the condition is currently
    92                          true
    93                        type: string
    94                      type:
    95                        description: Type is an ArgoCDExtension condition type
    96                        type: string
    97                    required:
    98                    - message
    99                    - status
   100                    - type
   101                    type: object
   102                  type: array
   103              type: object
   104          type: object
   105      served: true
   106      storage: true
   107  {{- end }}