Skip to content
Snippets Groups Projects
prometheus-operator-0prometheusCustomResourceDefinition.yaml 348 KiB
Newer Older
paulfantom's avatar
paulfantom committed
                        readOnly:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it'
paulfantom's avatar
paulfantom committed
                          type: boolean
                        secretFile:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it'
paulfantom's avatar
paulfantom committed
                          type: string
                        secretRef:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it'
Lili Cosic's avatar
Lili Cosic committed
                          properties:
                            name:
Jesse Bye's avatar
Jesse Bye committed
                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
Lili Cosic's avatar
Lili Cosic committed
                              type: string
                          type: object
paulfantom's avatar
paulfantom committed
                        user:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it'
paulfantom's avatar
paulfantom committed
                          type: string
                      required:
                      - monitors
                      type: object
                    cinder:
Jesse Bye's avatar
Jesse Bye committed
                      description: 'Cinder represents a cinder volume attached and mounted on kubelets host machine. More info: https://examples.k8s.io/mysql-cinder-pd/README.md'
paulfantom's avatar
paulfantom committed
                      properties:
                        fsType:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md'
paulfantom's avatar
paulfantom committed
                          type: string
                        readOnly:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md'
paulfantom's avatar
paulfantom committed
                          type: boolean
                        secretRef:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'Optional: points to a secret object containing parameters used to connect to OpenStack.'
Lili Cosic's avatar
Lili Cosic committed
                          properties:
paulfantom's avatar
paulfantom committed
                            name:
Jesse Bye's avatar
Jesse Bye committed
                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
paulfantom's avatar
paulfantom committed
                              type: string
                          type: object
                        volumeID:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md'
paulfantom's avatar
paulfantom committed
                          type: string
                      required:
                      - volumeID
                      type: object
                    configMap:
Jesse Bye's avatar
Jesse Bye committed
                      description: ConfigMap represents a configMap that should populate this volume
paulfantom's avatar
paulfantom committed
                      properties:
                        defaultMode:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.'
paulfantom's avatar
paulfantom committed
                          format: int32
                          type: integer
                        items:
Jesse Bye's avatar
Jesse Bye committed
                          description: If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
paulfantom's avatar
paulfantom committed
                          items:
                            description: Maps a string key to a path within a volume.
                            properties:
                              key:
                                description: The key to project.
                                type: string
paulfantom's avatar
paulfantom committed
                              mode:
Jesse Bye's avatar
Jesse Bye committed
                                description: 'Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.'
paulfantom's avatar
paulfantom committed
                                format: int32
                                type: integer
                              path:
Jesse Bye's avatar
Jesse Bye committed
                                description: The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.
                                type: string
paulfantom's avatar
paulfantom committed
                            required:
                            - key
                            - path
                            type: object
                          type: array
                        name:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
paulfantom's avatar
paulfantom committed
                          type: string
                        optional:
Jesse Bye's avatar
Jesse Bye committed
                          description: Specify whether the ConfigMap or its keys must be defined
paulfantom's avatar
paulfantom committed
                          type: boolean
                      type: object
                    csi:
Jesse Bye's avatar
Jesse Bye committed
                      description: CSI (Container Storage Interface) represents storage that is handled by an external CSI driver (Alpha feature).
paulfantom's avatar
paulfantom committed
                      properties:
                        driver:
Jesse Bye's avatar
Jesse Bye committed
                          description: Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.
paulfantom's avatar
paulfantom committed
                          type: string
                        fsType:
Jesse Bye's avatar
Jesse Bye committed
                          description: Filesystem type to mount. Ex. "ext4", "xfs", "ntfs". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply.
paulfantom's avatar
paulfantom committed
                          type: string
                        nodePublishSecretRef:
Jesse Bye's avatar
Jesse Bye committed
                          description: NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and  may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed.
paulfantom's avatar
paulfantom committed
                          properties:
                            name:
Jesse Bye's avatar
Jesse Bye committed
                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
paulfantom's avatar
paulfantom committed
                              type: string
Lili Cosic's avatar
Lili Cosic committed
                          type: object
paulfantom's avatar
paulfantom committed
                        readOnly:
Jesse Bye's avatar
Jesse Bye committed
                          description: Specifies a read-only configuration for the volume. Defaults to false (read/write).
paulfantom's avatar
paulfantom committed
                          type: boolean
                        volumeAttributes:
                          additionalProperties:
                            type: string
Jesse Bye's avatar
Jesse Bye committed
                          description: VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values.
paulfantom's avatar
paulfantom committed
                          type: object
                      required:
                      - driver
                      type: object
                    downwardAPI:
Jesse Bye's avatar
Jesse Bye committed
                      description: DownwardAPI represents downward API about the pod that should populate this volume
paulfantom's avatar
paulfantom committed
                      properties:
                        defaultMode:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.'
paulfantom's avatar
paulfantom committed
                          format: int32
                          type: integer
                        items:
                          description: Items is a list of downward API volume file
                          items:
Jesse Bye's avatar
Jesse Bye committed
                            description: DownwardAPIVolumeFile represents information to create the file containing the pod field
paulfantom's avatar
paulfantom committed
                            properties:
                              fieldRef:
