
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  annotations:
    controller-gen.kubebuilder.io/version: v0.4.1
  name: configs.notification.kubesphere.io
spec:
  conversion:
    strategy: Webhook
    webhook:
      clientConfig:
        caBundle: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURXekNDQWtPZ0F3SUJBZ0lVT3hOb1NwMTlmNS9CNllvZGlRek53MFdJWGhrd0RRWUpLb1pJaHZjTkFRRUwKQlFBd1BERUxNQWtHQTFVRUJoTUNRMDR4Q3pBSkJnTlZCQWdNQWtoQ01Rc3dDUVlEVlFRS0RBSlJRekVUTUJFRwpBMVVFQXd3S2QyVmlhRzl2YXkxallUQWdGdzB5TVRBM01qY3dPREV5TXpaYUdBOHlNVEl4TURjd016QTRNVEl6Ck5sb3dQREVMTUFrR0ExVUVCaE1DUTA0eEN6QUpCZ05WQkFnTUFraENNUXN3Q1FZRFZRUUtEQUpSUXpFVE1CRUcKQTFVRUF3d0tkMlZpYUc5dmF5MWpZVENDQVNJd0RRWUpLb1pJaHZjTkFRRUJCUUFEZ2dFUEFEQ0NBUW9DZ2dFQgpBTlpzblhIZ21meFJYL2MvQy95S0QzY3hMaGdpSzZ5MkphMlh4OUtYeWRPUjNLSStVSzZ2dXM2V1YzTGl0eTZDCmtPVFlScjV6ZlV3aXZZYUMydHVGRnhTUE80L085dHhFVlBha1UwUGo1N0tVRDBiUnJZWEpDY1V5Ri9TZUlCY0EKMlFmbDZEem0rWjd4NHM1TnE1NFMvUUhpYzJFclVVbHEwbmd3MFQ3UVRieDB4M2Ria0ZNRko0VjlLSjVZdkhOSwpLeWdwR2szb2RpUWZ2Yi81b2hjUUhkTXpQV0Rmd25GTERHZjFUWGFHK0VYeDZodmVoK0RXV2grQzA5ZlI5R05yCmhzNnlZaUU1cmVmY29EUlhrRGVCSkZ3eWtPaVErRE5Fc0RaSU40VHlHTkhmeTRYaUp3QWgxNXBsZTkzQWNTTVQKTlEwNWRYK2FiQmg0djQ4NDRab1lUS2tDQXdFQUFhTlRNRkV3SFFZRFZSME9CQllFRko5NzNRUUVSVi9DVlRCZQovbmFyQmhZcS9GV0pNQjhHQTFVZEl3UVlNQmFBRko5NzNRUUVSVi9DVlRCZS9uYXJCaFlxL0ZXSk1BOEdBMVVkCkV3RUIvd1FGTUFNQkFmOHdEUVlKS29aSWh2Y05BUUVMQlFBRGdnRUJBQk9ZOWNDbFpTYm1scndFN0YvZVBMVm4Kenl2dW0yUUE3MU9rcGRtWjN6cnV1MW16VmZNNU1ORndkUkJMOGduS05IdjEzaGhFeGQ4enJmQ2hYQWIzaWl5aQpSZnBSTzJodDBWSi9HQklaYlM1ZjIvZ1hvNXpSRHk0cFV0ekozOWZUZG9pNzQxNlhJdU9ubHI0bDk3ZnlRRTI4Cno0NlAzYlhidlZKU1VEcytFL1g0NVNHVS8xdFNCaFNnaTg1NllVWGxybWJNMDlHN29kSmx4VGozTG1qQ1NlQWUKWG9lYWlTUEl6UlMrWjVUQ0tudDdvbjVBSGQydzdrT0Q1K2tTK3gvbWY4aU1iaVV5dCtXYWVzdjNIcHg1TmwvWgprb1dxVVc1cXZlQ0poQUM0SVc5V3hmc2JWRXlZSTR0Zm9SNzZoWVhCdVVReE9BVHlCdjNJMmZYUUkvU2ZrdW89Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
        service:
          name: notification-manager-webhook
          namespace: kubesphere-monitoring-system
          path: /convert
      conversionReviewVersions:
        - v1
        - v1beta1
  group: notification.kubesphere.io
  names:
    categories:
      - notification-manager
    kind: Config
    listKind: ConfigList
    plural: configs
    shortNames:
      - nc
    singular: config
  scope: Cluster
  versions:
    - name: v2beta1
      schema:
        openAPIV3Schema:
          description: Config is the Schema for the configs 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: ConfigSpec defines the desired state of Config
              properties:
                dingtalk:
                  properties:
                    conversation:
                      description: Only needed when send alerts to the conversation.
                      properties:
                        appkey:
                          description: The key of the application with which to send messages.
                          properties:
                            key:
                              description: The key of the secret to select from.  Must be a valid secret key.
                              type: string
                            name:
                              description: Name of the secret.
                              type: string
                            namespace:
                              description: The namespace of the secret, default to the `defaultSecretNamespace` of `NotificationManager` crd. If the `defaultSecretNamespace` does not set, default to the pod's namespace.
                              type: string
                          required:
                            - key
                          type: object
                        appsecret:
                          description: The key in the secret to be used. Must be a valid secret key.
                          properties:
                            key:
                              description: The key of the secret to select from.  Must be a valid secret key.
                              type: string
                            name:
                              description: Name of the secret.
                              type: string
                            namespace:
                              description: The namespace of the secret, default to the `defaultSecretNamespace` of `NotificationManager` crd. If the `defaultSecretNamespace` does not set, default to the pod's namespace.
                              type: string
                          required:
                            - key
                          type: object
                      type: object
                    labels:
                      additionalProperties:
                        type: string
                      type: object
                  type: object
                email:
                  properties:
                    authIdentify:
                      description: The identity for PLAIN authentication.
                      type: string
                    authPassword:
                      description: The secret contains the SMTP password for LOGIN and PLAIN authentications.
                      properties:
                        key:
                          description: The key of the secret to select from.  Must be a valid secret key.
                          type: string
                        name:
                          description: Name of the secret.
                          type: string
                        namespace:
                          description: The namespace of the secret, default to the `defaultSecretNamespace` of `NotificationManager` crd. If the `defaultSecretNamespace` does not set, default to the pod's namespace.
                          type: string
                      required:
                        - key
                      type: object
                    authSecret:
                      description: The secret contains the SMTP secret for CRAM-MD5 authentication.
                      properties:
                        key:
                          description: The key of the secret to select from.  Must be a valid secret key.
                          type: string
                        name:
                          description: Name of the secret.
                          type: string
                        namespace:
                          description: The namespace of the secret, default to the `defaultSecretNamespace` of `NotificationManager` crd. If the `defaultSecretNamespace` does not set, default to the pod's namespace.
                          type: string
                      required:
                        - key
                      type: object
                    authUsername:
                      description: The username for CRAM-MD5, LOGIN and PLAIN authentications.
                      type: string
                    from:
                      description: The sender address.
                      type: string
                    hello:
                      description: The hostname to use when identifying to the SMTP server.
                      type: string
                    labels:
                      additionalProperties:
                        type: string
                      type: object
                    requireTLS:
                      description: The default SMTP TLS requirement.
                      type: boolean
                    smartHost:
                      description: The address of the SMTP server.
                      properties:
                        host:
                          type: string
                        port:
                          type: integer
                      required:
                        - host
                        - port
                      type: object
                    tls:
                      description: TLSConfig configures the options for TLS connections.
                      properties:
                        clientCertificate:
                          description: The certificate of the client.
                          properties:
                            cert:
                              description: The client cert file for the targets.
                              properties:
                                key:
                                  description: The key of the secret to select from.  Must be a valid secret key.
                                  type: string
                                name:
                                  description: Name of the secret.
                                  type: string
                                namespace:
                                  description: The namespace of the secret, default to the `defaultSecretNamespace` of `NotificationManager` crd. If the `defaultSecretNamespace` does not set, default to the pod's namespace.
                                  type: string
                              required:
                                - key
                              type: object
                            key:
                              description: The client key file for the targets.
                              properties:
                                key:
                                  description: The key of the secret to select from.  Must be a valid secret key.
                                  type: string
                                name:
                                  description: Name of the secret.
                                  type: string
                                namespace:
                                  description: The namespace of the secret, default to the `defaultSecretNamespace` of `NotificationManager` crd. If the `defaultSecretNamespace` does not set, default to the pod's namespace.
                                  type: string
                              required:
                                - key
                              type: object
                          type: object
                        insecureSkipVerify:
                          description: Disable target certificate validation.
                          type: boolean
                        rootCA:
                          description: RootCA defines the root certificate authorities that clients use when verifying server certificates.
                          properties:
                            key:
                              description: The key of the secret to select from.  Must be a valid secret key.
                              type: string
                            name:
                              description: Name of the secret.
                              type: string
                            namespace:
                              description: The namespace of the secret, default to the `defaultSecretNamespace` of `NotificationManager` crd. If the `defaultSecretNamespace` does not set, default to the pod's namespace.
                              type: string
                          required:
                            - key
                          type: object
                        serverName:
                          description: Used to verify the hostname for the targets.
                          type: string
                      type: object
                  required:
                    - from
                    - smartHost
                  type: object
                slack:
                  properties:
                    labels:
                      additionalProperties:
                        type: string
                      type: object
                    slackTokenSecret:
                      description: The token of user or bot.
                      properties:
                        key:
                          description: The key of the secret to select from.  Must be a valid secret key.
                          type: string
                        name:
                          description: Name of the secret.
                          type: string
                        namespace:
                          description: The namespace of the secret, default to the `defaultSecretNamespace` of `NotificationManager` crd. If the `defaultSecretNamespace` does not set, default to the pod's namespace.
                          type: string
                      required:
                        - key
                      type: object
                  type: object
                webhook:
                  properties:
                    labels:
                      additionalProperties:
                        type: string
                      type: object
                  type: object
                wechat:
                  properties:
                    labels:
                      additionalProperties:
                        type: string
                      type: object
                    wechatApiAgentId:
                      description: The id of the application which sending message.
                      type: string
                    wechatApiCorpId:
                      description: The corp id for authentication.
                      type: string
                    wechatApiSecret:
                      description: The API key to use when talking to the WeChat API.
                      properties:
                        key:
                          description: The key of the secret to select from.  Must be a valid secret key.
                          type: string
                        name:
                          description: Name of the secret.
                          type: string
                        namespace:
                          description: The namespace of the secret, default to the `defaultSecretNamespace` of `NotificationManager` crd. If the `defaultSecretNamespace` does not set, default to the pod's namespace.
                          type: string
                      required:
                        - key
                      type: object
                    wechatApiUrl:
                      description: The WeChat API URL.
                      type: string
                  required:
                    - wechatApiAgentId
                    - wechatApiCorpId
                    - wechatApiSecret
                  type: object
              type: object
            status:
              description: ConfigStatus defines the observed state of Config
              type: object
          type: object
      served: true
      storage: false
      subresources:
        status: {}
    - name: v2beta2
      schema:
        openAPIV3Schema:
          description: Config is the Schema for the dingtalkconfigs 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: ConfigSpec defines the desired state of Config
              properties:
                dingtalk:
                  properties:
                    conversation:
                      description: Only needed when send alerts to the conversation.
                      properties:
                        appkey:
                          description: The key of the application with which to send messages.
                          properties:
                            value:
                              type: string
                            valueFrom:
                              properties:
                                secretKeyRef:
                                  description: Selects a key of a secret in the pod's namespace
                                  properties:
                                    key:
                                      description: The key of the secret to select from.  Must be a valid secret key.
                                      type: string
                                    name:
                                      description: Name of the secret.
                                      type: string
                                    namespace:
                                      description: The namespace of the secret, default to the `defaultSecretNamespace` of `NotificationManager` crd. If the `defaultSecretNamespace` does not set, default to the pod's namespace.
                                      type: string
                                  required:
                                    - key
                                    - name
                                  type: object
                              type: object
                          type: object
                        appsecret:
                          description: The key in the secret to be used. Must be a valid secret key.
                          properties:
                            value:
                              type: string
                            valueFrom:
                              properties:
                                secretKeyRef:
                                  description: Selects a key of a secret in the pod's namespace
                                  properties:
                                    key:
                                      description: The key of the secret to select from.  Must be a valid secret key.
                                      type: string
                                    name:
                                      description: Name of the secret.
                                      type: string
                                    namespace:
                                      description: The namespace of the secret, default to the `defaultSecretNamespace` of `NotificationManager` crd. If the `defaultSecretNamespace` does not set, default to the pod's namespace.
                                      type: string
                                  required:
                                    - key
                                    - name
                                  type: object
                              type: object
                          type: object
                      required:
                        - appkey
                        - appsecret
                      type: object
                    labels:
                      additionalProperties:
                        type: string
                      type: object
                  type: object
                email:
                  properties:
                    authIdentify:
                      description: The identity for PLAIN authentication.
                      type: string
                    authPassword:
                      description: The secret contains the SMTP password for LOGIN and PLAIN authentications.
                      properties:
                        value:
                          type: string
                        valueFrom:
                          properties:
                            secretKeyRef:
                              description: Selects a key of a secret in the pod's namespace
                              properties:
                                key:
                                  description: The key of the secret to select from.  Must be a valid secret key.
                                  type: string
                                name:
                                  description: Name of the secret.
                                  type: string
                                namespace:
                                  description: The namespace of the secret, default to the `defaultSecretNamespace` of `NotificationManager` crd. If the `defaultSecretNamespace` does not set, default to the pod's namespace.
                                  type: string
                              required:
                                - key
                                - name
                              type: object
                          type: object
                      type: object
                    authSecret:
                      description: The secret contains the SMTP secret for CRAM-MD5 authentication.
                      properties:
                        value:
                          type: string
                        valueFrom:
                          properties:
                            secretKeyRef:
                              description: Selects a key of a secret in the pod's namespace
                              properties:
                                key:
                                  description: The key of the secret to select from.  Must be a valid secret key.
                                  type: string
                                name:
                                  description: Name of the secret.
                                  type: string
                                namespace:
                                  description: The namespace of the secret, default to the `defaultSecretNamespace` of `NotificationManager` crd. If the `defaultSecretNamespace` does not set, default to the pod's namespace.
                                  type: string
                              required:
                                - key
                                - name
                              type: object
                          type: object
                      type: object
                    authUsername:
                      description: The username for CRAM-MD5, LOGIN and PLAIN authentications.
                      type: string
                    from:
                      description: The sender address.
                      type: string
                    hello:
                      description: The hostname to use when identifying to the SMTP server.
                      type: string
                    labels:
                      additionalProperties:
                        type: string
                      type: object
                    requireTLS:
                      description: The default SMTP TLS requirement.
                      type: boolean
                    smartHost:
                      description: The address of the SMTP server.
                      properties:
                        host:
                          type: string
                        port:
                          type: integer
                      required:
                        - host
                        - port
                      type: object
                    tls:
                      description: TLSConfig configures the options for TLS connections.
                      properties:
                        clientCertificate:
                          description: The certificate of the client.
                          properties:
                            cert:
                              description: The client cert file for the targets.
                              properties:
                                value:
                                  type: string
                                valueFrom:
                                  properties:
                                    secretKeyRef:
                                      description: Selects a key of a secret in the pod's namespace
                                      properties:
                                        key:
                                          description: The key of the secret to select from.  Must be a valid secret key.
                                          type: string
                                        name:
                                          description: Name of the secret.
                                          type: string
                                        namespace:
                                          description: The namespace of the secret, default to the `defaultSecretNamespace` of `NotificationManager` crd. If the `defaultSecretNamespace` does not set, default to the pod's namespace.
                                          type: string
                                      required:
                                        - key
                                        - name
                                      type: object
                                  type: object
                              type: object
                            key:
                              description: The client key file for the targets.
                              properties:
                                value:
                                  type: string
                                valueFrom:
                                  properties:
                                    secretKeyRef:
                                      description: Selects a key of a secret in the pod's namespace
                                      properties:
                                        key:
                                          description: The key of the secret to select from.  Must be a valid secret key.
                                          type: string
                                        name:
                                          description: Name of the secret.
                                          type: string
                                        namespace:
                                          description: The namespace of the secret, default to the `defaultSecretNamespace` of `NotificationManager` crd. If the `defaultSecretNamespace` does not set, default to the pod's namespace.
                                          type: string
                                      required:
                                        - key
                                        - name
                                      type: object
                                  type: object
                              type: object
                          required:
                            - cert
                            - key
                          type: object
                        insecureSkipVerify:
                          description: Disable target certificate validation.
                          type: boolean
                        rootCA:
                          description: RootCA defines the root certificate authorities that clients use when verifying server certificates.
                          properties:
                            value:
                              type: string
                            valueFrom:
                              properties:
                                secretKeyRef:
                                  description: Selects a key of a secret in the pod's namespace
                                  properties:
                                    key:
                                      description: The key of the secret to select from.  Must be a valid secret key.
                                      type: string
                                    name:
                                      description: Name of the secret.
                                      type: string
                                    namespace:
                                      description: The namespace of the secret, default to the `defaultSecretNamespace` of `NotificationManager` crd. If the `defaultSecretNamespace` does not set, default to the pod's namespace.
                                      type: string
                                  required:
                                    - key
                                    - name
                                  type: object
                              type: object
                          type: object
                        serverName:
                          description: Used to verify the hostname for the targets.
                          type: string
                      type: object
                  required:
                    - from
                    - smartHost
                  type: object
                pushover:
                  properties:
                    labels:
                      additionalProperties:
                        type: string
                      type: object
                    pushoverTokenSecret:
                      description: The token of a pushover application.
                      properties:
                        value:
                          type: string
                        valueFrom:
                          properties:
                            secretKeyRef:
                              description: Selects a key of a secret in the pod's namespace
                              properties:
                                key:
                                  description: The key of the secret to select from.  Must be a valid secret key.
                                  type: string
                                name:
                                  description: Name of the secret.
                                  type: string
                                namespace:
                                  description: The namespace of the secret, default to the `defaultSecretNamespace` of `NotificationManager` crd. If the `defaultSecretNamespace` does not set, default to the pod's namespace.
                                  type: string
                              required:
                                - key
                                - name
                              type: object
                          type: object
                      type: object
                  required:
                    - pushoverTokenSecret
                  type: object
                slack:
                  properties:
                    labels:
                      additionalProperties:
                        type: string
                      type: object
                    slackTokenSecret:
                      description: The token of user or bot.
                      properties:
                        value:
                          type: string
                        valueFrom:
                          properties:
                            secretKeyRef:
                              description: Selects a key of a secret in the pod's namespace
                              properties:
                                key:
                                  description: The key of the secret to select from.  Must be a valid secret key.
                                  type: string
                                name:
                                  description: Name of the secret.
                                  type: string
                                namespace:
                                  description: The namespace of the secret, default to the `defaultSecretNamespace` of `NotificationManager` crd. If the `defaultSecretNamespace` does not set, default to the pod's namespace.
                                  type: string
                              required:
                                - key
                                - name
                              type: object
                          type: object
                      type: object
                  required:
                    - slackTokenSecret
                  type: object
                sms:
                  properties:
                    defaultProvider:
                      description: The default sms provider, optional, use the first provider if not set
                      type: string
                    providers:
                      description: All sms providers
                      properties:
                        aliyun:
                          description: Sms Aliyun provider parameters
                          properties:
                            accessKeyId:
                              properties:
                                value:
                                  type: string
                                valueFrom:
                                  properties:
                                    secretKeyRef:
                                      description: Selects a key of a secret in the pod's namespace
                                      properties:
                                        key:
                                          description: The key of the secret to select from.  Must be a valid secret key.
                                          type: string
                                        name:
                                          description: Name of the secret.
                                          type: string
                                        namespace:
                                          description: The namespace of the secret, default to the `defaultSecretNamespace` of `NotificationManager` crd. If the `defaultSecretNamespace` does not set, default to the pod's namespace.
                                          type: string
                                      required:
                                        - key
                                        - name
                                      type: object
                                  type: object
                              type: object
                            accessKeySecret:
                              properties:
                                value:
                                  type: string
                                valueFrom:
                                  properties:
                                    secretKeyRef:
                                      description: Selects a key of a secret in the pod's namespace
                                      properties:
                                        key:
                                          description: The key of the secret to select from.  Must be a valid secret key.
                                          type: string
                                        name:
                                          description: Name of the secret.
                                          type: string
                                        namespace:
                                          description: The namespace of the secret, default to the `defaultSecretNamespace` of `NotificationManager` crd. If the `defaultSecretNamespace` does not set, default to the pod's namespace.
                                          type: string
                                      required:
                                        - key
                                        - name
                                      type: object
                                  type: object
                              type: object
                            signName:
                              type: string
                            templateCode:
                              type: string
                          required:
                            - accessKeyId
                            - accessKeySecret
                            - signName
                          type: object
                        huawei:
                          description: Sms huawei provider parameters
                          properties:
                            appKey:
                              properties:
                                value:
                                  type: string
                                valueFrom:
                                  properties:
                                    secretKeyRef:
                                      description: Selects a key of a secret in the pod's namespace
                                      properties:
                                        key:
                                          description: The key of the secret to select from.  Must be a valid secret key.
                                          type: string
                                        name:
                                          description: Name of the secret.
                                          type: string
                                        namespace:
                                          description: The namespace of the secret, default to the `defaultSecretNamespace` of `NotificationManager` crd. If the `defaultSecretNamespace` does not set, default to the pod's namespace.
                                          type: string
                                      required:
                                        - key
                                        - name
                                      type: object
                                  type: object
                              type: object
                            appSecret:
                              properties:
                                value:
                                  type: string
                                valueFrom:
                                  properties:
                                    secretKeyRef:
                                      description: Selects a key of a secret in the pod's namespace
                                      properties:
                                        key:
                                          description: The key of the secret to select from.  Must be a valid secret key.
                                          type: string
                                        name:
                                          description: Name of the secret.
                                          type: string
                                        namespace:
                                          description: The namespace of the secret, default to the `defaultSecretNamespace` of `NotificationManager` crd. If the `defaultSecretNamespace` does not set, default to the pod's namespace.
                                          type: string
                                      required:
                                        - key
                                        - name
                                      type: object
                                  type: object
                              type: object
                            sender:
                              type: string
                            signature:
                              type: string
                            templateId:
                              type: string
                            url:
                              type: string
                          required:
                            - appKey
                            - appSecret
                            - sender
                            - signature
                            - templateId
                          type: object
                        tencent:
                          description: Sms tencent provider parameters
                          properties:
                            secretId:
                              properties:
                                value:
                                  type: string
                                valueFrom:
                                  properties:
                                    secretKeyRef:
                                      description: Selects a key of a secret in the pod's namespace
                                      properties:
                                        key:
                                          description: The key of the secret to select from.  Must be a valid secret key.
                                          type: string
                                        name:
                                          description: Name of the secret.
                                          type: string
                                        namespace:
                                          description: The namespace of the secret, default to the `defaultSecretNamespace` of `NotificationManager` crd. If the `defaultSecretNamespace` does not set, default to the pod's namespace.
                                          type: string
                                      required:
                                        - key
                                        - name
                                      type: object
                                  type: object
                              type: object
                            secretKey:
                              properties:
                                value:
                                  type: string
                                valueFrom:
                                  properties:
                                    secretKeyRef:
                                      description: Selects a key of a secret in the pod's namespace
                                      properties:
                                        key:
                                          description: The key of the secret to select from.  Must be a valid secret key.
                                          type: string
                                        name:
                                          description: Name of the secret.
                                          type: string
                                        namespace:
                                          description: The namespace of the secret, default to the `defaultSecretNamespace` of `NotificationManager` crd. If the `defaultSecretNamespace` does not set, default to the pod's namespace.
                                          type: string
                                      required:
                                        - key
                                        - name
                                      type: object
                                  type: object
                              type: object
                            sign:
                              type: string
                            smsSdkAppid:
                              type: string
                            templateID:
                              type: string
                          required:
                            - secretId
                            - secretKey
                            - sign
                            - smsSdkAppid
                            - templateID
                          type: object
                      type: object
                  required:
                    - providers
                  type: object
                webhook:
                  properties:
                    labels:
                      additionalProperties:
                        type: string
                      type: object
                  type: object
                wechat:
                  properties:
                    labels:
                      additionalProperties:
                        type: string
                      type: object
                    wechatApiAgentId:
                      description: The id of the application which sending message.
                      type: string
                    wechatApiCorpId:
                      description: The corp id for authentication.
                      type: string
                    wechatApiSecret:
                      description: The API key to use when talking to the WeChat API.
                      properties:
                        value:
                          type: string
                        valueFrom:
                          properties:
                            secretKeyRef:
                              description: Selects a key of a secret in the pod's namespace
                              properties:
                                key:
                                  description: The key of the secret to select from.  Must be a valid secret key.
                                  type: string
                                name:
                                  description: Name of the secret.
                                  type: string
                                namespace:
                                  description: The namespace of the secret, default to the `defaultSecretNamespace` of `NotificationManager` crd. If the `defaultSecretNamespace` does not set, default to the pod's namespace.
                                  type: string
                              required:
                                - key
                                - name
                              type: object
                          type: object
                      type: object
                    wechatApiUrl:
                      description: The WeChat API URL.
                      type: string
                  required:
                    - wechatApiAgentId
                    - wechatApiCorpId
                    - wechatApiSecret
                  type: object
              type: object
            status:
              description: ConfigStatus defines the observed state of Config
              type: object
          type: object
      served: true
      storage: true
      subresources:
        status: {}
status:
  acceptedNames:
    kind: ""
    plural: ""
  conditions: []
  storedVersions: []