github.com/giantswarm/apiextensions/v6@v6.6.0/helm/crds-common/templates/monitoring.giantswarm.io_silences.yaml (about)

     1  
     2  ---
     3  apiVersion: apiextensions.k8s.io/v1
     4  kind: CustomResourceDefinition
     5  metadata:
     6    annotations:
     7      controller-gen.kubebuilder.io/version: v0.7.0
     8    creationTimestamp: null
     9    name: silences.monitoring.giantswarm.io
    10  spec:
    11    group: monitoring.giantswarm.io
    12    names:
    13      categories:
    14      - common
    15      - giantswarm
    16      kind: Silence
    17      listKind: SilenceList
    18      plural: silences
    19      singular: silence
    20    scope: Cluster
    21    versions:
    22    - name: v1alpha1
    23      schema:
    24        openAPIV3Schema:
    25          description: Silence represents schema for managed silences in Alertmanager.
    26            Reconciled by silence-operator.
    27          properties:
    28            apiVersion:
    29              description: 'APIVersion defines the versioned schema of this representation
    30                of an object. Servers should convert recognized schemas to the latest
    31                internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
    32              type: string
    33            kind:
    34              description: 'Kind is a string value representing the REST resource this
    35                object represents. Servers may infer this from the endpoint the client
    36                submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
    37              type: string
    38            metadata:
    39              type: object
    40            spec:
    41              properties:
    42                matchers:
    43                  items:
    44                    properties:
    45                      isEqual:
    46                        type: boolean
    47                      isRegex:
    48                        type: boolean
    49                      name:
    50                        type: string
    51                      value:
    52                        type: string
    53                    required:
    54                    - isRegex
    55                    - name
    56                    - value
    57                    type: object
    58                  type: array
    59                owner:
    60                  description: Owner is GitHub username of a person who created and/or
    61                    owns the silence.
    62                  type: string
    63                postmortem_url:
    64                  description: PostmortemURL is a link to a document describing the
    65                    problem.
    66                  type: string
    67                targetTags:
    68                  items:
    69                    properties:
    70                      name:
    71                        type: string
    72                      value:
    73                        type: string
    74                    required:
    75                    - name
    76                    - value
    77                    type: object
    78                  type: array
    79              required:
    80              - matchers
    81              - targetTags
    82              type: object
    83          required:
    84          - metadata
    85          - spec
    86          type: object
    87      served: true
    88      storage: true
    89  status:
    90    acceptedNames:
    91      kind: ""
    92      plural: ""
    93    conditions: []
    94    storedVersions: []