Jesse Bye's avatar
Jesse Bye committed
                                description: 'Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.'
Lili Cosic's avatar
Lili Cosic committed
                                properties:
paulfantom's avatar
paulfantom committed
                                  apiVersion:
Jesse Bye's avatar
Jesse Bye committed
                                    description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
Lili Cosic's avatar
Lili Cosic committed
                                    type: string
paulfantom's avatar
paulfantom committed
                                  fieldPath:
Jesse Bye's avatar
Jesse Bye committed
                                    description: Path of the field to select in the specified API version.
Lili Cosic's avatar
Lili Cosic committed
                                    type: string
                                required:
paulfantom's avatar
paulfantom committed
                                - fieldPath
Lili Cosic's avatar
Lili Cosic committed
                                type: object
paulfantom's avatar
paulfantom committed
                              mode:
Jesse Bye's avatar
Jesse Bye committed
                                description: 'Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.'
paulfantom's avatar
paulfantom committed
                                format: int32
                                type: integer
                              path:
Jesse Bye's avatar
Jesse Bye committed
                                description: 'Required: Path is  the relative path name of the file to be created. Must not be absolute or contain the ''..'' path. Must be utf-8 encoded. The first item of the relative path must not start with ''..'''
                                type: string
paulfantom's avatar
paulfantom committed
                              resourceFieldRef:
Jesse Bye's avatar
Jesse Bye committed
                                description: 'Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.'
paulfantom's avatar
paulfantom committed
                                properties:
                                  containerName:
Jesse Bye's avatar
Jesse Bye committed
                                    description: 'Container name: required for volumes, optional for env vars'
paulfantom's avatar
paulfantom committed
                                    type: string
                                  divisor:
Lili Cosic's avatar
Lili Cosic committed
                                    anyOf:
                                    - type: integer
                                    - type: string
Jesse Bye's avatar
Jesse Bye committed
                                    description: Specifies the output format of the exposed resources, defaults to "1"
Lili Cosic's avatar
Lili Cosic committed
                                    pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                    x-kubernetes-int-or-string: true
paulfantom's avatar
paulfantom committed
                                  resource:
                                    description: 'Required: resource to select'
                                    type: string
                                required:
                                - resource
                                type: object
                            required:
                            - path
                            type: object
                          type: array
                      type: object
                    emptyDir:
Jesse Bye's avatar
Jesse Bye committed
                      description: 'EmptyDir represents a temporary directory that shares a pod''s lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir'
paulfantom's avatar
paulfantom committed
                      properties:
                        medium:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'What type of storage medium should back this directory. The default is "" which means to use the node''s default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir'
Lili Cosic's avatar
Lili Cosic committed
                          type: string
paulfantom's avatar
paulfantom committed
                        sizeLimit:
Lili Cosic's avatar
Lili Cosic committed
                          anyOf:
                          - type: integer
                          - type: string
Jesse Bye's avatar
Jesse Bye committed
                          description: 'Total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: http://kubernetes.io/docs/user-guide/volumes#emptydir'
Lili Cosic's avatar
Lili Cosic committed
                          pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                          x-kubernetes-int-or-string: true
Lili Cosic's avatar
Lili Cosic committed
                      type: object
paulfantom's avatar
paulfantom committed
                    fc:
Jesse Bye's avatar
Jesse Bye committed
                      description: FC represents a Fibre Channel resource that is attached to a kubelet's host machine and then exposed to the pod.
Lili Cosic's avatar
Lili Cosic committed
                      properties:
paulfantom's avatar
paulfantom committed
                        fsType:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. TODO: how do we prevent errors in the filesystem from compromising the machine'
paulfantom's avatar
paulfantom committed
                          type: string
                        lun:
                          description: 'Optional: FC target lun number'
                          format: int32
                          type: integer
                        readOnly:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.'
paulfantom's avatar
paulfantom committed
                          type: boolean
                        targetWWNs:
                          description: 'Optional: FC target worldwide names (WWNs)'
Lili Cosic's avatar
Lili Cosic committed
                          items:
                            type: string
                          type: array
paulfantom's avatar
paulfantom committed
                        wwids:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'Optional: FC volume world wide identifiers (wwids) Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously.'
Lili Cosic's avatar
Lili Cosic committed
                          items:
paulfantom's avatar
paulfantom committed
                            type: string
Lili Cosic's avatar
Lili Cosic committed
                      type: object
paulfantom's avatar
paulfantom committed
                    flexVolume:
Jesse Bye's avatar
Jesse Bye committed
                      description: FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.
                      properties:
paulfantom's avatar
paulfantom committed
                        driver:
Jesse Bye's avatar
Jesse Bye committed
                          description: Driver is the name of the driver to use for this volume.
paulfantom's avatar
paulfantom committed
                          type: string
                        fsType:
Jesse Bye's avatar
Jesse Bye committed
                          description: Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
paulfantom's avatar
paulfantom committed
                          type: string
                        options:
                          additionalProperties:
                            type: string
                          description: 'Optional: Extra command options if any.'
                          type: object
paulfantom's avatar
paulfantom committed
                        readOnly:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.'
paulfantom's avatar
paulfantom committed
                          type: boolean
                        secretRef:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.'
                          properties:
                            name:
Jesse Bye's avatar
Jesse Bye committed
                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
                              type: string
                          type: object
paulfantom's avatar
paulfantom committed
                      required:
                      - driver
                      type: object
paulfantom's avatar
paulfantom committed
                    flocker:
Jesse Bye's avatar
Jesse Bye committed
                      description: Flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running
                      properties:
paulfantom's avatar
paulfantom committed
                        datasetName:
Jesse Bye's avatar
Jesse Bye committed
                          description: Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated
paulfantom's avatar
paulfantom committed
                          type: string
                        datasetUUID:
Jesse Bye's avatar
Jesse Bye committed
                          description: UUID of the dataset. This is unique identifier of a Flocker dataset
paulfantom's avatar
paulfantom committed
                          type: string
                      type: object
paulfantom's avatar
paulfantom committed
                    gcePersistentDisk:
Jesse Bye's avatar
Jesse Bye committed
                      description: 'GCEPersistentDisk represents a GCE Disk resource that is attached to a kubelet''s host machine and then exposed to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk'
                      properties:
paulfantom's avatar
paulfantom committed
                        fsType:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk TODO: how do we prevent errors in the filesystem from compromising the machine'
                          type: string
paulfantom's avatar
paulfantom committed
                        partition:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'The partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as "1". Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty). More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk'
paulfantom's avatar
paulfantom committed
                          format: int32
                          type: integer
                        pdName:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'Unique name of the PD resource in GCE. Used to identify the disk in GCE. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk'
                          type: string
paulfantom's avatar
paulfantom committed
                        readOnly:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk'
                          type: boolean
                      required:
paulfantom's avatar
paulfantom committed
                      - pdName
                      type: object
paulfantom's avatar
paulfantom committed
                    gitRepo:
Jesse Bye's avatar
Jesse Bye committed
                      description: 'GitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod''s container.'
paulfantom's avatar
paulfantom committed
                      properties:
                        directory:
Jesse Bye's avatar
Jesse Bye committed
                          description: Target directory name. Must not contain or start with '..'.  If '.' is supplied, the volume directory will be the git repository.  Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.
paulfantom's avatar
paulfantom committed
                          type: string
                        repository:
                          description: Repository URL
                          type: string
                        revision:
                          description: Commit hash for the specified revision.
                          type: string
                      required:
                      - repository
Lili Cosic's avatar
Lili Cosic committed
                      type: object
paulfantom's avatar
paulfantom committed
                    glusterfs:
Jesse Bye's avatar
Jesse Bye committed
                      description: 'Glusterfs represents a Glusterfs mount on the host that shares a pod''s lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md'
paulfantom's avatar
paulfantom committed
                      properties:
                        endpoints:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'EndpointsName is the endpoint name that details Glusterfs topology. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod'
paulfantom's avatar
paulfantom committed
                          type: string
                        path:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'Path is the Glusterfs volume path. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod'
paulfantom's avatar
paulfantom committed
                          type: string
                        readOnly:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions. Defaults to false. More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod'
paulfantom's avatar
paulfantom committed
                          type: boolean
                      required:
                      - endpoints
                      - path
Lili Cosic's avatar
Lili Cosic committed
                      type: object
paulfantom's avatar
paulfantom committed
                    hostPath:
Jesse Bye's avatar
Jesse Bye committed
                      description: 'HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath --- TODO(jonesdl) We need to restrict who can use host directory mounts and who can/can not mount host directories as read/write.'
paulfantom's avatar
paulfantom committed
                      properties:
                        path:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'Path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath'
Lili Cosic's avatar
Lili Cosic committed
                          type: string
paulfantom's avatar
paulfantom committed
                        type:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'Type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath'
paulfantom's avatar
paulfantom committed
                          type: string
                      required:
                      - path
                      type: object
                    iscsi:
Jesse Bye's avatar
Jesse Bye committed
                      description: 'ISCSI represents an ISCSI Disk resource that is attached to a kubelet''s host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md'
paulfantom's avatar
paulfantom committed
                      properties:
                        chapAuthDiscovery:
                          description: whether support iSCSI Discovery CHAP authentication
                          type: boolean
                        chapAuthSession:
                          description: whether support iSCSI Session CHAP authentication
                          type: boolean
                        fsType:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#iscsi TODO: how do we prevent errors in the filesystem from compromising the machine'
paulfantom's avatar
paulfantom committed
                          type: string
                        initiatorName:
Jesse Bye's avatar
Jesse Bye committed
                          description: Custom iSCSI Initiator Name. If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface <target portal>:<volume name> will be created for the connection.
paulfantom's avatar
paulfantom committed
                          type: string
                        iqn:
                          description: Target iSCSI Qualified Name.
                          type: string
                        iscsiInterface:
Jesse Bye's avatar
Jesse Bye committed
                          description: iSCSI Interface Name that uses an iSCSI transport. Defaults to 'default' (tcp).
paulfantom's avatar
paulfantom committed
                          type: string
                        lun:
                          description: iSCSI Target Lun number.
                          format: int32
                          type: integer
                        portals:
Jesse Bye's avatar
Jesse Bye committed
                          description: iSCSI Target Portal List. The portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
paulfantom's avatar
paulfantom committed
                          items:
Lili Cosic's avatar
Lili Cosic committed
                            type: string
paulfantom's avatar
paulfantom committed
                          type: array
                        readOnly:
Jesse Bye's avatar
Jesse Bye committed
                          description: ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false.
paulfantom's avatar
paulfantom committed
                          type: boolean
                        secretRef:
Jesse Bye's avatar
Jesse Bye committed
                          description: CHAP Secret for iSCSI target and initiator authentication
Lili Cosic's avatar
Lili Cosic committed
                          properties:
paulfantom's avatar
paulfantom committed
                            name:
Jesse Bye's avatar
Jesse Bye committed
                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
Lili Cosic's avatar
Lili Cosic committed
                              type: string
                          type: object
paulfantom's avatar
paulfantom committed
                        targetPortal:
Jesse Bye's avatar
Jesse Bye committed
                          description: iSCSI Target Portal. The Portal is either an IP or ip_addr:port if the port is other than default (typically TCP ports 860 and 3260).
                          type: string
paulfantom's avatar
paulfantom committed
                      required:
                      - iqn
                      - lun
                      - targetPortal
                      type: object
                    name:
Jesse Bye's avatar
Jesse Bye committed
                      description: 'Volume''s name. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
paulfantom's avatar
paulfantom committed
                      type: string
                    nfs:
Jesse Bye's avatar
Jesse Bye committed
                      description: 'NFS represents an NFS mount on the host that shares a pod''s lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs'
paulfantom's avatar
paulfantom committed
                      properties:
                        path:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'Path that is exported by the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs'
paulfantom's avatar
paulfantom committed
                        readOnly:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'ReadOnly here will force the NFS export to be mounted with read-only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs'
paulfantom's avatar
paulfantom committed
                          type: boolean
                        server:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'Server is the hostname or IP address of the NFS server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs'
paulfantom's avatar
paulfantom committed
                      required:
                      - path
                      - server
                      type: object
                    persistentVolumeClaim:
Jesse Bye's avatar
Jesse Bye committed
                      description: 'PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims'
paulfantom's avatar
paulfantom committed
                      properties:
                        claimName:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims'
                          type: string
paulfantom's avatar
paulfantom committed
                        readOnly:
Jesse Bye's avatar
Jesse Bye committed
                          description: Will force the ReadOnly setting in VolumeMounts. Default false.
paulfantom's avatar
paulfantom committed
                          type: boolean
                      required:
                      - claimName
                      type: object
                    photonPersistentDisk:
Jesse Bye's avatar
Jesse Bye committed
                      description: PhotonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine
paulfantom's avatar
paulfantom committed
                      properties:
                        fsType:
Jesse Bye's avatar
Jesse Bye committed
                          description: Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
paulfantom's avatar
paulfantom committed
                        pdID:
Jesse Bye's avatar
Jesse Bye committed
                          description: ID that identifies Photon Controller persistent disk
paulfantom's avatar
paulfantom committed
                          type: string
                      required:
                      - pdID
                      type: object
                    portworxVolume:
Jesse Bye's avatar
Jesse Bye committed
                      description: PortworxVolume represents a portworx volume attached and mounted on kubelets host machine
paulfantom's avatar
paulfantom committed
                      properties:
                        fsType:
Jesse Bye's avatar
Jesse Bye committed
                          description: FSType represents the filesystem type to mount Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
paulfantom's avatar
paulfantom committed
                          type: string
                        readOnly:
Jesse Bye's avatar
Jesse Bye committed
                          description: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
paulfantom's avatar
paulfantom committed
                          type: boolean
                        volumeID:
                          description: VolumeID uniquely identifies a Portworx volume
                          type: string
                      required:
                      - volumeID
                      type: object
                    projected:
Jesse Bye's avatar
Jesse Bye committed
                      description: Items for all in one resources secrets, configmaps, and downward API
paulfantom's avatar
paulfantom committed
                      properties:
                        defaultMode:
Jesse Bye's avatar
Jesse Bye committed
                          description: Mode bits to use on created files by default. Must be a value between 0 and 0777. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
paulfantom's avatar
paulfantom committed
                          format: int32
                          type: integer
                        sources:
                          description: list of volume projections
                          items:
Jesse Bye's avatar
Jesse Bye committed
                            description: Projection that may be projected along with other supported volume types
paulfantom's avatar
paulfantom committed
                            properties:
                              configMap:
Jesse Bye's avatar
Jesse Bye committed
                                description: information about the configMap data to project
paulfantom's avatar
paulfantom committed
                                properties:
Lili Cosic's avatar
Lili Cosic committed
                                  items:
Jesse Bye's avatar
Jesse Bye committed
                                    description: If unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
paulfantom's avatar
paulfantom committed
                                    items:
Jesse Bye's avatar
Jesse Bye committed
                                      description: Maps a string key to a path within a volume.
paulfantom's avatar
paulfantom committed
                                      properties:
                                        key:
                                          description: The key to project.
                                          type: string
                                        mode:
Jesse Bye's avatar
Jesse Bye committed
                                          description: 'Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.'
paulfantom's avatar
paulfantom committed
                                          format: int32
                                          type: integer
                                        path:
Jesse Bye's avatar
Jesse Bye committed
                                          description: The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.
paulfantom's avatar
paulfantom committed
                                          type: string
                                      required:
                                      - key
                                      - path
                                      type: object
                                    type: array
                                  name:
Jesse Bye's avatar
Jesse Bye committed
                                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
paulfantom's avatar
paulfantom committed
                                    type: string
                                  optional:
Jesse Bye's avatar
Jesse Bye committed
                                    description: Specify whether the ConfigMap or its keys must be defined
paulfantom's avatar
paulfantom committed
                                    type: boolean
                                type: object
                              downwardAPI:
Jesse Bye's avatar
Jesse Bye committed
                                description: information about the downwardAPI data to project
paulfantom's avatar
paulfantom committed
                                properties:
Lili Cosic's avatar
Lili Cosic committed
                                  items:
Jesse Bye's avatar
Jesse Bye committed
                                    description: Items is a list of DownwardAPIVolume file
paulfantom's avatar
paulfantom committed
                                    items:
Jesse Bye's avatar
Jesse Bye committed
                                      description: DownwardAPIVolumeFile represents information to create the file containing the pod field
paulfantom's avatar
paulfantom committed
                                      properties:
                                        fieldRef:
Jesse Bye's avatar
Jesse Bye committed
                                          description: 'Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.'
paulfantom's avatar
paulfantom committed
                                          properties:
                                            apiVersion:
Jesse Bye's avatar
Jesse Bye committed
                                              description: Version of the schema the FieldPath is written in terms of, defaults to "v1".
paulfantom's avatar
paulfantom committed
                                              type: string
                                            fieldPath:
Jesse Bye's avatar
Jesse Bye committed
                                              description: Path of the field to select in the specified API version.
paulfantom's avatar
paulfantom committed
                                              type: string
                                          required:
                                          - fieldPath
                                          type: object
                                        mode:
Jesse Bye's avatar
Jesse Bye committed
                                          description: 'Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.'
paulfantom's avatar
paulfantom committed
                                          format: int32
                                          type: integer
                                        path:
Jesse Bye's avatar
Jesse Bye committed
                                          description: 'Required: Path is  the relative path name of the file to be created. Must not be absolute or contain the ''..'' path. Must be utf-8 encoded. The first item of the relative path must not start with ''..'''
paulfantom's avatar
paulfantom committed
                                          type: string
                                        resourceFieldRef:
Jesse Bye's avatar
Jesse Bye committed
                                          description: 'Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.'
paulfantom's avatar
paulfantom committed
                                          properties:
                                            containerName:
Jesse Bye's avatar
Jesse Bye committed
                                              description: 'Container name: required for volumes, optional for env vars'
paulfantom's avatar
paulfantom committed
                                              type: string
                                            divisor:
Lili Cosic's avatar
Lili Cosic committed
                                              anyOf:
                                              - type: integer
                                              - type: string
Jesse Bye's avatar
Jesse Bye committed
                                              description: Specifies the output format of the exposed resources, defaults to "1"
Lili Cosic's avatar
Lili Cosic committed
                                              pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
                                              x-kubernetes-int-or-string: true
paulfantom's avatar
paulfantom committed
                                            resource:
Jesse Bye's avatar
Jesse Bye committed
                                              description: 'Required: resource to select'
paulfantom's avatar
paulfantom committed
                                              type: string
                                          required:
                                          - resource
                                          type: object
                                      required:
                                      - path
                                      type: object
                                    type: array
                                type: object
                              secret:
Jesse Bye's avatar
Jesse Bye committed
                                description: information about the secret data to project
paulfantom's avatar
paulfantom committed
                                properties:
Lili Cosic's avatar
Lili Cosic committed
                                  items:
Jesse Bye's avatar
Jesse Bye committed
                                    description: If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
paulfantom's avatar
paulfantom committed
                                    items:
Jesse Bye's avatar
Jesse Bye committed
                                      description: Maps a string key to a path within a volume.
paulfantom's avatar
paulfantom committed
                                      properties:
                                        key:
                                          description: The key to project.
                                          type: string
                                        mode:
Jesse Bye's avatar
Jesse Bye committed
                                          description: 'Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.'
paulfantom's avatar
paulfantom committed
                                          format: int32
                                          type: integer
                                        path:
Jesse Bye's avatar
Jesse Bye committed
                                          description: The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.
paulfantom's avatar
paulfantom committed
                                          type: string
                                      required:
                                      - key
                                      - path
                                      type: object
                                    type: array
                                  name:
Jesse Bye's avatar
Jesse Bye committed
                                    description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
paulfantom's avatar
paulfantom committed
                                    type: string
                                  optional:
Jesse Bye's avatar
Jesse Bye committed
                                    description: Specify whether the Secret or its key must be defined
paulfantom's avatar
paulfantom committed
                                    type: boolean
                                type: object
                              serviceAccountToken:
Jesse Bye's avatar
Jesse Bye committed
                                description: information about the serviceAccountToken data to project
paulfantom's avatar
paulfantom committed
                                properties:
                                  audience:
Jesse Bye's avatar
Jesse Bye committed
                                    description: Audience is the intended audience of the token. A recipient of a token must identify itself with an identifier specified in the audience of the token, and otherwise should reject the token. The audience defaults to the identifier of the apiserver.
paulfantom's avatar
paulfantom committed
                                    type: string
                                  expirationSeconds:
Jesse Bye's avatar
Jesse Bye committed
                                    description: ExpirationSeconds is the requested duration of validity of the service account token. As the token approaches expiration, the kubelet volume plugin will proactively rotate the service account token. The kubelet will start trying to rotate the token if the token is older than 80 percent of its time to live or if the token is older than 24 hours.Defaults to 1 hour and must be at least 10 minutes.
paulfantom's avatar
paulfantom committed
                                    format: int64
                                    type: integer
                                  path:
Jesse Bye's avatar
Jesse Bye committed
                                    description: Path is the path relative to the mount point of the file to project the token into.
paulfantom's avatar
paulfantom committed
                                    type: string
                                required:
                                - path
                                type: object
                            type: object
                          type: array
                      required:
                      - sources
                      type: object
                    quobyte:
Jesse Bye's avatar
Jesse Bye committed
                      description: Quobyte represents a Quobyte mount on the host that shares a pod's lifetime
paulfantom's avatar
paulfantom committed
                      properties:
                        group:
Jesse Bye's avatar
Jesse Bye committed
                          description: Group to map volume access to Default is no group
paulfantom's avatar
paulfantom committed
                        readOnly:
Jesse Bye's avatar
Jesse Bye committed
                          description: ReadOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.
paulfantom's avatar
paulfantom committed
                          type: boolean
                        registry:
Jesse Bye's avatar
Jesse Bye committed
                          description: Registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes
paulfantom's avatar
paulfantom committed
                          type: string
                        tenant:
Jesse Bye's avatar
Jesse Bye committed
                          description: Tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin
paulfantom's avatar
paulfantom committed
                          type: string
                        user:
Jesse Bye's avatar
Jesse Bye committed
                          description: User to map volume access to Defaults to serivceaccount user
paulfantom's avatar
paulfantom committed
                          type: string
                        volume:
Jesse Bye's avatar
Jesse Bye committed
                          description: Volume is a string that references an already created Quobyte volume by name.
paulfantom's avatar
paulfantom committed
                          type: string
                      required:
                      - registry
                      - volume
                      type: object
                    rbd:
Jesse Bye's avatar
Jesse Bye committed
                      description: 'RBD represents a Rados Block Device mount on the host that shares a pod''s lifetime. More info: https://examples.k8s.io/volumes/rbd/README.md'
paulfantom's avatar
paulfantom committed
                      properties:
                        fsType:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'Filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine'
paulfantom's avatar
paulfantom committed
                          type: string
                        image:
                          description: 'The rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it'
                          type: string
                        keyring:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'Keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it'
paulfantom's avatar
paulfantom committed
                          type: string
                        monitors:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'A collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it'
paulfantom's avatar
paulfantom committed
                          items:
Lili Cosic's avatar
Lili Cosic committed
                            type: string
paulfantom's avatar
paulfantom committed
                          type: array
                        pool:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'The rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it'
paulfantom's avatar
paulfantom committed
                          type: string
                        readOnly:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'ReadOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it'
paulfantom's avatar
paulfantom committed
                          type: boolean
                        secretRef:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'SecretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it'
Lili Cosic's avatar
Lili Cosic committed
                          properties:
paulfantom's avatar
paulfantom committed
                            name:
Jesse Bye's avatar
Jesse Bye committed
                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
Lili Cosic's avatar
Lili Cosic committed
                              type: string
paulfantom's avatar
paulfantom committed
                          type: object
                        user:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'The rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it'
paulfantom's avatar
paulfantom committed
                          type: string
                      required:
                      - image
                      - monitors
                      type: object
                    scaleIO:
Jesse Bye's avatar
Jesse Bye committed
                      description: ScaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
paulfantom's avatar
paulfantom committed
                      properties:
                        fsType:
Jesse Bye's avatar
Jesse Bye committed
                          description: Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs".
paulfantom's avatar
paulfantom committed
                          type: string
                        gateway:
                          description: The host address of the ScaleIO API Gateway.
                          type: string
                        protectionDomain:
Jesse Bye's avatar
Jesse Bye committed
                          description: The name of the ScaleIO Protection Domain for the configured storage.
paulfantom's avatar
paulfantom committed
                          type: string
                        readOnly:
Jesse Bye's avatar
Jesse Bye committed
                          description: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
paulfantom's avatar
paulfantom committed
                          type: boolean
                        secretRef:
Jesse Bye's avatar
Jesse Bye committed
                          description: SecretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.
paulfantom's avatar
paulfantom committed
                          properties:
                            name:
Jesse Bye's avatar
Jesse Bye committed
                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
Lili Cosic's avatar
Lili Cosic committed
                              type: string
paulfantom's avatar
paulfantom committed
                        sslEnabled:
Jesse Bye's avatar
Jesse Bye committed
                          description: Flag to enable/disable SSL communication with Gateway, default false
paulfantom's avatar
paulfantom committed
                          type: boolean
                        storageMode:
Jesse Bye's avatar
Jesse Bye committed
                          description: Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned.
paulfantom's avatar
paulfantom committed
                          type: string
                        storagePool:
Jesse Bye's avatar
Jesse Bye committed
                          description: The ScaleIO Storage Pool associated with the protection domain.
paulfantom's avatar
paulfantom committed
                          type: string
                        system:
Jesse Bye's avatar
Jesse Bye committed
                          description: The name of the storage system as configured in ScaleIO.
paulfantom's avatar
paulfantom committed
                          type: string
                        volumeName:
Jesse Bye's avatar
Jesse Bye committed
                          description: The name of a volume already created in the ScaleIO system that is associated with this volume source.
paulfantom's avatar
paulfantom committed
                          type: string
                      required:
                      - gateway
                      - secretRef
                      - system
                      type: object
                    secret:
Jesse Bye's avatar
Jesse Bye committed
                      description: 'Secret represents a secret that should populate this volume. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret'
paulfantom's avatar
paulfantom committed
                      properties:
                        defaultMode:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'Optional: mode bits to use on created files by default. Must be a value between 0 and 0777. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.'
paulfantom's avatar
paulfantom committed
                          format: int32
                          type: integer
                        items:
Jesse Bye's avatar
Jesse Bye committed
                          description: If unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
paulfantom's avatar
paulfantom committed
                          items:
                            description: Maps a string key to a path within a volume.
                            properties:
                              key:
                                description: The key to project.
                                type: string
                              mode:
Jesse Bye's avatar
Jesse Bye committed
                                description: 'Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.'
paulfantom's avatar
paulfantom committed
                                format: int32
                                type: integer
                              path:
Jesse Bye's avatar
Jesse Bye committed
                                description: The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.
paulfantom's avatar
paulfantom committed
                                type: string
                            required:
                            - key
                            - path
                            type: object
                          type: array
                        optional:
Jesse Bye's avatar
Jesse Bye committed
                          description: Specify whether the Secret or its keys must be defined
paulfantom's avatar
paulfantom committed
                          type: boolean
                        secretName:
Jesse Bye's avatar
Jesse Bye committed
                          description: 'Name of the secret in the pod''s namespace to use. More info: https://kubernetes.io/docs/concepts/storage/volumes#secret'
paulfantom's avatar
paulfantom committed
                          type: string
                      type: object
                    storageos:
Jesse Bye's avatar
Jesse Bye committed
                      description: StorageOS represents a StorageOS volume attached and mounted on Kubernetes nodes.
paulfantom's avatar
paulfantom committed
                      properties:
                        fsType:
Jesse Bye's avatar
Jesse Bye committed
                          description: Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
paulfantom's avatar
paulfantom committed
                          type: string
                        readOnly:
Jesse Bye's avatar
Jesse Bye committed
                          description: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
paulfantom's avatar
paulfantom committed
                          type: boolean
                        secretRef:
Jesse Bye's avatar
Jesse Bye committed
                          description: SecretRef specifies the secret to use for obtaining the StorageOS API credentials.  If not specified, default values will be attempted.
paulfantom's avatar
paulfantom committed
                          properties:
                            name:
Jesse Bye's avatar
Jesse Bye committed
                              description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
paulfantom's avatar
paulfantom committed
                              type: string
                          type: object
                        volumeName:
Jesse Bye's avatar
Jesse Bye committed
                          description: VolumeName is the human-readable name of the StorageOS volume.  Volume names are only unique within a namespace.
paulfantom's avatar
paulfantom committed
                          type: string
                        volumeNamespace:
Jesse Bye's avatar
Jesse Bye committed
                          description: VolumeNamespace specifies the scope of the volume within StorageOS.  If no namespace is specified then the Pod's namespace will be used.  This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created.
paulfantom's avatar
paulfantom committed
                          type: string
                      type: object
                    vsphereVolume:
Jesse Bye's avatar
Jesse Bye committed
                      description: VsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
paulfantom's avatar
paulfantom committed
                      properties:
                        fsType:
Jesse Bye's avatar
Jesse Bye committed
                          description: Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified.
paulfantom's avatar
paulfantom committed
                          type: string
                        storagePolicyID:
Jesse Bye's avatar
Jesse Bye committed
                          description: Storage Policy Based Management (SPBM) profile ID associated with the StoragePolicyName.
paulfantom's avatar
paulfantom committed
                          type: string
                        storagePolicyName:
Jesse Bye's avatar
Jesse Bye committed
                          description: Storage Policy Based Management (SPBM) profile name.
paulfantom's avatar
paulfantom committed
                          type: string
                        volumePath:
                          description: Path that identifies vSphere volume vmdk
                          type: string
                      required:
                      - volumePath
                      type: object
                  required:
                  - name
                  type: object
                type: array
              walCompression:
Jesse Bye's avatar
Jesse Bye committed
                description: Enable compression of the write-ahead log using Snappy. This flag is only available in versions of Prometheus >= 2.11.0.
paulfantom's avatar
paulfantom committed
                type: boolean
              web:
                description: WebSpec defines the web command line flags when starting Prometheus.
                properties:
                  pageTitle:
                    description: The prometheus web page title
                    type: string
                  tlsConfig:
                    description: WebTLSConfig defines the TLS parameters for HTTPS.
                    properties:
                      cert:
                        description: Contains the TLS certificate for the server.
                        properties:
                          configMap:
                            description: ConfigMap containing data to use for the targets.
                            properties:
                              key:
                                description: The key to select.
                                type: string
                              name:
                                description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
                                type: string
                              optional:
                                description: Specify whether the ConfigMap or its key must be defined
                                type: boolean
                            required:
                            - key
                            type: object
                          secret:
                            description: Secret containing data to use 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 referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
                                type: string
                              optional:
                                description: Specify whether the Secret or its key must be defined
                                type: boolean
                            required:
                            - key
                            type: object
                        type: object
                      cipherSuites:
                        description: 'List of supported cipher suites for TLS versions up to TLS 1.2. If empty, Go default cipher suites are used. Available cipher suites are documented in the go documentation: https://golang.org/pkg/crypto/tls/#pkg-constants'
                        items:
                          type: string
                        type: array
                      client_ca:
                        description: Contains the CA certificate for client certificate authentication to the server.
                        properties:
                          configMap:
                            description: ConfigMap containing data to use for the targets.
                            properties:
                              key:
                                description: The key to select.
                                type: string
                              name:
                                description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
                                type: string
                              optional:
                                description: Specify whether the ConfigMap or its key must be defined
                                type: boolean
                            required:
                            - key
                            type: object
                          secret:
                            description: Secret containing data to use 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 referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
                                type: string
                              optional:
                                description: Specify whether the Secret or its key must be defined
                                type: boolean
                            required:
                            - key
                            type: object
                        type: object
                      clientAuthType:
                        description: 'Server policy for client authentication. Maps to ClientAuth Policies. For more detail on clientAuth options: https://golang.org/pkg/crypto/tls/#ClientAuthType'
                        type: string
                      curvePreferences:
                        description: 'Elliptic curves that will be used in an ECDHE handshake, in preference order. Available curves are documented in the go documentation: https://golang.org/pkg/crypto/tls/#CurveID'
                        items:
                          type: string
                        type: array
                      keySecret:
                        description: Secret containing the TLS key for the server.
                        properties:
                          key:
                            description: The key of the secret to select from.  Must be a valid secret key.
                            type: string
                          name:
                            description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names TODO: Add other useful fields. apiVersion, kind, uid?'
                            type: string
                          optional:
                            description: Specify whether the Secret or its key must be defined
                            type: boolean
                        required:
                        - key
                        type: object
                      maxVersion:
                        description: Maximum TLS version that is acceptable. Defaults to TLS13.
                        type: string
                      minVersion:
                        description: Minimum TLS version that is acceptable. Defaults to TLS12.
                        type: string
                      preferServerCipherSuites:
                        description: Controls whether the server selects the client's most preferred cipher suite, or the server's most preferred cipher suite. If true then the server's preference, as expressed in the order of elements in cipherSuites, is used.
                        type: boolean
                    required:
                    - cert
                    - keySecret
                    type: object
paulfantom's avatar
paulfantom committed
            type: object
          status:
Jesse Bye's avatar
Jesse Bye committed
            description: 'Most recent observed status of the Prometheus cluster. Read-only. Not included when requesting from the apiserver, only from the Prometheus Operator API itself. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status'
paulfantom's avatar
paulfantom committed
            properties:
              availableReplicas:
Jesse Bye's avatar
Jesse Bye committed
                description: Total number of available pods (ready for at least minReadySeconds) targeted by this Prometheus deployment.
paulfantom's avatar
paulfantom committed
                format: int32
                type: integer
              paused:
Lili Cosic's avatar
Lili Cosic committed
                description: Represents whether any actions on the underlying managed objects are being performed. Only delete actions will be performed.
paulfantom's avatar
paulfantom committed
                type: boolean
              replicas:
Jesse Bye's avatar
Jesse Bye committed
                description: Total number of non-terminated pods targeted by this Prometheus deployment (their labels match the selector).
paulfantom's avatar
paulfantom committed
                format: int32
                type: integer
              unavailableReplicas:
Jesse Bye's avatar
Jesse Bye committed
                description: Total number of unavailable pods targeted by this Prometheus deployment.
paulfantom's avatar
paulfantom committed
                format: int32
                type: integer
              updatedReplicas:
Jesse Bye's avatar
Jesse Bye committed
                description: Total number of non-terminated pods targeted by this Prometheus deployment that have the desired version spec.
paulfantom's avatar
paulfantom committed
                format: int32
                type: integer
            required:
            - availableReplicas
            - paused
            - replicas
            - unavailableReplicas
            - updatedReplicas
            type: object
        required:
        - spec
        type: object
    served: true
    storage: true
paulfantom's avatar
paulfantom committed
    subresources: {}
status:
  acceptedNames:
    kind: ""
    plural: ""
  conditions: []
  storedVersions: []