diff --git a/charts/argo-workflows/Chart.yaml b/charts/argo-workflows/Chart.yaml index f4580bd5e..2aa3cf882 100644 --- a/charts/argo-workflows/Chart.yaml +++ b/charts/argo-workflows/Chart.yaml @@ -1,9 +1,9 @@ apiVersion: v2 -appVersion: v3.7.10 +appVersion: v4.0.1 name: argo-workflows description: A Helm chart for Argo Workflows type: application -version: 0.47.4 +version: 0.47.5 icon: https://argo-workflows.readthedocs.io/en/stable/assets/logo.png home: https://github.com/argoproj/argo-helm sources: @@ -17,4 +17,4 @@ annotations: url: https://argoproj.github.io/argo-helm/pgp_keys.asc artifacthub.io/changes: | - kind: changed - description: Bump argo-workflows to v3.7.10 + description: Bump argo-workflows to v4.0.1 diff --git a/charts/argo-workflows/files/crds/full/argoproj.io_clusterworkflowtemplates.yaml b/charts/argo-workflows/files/crds/full/argoproj.io_clusterworkflowtemplates.yaml index 907365f60..2ceb66cee 100644 --- a/charts/argo-workflows/files/crds/full/argoproj.io_clusterworkflowtemplates.yaml +++ b/charts/argo-workflows/files/crds/full/argoproj.io_clusterworkflowtemplates.yaml @@ -19,35 +19,89 @@ spec: - name: v1alpha1 schema: openAPIV3Schema: + description: ClusterWorkflowTemplate is the definition of a workflow template + resource in cluster scope 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: WorkflowSpec is the specification of a Workflow. properties: activeDeadlineSeconds: + description: |- + Optional duration in seconds relative to the workflow start time which the workflow is + allowed to run before the controller terminates the workflow. A value of zero is used to + terminate a Running workflow format: int64 type: integer affinity: + description: |- + Affinity sets the scheduling constraints for all pods in the workflow. + Can be overridden by an affinity specified in the template properties: nodeAffinity: + description: Describes node affinity scheduling rules for the + pod. properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. The node that is + most preferred is the one with the greatest sum of weights, i.e. + for each node that meets all of the scheduling requirements (resource + request, requiredDuringScheduling affinity expressions, etc.), + compute a sum by iterating through the elements of this field and adding + "weight" to the sum if the node matches the corresponding matchExpressions; the + node(s) with the highest sum are the most preferred. items: + description: |- + An empty preferred scheduling term matches all objects with implicit weight 0 + (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). properties: preference: + description: A node selector term, associated with the + corresponding weight. properties: matchExpressions: + description: A list of node selector requirements + by node's labels. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. items: type: string type: array @@ -59,13 +113,29 @@ spec: type: array x-kubernetes-list-type: atomic matchFields: + description: A list of node selector requirements + by node's fields. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. items: type: string type: array @@ -79,6 +149,8 @@ spec: type: object x-kubernetes-map-type: atomic weight: + description: Weight associated with matching the corresponding + nodeSelectorTerm, in the range 1-100. format: int32 type: integer required: @@ -88,18 +160,46 @@ spec: type: array x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. + If the affinity requirements specified by this field cease to be met + at some point during pod execution (e.g. due to an update), the system + may or may not try to eventually evict the pod from its node. properties: nodeSelectorTerms: + description: Required. A list of node selector terms. + The terms are ORed. items: + description: |- + A null or empty node selector term matches no objects. The requirements of + them are ANDed. + The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. properties: matchExpressions: + description: A list of node selector requirements + by node's labels. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. items: type: string type: array @@ -111,13 +211,29 @@ spec: type: array x-kubernetes-list-type: atomic matchFields: + description: A list of node selector requirements + by node's fields. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. items: type: string type: array @@ -138,22 +254,57 @@ spec: x-kubernetes-map-type: atomic type: object podAffinity: + description: Describes pod affinity scheduling rules (e.g. co-locate + this pod in the same node, zone, etc. as some other pod(s)). properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. The node that is + most preferred is the one with the greatest sum of weights, i.e. + for each node that meets all of the scheduling requirements (resource + request, requiredDuringScheduling affinity expressions, etc.), + compute a sum by iterating through the elements of this field and adding + "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the + node(s) with the highest sum are the most preferred. items: + description: The weights of all of the matched WeightedPodAffinityTerm + fields are added per-node to find the most preferred node(s) properties: podAffinityTerm: + description: Required. A pod affinity term, associated + with the corresponding weight. properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -167,29 +318,73 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -203,20 +398,38 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". items: type: string type: array x-kubernetes-list-type: atomic topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. type: string required: - topologyKey type: object weight: + description: |- + weight associated with matching the corresponding podAffinityTerm, + in the range 1-100. format: int32 type: integer required: @@ -226,18 +439,51 @@ spec: type: array x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. + If the affinity requirements specified by this field cease to be met + at some point during pod execution (e.g. due to a pod label update), the + system may or may not try to eventually evict the pod from its node. + When there are multiple elements, the lists of nodes corresponding to each + podAffinityTerm are intersected, i.e. all terms must be satisfied. items: + description: |- + Defines a set of pods (namely those matching the labelSelector + relative to the given namespace(s)) that this pod should be + co-located (affinity) or not co-located (anti-affinity) with, + where co-located is defined as running on a node whose value of + the label with key matches that of any node on which + a pod of the set of pods is running properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the + selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -251,29 +497,72 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the + selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -287,15 +576,30 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". items: type: string type: array x-kubernetes-list-type: atomic topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. type: string required: - topologyKey @@ -304,22 +608,58 @@ spec: x-kubernetes-list-type: atomic type: object podAntiAffinity: + description: Describes pod anti-affinity scheduling rules (e.g. + avoid putting this pod in the same node, zone, etc. as some + other pod(s)). properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the anti-affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. The node that is + most preferred is the one with the greatest sum of weights, i.e. + for each node that meets all of the scheduling requirements (resource + request, requiredDuringScheduling anti-affinity expressions, etc.), + compute a sum by iterating through the elements of this field and adding + "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the + node(s) with the highest sum are the most preferred. items: + description: The weights of all of the matched WeightedPodAffinityTerm + fields are added per-node to find the most preferred node(s) properties: podAffinityTerm: + description: Required. A pod affinity term, associated + with the corresponding weight. properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -333,29 +673,73 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -369,20 +753,38 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". items: type: string type: array x-kubernetes-list-type: atomic topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. type: string required: - topologyKey type: object weight: + description: |- + weight associated with matching the corresponding podAffinityTerm, + in the range 1-100. format: int32 type: integer required: @@ -392,18 +794,51 @@ spec: type: array x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the anti-affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. + If the anti-affinity requirements specified by this field cease to be met + at some point during pod execution (e.g. due to a pod label update), the + system may or may not try to eventually evict the pod from its node. + When there are multiple elements, the lists of nodes corresponding to each + podAffinityTerm are intersected, i.e. all terms must be satisfied. items: + description: |- + Defines a set of pods (namely those matching the labelSelector + relative to the given namespace(s)) that this pod should be + co-located (affinity) or not co-located (anti-affinity) with, + where co-located is defined as running on a node whose value of + the label with key matches that of any node on which + a pod of the set of pods is running properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the + selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -417,29 +852,72 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the + selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -453,15 +931,30 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". items: type: string type: array x-kubernetes-list-type: atomic topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. type: string required: - topologyKey @@ -471,30 +964,59 @@ spec: type: object type: object archiveLogs: + description: ArchiveLogs indicates if the container logs should be + archived type: boolean arguments: + description: |- + Arguments contain the parameters and artifacts sent to the workflow entrypoint + Parameters are referencable globally using the 'workflow' variable prefix. + e.g. {{workflow.parameters.myparam}} properties: artifacts: + description: Artifacts is the list of artifacts to pass to the + template or workflow items: + description: Artifact indicates an artifact to place at a specified + path properties: archive: + description: Archive controls how the artifact will be saved + to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and gzip the file + or directory when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip zipped input artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the container logs + should be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy to use when + to deleting an artifact from completed or deleted workflows properties: podMetadata: + description: PodMetadata is an optional field for specifying + the Labels and Annotations that should be assigned + to the Pod doing the deletion properties: annotations: additionalProperties: @@ -506,8 +1028,12 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an optional field + for specifying the Service Account that should be + assigned to the Pod doing the deletion type: string strategy: + description: Strategy is the strategy to use. enum: - "" - OnWorkflowCompletion @@ -516,30 +1042,57 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory artifact location + details properties: passwordSecret: + description: PasswordSecret is the secret selector to + the repository password properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret selector to + the repository username properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -549,27 +1102,49 @@ spec: - url type: object azure: + description: Azure contains Azure Storage artifact location + details properties: accountKeySecret: + description: AccountKeySecret is the secret selector + to the Azure Blob Storage account access key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., path) in the + container where the artifact resides type: string container: + description: Container is the container where resources + will be stored type: string endpoint: + description: Endpoint is the service url associated + with an account. It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - blob @@ -577,25 +1152,46 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to reference an artifact + from a previous step type: string fromExpression: + description: FromExpression, if defined, is evaluated to + specify the value for the artifact type: string gcs: + description: GCS contains GCS artifact location details properties: bucket: + description: Bucket is the name of the bucket type: string key: + description: Key is the path in the bucket where the + artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is the secret selector + to the bucket's service account key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -605,62 +1201,117 @@ spec: - key type: object git: + description: Git contains git artifact location details properties: branch: + description: Branch is the branch to fetch when `SingleBranch` + is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables submodules during + git clone type: boolean fetch: + description: Fetch specifies a number of refs that should + be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables SSH strict + host key checking during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables server certificate + verification resulting in insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret selector to + the repository password properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, tag, branch + to checkout type: string singleBranch: + description: SingleBranch enables single branch clone, + using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the secret selector + to the repository ssh private key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector to + the repository username properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -670,96 +1321,186 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact location details properties: addresses: + description: Addresses is accessible addresses of HDFS + name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly even if it + exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location details properties: auth: + description: Auth contains information for client authentication properties: basicAuth: + description: BasicAuth describes the secret selectors + required for basic authentication properties: passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -767,28 +1508,54 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds necessary information + for client authentication via certificates properties: clientCertSecret: + description: SecretKeySelector selects a key + of a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector selects a key + of a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -796,28 +1563,54 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all information for + client authentication via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector selects a key + of a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector selects a key + of a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -825,10 +1618,16 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is for requesting + optional fields that should be sent in the + oauth request properties: key: + description: Name is the header name type: string value: + description: Value is the literal value + to use for the header type: string required: - key @@ -839,13 +1638,25 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector selects a key + of a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -854,11 +1665,18 @@ spec: type: object type: object headers: + description: Headers are an optional list of headers + to send with HTTP requests for artifacts items: + description: Header indicate a key-value request header + to be used when fetching artifacts over HTTP properties: name: + description: Name is the header name type: string value: + description: Value is the literal value to use + for the header type: string required: - name @@ -866,131 +1684,272 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must be unique within + a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if Artifacts doesn't + generate or exist type: boolean oss: + description: OSS contains OSS artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the driver + to attempt to create the OSS bucket for output artifacts, + if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string key: + description: Key is the path in the bucket where the + artifact resides type: string lifecycleRule: + description: LifecycleRule specifies how to manage bucket's + lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays is the number + of days before we delete objects in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays is the + number of days before we convert the objects in + the bucket to Infrequent Access (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s temporary + security token. For more details, check out: https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container path to the artifact type: string + plugin: + description: Plugin contains plugin artifact location details + properties: + configuration: + description: Configuration is the plugin defined configuration + for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds is the timeout + for the artifact driver connection, overriding the + driver's timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact repository + where the artifact resides + type: string + name: + description: Name is the name of the artifact driver + plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location details properties: data: + description: Data is the string contents of the artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission recursively + into the artifact if it is a folder type: boolean s3: + description: S3 contains S3 artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string caSecret: + description: CASecret specifies the secret that contains + the CA, used to verify the TLS connection properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the driver + to attempt to create the S3 bucket for output artifacts, + if it doesn't exist. Setting Enabled Encryption will + apply either SSE-S3 to the bucket if KmsKeyId is not + set or SSE-KMS if it is. properties: objectLocking: + description: ObjectLocking Enable object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used to determine encryption + options during s3 operations properties: enableEncryption: + description: EnableEncryption tells the driver to + encrypt objects if set to true. If kmsKeyId and + serverSideCustomerKeySecret are not set, SSE-S3 + will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext is a json blob + that contains an encryption context. See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver to encrypt + the object using the specified KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret tells the + driver to encrypt the output artifacts using SSE-C + with the specified secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key @@ -998,97 +1957,194 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string insecure: + description: Insecure will connect to the service with + TLS type: boolean key: + description: Key is the key in the bucket where the + artifact resides type: string region: + description: Region contains the optional bucket region type: string roleARN: + description: RoleARN is the Amazon Resource Name (ARN) + of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used for ephemeral + credentials like an IAM assume role or S3 access grant properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact to be sourced from + a subpath within the specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : 0) + + (has(self.http) ? 1 : 0) + (has(self.artifactory) ? 1 : + 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) ? 1 : 0) + + (has(self.oss) ? 1 : 0) + (has(self.gcs) ? 1 : 0) + (has(self.azure) + ? 1 : 0) + (has(self.plugin) ? 1 : 0) <= 1' type: array parameters: + description: Parameters is the list of parameters to pass to the + template or workflow items: + description: Parameter indicate a passed string parameter to + a service template with an optional default value properties: default: + description: Default is the default value to use for an + input parameter if a value was not supplied type: string description: + description: Description is the parameter description type: string enum: + description: Enum holds a list of string values to choose + from, for the actual value of the parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source for the output parameter's + value properties: configMapKeyRef: + description: ConfigMapKeyRef is configmap selector for + input parameter configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies a value to be used if + retrieving the value from the specified source fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the event to get the value + of the parameter. E.g. `payload.message` type: string expression: + description: Expression, if defined, is evaluated to + specify the value for the parameter type: string jqFilter: + description: JQFilter expression against the resource + object in resource templates type: string jsonPath: + description: JSONPath of a resource to retrieve an output + parameter value from in resource templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container to retrieve an output + parameter value from in container templates type: string supplied: + description: Supplied value to be filled in directly, + either through the CLI, API, etc. type: object type: object required: @@ -1097,10 +2153,18 @@ spec: type: array type: object artifactGC: + description: |- + ArtifactGC describes the strategy to use when deleting artifacts from completed or deleted workflows (applies to all output Artifacts + unless Artifact.ArtifactGC is specified, which overrides this) properties: forceFinalizerRemoval: + description: 'ForceFinalizerRemoval: if set to true, the finalizer + will be removed in the case that Artifact GC fails' type: boolean podMetadata: + description: PodMetadata is an optional field for specifying the + Labels and Annotations that should be assigned to the Pod doing + the deletion properties: annotations: additionalProperties: @@ -1112,10 +2176,16 @@ spec: type: object type: object podSpecPatch: + description: PodSpecPatch holds strategic merge patch to apply + against the artgc pod spec. type: string serviceAccountName: + description: ServiceAccountName is an optional field for specifying + the Service Account that should be assigned to the Pod doing + the deletion type: string strategy: + description: Strategy is the strategy to use. enum: - "" - OnWorkflowCompletion @@ -1124,72 +2194,141 @@ spec: type: string type: object artifactRepositoryRef: + description: ArtifactRepositoryRef specifies the configMap name and + key containing the artifact repository config. properties: configMap: + description: The name of the config map. Defaults to "artifact-repositories". type: string key: + description: The config map key. Defaults to the value of the + "workflows.argoproj.io/default-artifact-repository" annotation. type: string type: object automountServiceAccountToken: + description: |- + AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in pods. + ServiceAccountName of ExecutorConfig must be specified if this value is false. type: boolean dnsConfig: + description: |- + PodDNSConfig defines the DNS parameters of a pod in addition to + those generated from DNSPolicy. properties: nameservers: + description: |- + A list of DNS name server IP addresses. + This will be appended to the base nameservers generated from DNSPolicy. + Duplicated nameservers will be removed. items: type: string type: array x-kubernetes-list-type: atomic options: + description: |- + A list of DNS resolver options. + This will be merged with the base options generated from DNSPolicy. + Duplicated entries will be removed. Resolution options given in Options + will override those that appear in the base DNSPolicy. items: + description: PodDNSConfigOption defines DNS resolver options + of a pod. properties: name: + description: |- + Name is this DNS resolver option's name. + Required. type: string value: + description: Value is this DNS resolver option's value. type: string type: object type: array x-kubernetes-list-type: atomic searches: + description: |- + A list of DNS search domains for host-name lookup. + This will be appended to the base search paths generated from DNSPolicy. + Duplicated search paths will be removed. items: type: string type: array x-kubernetes-list-type: atomic type: object dnsPolicy: + description: |- + Set DNS policy for workflow pods. + Defaults to "ClusterFirst". + Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. + DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. + To have DNS options set along with hostNetwork, you have to specify DNS policy + explicitly to 'ClusterFirstWithHostNet'. type: string entrypoint: + description: Entrypoint is a template reference to the starting point + of the workflow. type: string executor: + description: Executor holds configurations of executor containers + of the workflow. properties: serviceAccountName: + description: ServiceAccountName specifies the service account + name of the executor container. type: string type: object hooks: additionalProperties: properties: arguments: + description: Arguments hold arguments to the template properties: artifacts: + description: Artifacts is the list of artifacts to pass + to the template or workflow items: + description: Artifact indicates an artifact to place at + a specified path properties: archive: + description: Archive controls how the artifact will + be saved to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and gzip the + file or directory when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip zipped input + artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the container + logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy to + use when to deleting an artifact from completed + or deleted workflows properties: podMetadata: + description: PodMetadata is an optional field + for specifying the Labels and Annotations that + should be assigned to the Pod doing the deletion properties: annotations: additionalProperties: @@ -1201,8 +2340,12 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an optional + field for specifying the Service Account that + should be assigned to the Pod doing the deletion type: string strategy: + description: Strategy is the strategy to use. enum: - "" - OnWorkflowCompletion @@ -1211,30 +2354,57 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory artifact + location details properties: passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -1244,27 +2414,49 @@ spec: - url type: object azure: + description: Azure contains Azure Storage artifact + location details properties: accountKeySecret: + description: AccountKeySecret is the secret selector + to the Azure Blob Storage account access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., path) + in the container where the artifact resides type: string container: + description: Container is the container where + resources will be stored type: string endpoint: + description: Endpoint is the service url associated + with an account. It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - blob @@ -1272,25 +2464,46 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to reference + an artifact from a previous step type: string fromExpression: + description: FromExpression, if defined, is evaluated + to specify the value for the artifact type: string gcs: + description: GCS contains GCS artifact location details properties: bucket: + description: Bucket is the name of the bucket type: string key: + description: Key is the path in the bucket where + the artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is the secret + selector to the bucket's service account key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -1300,62 +2513,117 @@ spec: - key type: object git: + description: Git contains git artifact location details properties: branch: + description: Branch is the branch to fetch when + `SingleBranch` is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables submodules + during git clone type: boolean fetch: + description: Fetch specifies a number of refs + that should be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables SSH + strict host key checking during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables server certificate + verification resulting in insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, tag, + branch to checkout type: string singleBranch: + description: SingleBranch enables single branch + clone, using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the secret + selector to the repository ssh private key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -1365,96 +2633,191 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact location + details properties: addresses: + description: Addresses is accessible addresses + of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly even + if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location + details properties: auth: + description: Auth contains information for client + authentication properties: basicAuth: + description: BasicAuth describes the secret + selectors required for basic authentication properties: passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -1462,28 +2825,57 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds necessary + information for client authentication via + certificates properties: clientCertSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -1491,28 +2883,56 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all information + for client authentication via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -1520,10 +2940,17 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is for requesting + optional fields that should be sent + in the oauth request properties: key: + description: Name is the header + name type: string value: + description: Value is the literal + value to use for the header type: string required: - key @@ -1534,13 +2961,26 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -1549,11 +2989,19 @@ spec: type: object type: object headers: + description: Headers are an optional list of headers + to send with HTTP requests for artifacts items: + description: Header indicate a key-value request + header to be used when fetching artifacts + over HTTP properties: name: + description: Name is the header name type: string value: + description: Value is the literal value + to use for the header type: string required: - name @@ -1561,131 +3009,281 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must be unique + within a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if Artifacts + doesn't generate or exist type: boolean oss: + description: OSS contains OSS artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the + driver to attempt to create the OSS bucket for + output artifacts, if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string key: + description: Key is the path in the bucket where + the artifact resides type: string lifecycleRule: + description: LifecycleRule specifies how to manage + bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays is the + number of days before we delete objects + in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before we convert + the objects in the bucket to Infrequent + Access (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s temporary + security token. For more details, check out: + https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container path to the artifact type: string + plugin: + description: Plugin contains plugin artifact location + details + properties: + configuration: + description: Configuration is the plugin defined + configuration for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds is the timeout + for the artifact driver connection, overriding + the driver's timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact repository + where the artifact resides + type: string + name: + description: Name is the name of the artifact + driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location details properties: data: + description: Data is the string contents of the + artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission + recursively into the artifact if it is a folder type: boolean s3: + description: S3 contains S3 artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string caSecret: + description: CASecret specifies the secret that + contains the CA, used to verify the TLS connection properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the + driver to attempt to create the S3 bucket for + output artifacts, if it doesn't exist. Setting + Enabled Encryption will apply either SSE-S3 + to the bucket if KmsKeyId is not set or SSE-KMS + if it is. properties: objectLocking: + description: ObjectLocking Enable object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used to determine + encryption options during s3 operations properties: enableEncryption: + description: EnableEncryption tells the driver + to encrypt objects if set to true. If kmsKeyId + and serverSideCustomerKeySecret are not + set, SSE-S3 will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext is a json + blob that contains an encryption context. + See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver to + encrypt the object using the specified KMS + Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret tells + the driver to encrypt the output artifacts + using SSE-C with the specified secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -1693,97 +3291,199 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string insecure: + description: Insecure will connect to the service + with TLS type: boolean key: + description: Key is the key in the bucket where + the artifact resides type: string region: + description: Region contains the optional bucket + region type: string roleARN: + description: RoleARN is the Amazon Resource Name + (ARN) of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used for ephemeral + credentials like an IAM assume role or S3 access + grant properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact to be sourced + from a subpath within the specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : + 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array parameters: + description: Parameters is the list of parameters to pass + to the template or workflow items: + description: Parameter indicate a passed string parameter + to a service template with an optional default value properties: default: + description: Default is the default value to use for + an input parameter if a value was not supplied type: string description: + description: Description is the parameter description type: string enum: + description: Enum holds a list of string values to + choose from, for the actual value of the parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source for the output + parameter's value properties: configMapKeyRef: + description: ConfigMapKeyRef is configmap selector + for input parameter configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies a value to be used + if retrieving the value from the specified source + fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the event to get the + value of the parameter. E.g. `payload.message` type: string expression: + description: Expression, if defined, is evaluated + to specify the value for the parameter type: string jqFilter: + description: JQFilter expression against the resource + object in resource templates type: string jsonPath: + description: JSONPath of a resource to retrieve + an output parameter value from in resource templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container to retrieve + an output parameter value from in container + templates type: string supplied: + description: Supplied value to be filled in directly, + either through the CLI, API, etc. type: object type: object required: @@ -1792,87 +3492,161 @@ spec: type: array type: object expression: + description: |- + Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not + be retried and the retry strategy will be ignored type: string template: + description: Template is the name of the template to execute + by the hook type: string templateRef: + description: TemplateRef is the reference to the template resource + to execute by the hook properties: clusterScope: + description: ClusterScope indicates the referred template + is cluster scoped (i.e. a ClusterWorkflowTemplate). type: boolean name: + description: Name is the resource name of the template. type: string template: + description: Template is the name of referred template in + the resource. type: string type: object type: object + description: |- + Hooks holds the lifecycle hook which is invoked at lifecycle of + step, irrespective of the success, failure, or error status of the primary step type: object hostAliases: items: + description: |- + HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the + pod's hosts file. properties: hostnames: + description: Hostnames for the above IP address. items: type: string type: array x-kubernetes-list-type: atomic ip: + description: IP address of the host file entry. type: string required: - ip type: object type: array hostNetwork: + description: Host networking requested for this workflow pod. Default + to false. type: boolean imagePullSecrets: + description: |- + ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images + in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets + can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. + More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod items: + description: |- + LocalObjectReference contains enough information to let you locate the + referenced object inside the same namespace. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic type: array metrics: + description: Metrics are a list of metrics emitted from this Workflow properties: prometheus: + description: |- + Prometheus is a list of prometheus metrics to be emitted + MaxItems is an artificial limit to limit CEL validation costs - see note at top of file items: + description: Prometheus is a prometheus metric to be emitted properties: counter: + description: Counter is a counter metric properties: value: + description: Value is the value of the metric + minLength: 1 type: string required: - value type: object gauge: + description: Gauge is a gauge metric properties: operation: + description: Operation defines the operation to apply + with value and the metrics' current value + enum: + - Set + - Add + - Sub type: string realtime: + description: Realtime emits this metric in real time + if applicable type: boolean value: + description: |- + Value is the value to be used in the operation with the metric's current value. If no operation is set, + value is the value of the metric + MaxLength is an artificial limit to limit CEL validation costs - see note at top of file + maxLength: 256 + minLength: 1 type: string required: - realtime - value type: object + x-kubernetes-validations: + - message: '''resourcesDuration.*'' metrics cannot be used + in real-time gauges' + rule: '!has(self.realtime) || !self.realtime || !self.value.contains(''resourcesDuration.'')' help: + description: Help is a string that describes the metric + minLength: 1 type: string histogram: + description: Histogram is a histogram metric properties: buckets: + description: Buckets is a list of bucket divisors for + the histogram items: type: number type: array value: + description: Value is the value of the metric + minLength: 1 type: string required: - buckets - value type: object labels: + description: Labels is a list of metric labels items: + description: MetricLabel is a single label for a prometheus + metric properties: key: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ type: string value: type: string @@ -1882,13 +3656,18 @@ spec: type: object type: array name: + description: Name is the name of the metric + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ type: string when: + description: When is a conditional statement that decides + when to emit the metric type: string required: - help - name type: object + maxItems: 100 type: array required: - prometheus @@ -1896,34 +3675,79 @@ spec: nodeSelector: additionalProperties: type: string + description: |- + NodeSelector is a selector which will result in all pods of the workflow + to be scheduled on the selected node(s). This is able to be overridden by + a nodeSelector specified in the template. type: object onExit: + description: |- + OnExit is a template reference which is invoked at the end of the + workflow, irrespective of the success, failure, or error of the + primary workflow. type: string parallelism: + description: Parallelism limits the max total parallel pods that can + execute at the same time in a workflow format: int64 + minimum: 1 type: integer podDisruptionBudget: + description: |- + PodDisruptionBudget holds the number of concurrent disruptions that you allow for Workflow's Pods. + Controller will automatically add the selector with workflow name, if selector is empty. + Optional: Defaults to empty. properties: maxUnavailable: anyOf: - type: integer - type: string + description: |- + An eviction is allowed if at most "maxUnavailable" pods selected by + "selector" are unavailable after the eviction, i.e. even in absence of + the evicted pod. For example, one can prevent all voluntary evictions + by specifying 0. This is a mutually exclusive setting with "minAvailable". x-kubernetes-int-or-string: true minAvailable: anyOf: - type: integer - type: string + description: |- + An eviction is allowed if at least "minAvailable" pods selected by + "selector" will still be available after the eviction, i.e. even in the + absence of the evicted pod. So for example you can prevent all voluntary + evictions by specifying "100%". x-kubernetes-int-or-string: true selector: + description: |- + Label query over pods whose evictions are managed by the disruption + budget. + A null selector will match no pods, while an empty ({}) selector will select + all pods within the namespace. properties: matchExpressions: + description: matchExpressions is a list of label selector + requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the selector + applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -1937,26 +3761,74 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic unhealthyPodEvictionPolicy: + description: |- + UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods + should be considered for eviction. Current implementation considers healthy pods, + as pods that have status.conditions item with type="Ready",status="True". + + Valid policies are IfHealthyBudget and AlwaysAllow. + If no policy is specified, the default behavior will be used, + which corresponds to the IfHealthyBudget policy. + + IfHealthyBudget policy means that running pods (status.phase="Running"), + but not yet healthy can be evicted only if the guarded application is not + disrupted (status.currentHealthy is at least equal to status.desiredHealthy). + Healthy pods will be subject to the PDB for eviction. + + AlwaysAllow policy means that all running pods (status.phase="Running"), + but not yet healthy are considered disrupted and can be evicted regardless + of whether the criteria in a PDB is met. This means perspective running + pods of a disrupted application might not get a chance to become healthy. + Healthy pods will be subject to the PDB for eviction. + + Additional policies may be added in the future. + Clients making eviction decisions should disallow eviction of unhealthy pods + if they encounter an unrecognized policy in this field. type: string type: object podGC: + description: PodGC describes the strategy to use when deleting completed + pods properties: deleteDelayDuration: + description: DeleteDelayDuration specifies the duration before + pods in the GC queue get deleted. type: string labelSelector: + description: LabelSelector is the label selector to check if the + pods match the labels before being added to the pod GC queue. properties: matchExpressions: + description: matchExpressions is a list of label selector + requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the selector + applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -1970,13 +3842,28 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic strategy: + description: Strategy is the strategy to use. One of "OnPodCompletion", + "OnPodSuccess", "OnWorkflowCompletion", "OnWorkflowSuccess". + If unset, does not delete Pods + enum: + - "" + - OnPodCompletion + - OnPodSuccess + - OnWorkflowCompletion + - OnWorkflowSuccess type: string type: object podMetadata: + description: PodMetadata defines additional metadata that should be + applied to workflow pods properties: annotations: additionalProperties: @@ -1988,105 +3875,283 @@ spec: type: object type: object podPriorityClassName: + description: PriorityClassName to apply to workflow pods. type: string podSpecPatch: + description: |- + PodSpecPatch holds strategic merge patch to apply against the pod spec. Allows parameterization of + container fields which are not strings (e.g. resource limits). type: string priority: + description: Priority is used if controller is configured to process + limited number of workflows in parallel. Workflows with higher priority + are processed first. format: int32 type: integer retryStrategy: + description: RetryStrategy for all templates in the workflow. properties: affinity: + description: Affinity prevents running workflow's step on the + same host properties: nodeAntiAffinity: + description: |- + RetryNodeAntiAffinity is a placeholder for future expansion, only empty nodeAntiAffinity is allowed. + In order to prevent running steps on the same host, it uses "kubernetes.io/hostname". type: object type: object backoff: + description: Backoff is a backoff strategy properties: cap: + description: |- + Cap is a limit on revised values of the duration parameter. If a + multiplication by the factor parameter would make the duration + exceed the cap then the duration is set to the cap type: string duration: + description: Duration is the amount to back off. Default unit + is seconds, but could also be a duration (e.g. "2m", "1h") type: string factor: anyOf: - type: integer - type: string + description: Factor is a factor to multiply the base duration + after each failed retry x-kubernetes-int-or-string: true maxDuration: + description: |- + MaxDuration is the maximum amount of time allowed for a workflow in the backoff strategy. + It is important to note that if the workflow template includes activeDeadlineSeconds, the pod's deadline is initially set with activeDeadlineSeconds. + However, when the workflow fails, the pod's deadline is then overridden by maxDuration. + This ensures that the workflow does not exceed the specified maximum duration when retries are involved. type: string type: object expression: + description: |- + Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not + be retried and the retry strategy will be ignored type: string limit: anyOf: - type: integer - type: string + description: |- + Limit is the maximum number of retry attempts when retrying a container. It does not include the original + container; the maximum number of total attempts will be `limit + 1`. x-kubernetes-int-or-string: true retryPolicy: + description: RetryPolicy is a policy of NodePhase statuses that + will be retried + enum: + - Always + - OnFailure + - OnError + - OnTransientError type: string type: object schedulerName: + description: |- + Set scheduler name for all pods. + Will be overridden if container/script template's scheduler name is set. + Default scheduler will be used if neither specified. type: string securityContext: + description: |- + SecurityContext holds pod-level security attributes and common container settings. + Optional: Defaults to empty. See type description for default values of each field. properties: appArmorProfile: + description: |- + appArmorProfile is the AppArmor options to use by the containers in this pod. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile loaded on the node that should be used. + The profile must be preconfigured on the node to work. + Must match the loaded name of the profile. + Must be set if and only if type is "Localhost". type: string type: + description: |- + type indicates which kind of AppArmor profile will be applied. + Valid options are: + Localhost - a profile pre-loaded on the node. + RuntimeDefault - the container runtime's default profile. + Unconfined - no AppArmor enforcement. type: string required: - type type: object fsGroup: + description: |- + A special supplemental group that applies to all containers in a pod. + Some volume types allow the Kubelet to change the ownership of that volume + to be owned by the pod: + + 1. The owning GID will be the FSGroup + 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) + 3. The permission bits are OR'd with rw-rw---- + + If unset, the Kubelet will not modify the ownership and permissions of any volume. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer fsGroupChangePolicy: + description: |- + fsGroupChangePolicy defines behavior of changing ownership and permission of the volume + before being exposed inside Pod. This field will only apply to + volume types which support fsGroup based ownership(and permissions). + It will have no effect on ephemeral volume types such as: secret, configmaps + and emptydir. + Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used. + Note that this field cannot be set when spec.os.name is windows. type: string runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in SecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence + for that container. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer runAsNonRoot: + description: |- + Indicates that the container must run as a non-root user. + If true, the Kubelet will validate the image at runtime to ensure that it + does not run as UID 0 (root) and fail to start the container if it does. + If unset or false, no such validation will be performed. + May also be set in SecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in SecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence + for that container. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer seLinuxChangePolicy: + description: |- + seLinuxChangePolicy defines how the container's SELinux label is applied to all volumes used by the Pod. + It has no effect on nodes that do not support SELinux or to volumes does not support SELinux. + Valid values are "MountOption" and "Recursive". + + "Recursive" means relabeling of all files on all Pod volumes by the container runtime. + This may be slow for large volumes, but allows mixing privileged and unprivileged Pods sharing the same volume on the same node. + + "MountOption" mounts all eligible Pod volumes with `-o context` mount option. + This requires all Pods that share the same volume to use the same SELinux label. + It is not possible to share the same volume among privileged and unprivileged Pods. + Eligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes + whose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their + CSIDriver instance. Other volumes are always re-labelled recursively. + "MountOption" value is allowed only when SELinuxMount feature gate is enabled. + + If not specified and SELinuxMount feature gate is enabled, "MountOption" is used. + If not specified and SELinuxMount feature gate is disabled, "MountOption" is used for ReadWriteOncePod volumes + and "Recursive" for all other volumes. + + This field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers. + + All Pods that use the same volume should use the same seLinuxChangePolicy, otherwise some pods can get stuck in ContainerCreating state. + Note that this field cannot be set when spec.os.name is windows. type: string seLinuxOptions: + description: |- + The SELinux context to be applied to all containers. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in SecurityContext. If set in + both SecurityContext and PodSecurityContext, the value specified in SecurityContext + takes precedence for that container. + Note that this field cannot be set when spec.os.name is windows. properties: level: + description: Level is SELinux level label that applies to + the container. type: string role: + description: Role is a SELinux role label that applies to + the container. type: string type: + description: Type is a SELinux type label that applies to + the container. type: string user: + description: User is a SELinux user label that applies to + the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by the containers in this pod. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. + Must be a descending path, relative to the kubelet's configured seccomp profile location. + Must be set if type is "Localhost". Must NOT be set for any other type. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + Localhost - a profile defined in a file on the node should be used. + RuntimeDefault - the container runtime default profile should be used. + Unconfined - no profile should be applied. type: string required: - type type: object supplementalGroups: + description: |- + A list of groups applied to the first process run in each container, in + addition to the container's primary GID and fsGroup (if specified). If + the SupplementalGroupsPolicy feature is enabled, the + supplementalGroupsPolicy field determines whether these are in addition + to or instead of any group memberships defined in the container image. + If unspecified, no additional groups are added, though group memberships + defined in the container image may still be used, depending on the + supplementalGroupsPolicy field. + Note that this field cannot be set when spec.os.name is windows. items: format: int64 type: integer type: array x-kubernetes-list-type: atomic supplementalGroupsPolicy: + description: |- + Defines how supplemental groups of the first container processes are calculated. + Valid values are "Merge" and "Strict". If not specified, "Merge" is used. + (Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled + and the container runtime must implement support for this feature. + Note that this field cannot be set when spec.os.name is windows. type: string sysctls: + description: |- + Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported + sysctls (by the container runtime) might fail to launch. + Note that this field cannot be set when spec.os.name is windows. items: + description: Sysctl defines a kernel parameter to be set properties: name: + description: Name of a property to set type: string value: + description: Value of a property to set type: string required: - name @@ -2095,87 +4160,106 @@ spec: type: array x-kubernetes-list-type: atomic windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options within a container's SecurityContext will be used. + If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is linux. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name of the GMSA + credential spec to use. type: string hostProcess: + description: |- + HostProcess determines if a container should be run as a 'Host Process' container. + All of a Pod's containers must have the same effective HostProcess value + (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + In addition, if HostProcess is true then HostNetwork must also be set to true. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: string type: object type: object serviceAccountName: + description: ServiceAccountName is the name of the ServiceAccount + to run all pods of the workflow as. type: string shutdown: + description: Shutdown will shutdown the workflow according to its + ShutdownStrategy type: string suspend: + description: Suspend will suspend the workflow and prevent execution + of any future steps in the workflow type: boolean synchronization: + description: Synchronization holds synchronization lock configuration + for this Workflow properties: - mutex: - properties: - database: - type: boolean - name: - type: string - namespace: - type: string - type: object mutexes: + description: 'v3.6 and after: Mutexes holds the list of Mutex + lock details' items: + description: Mutex holds Mutex configuration properties: database: + description: Database specifies this is database controlled + if this is set true type: boolean name: + description: name of the mutex type: string namespace: + description: 'Namespace is the namespace of the mutex, default: + [namespace of workflow]' type: string type: object type: array - semaphore: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - database: - properties: - key: - type: string - required: - - key - type: object - namespace: - type: string - type: object semaphores: + description: 'v3.6 and after: Semaphores holds the list of Semaphores + configuration' items: + description: SemaphoreRef is a reference of Semaphore properties: configMapKeyRef: + description: ConfigMapKeyRef is a configmap selector for + Semaphore configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic database: + description: SyncDatabaseRef is a database reference for + Semaphore configuration properties: key: type: string @@ -2183,11 +4267,16 @@ spec: - key type: object namespace: + description: 'Namespace is the namespace of the configmap, + default: [namespace of workflow]' type: string type: object type: array type: object templateDefaults: + description: |- + TemplateDefaults holds default template values that will apply to all templates in the Workflow, unless overridden on the template-level. + All nested field descriptions have been dropped due to Kubernetes size limitations. properties: activeDeadlineSeconds: anyOf: @@ -3040,6 +5129,20 @@ spec: required: - key type: object + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -3144,6 +5247,13 @@ spec: type: boolean type: object type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : 0) + (has(self.http) + ? 1 : 0) + (has(self.artifactory) ? 1 : 0) + (has(self.hdfs) + ? 1 : 0) + (has(self.raw) ? 1 : 0) + (has(self.oss) ? 1 : + 0) + (has(self.gcs) ? 1 : 0) + (has(self.azure) ? 1 : 0) + + (has(self.plugin) ? 1 : 0) <= 1' automountServiceAccountToken: type: boolean container: @@ -4960,8 +7070,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -5019,6 +7132,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -5129,6 +7256,15 @@ spec: required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be + specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) + ? 1 : 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array parameters: items: @@ -5140,10 +7276,12 @@ spec: enum: items: type: string + minItems: 1 type: array globalName: type: string name: + pattern: ^[-a-zA-Z0-9_]+$ type: string value: type: string @@ -5600,8 +7738,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -5659,6 +7800,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -5769,6 +7924,17 @@ spec: required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location + can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) + ? 1 : 0) + (has(self.http) ? 1 : 0) + + (has(self.artifactory) ? 1 : 0) + + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + + (has(self.gcs) ? 1 : 0) + (has(self.azure) + ? 1 : 0) + (has(self.plugin) ? 1 : 0) + <= 1' type: array parameters: items: @@ -5780,10 +7946,12 @@ spec: enum: items: type: string + minItems: 1 type: array globalName: type: string name: + pattern: ^[-a-zA-Z0-9_]+$ type: string value: type: string @@ -5842,6 +8010,8 @@ spec: inline: x-kubernetes-preserve-unknown-fields: true name: + maxLength: 128 + pattern: ^[a-zA-Z0-9][-a-zA-Z0-9]*$ type: string onExit: type: string @@ -5882,9 +8052,23 @@ spec: - type: string x-kubernetes-int-or-string: true type: object + x-kubernetes-validations: + - message: only one of count or end can be defined + rule: '!(has(self.count) && has(self.end))' required: - name type: object + x-kubernetes-validations: + - message: cannot use both 'depends' and 'dependencies' + rule: '!has(self.depends) || !has(self.dependencies)' + - message: cannot use 'continueOn' when using 'depends' + rule: '!has(self.depends) || !has(self.continueOn)' + - message: task name cannot begin with a digit when using + 'depends' or 'dependencies' + rule: '!(has(self.depends) || has(self.dependencies)) + || !self.name.matches(''^[0-9]'')' + maxItems: 200 + minItems: 1 type: array required: - tasks @@ -6290,8 +8474,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -6349,6 +8536,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -6459,6 +8660,14 @@ spec: required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : + 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: object transformation: items: @@ -7629,8 +9838,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -7688,6 +9900,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -7798,6 +10024,14 @@ spec: required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : 0) + + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array parameters: items: @@ -7809,10 +10043,12 @@ spec: enum: items: type: string + minItems: 1 type: array globalName: type: string name: + pattern: ^[-a-zA-Z0-9_]+$ type: string value: type: string @@ -7851,6 +10087,7 @@ spec: required: - name type: object + maxItems: 500 type: array type: object memoize: @@ -7859,15 +10096,9 @@ spec: properties: configMap: properties: - key: - type: string name: default: "" type: string - optional: - type: boolean - required: - - key type: object x-kubernetes-map-type: atomic required: @@ -7901,6 +10132,7 @@ spec: counter: properties: value: + minLength: 1 type: string required: - value @@ -7908,16 +10140,27 @@ spec: gauge: properties: operation: + enum: + - Set + - Add + - Sub type: string realtime: type: boolean value: + maxLength: 256 + minLength: 1 type: string required: - realtime - value type: object + x-kubernetes-validations: + - message: '''resourcesDuration.*'' metrics cannot be + used in real-time gauges' + rule: '!has(self.realtime) || !self.realtime || !self.value.contains(''resourcesDuration.'')' help: + minLength: 1 type: string histogram: properties: @@ -7926,6 +10169,7 @@ spec: type: number type: array value: + minLength: 1 type: string required: - buckets @@ -7935,6 +10179,7 @@ spec: items: properties: key: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ type: string value: type: string @@ -7944,6 +10189,7 @@ spec: type: object type: array name: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ type: string when: type: string @@ -7951,11 +10197,14 @@ spec: - help - name type: object + maxItems: 100 type: array required: - prometheus type: object name: + maxLength: 128 + pattern: ^[a-zA-Z0-9][-a-zA-Z0-9]*$ type: string nodeSelector: additionalProperties: @@ -8361,8 +10610,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -8420,6 +10672,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -8530,6 +10796,14 @@ spec: required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : 0) + + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array exitCode: type: string @@ -8543,10 +10817,12 @@ spec: enum: items: type: string + minItems: 1 type: array globalName: type: string name: + pattern: ^[-a-zA-Z0-9_]+$ type: string value: type: string @@ -8591,6 +10867,7 @@ spec: type: object parallelism: format: int64 + minimum: 1 type: integer plugin: type: object @@ -8602,6 +10879,13 @@ spec: resource: properties: action: + enum: + - get + - create + - apply + - delete + - replace + - patch type: string failureCondition: type: string @@ -9010,8 +11294,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -9069,6 +11356,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -9179,10 +11480,22 @@ spec: required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : + 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' required: - artifact type: object mergeStrategy: + enum: + - strategic + - merge + - json type: string setOwnerReference: type: boolean @@ -9191,6 +11504,10 @@ spec: required: - action type: object + x-kubernetes-validations: + - message: only one of manifest or manifestFrom can be specified + rule: (has(self.manifest) && !has(self.manifestFrom)) || (!has(self.manifest) + && has(self.manifestFrom)) || (!has(self.manifest) && !has(self.manifestFrom)) retryStrategy: properties: affinity: @@ -9220,6 +11537,11 @@ spec: - type: string x-kubernetes-int-or-string: true retryPolicy: + enum: + - Always + - OnFailure + - OnError + - OnTransientError type: string type: object schedulerName: @@ -11073,8 +13395,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -11132,6 +13457,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -11242,6 +13581,15 @@ spec: required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be + specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) + ? 1 : 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array parameters: items: @@ -11253,10 +13601,12 @@ spec: enum: items: type: string + minItems: 1 type: array globalName: type: string name: + pattern: ^[-a-zA-Z0-9_]+$ type: string value: type: string @@ -11707,8 +14057,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -11766,6 +14119,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -11876,6 +14243,16 @@ spec: required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can + be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) + ? 1 : 0) + (has(self.http) ? 1 : 0) + + (has(self.artifactory) ? 1 : 0) + (has(self.hdfs) + ? 1 : 0) + (has(self.raw) ? 1 : 0) + (has(self.oss) + ? 1 : 0) + (has(self.gcs) ? 1 : 0) + (has(self.azure) + ? 1 : 0) + (has(self.plugin) ? 1 : 0) + <= 1' type: array parameters: items: @@ -11887,10 +14264,12 @@ spec: enum: items: type: string + minItems: 1 type: array globalName: type: string name: + pattern: ^[-a-zA-Z0-9_]+$ type: string value: type: string @@ -11949,6 +14328,8 @@ spec: inline: x-kubernetes-preserve-unknown-fields: true name: + maxLength: 128 + pattern: ^[a-zA-Z0-9][-a-zA-Z0-9]*$ type: string onExit: type: string @@ -11989,8 +14370,12 @@ spec: - type: string x-kubernetes-int-or-string: true type: object + x-kubernetes-validations: + - message: only one of count or end can be defined + rule: '!(has(self.count) && has(self.end))' type: object type: array + minItems: 1 type: array suspend: properties: @@ -11999,15 +14384,6 @@ spec: type: object synchronization: properties: - mutex: - properties: - database: - type: boolean - name: - type: string - namespace: - type: string - type: object mutexes: items: properties: @@ -12019,31 +14395,6 @@ spec: type: string type: object type: array - semaphore: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - database: - properties: - key: - type: string - required: - - key - type: object - namespace: - type: string - type: object semaphores: items: properties: @@ -12892,30 +15243,75 @@ spec: type: array type: object templates: + description: |- + Templates is a list of workflow templates used in a workflow + MaxItems is an artificial limit to limit CEL validation costs - see note at top of file items: + description: Template is a reusable and composable unit of execution + in a workflow properties: activeDeadlineSeconds: anyOf: - type: integer - type: string + description: |- + Optional duration in seconds relative to the StartTime that the pod may be active on a node + before the system actively tries to terminate the pod; value must be positive integer + This field is only applicable to container and script templates. x-kubernetes-int-or-string: true affinity: + description: |- + Affinity sets the pod's scheduling constraints + Overrides the affinity set at the workflow level (if any) properties: nodeAffinity: + description: Describes node affinity scheduling rules for + the pod. properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. The node that is + most preferred is the one with the greatest sum of weights, i.e. + for each node that meets all of the scheduling requirements (resource + request, requiredDuringScheduling affinity expressions, etc.), + compute a sum by iterating through the elements of this field and adding + "weight" to the sum if the node matches the corresponding matchExpressions; the + node(s) with the highest sum are the most preferred. items: + description: |- + An empty preferred scheduling term matches all objects with implicit weight 0 + (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). properties: preference: + description: A node selector term, associated + with the corresponding weight. properties: matchExpressions: + description: A list of node selector requirements + by node's labels. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the + selector applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. items: type: string type: array @@ -12927,13 +15323,29 @@ spec: type: array x-kubernetes-list-type: atomic matchFields: + description: A list of node selector requirements + by node's fields. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the + selector applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. items: type: string type: array @@ -12947,6 +15359,9 @@ spec: type: object x-kubernetes-map-type: atomic weight: + description: Weight associated with matching the + corresponding nodeSelectorTerm, in the range + 1-100. format: int32 type: integer required: @@ -12956,18 +15371,46 @@ spec: type: array x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. + If the affinity requirements specified by this field cease to be met + at some point during pod execution (e.g. due to an update), the system + may or may not try to eventually evict the pod from its node. properties: nodeSelectorTerms: + description: Required. A list of node selector terms. + The terms are ORed. items: + description: |- + A null or empty node selector term matches no objects. The requirements of + them are ANDed. + The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. properties: matchExpressions: + description: A list of node selector requirements + by node's labels. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the + selector applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. items: type: string type: array @@ -12979,13 +15422,29 @@ spec: type: array x-kubernetes-list-type: atomic matchFields: + description: A list of node selector requirements + by node's fields. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the + selector applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. items: type: string type: array @@ -13006,22 +15465,59 @@ spec: x-kubernetes-map-type: atomic type: object podAffinity: + description: Describes pod affinity scheduling rules (e.g. + co-locate this pod in the same node, zone, etc. as some + other pod(s)). properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. The node that is + most preferred is the one with the greatest sum of weights, i.e. + for each node that meets all of the scheduling requirements (resource + request, requiredDuringScheduling affinity expressions, etc.), + compute a sum by iterating through the elements of this field and adding + "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the + node(s) with the highest sum are the most preferred. items: + description: The weights of all of the matched WeightedPodAffinityTerm + fields are added per-node to find the most preferred + node(s) properties: podAffinityTerm: + description: Required. A pod affinity term, associated + with the corresponding weight. properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The + requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key + that the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -13035,29 +15531,73 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The + requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key + that the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -13071,20 +15611,38 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". items: type: string type: array x-kubernetes-list-type: atomic topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. type: string required: - topologyKey type: object weight: + description: |- + weight associated with matching the corresponding podAffinityTerm, + in the range 1-100. format: int32 type: integer required: @@ -13094,18 +15652,52 @@ spec: type: array x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. + If the affinity requirements specified by this field cease to be met + at some point during pod execution (e.g. due to a pod label update), the + system may or may not try to eventually evict the pod from its node. + When there are multiple elements, the lists of nodes corresponding to each + podAffinityTerm are intersected, i.e. all terms must be satisfied. items: + description: |- + Defines a set of pods (namely those matching the labelSelector + relative to the given namespace(s)) that this pod should be + co-located (affinity) or not co-located (anti-affinity) with, + where co-located is defined as running on a node whose value of + the label with key matches that of any node on which + a pod of the set of pods is running properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of + label selector requirements. The requirements + are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -13119,29 +15711,73 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. properties: matchExpressions: + description: matchExpressions is a list of + label selector requirements. The requirements + are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -13155,15 +15791,30 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". items: type: string type: array x-kubernetes-list-type: atomic topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. type: string required: - topologyKey @@ -13172,22 +15823,59 @@ spec: x-kubernetes-list-type: atomic type: object podAntiAffinity: + description: Describes pod anti-affinity scheduling rules + (e.g. avoid putting this pod in the same node, zone, etc. + as some other pod(s)). properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the anti-affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. The node that is + most preferred is the one with the greatest sum of weights, i.e. + for each node that meets all of the scheduling requirements (resource + request, requiredDuringScheduling anti-affinity expressions, etc.), + compute a sum by iterating through the elements of this field and adding + "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the + node(s) with the highest sum are the most preferred. items: + description: The weights of all of the matched WeightedPodAffinityTerm + fields are added per-node to find the most preferred + node(s) properties: podAffinityTerm: + description: Required. A pod affinity term, associated + with the corresponding weight. properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The + requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key + that the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -13201,29 +15889,73 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The + requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key + that the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -13237,20 +15969,38 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". items: type: string type: array x-kubernetes-list-type: atomic topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. type: string required: - topologyKey type: object weight: + description: |- + weight associated with matching the corresponding podAffinityTerm, + in the range 1-100. format: int32 type: integer required: @@ -13260,18 +16010,52 @@ spec: type: array x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the anti-affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. + If the anti-affinity requirements specified by this field cease to be met + at some point during pod execution (e.g. due to a pod label update), the + system may or may not try to eventually evict the pod from its node. + When there are multiple elements, the lists of nodes corresponding to each + podAffinityTerm are intersected, i.e. all terms must be satisfied. items: + description: |- + Defines a set of pods (namely those matching the labelSelector + relative to the given namespace(s)) that this pod should be + co-located (affinity) or not co-located (anti-affinity) with, + where co-located is defined as running on a node whose value of + the label with key matches that of any node on which + a pod of the set of pods is running properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of + label selector requirements. The requirements + are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -13285,29 +16069,73 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. properties: matchExpressions: + description: matchExpressions is a list of + label selector requirements. The requirements + are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -13321,15 +16149,30 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". items: type: string type: array x-kubernetes-list-type: atomic topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. type: string required: - topologyKey @@ -13341,36 +16184,72 @@ spec: annotations: additionalProperties: type: string + description: Annotations is a list of annotations to add to + the template at runtime type: object archiveLocation: + description: |- + Location in which all files related to the step will be stored (logs, artifacts, etc...). + Can be overridden by individual items in Outputs. If omitted, will use the default + artifact repository location configured in the controller, appended with the + / in the key. properties: archiveLogs: + description: ArchiveLogs indicates if the container logs + should be archived type: boolean artifactory: + description: Artifactory contains artifactory artifact location + details properties: passwordSecret: + description: PasswordSecret is the secret selector to + the repository password properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret selector to + the repository username properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -13380,27 +16259,49 @@ spec: - url type: object azure: + description: Azure contains Azure Storage artifact location + details properties: accountKeySecret: + description: AccountKeySecret is the secret selector + to the Azure Blob Storage account access key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., path) in the + container where the artifact resides type: string container: + description: Container is the container where resources + will be stored type: string endpoint: + description: Endpoint is the service url associated + with an account. It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - blob @@ -13408,19 +16309,35 @@ spec: - endpoint type: object gcs: + description: GCS contains GCS artifact location details properties: bucket: + description: Bucket is the name of the bucket type: string key: + description: Key is the path in the bucket where the + artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is the secret selector + to the bucket's service account key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -13430,62 +16347,117 @@ spec: - key type: object git: + description: Git contains git artifact location details properties: branch: + description: Branch is the branch to fetch when `SingleBranch` + is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables submodules during + git clone type: boolean fetch: + description: Fetch specifies a number of refs that should + be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables SSH strict + host key checking during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables server certificate + verification resulting in insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret selector to + the repository password properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, tag, branch + to checkout type: string singleBranch: + description: SingleBranch enables single branch clone, + using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the secret selector + to the repository ssh private key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector to + the repository username properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -13495,94 +16467,181 @@ spec: - repo type: object hdfs: + description: HDFS contains HDFS artifact location details properties: addresses: + description: Addresses is accessible addresses of HDFS + name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly even if it + exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location details properties: auth: + description: Auth contains information for client authentication properties: basicAuth: + description: BasicAuth describes the secret selectors + required for basic authentication properties: passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -13590,28 +16649,54 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds necessary information + for client authentication via certificates properties: clientCertSecret: + description: SecretKeySelector selects a key + of a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector selects a key + of a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -13619,28 +16704,54 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all information for + client authentication via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector selects a key + of a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector selects a key + of a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -13648,10 +16759,16 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is for requesting + optional fields that should be sent in the + oauth request properties: key: + description: Name is the header name type: string value: + description: Value is the literal value + to use for the header type: string required: - key @@ -13662,13 +16779,25 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector selects a key + of a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -13677,11 +16806,18 @@ spec: type: object type: object headers: + description: Headers are an optional list of headers + to send with HTTP requests for artifacts items: + description: Header indicate a key-value request header + to be used when fetching artifacts over HTTP properties: name: + description: Name is the header name type: string value: + description: Value is the literal value to use + for the header type: string required: - name @@ -13689,120 +16825,247 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object oss: + description: OSS contains OSS artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the driver + to attempt to create the OSS bucket for output artifacts, + if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string key: + description: Key is the path in the bucket where the + artifact resides type: string lifecycleRule: + description: LifecycleRule specifies how to manage bucket's + lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays is the number + of days before we delete objects in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays is the + number of days before we convert the objects in + the bucket to Infrequent Access (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s temporary + security token. For more details, check out: https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - key type: object + plugin: + description: Plugin contains plugin artifact location details + properties: + configuration: + description: Configuration is the plugin defined configuration + for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds is the timeout + for the artifact driver connection, overriding the + driver's timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact repository + where the artifact resides + type: string + name: + description: Name is the name of the artifact driver + plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location details properties: data: + description: Data is the string contents of the artifact type: string required: - data type: object s3: + description: S3 contains S3 artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string caSecret: + description: CASecret specifies the secret that contains + the CA, used to verify the TLS connection properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the driver + to attempt to create the S3 bucket for output artifacts, + if it doesn't exist. Setting Enabled Encryption will + apply either SSE-S3 to the bucket if KmsKeyId is not + set or SSE-KMS if it is. properties: objectLocking: + description: ObjectLocking Enable object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used to determine encryption + options during s3 operations properties: enableEncryption: + description: EnableEncryption tells the driver to + encrypt objects if set to true. If kmsKeyId and + serverSideCustomerKeySecret are not set, SSE-S3 + will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext is a json blob + that contains an encryption context. See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver to encrypt + the object using the specified KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret tells the + driver to encrypt the output artifacts using SSE-C + with the specified secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key @@ -13810,115 +17073,236 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string insecure: + description: Insecure will connect to the service with + TLS type: boolean key: + description: Key is the key in the bucket where the + artifact resides type: string region: + description: Region contains the optional bucket region type: string roleARN: + description: RoleARN is the Amazon Resource Name (ARN) + of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used for ephemeral + credentials like an IAM assume role or S3 access grant properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean type: object type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : 0) + + (has(self.http) ? 1 : 0) + (has(self.artifactory) ? 1 : + 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) ? 1 : 0) + + (has(self.oss) ? 1 : 0) + (has(self.gcs) ? 1 : 0) + (has(self.azure) + ? 1 : 0) + (has(self.plugin) ? 1 : 0) <= 1' automountServiceAccountToken: + description: |- + AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in pods. + ServiceAccountName of ExecutorConfig must be specified if this value is false. type: boolean container: + description: Container is the main container image to run in + the pod properties: args: + description: |- + Arguments to the entrypoint. + The container image's CMD is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic command: + description: |- + Entrypoint array. Not executed within a shell. + The container image's ENTRYPOINT is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic env: + description: |- + List of environment variables to set in the container. + Cannot be updated. items: + description: EnvVar represents an environment variable + present in a Container. properties: name: + description: Name of the environment variable. Must + be a C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. If a variable cannot be resolved, + the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. + "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". + Escaped references will never be expanded, regardless of whether the variable + exists or not. + Defaults to "". type: string valueFrom: + description: Source for the environment variable's + value. Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in + the specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. properties: containerName: + description: 'Container name: required for + volumes, optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of + the exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic 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: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -13933,25 +17317,54 @@ spec: - name x-kubernetes-list-type: map envFrom: + description: |- + List of sources to populate environment variables in the container. + The keys defined within a source must be a C_IDENTIFIER. All invalid keys + will be reported as an event when the container is starting. When a key exists in multiple + sources, the value associated with the last source will take precedence. + Values defined by an Env with a duplicate key will take precedence. + Cannot be updated. items: + description: EnvFromSource represents the source of a + set of ConfigMaps or Secrets properties: configMapRef: + description: The ConfigMap to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap must + be defined type: boolean type: object x-kubernetes-map-type: atomic prefix: + description: Optional text to prepend to the name + of each environment variable. Must be a C_IDENTIFIER. type: string secretRef: + description: The Secret to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret must be + defined type: boolean type: object x-kubernetes-map-type: atomic @@ -13959,31 +17372,71 @@ spec: type: array x-kubernetes-list-type: atomic image: + description: |- + Container image name. + More info: https://kubernetes.io/docs/concepts/containers/images + This field is optional to allow higher level config management to default or override + container images in workload controllers like Deployments and StatefulSets. type: string imagePullPolicy: + description: |- + Image pull policy. + One of Always, Never, IfNotPresent. + Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/containers/images#updating-images type: string lifecycle: + description: |- + Actions that the management system should take in response to container lifecycle events. + Cannot be updated. properties: postStart: + description: |- + PostStart is called immediately after a container is created. If the handler fails, + the container is terminated and restarted according to its restart policy. + Other management of the container blocks until the hook completes. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -13992,58 +17445,111 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that the + container should sleep. properties: seconds: + description: Seconds is the number of seconds + to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object preStop: + description: |- + PreStop is called immediately before a container is terminated due to an + API request or management event such as liveness/startup probe failure, + preemption, resource contention, etc. The handler is not called if the + container crashes or exits. The Pod's termination grace period countdown begins before the + PreStop hook is executed. Regardless of the outcome of the handler, the + container will eventually terminate within the Pod's termination grace + period (unless delayed by finalizers). Other management of the container blocks until the hook completes + or until the termination grace period is reached. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -14052,75 +17558,138 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that the + container should sleep. properties: seconds: + description: Seconds is the number of seconds + to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object stopSignal: + description: |- + StopSignal defines which signal will be sent to a container when it is being stopped. + If not specified, the default is defined by the container runtime in use. + StopSignal can only be set for Pods with a non-empty .spec.os.name type: string type: object livenessProbe: + description: |- + Periodic probe of container liveness. + Container will be restarted if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. Number + must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request to + perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -14129,62 +17698,133 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a TCP + port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object name: + description: |- + Name of the container specified as a DNS_LABEL. + Each container in a pod must have a unique name (DNS_LABEL). + Cannot be updated. type: string ports: + description: |- + List of ports to expose from the container. Not specifying a port here + DOES NOT prevent that port from being exposed. Any port which is + listening on the default "0.0.0.0" address inside a container will be + accessible from the network. + Modifying this array with strategic merge patch may corrupt the data. + For more information See https://github.com/kubernetes/kubernetes/issues/108255. + Cannot be updated. items: + description: ContainerPort represents a network port in + a single container. properties: containerPort: + description: |- + Number of port to expose on the pod's IP address. + This must be a valid port number, 0 < x < 65536. format: int32 type: integer hostIP: + description: What host IP to bind the external port + to. type: string hostPort: + description: |- + Number of port to expose on the host. + If specified, this must be a valid port number, 0 < x < 65536. + If HostNetwork is specified, this must match ContainerPort. + Most containers do not need this. format: int32 type: integer name: + description: |- + If specified, this must be an IANA_SVC_NAME and unique within the pod. Each + named port in a pod must have a unique name. Name for the port that can be + referred to by services. type: string protocol: default: TCP + description: |- + Protocol for port. Must be UDP, TCP, or SCTP. + Defaults to "TCP". type: string required: - containerPort @@ -14195,39 +17835,76 @@ spec: - protocol x-kubernetes-list-type: map readinessProbe: + description: |- + Periodic probe of container service readiness. + Container will be removed from service endpoints if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. Number + must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request to + perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -14236,51 +17913,100 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a TCP + port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object resizePolicy: + description: Resources resize policy for the container. items: + description: ContainerResizePolicy represents resource + resize policy for the container. properties: resourceName: + description: |- + Name of the resource to which this resource resize policy applies. + Supported values: cpu, memory. type: string restartPolicy: + description: |- + Restart policy to apply when specified resource is resized. + If not specified, it defaults to NotRequired. type: string required: - resourceName @@ -14289,13 +18015,35 @@ spec: type: array x-kubernetes-list-type: atomic resources: + description: |- + Compute Resources required by this container. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ properties: claims: + description: |- + Claims lists the names of resources, defined in spec.resourceClaims, + that are used by this container. + + This is an alpha field and requires enabling the + DynamicResourceAllocation feature gate. + + This field is immutable. It can only be set for containers. items: + description: ResourceClaim references one entry in + PodSpec.ResourceClaims. properties: name: + description: |- + Name must match the name of one entry in pod.spec.resourceClaims of + the Pod where this field is used. It makes that resource available + inside a container. type: string request: + description: |- + Request is the name chosen for a request in the referenced claim. + If empty, everything from the claim is made available, otherwise + only the result of this request. type: string required: - name @@ -14311,6 +18059,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -14319,116 +18070,300 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object type: object restartPolicy: + description: |- + RestartPolicy defines the restart behavior of individual containers in a pod. + This field may only be set for init containers, and the only allowed value is "Always". + For non-init containers or when this field is not specified, + the restart behavior is defined by the Pod's restart policy and the container type. + Setting the RestartPolicy as "Always" for the init container will have the following effect: + this init container will be continually restarted on + exit until all regular containers have terminated. Once all regular + containers have completed, all init containers with restartPolicy "Always" + will be shut down. This lifecycle differs from normal init containers and + is often referred to as a "sidecar" container. Although this init + container still starts in the init container sequence, it does not wait + for the container to complete before proceeding to the next init + container. Instead, the next init container starts immediately after this + init container is started, or after any startupProbe has successfully + completed. type: string securityContext: + description: |- + SecurityContext defines the security options the container should be run with. + If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. + More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ properties: allowPrivilegeEscalation: + description: |- + AllowPrivilegeEscalation controls whether a process can gain more + privileges than its parent process. This bool directly controls if + the no_new_privs flag will be set on the container process. + AllowPrivilegeEscalation is true always when the container is: + 1) run as Privileged + 2) has CAP_SYS_ADMIN + Note that this field cannot be set when spec.os.name is windows. type: boolean appArmorProfile: + description: |- + appArmorProfile is the AppArmor options to use by this container. If set, this profile + overrides the pod's appArmorProfile. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile loaded on the node that should be used. + The profile must be preconfigured on the node to work. + Must match the loaded name of the profile. + Must be set if and only if type is "Localhost". type: string type: + description: |- + type indicates which kind of AppArmor profile will be applied. + Valid options are: + Localhost - a profile pre-loaded on the node. + RuntimeDefault - the container runtime's default profile. + Unconfined - no AppArmor enforcement. type: string required: - type type: object capabilities: + description: |- + The capabilities to add/drop when running containers. + Defaults to the default set of capabilities granted by the container runtime. + Note that this field cannot be set when spec.os.name is windows. properties: add: + description: Added capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array x-kubernetes-list-type: atomic drop: + description: Removed capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array x-kubernetes-list-type: atomic type: object privileged: + description: |- + Run container in privileged mode. + Processes in privileged containers are essentially equivalent to root on the host. + Defaults to false. + Note that this field cannot be set when spec.os.name is windows. type: boolean procMount: + description: |- + procMount denotes the type of proc mount to use for the containers. + The default value is Default which uses the container runtime defaults for + readonly paths and masked paths. + This requires the ProcMountType feature flag to be enabled. + Note that this field cannot be set when spec.os.name is windows. type: string readOnlyRootFilesystem: + description: |- + Whether this container has a read-only root filesystem. + Default is false. + Note that this field cannot be set when spec.os.name is windows. type: boolean runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer runAsNonRoot: + description: |- + Indicates that the container must run as a non-root user. + If true, the Kubelet will validate the image at runtime to ensure that it + does not run as UID 0 (root) and fail to start the container if it does. + If unset or false, no such validation will be performed. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to the container. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. properties: level: + description: Level is SELinux level label that applies + to the container. type: string role: + description: Role is a SELinux role label that applies + to the container. type: string type: + description: Type is a SELinux type label that applies + to the container. type: string user: + description: User is a SELinux user label that applies + to the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by this container. If seccomp options are + provided at both the pod & container level, the container options + override the pod options. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. + Must be a descending path, relative to the kubelet's configured seccomp profile location. + Must be set if type is "Localhost". Must NOT be set for any other type. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + Localhost - a profile defined in a file on the node should be used. + RuntimeDefault - the container runtime default profile should be used. + Unconfined - no profile should be applied. type: string required: - type type: object windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options from the PodSecurityContext will be used. + If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is linux. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name + of the GMSA credential spec to use. type: string hostProcess: + description: |- + HostProcess determines if a container should be run as a 'Host Process' container. + All of a Pod's containers must have the same effective HostProcess value + (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + In addition, if HostProcess is true then HostNetwork must also be set to true. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: string type: object type: object startupProbe: + description: |- + StartupProbe indicates that the Pod has successfully initialized. + If specified, no other probes are executed until this completes successfully. + If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. + This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, + when it might take a long time to load data or warm a cache, than during steady-state operation. + This cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. Number + must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request to + perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -14437,61 +18372,140 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a TCP + port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object stdin: + description: |- + Whether this container should allocate a buffer for stdin in the container runtime. If this + is not set, reads from stdin in the container will always result in EOF. + Default is false. type: boolean stdinOnce: + description: |- + Whether the container runtime should close the stdin channel after it has been opened by + a single attach. When stdin is true the stdin stream will remain open across multiple attach + sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the + first client attaches to stdin, and then remains open and accepts data until the client disconnects, + at which time stdin is closed and remains closed until the container is restarted. If this + flag is false, a container processes that reads from stdin will never receive an EOF. + Default is false type: boolean terminationMessagePath: + description: |- + Optional: Path at which the file to which the container's termination message + will be written is mounted into the container's filesystem. + Message written is intended to be brief final status, such as an assertion failure message. + Will be truncated by the node if greater than 4096 bytes. The total message length across + all containers will be limited to 12kb. + Defaults to /dev/termination-log. + Cannot be updated. type: string terminationMessagePolicy: + description: |- + Indicate how the termination message should be populated. File will use the contents of + terminationMessagePath to populate the container status message on both success and failure. + FallbackToLogsOnError will use the last chunk of container log output if the termination + message file is empty and the container exited with an error. + The log output is limited to 2048 bytes or 80 lines, whichever is smaller. + Defaults to File. + Cannot be updated. type: string tty: + description: |- + Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. + Default is false. type: boolean volumeDevices: + description: volumeDevices is the list of block devices + to be used by the container. items: + description: volumeDevice describes a mapping of a raw + block device within a container. properties: devicePath: + description: devicePath is the path inside of the + container that the device will be mapped to. type: string name: + description: name must match the name of a persistentVolumeClaim + in the pod type: string required: - devicePath @@ -14502,21 +18516,65 @@ spec: - devicePath x-kubernetes-list-type: map volumeMounts: + description: |- + Pod volumes to mount into the container's filesystem. + Cannot be updated. items: + description: VolumeMount describes a mounting of a Volume + within a container. properties: mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. type: string mountPropagation: + description: |- + mountPropagation determines how mounts are propagated from the host + to container and the other way around. + When not set, MountPropagationNone is used. + This field is beta in 1.10. + When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + (which defaults to None). type: string name: + description: This must match the Name of a Volume. type: string readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. type: boolean recursiveReadOnly: + description: |- + RecursiveReadOnly specifies whether read-only mounts should be handled + recursively. + + If ReadOnly is false, this field has no meaning and must be unspecified. + + If ReadOnly is true, and this field is set to Disabled, the mount is not made + recursively read-only. If this field is set to IfPossible, the mount is made + recursively read-only, if it is supported by the container runtime. If this + field is set to Enabled, the mount is made recursively read-only if it is + supported by the container runtime, otherwise the pod will not be started and + an error will be generated to indicate the reason. + + If this field is set to IfPossible or Enabled, MountPropagation must be set to + None (or be unspecified, which defaults to None). + + If this field is not specified, it is treated as an equivalent of Disabled. type: string subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). type: string subPathExpr: + description: |- + Expanded path within the volume from which the container's volume should be mounted. + Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. + Defaults to "" (volume's root). + SubPathExpr and SubPath are mutually exclusive. type: string required: - mountPath @@ -14527,19 +18585,44 @@ spec: - mountPath x-kubernetes-list-type: map workingDir: + description: |- + Container's working directory. + If not specified, the container runtime's default will be used, which + might be configured in the container image. + Cannot be updated. type: string type: object containerSet: + description: ContainerSet groups multiple containers within + a single pod. properties: containers: items: properties: args: + description: |- + Arguments to the entrypoint. + The container image's CMD is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic command: + description: |- + Entrypoint array. Not executed within a shell. + The container image's ENTRYPOINT is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array @@ -14549,61 +18632,121 @@ spec: type: string type: array env: + description: |- + List of environment variables to set in the container. + Cannot be updated. items: + description: EnvVar represents an environment variable + present in a Container. properties: name: + description: Name of the environment variable. + Must be a C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. If a variable cannot be resolved, + the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. + "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". + Escaped references will never be expanded, regardless of whether the variable + exists or not. + Defaults to "". type: string valueFrom: + description: Source for the environment variable's + value. Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. properties: apiVersion: + description: Version of the schema the + FieldPath is written in terms of, + defaults to "v1". type: string fieldPath: + description: Path of the field to select + in the specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. properties: containerName: + description: 'Container name: required + for volumes, optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format + of the exposed resources, defaults + to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to + select' type: string required: - resource type: object x-kubernetes-map-type: atomic 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: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -14618,25 +18761,55 @@ spec: - name x-kubernetes-list-type: map envFrom: + description: |- + List of sources to populate environment variables in the container. + The keys defined within a source must be a C_IDENTIFIER. All invalid keys + will be reported as an event when the container is starting. When a key exists in multiple + sources, the value associated with the last source will take precedence. + Values defined by an Env with a duplicate key will take precedence. + Cannot be updated. items: + description: EnvFromSource represents the source + of a set of ConfigMaps or Secrets properties: configMapRef: + description: The ConfigMap to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + must be defined type: boolean type: object x-kubernetes-map-type: atomic prefix: + description: Optional text to prepend to the + name of each environment variable. Must be + a C_IDENTIFIER. type: string secretRef: + description: The Secret to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + must be defined type: boolean type: object x-kubernetes-map-type: atomic @@ -14644,31 +18817,71 @@ spec: type: array x-kubernetes-list-type: atomic image: + description: |- + Container image name. + More info: https://kubernetes.io/docs/concepts/containers/images + This field is optional to allow higher level config management to default or override + container images in workload controllers like Deployments and StatefulSets. type: string imagePullPolicy: + description: |- + Image pull policy. + One of Always, Never, IfNotPresent. + Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/containers/images#updating-images type: string lifecycle: + description: |- + Actions that the management system should take in response to container lifecycle events. + Cannot be updated. properties: postStart: + description: |- + PostStart is called immediately after a container is created. If the handler fails, + the container is terminated and restarted according to its restart policy. + Other management of the container blocks until the hook completes. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET + request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in + the request. HTTP allows repeated headers. items: + description: HTTPHeader describes a + custom header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -14677,58 +18890,112 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP + server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that + the container should sleep. properties: seconds: + description: Seconds is the number of + seconds to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object preStop: + description: |- + PreStop is called immediately before a container is terminated due to an + API request or management event such as liveness/startup probe failure, + preemption, resource contention, etc. The handler is not called if the + container crashes or exits. The Pod's termination grace period countdown begins before the + PreStop hook is executed. Regardless of the outcome of the handler, the + container will eventually terminate within the Pod's termination grace + period (unless delayed by finalizers). Other management of the container blocks until the hook completes + or until the termination grace period is reached. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET + request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in + the request. HTTP allows repeated headers. items: + description: HTTPHeader describes a + custom header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -14737,75 +19004,139 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP + server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that + the container should sleep. properties: seconds: + description: Seconds is the number of + seconds to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object stopSignal: + description: |- + StopSignal defines which signal will be sent to a container when it is being stopped. + If not specified, the default is defined by the container runtime in use. + StopSignal can only be set for Pods with a non-empty .spec.os.name type: string type: object livenessProbe: + description: |- + Periodic probe of container liveness. + Container will be restarted if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the + request. HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -14814,62 +19145,133 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection + to a TCP port. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object name: + description: |- + Name of the container specified as a DNS_LABEL. + Each container in a pod must have a unique name (DNS_LABEL). + Cannot be updated. type: string ports: + description: |- + List of ports to expose from the container. Not specifying a port here + DOES NOT prevent that port from being exposed. Any port which is + listening on the default "0.0.0.0" address inside a container will be + accessible from the network. + Modifying this array with strategic merge patch may corrupt the data. + For more information See https://github.com/kubernetes/kubernetes/issues/108255. + Cannot be updated. items: + description: ContainerPort represents a network + port in a single container. properties: containerPort: + description: |- + Number of port to expose on the pod's IP address. + This must be a valid port number, 0 < x < 65536. format: int32 type: integer hostIP: + description: What host IP to bind the external + port to. type: string hostPort: + description: |- + Number of port to expose on the host. + If specified, this must be a valid port number, 0 < x < 65536. + If HostNetwork is specified, this must match ContainerPort. + Most containers do not need this. format: int32 type: integer name: + description: |- + If specified, this must be an IANA_SVC_NAME and unique within the pod. Each + named port in a pod must have a unique name. Name for the port that can be + referred to by services. type: string protocol: default: TCP + description: |- + Protocol for port. Must be UDP, TCP, or SCTP. + Defaults to "TCP". type: string required: - containerPort @@ -14880,39 +19282,76 @@ spec: - protocol x-kubernetes-list-type: map readinessProbe: + description: |- + Periodic probe of container service readiness. + Container will be removed from service endpoints if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the + request. HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -14921,51 +19360,100 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection + to a TCP port. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object resizePolicy: + description: Resources resize policy for the container. items: + description: ContainerResizePolicy represents resource + resize policy for the container. properties: resourceName: + description: |- + Name of the resource to which this resource resize policy applies. + Supported values: cpu, memory. type: string restartPolicy: + description: |- + Restart policy to apply when specified resource is resized. + If not specified, it defaults to NotRequired. type: string required: - resourceName @@ -14974,13 +19462,35 @@ spec: type: array x-kubernetes-list-type: atomic resources: + description: |- + Compute Resources required by this container. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ properties: claims: + description: |- + Claims lists the names of resources, defined in spec.resourceClaims, + that are used by this container. + + This is an alpha field and requires enabling the + DynamicResourceAllocation feature gate. + + This field is immutable. It can only be set for containers. items: + description: ResourceClaim references one entry + in PodSpec.ResourceClaims. properties: name: + description: |- + Name must match the name of one entry in pod.spec.resourceClaims of + the Pod where this field is used. It makes that resource available + inside a container. type: string request: + description: |- + Request is the name chosen for a request in the referenced claim. + If empty, everything from the claim is made available, otherwise + only the result of this request. type: string required: - name @@ -14996,6 +19506,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -15004,116 +19517,300 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object type: object restartPolicy: + description: |- + RestartPolicy defines the restart behavior of individual containers in a pod. + This field may only be set for init containers, and the only allowed value is "Always". + For non-init containers or when this field is not specified, + the restart behavior is defined by the Pod's restart policy and the container type. + Setting the RestartPolicy as "Always" for the init container will have the following effect: + this init container will be continually restarted on + exit until all regular containers have terminated. Once all regular + containers have completed, all init containers with restartPolicy "Always" + will be shut down. This lifecycle differs from normal init containers and + is often referred to as a "sidecar" container. Although this init + container still starts in the init container sequence, it does not wait + for the container to complete before proceeding to the next init + container. Instead, the next init container starts immediately after this + init container is started, or after any startupProbe has successfully + completed. type: string securityContext: + description: |- + SecurityContext defines the security options the container should be run with. + If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. + More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ properties: allowPrivilegeEscalation: + description: |- + AllowPrivilegeEscalation controls whether a process can gain more + privileges than its parent process. This bool directly controls if + the no_new_privs flag will be set on the container process. + AllowPrivilegeEscalation is true always when the container is: + 1) run as Privileged + 2) has CAP_SYS_ADMIN + Note that this field cannot be set when spec.os.name is windows. type: boolean appArmorProfile: + description: |- + appArmorProfile is the AppArmor options to use by this container. If set, this profile + overrides the pod's appArmorProfile. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile loaded on the node that should be used. + The profile must be preconfigured on the node to work. + Must match the loaded name of the profile. + Must be set if and only if type is "Localhost". type: string type: + description: |- + type indicates which kind of AppArmor profile will be applied. + Valid options are: + Localhost - a profile pre-loaded on the node. + RuntimeDefault - the container runtime's default profile. + Unconfined - no AppArmor enforcement. type: string required: - type type: object capabilities: + description: |- + The capabilities to add/drop when running containers. + Defaults to the default set of capabilities granted by the container runtime. + Note that this field cannot be set when spec.os.name is windows. properties: add: + description: Added capabilities items: + description: Capability represent POSIX + capabilities type type: string type: array x-kubernetes-list-type: atomic drop: + description: Removed capabilities items: + description: Capability represent POSIX + capabilities type type: string type: array x-kubernetes-list-type: atomic type: object privileged: + description: |- + Run container in privileged mode. + Processes in privileged containers are essentially equivalent to root on the host. + Defaults to false. + Note that this field cannot be set when spec.os.name is windows. type: boolean procMount: + description: |- + procMount denotes the type of proc mount to use for the containers. + The default value is Default which uses the container runtime defaults for + readonly paths and masked paths. + This requires the ProcMountType feature flag to be enabled. + Note that this field cannot be set when spec.os.name is windows. type: string readOnlyRootFilesystem: + description: |- + Whether this container has a read-only root filesystem. + Default is false. + Note that this field cannot be set when spec.os.name is windows. type: boolean runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer runAsNonRoot: + description: |- + Indicates that the container must run as a non-root user. + If true, the Kubelet will validate the image at runtime to ensure that it + does not run as UID 0 (root) and fail to start the container if it does. + If unset or false, no such validation will be performed. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to the container. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. properties: level: + description: Level is SELinux level label + that applies to the container. type: string role: + description: Role is a SELinux role label + that applies to the container. type: string type: + description: Type is a SELinux type label + that applies to the container. type: string user: + description: User is a SELinux user label + that applies to the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by this container. If seccomp options are + provided at both the pod & container level, the container options + override the pod options. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. + Must be a descending path, relative to the kubelet's configured seccomp profile location. + Must be set if type is "Localhost". Must NOT be set for any other type. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + Localhost - a profile defined in a file on the node should be used. + RuntimeDefault - the container runtime default profile should be used. + Unconfined - no profile should be applied. type: string required: - type type: object windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options from the PodSecurityContext will be used. + If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is linux. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the + name of the GMSA credential spec to use. type: string hostProcess: + description: |- + HostProcess determines if a container should be run as a 'Host Process' container. + All of a Pod's containers must have the same effective HostProcess value + (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + In addition, if HostProcess is true then HostNetwork must also be set to true. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: string type: object type: object startupProbe: + description: |- + StartupProbe indicates that the Pod has successfully initialized. + If specified, no other probes are executed until this completes successfully. + If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. + This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, + when it might take a long time to load data or warm a cache, than during steady-state operation. + This cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the + request. HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -15122,61 +19819,141 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection + to a TCP port. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object stdin: + description: |- + Whether this container should allocate a buffer for stdin in the container runtime. If this + is not set, reads from stdin in the container will always result in EOF. + Default is false. type: boolean stdinOnce: + description: |- + Whether the container runtime should close the stdin channel after it has been opened by + a single attach. When stdin is true the stdin stream will remain open across multiple attach + sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the + first client attaches to stdin, and then remains open and accepts data until the client disconnects, + at which time stdin is closed and remains closed until the container is restarted. If this + flag is false, a container processes that reads from stdin will never receive an EOF. + Default is false type: boolean terminationMessagePath: + description: |- + Optional: Path at which the file to which the container's termination message + will be written is mounted into the container's filesystem. + Message written is intended to be brief final status, such as an assertion failure message. + Will be truncated by the node if greater than 4096 bytes. The total message length across + all containers will be limited to 12kb. + Defaults to /dev/termination-log. + Cannot be updated. type: string terminationMessagePolicy: + description: |- + Indicate how the termination message should be populated. File will use the contents of + terminationMessagePath to populate the container status message on both success and failure. + FallbackToLogsOnError will use the last chunk of container log output if the termination + message file is empty and the container exited with an error. + The log output is limited to 2048 bytes or 80 lines, whichever is smaller. + Defaults to File. + Cannot be updated. type: string tty: + description: |- + Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. + Default is false. type: boolean volumeDevices: + description: volumeDevices is the list of block devices + to be used by the container. items: + description: volumeDevice describes a mapping of + a raw block device within a container. properties: devicePath: + description: devicePath is the path inside of + the container that the device will be mapped + to. type: string name: + description: name must match the name of a persistentVolumeClaim + in the pod type: string required: - devicePath @@ -15187,21 +19964,65 @@ spec: - devicePath x-kubernetes-list-type: map volumeMounts: + description: |- + Pod volumes to mount into the container's filesystem. + Cannot be updated. items: + description: VolumeMount describes a mounting of + a Volume within a container. properties: mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. type: string mountPropagation: + description: |- + mountPropagation determines how mounts are propagated from the host + to container and the other way around. + When not set, MountPropagationNone is used. + This field is beta in 1.10. + When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + (which defaults to None). type: string name: + description: This must match the Name of a Volume. type: string readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. type: boolean recursiveReadOnly: + description: |- + RecursiveReadOnly specifies whether read-only mounts should be handled + recursively. + + If ReadOnly is false, this field has no meaning and must be unspecified. + + If ReadOnly is true, and this field is set to Disabled, the mount is not made + recursively read-only. If this field is set to IfPossible, the mount is made + recursively read-only, if it is supported by the container runtime. If this + field is set to Enabled, the mount is made recursively read-only if it is + supported by the container runtime, otherwise the pod will not be started and + an error will be generated to indicate the reason. + + If this field is set to IfPossible or Enabled, MountPropagation must be set to + None (or be unspecified, which defaults to None). + + If this field is not specified, it is treated as an equivalent of Disabled. type: string subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). type: string subPathExpr: + description: |- + Expanded path within the volume from which the container's volume should be mounted. + Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. + Defaults to "" (volume's root). + SubPathExpr and SubPath are mutually exclusive. type: string required: - mountPath @@ -15212,39 +20033,94 @@ spec: - mountPath x-kubernetes-list-type: map workingDir: + description: |- + Container's working directory. + If not specified, the container runtime's default will be used, which + might be configured in the container image. + Cannot be updated. type: string required: - name type: object type: array retryStrategy: + description: |- + RetryStrategy describes how to retry container nodes if the container set fails. + Note that this works differently from the template-level `retryStrategy` as it is a process-level retry that does not create new Pods or containers. properties: duration: + description: |- + Duration is the time between each retry, examples values are "300ms", "1s" or "5m". + Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". type: string retries: anyOf: - type: integer - type: string + description: |- + Retries is the maximum number of retry attempts for each container. It does not include the + first, original attempt; the maximum number of total attempts will be `retries + 1`. x-kubernetes-int-or-string: true required: - retries type: object volumeMounts: items: + description: VolumeMount describes a mounting of a Volume + within a container. properties: mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. type: string mountPropagation: + description: |- + mountPropagation determines how mounts are propagated from the host + to container and the other way around. + When not set, MountPropagationNone is used. + This field is beta in 1.10. + When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + (which defaults to None). type: string name: + description: This must match the Name of a Volume. type: string readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. type: boolean recursiveReadOnly: + description: |- + RecursiveReadOnly specifies whether read-only mounts should be handled + recursively. + + If ReadOnly is false, this field has no meaning and must be unspecified. + + If ReadOnly is true, and this field is set to Disabled, the mount is not made + recursively read-only. If this field is set to IfPossible, the mount is made + recursively read-only, if it is supported by the container runtime. If this + field is set to Enabled, the mount is made recursively read-only if it is + supported by the container runtime, otherwise the pod will not be started and + an error will be generated to indicate the reason. + + If this field is set to IfPossible or Enabled, MountPropagation must be set to + None (or be unspecified, which defaults to None). + + If this field is not specified, it is treated as an equivalent of Disabled. type: string subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). type: string subPathExpr: + description: |- + Expanded path within the volume from which the container's volume should be mounted. + Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. + Defaults to "" (volume's root). + SubPathExpr and SubPath are mutually exclusive. type: string required: - mountPath @@ -15255,39 +20131,85 @@ spec: - containers type: object daemon: + description: Daemon will allow a workflow to proceed to the + next step so long as the container reaches readiness type: boolean dag: + description: DAG template subtype which runs a DAG properties: failFast: + description: |- + This flag is for DAG logic. The DAG logic has a built-in "fail fast" feature to stop scheduling new steps, + as soon as it detects that one of the DAG nodes is failed. Then it waits until all DAG nodes are completed + before failing the DAG itself. + The FailFast flag default is true, if set to false, it will allow a DAG to run all branches of the DAG to + completion (either success or failure), regardless of the failed outcomes of branches in the DAG. + More info and example about this feature at https://github.com/argoproj/argo-workflows/issues/1442 type: boolean target: + description: Target are one or more names of targets to + execute in a DAG type: string tasks: + description: |- + Tasks are a list of DAG tasks + MaxItems is an artificial limit to limit CEL validation costs - see note at top of file items: + description: |- + DAGTask represents a node in the graph during DAG execution + Note: CEL validation cannot check withItems (Schemaless) or inline (PreserveUnknownFields) fields. properties: arguments: + description: Arguments are the parameter and artifact + arguments to the template properties: artifacts: + description: Artifacts is the list of artifacts + to pass to the template or workflow items: + description: Artifact indicates an artifact + to place at a specified path properties: archive: + description: Archive controls how the artifact + will be saved to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and + gzip the file or directory when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip + zipped input artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the + container logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy + to use when to deleting an artifact from + completed or deleted workflows properties: podMetadata: + description: PodMetadata is an optional + field for specifying the Labels and + Annotations that should be assigned + to the Pod doing the deletion properties: annotations: additionalProperties: @@ -15299,8 +20221,14 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an + optional field for specifying the + Service Account that should be assigned + to the Pod doing the deletion type: string strategy: + description: Strategy is the strategy + to use. enum: - "" - OnWorkflowCompletion @@ -15309,30 +20237,59 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory + artifact location details properties: passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -15342,27 +20299,54 @@ spec: - url type: object azure: + description: Azure contains Azure Storage + artifact location details properties: accountKeySecret: + description: AccountKeySecret is the + secret selector to the Azure Blob + Storage account access key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., + path) in the container where the artifact + resides type: string container: + description: Container is the container + where resources will be stored type: string endpoint: + description: Endpoint is the service + url associated with an account. It + is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver + to figure out credentials based on + sdk defaults. type: boolean required: - blob @@ -15370,25 +20354,52 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to + reference an artifact from a previous + step type: string fromExpression: + description: FromExpression, if defined, + is evaluated to specify the value for + the artifact type: string gcs: + description: GCS contains GCS artifact location + details properties: bucket: + description: Bucket is the name of the + bucket type: string key: + description: Key is the path in the + bucket where the artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret + is the secret selector to the bucket's + service account key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -15398,62 +20409,125 @@ spec: - key type: object git: + description: Git contains git artifact location + details properties: branch: + description: Branch is the branch to + fetch when `SingleBranch` is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables + submodules during git clone type: boolean fetch: + description: Fetch specifies a number + of refs that should be fetched before + checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables + SSH strict host key checking during + git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables + server certificate verification resulting + in insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, + tag, branch to checkout type: string singleBranch: + description: SingleBranch enables single + branch clone, using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is + the secret selector to the repository + ssh private key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -15463,96 +20537,199 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact + location details properties: addresses: + description: Addresses is accessible + addresses of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly + even if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + ConfigMap or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in + HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact + location details properties: auth: + description: Auth contains information + for client authentication properties: basicAuth: + description: BasicAuth describes + the secret selectors required + for basic authentication properties: passwordSecret: + description: PasswordSecret + is the secret selector to + the repository password properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret + is the secret selector to + the repository username properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key @@ -15560,28 +20737,59 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds + necessary information for client + authentication via certificates properties: clientCertSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key @@ -15589,28 +20797,59 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all + information for client authentication + via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key @@ -15618,10 +20857,19 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam + is for requesting optional + fields that should be sent + in the oauth request properties: key: + description: Name is the + header name type: string value: + description: Value is + the literal value to + use for the header type: string required: - key @@ -15632,13 +20880,27 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key @@ -15647,11 +20909,21 @@ spec: type: object type: object headers: + description: Headers are an optional + list of headers to send with HTTP + requests for artifacts items: + description: Header indicate a key-value + request header to be used when fetching + artifacts over HTTP properties: name: + description: Name is the header + name type: string value: + description: Value is the literal + value to use for the header type: string required: - name @@ -15659,131 +20931,308 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must + be unique within a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if + Artifacts doesn't generate or exist type: boolean oss: + description: OSS contains OSS artifact location + details properties: accessKeySecret: + description: AccessKeySecret is the + secret selector to the bucket's access + key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the + bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent + tells the driver to attempt to create + the OSS bucket for output artifacts, + if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname + of the bucket endpoint type: string key: + description: Key is the path in the + bucket where the artifact resides type: string lifecycleRule: + description: LifecycleRule specifies + how to manage bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays + is the number of days before we + delete objects in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before we + convert the objects in the bucket + to Infrequent Access (IA) storage + type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the + secret selector to the bucket's secret + key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s + temporary security token. For more + details, check out: https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver + to figure out credentials based on + sdk defaults. type: boolean required: - key type: object path: + description: Path is the container path + to the artifact type: string + plugin: + description: Plugin contains plugin artifact + location details + properties: + configuration: + description: Configuration is the plugin + defined configuration for the artifact + driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds + is the timeout for the artifact driver + connection, overriding the driver's + timeout + format: int32 + type: integer + key: + description: Key is the path in the + artifact repository where the artifact + resides + type: string + name: + description: Name is the name of the + artifact driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location + details properties: data: + description: Data is the string contents + of the artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission + recursively into the artifact if it is + a folder type: boolean s3: + description: S3 contains S3 artifact location + details properties: accessKeySecret: + description: AccessKeySecret is the + secret selector to the bucket's access + key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the + bucket type: string caSecret: + description: CASecret specifies the + secret that contains the CA, used + to verify the TLS connection properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent + tells the driver to attempt to create + the S3 bucket for output artifacts, + if it doesn't exist. Setting Enabled + Encryption will apply either SSE-S3 + to the bucket if KmsKeyId is not set + or SSE-KMS if it is. properties: objectLocking: + description: ObjectLocking Enable + object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used + to determine encryption options during + s3 operations properties: enableEncryption: + description: EnableEncryption tells + the driver to encrypt objects + if set to true. If kmsKeyId and + serverSideCustomerKeySecret are + not set, SSE-S3 will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext + is a json blob that contains an + encryption context. See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the + driver to encrypt the object using + the specified KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret + tells the driver to encrypt the + output artifacts using SSE-C with + the specified secret. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -15791,97 +21240,213 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname + of the bucket endpoint type: string insecure: + description: Insecure will connect to + the service with TLS type: boolean key: + description: Key is the key in the bucket + where the artifact resides type: string region: + description: Region contains the optional + bucket region type: string roleARN: + description: RoleARN is the Amazon Resource + Name (ARN) of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the + secret selector to the bucket's secret + key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used + for ephemeral credentials like an + IAM assume role or S3 access grant properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver + to figure out credentials based on + sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact + to be sourced from a subpath within the + specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can + be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) + ? 1 : 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array parameters: + description: Parameters is the list of parameters + to pass to the template or workflow items: + description: Parameter indicate a passed string + parameter to a service template with an optional + default value properties: default: + description: Default is the default value + to use for an input parameter if a value + was not supplied type: string description: + description: Description is the parameter + description type: string enum: + description: Enum holds a list of string + values to choose from, for the actual + value of the parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source for + the output parameter's value properties: configMapKeyRef: + description: ConfigMapKeyRef is configmap + selector for input parameter configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + ConfigMap or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies a value + to be used if retrieving the value + from the specified source fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the event + to get the value of the parameter. + E.g. `payload.message` type: string expression: + description: Expression, if defined, + is evaluated to specify the value + for the parameter type: string jqFilter: + description: JQFilter expression against + the resource object in resource templates type: string jsonPath: + description: JSONPath of a resource + to retrieve an output parameter value + from in resource templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container to + retrieve an output parameter value + from in container templates type: string supplied: + description: Supplied value to be filled + in directly, either through the CLI, + API, etc. type: object type: object required: @@ -15890,6 +21455,9 @@ spec: type: array type: object continueOn: + description: |- + ContinueOn makes argo to proceed with the following step even if this step fails. + Errors and Failed states can be specified properties: error: type: boolean @@ -15897,37 +21465,74 @@ spec: type: boolean type: object dependencies: + description: Dependencies are name of other targets + which this depends on items: type: string type: array depends: + description: Depends are name of other targets which + this depends on type: string hooks: additionalProperties: properties: arguments: + description: Arguments hold arguments to the + template properties: artifacts: + description: Artifacts is the list of artifacts + to pass to the template or workflow items: + description: Artifact indicates an artifact + to place at a specified path properties: archive: + description: Archive controls how + the artifact will be saved to the + artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will + tar and gzip the file or directory + when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will + unzip zipped input artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates + if the container logs should be + archived type: boolean artifactGC: + description: ArtifactGC describes + the strategy to use when to deleting + an artifact from completed or deleted + workflows properties: podMetadata: + description: PodMetadata is an + optional field for specifying + the Labels and Annotations that + should be assigned to the Pod + doing the deletion properties: annotations: additionalProperties: @@ -15939,8 +21544,15 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName + is an optional field for specifying + the Service Account that should + be assigned to the Pod doing + the deletion type: string strategy: + description: Strategy is the strategy + to use. enum: - "" - OnWorkflowCompletion @@ -15949,30 +21561,63 @@ spec: type: string type: object artifactory: + description: Artifactory contains + artifactory artifact location details properties: passwordSecret: + description: PasswordSecret is + the secret selector to the repository + password properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is + the secret selector to the repository + username properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -15982,27 +21627,57 @@ spec: - url type: object azure: + description: Azure contains Azure + Storage artifact location details properties: accountKeySecret: + description: AccountKeySecret + is the secret selector to the + Azure Blob Storage account access + key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob + name (i.e., path) in the container + where the artifact resides type: string container: + description: Container is the + container where resources will + be stored type: string endpoint: + description: Endpoint is the service + url associated with an account. + It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells + the driver to figure out credentials + based on sdk defaults. type: boolean required: - blob @@ -16010,25 +21685,54 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact + to reference an artifact from a + previous step type: string fromExpression: + description: FromExpression, if defined, + is evaluated to specify the value + for the artifact type: string gcs: + description: GCS contains GCS artifact + location details properties: bucket: + description: Bucket is the name + of the bucket type: string key: + description: Key is the path in + the bucket where the artifact + resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret + is the secret selector to the + bucket's service account key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -16038,62 +21742,134 @@ spec: - key type: object git: + description: Git contains git artifact + location details properties: branch: + description: Branch is the branch + to fetch when `SingleBranch` + is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules + disables submodules during git + clone type: boolean fetch: + description: Fetch specifies a + number of refs that should be + fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey + disables SSH strict host key + checking during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables + server certificate verification + resulting in insecure HTTPS + connections type: boolean passwordSecret: + description: PasswordSecret is + the secret selector to the repository + password properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git + commit, tag, branch to checkout type: string singleBranch: + description: SingleBranch enables + single branch clone, using the + `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret + is the secret selector to the + repository ssh private key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is + the secret selector to the repository + username properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -16103,96 +21879,208 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact + location details properties: addresses: + description: Addresses is accessible + addresses of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file + forcibly even if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the ConfigMap or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path + in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact + location details properties: auth: + description: Auth contains information + for client authentication properties: basicAuth: + description: BasicAuth describes + the secret selectors required + for basic authentication properties: passwordSecret: + description: PasswordSecret + is the secret selector + to the repository password properties: key: + description: The key + of the secret to + select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret + is the secret selector + to the repository username properties: key: + description: The key + of the secret to + select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must + be defined type: boolean required: - key @@ -16200,28 +22088,66 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth + holds necessary information + for client authentication + via certificates properties: clientCertSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to + select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to + select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must + be defined type: boolean required: - key @@ -16229,28 +22155,66 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds + all information for client + authentication via OAuth2 + tokens properties: clientIDSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to + select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to + select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must + be defined type: boolean required: - key @@ -16258,10 +22222,22 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam + is for requesting + optional fields that + should be sent in + the oauth request properties: key: + description: Name + is the header + name type: string value: + description: Value + is the literal + value to use for + the header type: string required: - key @@ -16272,13 +22248,30 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to + select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must + be defined type: boolean required: - key @@ -16287,11 +22280,23 @@ spec: type: object type: object headers: + description: Headers are an optional + list of headers to send with + HTTP requests for artifacts items: + description: Header indicate + a key-value request header + to be used when fetching artifacts + over HTTP properties: name: + description: Name is the + header name type: string value: + description: Value is the + literal value to use for + the header type: string required: - name @@ -16299,131 +22304,324 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. + must be unique within a template's + inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, + if Artifacts doesn't generate or + exist type: boolean oss: + description: OSS contains OSS artifact + location details properties: accessKeySecret: + description: AccessKeySecret is + the secret selector to the bucket's + access key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name + of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent + tells the driver to attempt + to create the OSS bucket for + output artifacts, if it doesn't + exist type: boolean endpoint: + description: Endpoint is the hostname + of the bucket endpoint type: string key: + description: Key is the path in + the bucket where the artifact + resides type: string lifecycleRule: + description: LifecycleRule specifies + how to manage bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays + is the number of days before + we delete objects in the + bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before + we convert the objects in + the bucket to Infrequent + Access (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is + the secret selector to the bucket's + secret key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is + the user''s temporary security + token. For more details, check + out: https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells + the driver to figure out credentials + based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container + path to the artifact type: string + plugin: + description: Plugin contains plugin + artifact location details + properties: + configuration: + description: Configuration is + the plugin defined configuration + for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds + is the timeout for the artifact + driver connection, overriding + the driver's timeout + format: int32 + type: integer + key: + description: Key is the path in + the artifact repository where + the artifact resides + type: string + name: + description: Name is the name + of the artifact driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact + location details properties: data: + description: Data is the string + contents of the artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply + the permission recursively into + the artifact if it is a folder type: boolean s3: + description: S3 contains S3 artifact + location details properties: accessKeySecret: + description: AccessKeySecret is + the secret selector to the bucket's + access key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name + of the bucket type: string caSecret: + description: CASecret specifies + the secret that contains the + CA, used to verify the TLS connection properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent + tells the driver to attempt + to create the S3 bucket for + output artifacts, if it doesn't + exist. Setting Enabled Encryption + will apply either SSE-S3 to + the bucket if KmsKeyId is not + set or SSE-KMS if it is. properties: objectLocking: + description: ObjectLocking + Enable object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions + used to determine encryption + options during s3 operations properties: enableEncryption: + description: EnableEncryption + tells the driver to encrypt + objects if set to true. + If kmsKeyId and serverSideCustomerKeySecret + are not set, SSE-S3 will + be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext + is a json blob that contains + an encryption context. See + https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells + the driver to encrypt the + object using the specified + KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret + tells the driver to encrypt + the output artifacts using + SSE-C with the specified + secret. properties: key: + description: The key of + the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key @@ -16431,97 +22629,225 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname + of the bucket endpoint type: string insecure: + description: Insecure will connect + to the service with TLS type: boolean key: + description: Key is the key in + the bucket where the artifact + resides type: string region: + description: Region contains the + optional bucket region type: string roleARN: + description: RoleARN is the Amazon + Resource Name (ARN) of the role + to assume. type: string secretKeySecret: + description: SecretKeySecret is + the secret selector to the bucket's + secret key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret + is used for ephemeral credentials + like an IAM assume role or S3 + access grant properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells + the driver to figure out credentials + based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact + to be sourced from a subpath within + the specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location + can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) + ? 1 : 0) + (has(self.http) ? 1 : 0) + + (has(self.artifactory) ? 1 : 0) + + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + + (has(self.gcs) ? 1 : 0) + (has(self.azure) + ? 1 : 0) + (has(self.plugin) ? 1 : + 0) <= 1' type: array parameters: + description: Parameters is the list of parameters + to pass to the template or workflow items: + description: Parameter indicate a passed + string parameter to a service template + with an optional default value properties: default: + description: Default is the default + value to use for an input parameter + if a value was not supplied type: string description: + description: Description is the parameter + description type: string enum: + description: Enum holds a list of + string values to choose from, for + the actual value of the parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter + name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source + for the output parameter's value properties: configMapKeyRef: + description: ConfigMapKeyRef is + configmap selector for input + parameter configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the ConfigMap or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies + a value to be used if retrieving + the value from the specified + source fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the + event to get the value of the + parameter. E.g. `payload.message` type: string expression: + description: Expression, if defined, + is evaluated to specify the + value for the parameter type: string jqFilter: + description: JQFilter expression + against the resource object + in resource templates type: string jsonPath: + description: JSONPath of a resource + to retrieve an output parameter + value from in resource templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container + to retrieve an output parameter + value from in container templates type: string supplied: + description: Supplied value to + be filled in directly, either + through the CLI, API, etc. type: object type: object required: @@ -16530,94 +22856,191 @@ spec: type: array type: object expression: + description: |- + Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not + be retried and the retry strategy will be ignored type: string template: + description: Template is the name of the template + to execute by the hook type: string templateRef: + description: TemplateRef is the reference to + the template resource to execute by the hook properties: clusterScope: + description: ClusterScope indicates the + referred template is cluster scoped (i.e. + a ClusterWorkflowTemplate). type: boolean name: + description: Name is the resource name of + the template. type: string template: + description: Template is the name of referred + template in the resource. type: string type: object type: object + description: |- + Hooks hold the lifecycle hook which is invoked at lifecycle of + task, irrespective of the success, failure, or error status of the primary task type: object inline: + description: |- + Inline is the template. Template must be empty if this is declared (and vice-versa). + Note: As mentioned in the corresponding definition in WorkflowStep, this struct is defined recursively, + so we need "x-kubernetes-preserve-unknown-fields: true" in the validation schema. x-kubernetes-preserve-unknown-fields: true name: + description: Name is the name of the target + maxLength: 128 + pattern: ^[a-zA-Z0-9][-a-zA-Z0-9]*$ type: string onExit: + description: |- + OnExit is a template reference which is invoked at the end of the + template, irrespective of the success, failure, or error of the + primary template. + DEPRECATED: Use Hooks[exit].Template instead. type: string template: + description: Name of template to execute type: string templateRef: + description: TemplateRef is the reference to the template + resource to execute. properties: clusterScope: + description: ClusterScope indicates the referred + template is cluster scoped (i.e. a ClusterWorkflowTemplate). type: boolean name: + description: Name is the resource name of the + template. type: string template: + description: Template is the name of referred + template in the resource. type: string type: object when: + description: When is an expression in which the task + should conditionally execute type: string withItems: + description: |- + WithItems expands a task into multiple parallel tasks from the items in the list + Note: The structure of WithItems is free-form, so we need + "x-kubernetes-preserve-unknown-fields: true" in the validation schema. x-kubernetes-preserve-unknown-fields: true withParam: + description: |- + WithParam expands a task into multiple parallel tasks from the value in the parameter, + which is expected to be a JSON list. type: string withSequence: + description: WithSequence expands a task into a numeric + sequence properties: count: anyOf: - type: integer - type: string + description: 'Count is number of elements in the + sequence (default: 0). Not to be used with end' x-kubernetes-int-or-string: true end: anyOf: - type: integer - type: string + description: 'Number at which to end the sequence + (default: 0). Not to be used with Count' x-kubernetes-int-or-string: true format: + description: Format is a printf format string + to format the value in the sequence type: string start: anyOf: - type: integer - type: string + description: 'Number at which to start the sequence + (default: 0)' x-kubernetes-int-or-string: true type: object + x-kubernetes-validations: + - message: only one of count or end can be defined + rule: '!(has(self.count) && has(self.end))' required: - name type: object + x-kubernetes-validations: + - message: cannot use both 'depends' and 'dependencies' + rule: '!has(self.depends) || !has(self.dependencies)' + - message: cannot use 'continueOn' when using 'depends' + rule: '!has(self.depends) || !has(self.continueOn)' + - message: task name cannot begin with a digit when using + 'depends' or 'dependencies' + rule: '!(has(self.depends) || has(self.dependencies)) + || !self.name.matches(''^[0-9]'')' + maxItems: 200 + minItems: 1 type: array required: - tasks type: object data: + description: Data is a data template properties: source: + description: Source sources external data into a data template properties: artifactPaths: + description: ArtifactPaths is a data transformation + that collects a list of artifact paths properties: archive: + description: Archive controls how the artifact will + be saved to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and gzip the + file or directory when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip zipped input + artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the container + logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy to + use when to deleting an artifact from completed + or deleted workflows properties: podMetadata: + description: PodMetadata is an optional field + for specifying the Labels and Annotations + that should be assigned to the Pod doing the + deletion properties: annotations: additionalProperties: @@ -16629,8 +23052,12 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an optional + field for specifying the Service Account that + should be assigned to the Pod doing the deletion type: string strategy: + description: Strategy is the strategy to use. enum: - "" - OnWorkflowCompletion @@ -16639,30 +23066,57 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory artifact + location details properties: passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -16672,27 +23126,50 @@ spec: - url type: object azure: + description: Azure contains Azure Storage artifact + location details properties: accountKeySecret: + description: AccountKeySecret is the secret + selector to the Azure Blob Storage account + access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., path) + in the container where the artifact resides type: string container: + description: Container is the container where + resources will be stored type: string endpoint: + description: Endpoint is the service url associated + with an account. It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver to + figure out credentials based on sdk defaults. type: boolean required: - blob @@ -16700,25 +23177,48 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to reference + an artifact from a previous step type: string fromExpression: + description: FromExpression, if defined, is evaluated + to specify the value for the artifact type: string gcs: + description: GCS contains GCS artifact location + details properties: bucket: + description: Bucket is the name of the bucket type: string key: + description: Key is the path in the bucket where + the artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is the + secret selector to the bucket's service account + key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -16728,62 +23228,119 @@ spec: - key type: object git: + description: Git contains git artifact location + details properties: branch: + description: Branch is the branch to fetch when + `SingleBranch` is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables submodules + during git clone type: boolean fetch: + description: Fetch specifies a number of refs + that should be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables + SSH strict host key checking during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables server + certificate verification resulting in insecure + HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, tag, + branch to checkout type: string singleBranch: + description: SingleBranch enables single branch + clone, using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the secret + selector to the repository ssh private key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -16793,96 +23350,191 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact location + details properties: addresses: + description: Addresses is accessible addresses + of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly even + if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location + details properties: auth: + description: Auth contains information for client + authentication properties: basicAuth: + description: BasicAuth describes the secret + selectors required for basic authentication properties: passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -16890,28 +23542,57 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds necessary + information for client authentication + via certificates properties: clientCertSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -16919,28 +23600,56 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all information + for client authentication via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -16948,10 +23657,17 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is for + requesting optional fields that + should be sent in the oauth request properties: key: + description: Name is the header + name type: string value: + description: Value is the literal + value to use for the header type: string required: - key @@ -16962,13 +23678,26 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -16977,11 +23706,19 @@ spec: type: object type: object headers: + description: Headers are an optional list of + headers to send with HTTP requests for artifacts items: + description: Header indicate a key-value request + header to be used when fetching artifacts + over HTTP properties: name: + description: Name is the header name type: string value: + description: Value is the literal value + to use for the header type: string required: - name @@ -16989,131 +23726,285 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must be unique + within a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if Artifacts + doesn't generate or exist type: boolean oss: + description: OSS contains OSS artifact location + details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells + the driver to attempt to create the OSS bucket + for output artifacts, if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname of the + bucket endpoint type: string key: + description: Key is the path in the bucket where + the artifact resides type: string lifecycleRule: + description: LifecycleRule specifies how to + manage bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays is the + number of days before we delete objects + in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before we convert + the objects in the bucket to Infrequent + Access (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s temporary + security token. For more details, check out: + https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver to + figure out credentials based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container path to the artifact type: string + plugin: + description: Plugin contains plugin artifact location + details + properties: + configuration: + description: Configuration is the plugin defined + configuration for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds is the + timeout for the artifact driver connection, + overriding the driver's timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact + repository where the artifact resides + type: string + name: + description: Name is the name of the artifact + driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location + details properties: data: + description: Data is the string contents of + the artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission + recursively into the artifact if it is a folder type: boolean s3: + description: S3 contains S3 artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string caSecret: + description: CASecret specifies the secret that + contains the CA, used to verify the TLS connection properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells + the driver to attempt to create the S3 bucket + for output artifacts, if it doesn't exist. + Setting Enabled Encryption will apply either + SSE-S3 to the bucket if KmsKeyId is not set + or SSE-KMS if it is. properties: objectLocking: + description: ObjectLocking Enable object + locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used to determine + encryption options during s3 operations properties: enableEncryption: + description: EnableEncryption tells the + driver to encrypt objects if set to true. + If kmsKeyId and serverSideCustomerKeySecret + are not set, SSE-S3 will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext is a json + blob that contains an encryption context. + See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver to + encrypt the object using the specified + KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret + tells the driver to encrypt the output + artifacts using SSE-C with the specified + secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -17121,54 +24012,104 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname of the + bucket endpoint type: string insecure: + description: Insecure will connect to the service + with TLS type: boolean key: + description: Key is the key in the bucket where + the artifact resides type: string region: + description: Region contains the optional bucket + region type: string roleARN: + description: RoleARN is the Amazon Resource + Name (ARN) of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used for + ephemeral credentials like an IAM assume role + or S3 access grant properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver to + figure out credentials based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact to be sourced + from a subpath within the specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 + : 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: object transformation: + description: Transformation applies a set of transformations items: properties: expression: + description: Expression defines an expr expression + to apply type: string required: - expression @@ -17179,37 +24120,56 @@ spec: - transformation type: object executor: + description: Executor holds configurations of the executor container. properties: serviceAccountName: + description: ServiceAccountName specifies the service account + name of the executor container. type: string type: object failFast: + description: |- + FailFast, if specified, will fail this template if any of its child pods has failed. This is useful for when this + template is expanded with `withItems`, etc. type: boolean hostAliases: + description: HostAliases is an optional list of hosts and IPs + that will be injected into the pod spec items: + description: |- + HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the + pod's hosts file. properties: hostnames: + description: Hostnames for the above IP address. items: type: string type: array x-kubernetes-list-type: atomic ip: + description: IP address of the host file entry. type: string required: - ip type: object type: array http: + description: HTTP makes a HTTP request properties: body: + description: Body is content of the HTTP Request type: string bodyFrom: + description: BodyFrom is content of the HTTP Request as + Bytes properties: bytes: format: byte type: string type: object headers: + description: Headers are an optional list of headers to + send with HTTP requests items: properties: name: @@ -17219,13 +24179,25 @@ spec: valueFrom: properties: secretKeyRef: + description: SecretKeySelector selects a key of + a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -17237,88 +24209,174 @@ spec: type: object type: array insecureSkipVerify: + description: InsecureSkipVerify is a bool when if set to + true will skip TLS verification for the HTTP client type: boolean method: + description: Method is HTTP methods for HTTP Request type: string successCondition: + description: SuccessCondition is an expression if evaluated + to true is considered successful type: string timeoutSeconds: + description: TimeoutSeconds is request timeout for HTTP + Request. Default is 30 seconds format: int64 type: integer url: + description: URL of the HTTP Request type: string required: - url type: object initContainers: + description: InitContainers is a list of containers which run + before the main container. items: + description: UserContainer is a container specified by a user. properties: args: + description: |- + Arguments to the entrypoint. + The container image's CMD is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic command: + description: |- + Entrypoint array. Not executed within a shell. + The container image's ENTRYPOINT is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic env: + description: |- + List of environment variables to set in the container. + Cannot be updated. items: + description: EnvVar represents an environment variable + present in a Container. properties: name: + description: Name of the environment variable. Must + be a C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. If a variable cannot be resolved, + the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. + "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". + Escaped references will never be expanded, regardless of whether the variable + exists or not. + Defaults to "". type: string valueFrom: + description: Source for the environment variable's + value. Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select + in the specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. properties: containerName: + description: 'Container name: required for + volumes, optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format + of the exposed resources, defaults to + "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic 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: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -17333,25 +24391,54 @@ spec: - name x-kubernetes-list-type: map envFrom: + description: |- + List of sources to populate environment variables in the container. + The keys defined within a source must be a C_IDENTIFIER. All invalid keys + will be reported as an event when the container is starting. When a key exists in multiple + sources, the value associated with the last source will take precedence. + Values defined by an Env with a duplicate key will take precedence. + Cannot be updated. items: + description: EnvFromSource represents the source of + a set of ConfigMaps or Secrets properties: configMapRef: + description: The ConfigMap to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap must + be defined type: boolean type: object x-kubernetes-map-type: atomic prefix: + description: Optional text to prepend to the name + of each environment variable. Must be a C_IDENTIFIER. type: string secretRef: + description: The Secret to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret must + be defined type: boolean type: object x-kubernetes-map-type: atomic @@ -17359,31 +24446,71 @@ spec: type: array x-kubernetes-list-type: atomic image: + description: |- + Container image name. + More info: https://kubernetes.io/docs/concepts/containers/images + This field is optional to allow higher level config management to default or override + container images in workload controllers like Deployments and StatefulSets. type: string imagePullPolicy: + description: |- + Image pull policy. + One of Always, Never, IfNotPresent. + Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/containers/images#updating-images type: string lifecycle: + description: |- + Actions that the management system should take in response to container lifecycle events. + Cannot be updated. properties: postStart: + description: |- + PostStart is called immediately after a container is created. If the handler fails, + the container is terminated and restarted according to its restart policy. + Other management of the container blocks until the hook completes. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the + request. HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -17392,58 +24519,111 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that + the container should sleep. properties: seconds: + description: Seconds is the number of seconds + to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object preStop: + description: |- + PreStop is called immediately before a container is terminated due to an + API request or management event such as liveness/startup probe failure, + preemption, resource contention, etc. The handler is not called if the + container crashes or exits. The Pod's termination grace period countdown begins before the + PreStop hook is executed. Regardless of the outcome of the handler, the + container will eventually terminate within the Pod's termination grace + period (unless delayed by finalizers). Other management of the container blocks until the hook completes + or until the termination grace period is reached. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the + request. HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -17452,75 +24632,138 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that + the container should sleep. properties: seconds: + description: Seconds is the number of seconds + to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object stopSignal: + description: |- + StopSignal defines which signal will be sent to a container when it is being stopped. + If not specified, the default is defined by the container runtime in use. + StopSignal can only be set for Pods with a non-empty .spec.os.name type: string type: object livenessProbe: + description: |- + Periodic probe of container liveness. + Container will be restarted if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -17529,64 +24772,140 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a + TCP port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object mirrorVolumeMounts: + description: |- + MirrorVolumeMounts will mount the same volumes specified in the main container + to the container (including artifacts), at the same mountPaths. This enables + dind daemon to partially see the same filesystem as the main container in + order to use features such as docker volume binding type: boolean name: + description: |- + Name of the container specified as a DNS_LABEL. + Each container in a pod must have a unique name (DNS_LABEL). + Cannot be updated. type: string ports: + description: |- + List of ports to expose from the container. Not specifying a port here + DOES NOT prevent that port from being exposed. Any port which is + listening on the default "0.0.0.0" address inside a container will be + accessible from the network. + Modifying this array with strategic merge patch may corrupt the data. + For more information See https://github.com/kubernetes/kubernetes/issues/108255. + Cannot be updated. items: + description: ContainerPort represents a network port + in a single container. properties: containerPort: + description: |- + Number of port to expose on the pod's IP address. + This must be a valid port number, 0 < x < 65536. format: int32 type: integer hostIP: + description: What host IP to bind the external port + to. type: string hostPort: + description: |- + Number of port to expose on the host. + If specified, this must be a valid port number, 0 < x < 65536. + If HostNetwork is specified, this must match ContainerPort. + Most containers do not need this. format: int32 type: integer name: + description: |- + If specified, this must be an IANA_SVC_NAME and unique within the pod. Each + named port in a pod must have a unique name. Name for the port that can be + referred to by services. type: string protocol: default: TCP + description: |- + Protocol for port. Must be UDP, TCP, or SCTP. + Defaults to "TCP". type: string required: - containerPort @@ -17597,39 +24916,76 @@ spec: - protocol x-kubernetes-list-type: map readinessProbe: + description: |- + Periodic probe of container service readiness. + Container will be removed from service endpoints if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -17638,51 +24994,100 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a + TCP port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object resizePolicy: + description: Resources resize policy for the container. items: + description: ContainerResizePolicy represents resource + resize policy for the container. properties: resourceName: + description: |- + Name of the resource to which this resource resize policy applies. + Supported values: cpu, memory. type: string restartPolicy: + description: |- + Restart policy to apply when specified resource is resized. + If not specified, it defaults to NotRequired. type: string required: - resourceName @@ -17691,13 +25096,35 @@ spec: type: array x-kubernetes-list-type: atomic resources: + description: |- + Compute Resources required by this container. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ properties: claims: + description: |- + Claims lists the names of resources, defined in spec.resourceClaims, + that are used by this container. + + This is an alpha field and requires enabling the + DynamicResourceAllocation feature gate. + + This field is immutable. It can only be set for containers. items: + description: ResourceClaim references one entry + in PodSpec.ResourceClaims. properties: name: + description: |- + Name must match the name of one entry in pod.spec.resourceClaims of + the Pod where this field is used. It makes that resource available + inside a container. type: string request: + description: |- + Request is the name chosen for a request in the referenced claim. + If empty, everything from the claim is made available, otherwise + only the result of this request. type: string required: - name @@ -17713,6 +25140,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -17721,116 +25151,300 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object type: object restartPolicy: + description: |- + RestartPolicy defines the restart behavior of individual containers in a pod. + This field may only be set for init containers, and the only allowed value is "Always". + For non-init containers or when this field is not specified, + the restart behavior is defined by the Pod's restart policy and the container type. + Setting the RestartPolicy as "Always" for the init container will have the following effect: + this init container will be continually restarted on + exit until all regular containers have terminated. Once all regular + containers have completed, all init containers with restartPolicy "Always" + will be shut down. This lifecycle differs from normal init containers and + is often referred to as a "sidecar" container. Although this init + container still starts in the init container sequence, it does not wait + for the container to complete before proceeding to the next init + container. Instead, the next init container starts immediately after this + init container is started, or after any startupProbe has successfully + completed. type: string securityContext: + description: |- + SecurityContext defines the security options the container should be run with. + If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. + More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ properties: allowPrivilegeEscalation: + description: |- + AllowPrivilegeEscalation controls whether a process can gain more + privileges than its parent process. This bool directly controls if + the no_new_privs flag will be set on the container process. + AllowPrivilegeEscalation is true always when the container is: + 1) run as Privileged + 2) has CAP_SYS_ADMIN + Note that this field cannot be set when spec.os.name is windows. type: boolean appArmorProfile: + description: |- + appArmorProfile is the AppArmor options to use by this container. If set, this profile + overrides the pod's appArmorProfile. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile loaded on the node that should be used. + The profile must be preconfigured on the node to work. + Must match the loaded name of the profile. + Must be set if and only if type is "Localhost". type: string type: + description: |- + type indicates which kind of AppArmor profile will be applied. + Valid options are: + Localhost - a profile pre-loaded on the node. + RuntimeDefault - the container runtime's default profile. + Unconfined - no AppArmor enforcement. type: string required: - type type: object capabilities: + description: |- + The capabilities to add/drop when running containers. + Defaults to the default set of capabilities granted by the container runtime. + Note that this field cannot be set when spec.os.name is windows. properties: add: + description: Added capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array x-kubernetes-list-type: atomic drop: + description: Removed capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array x-kubernetes-list-type: atomic type: object privileged: + description: |- + Run container in privileged mode. + Processes in privileged containers are essentially equivalent to root on the host. + Defaults to false. + Note that this field cannot be set when spec.os.name is windows. type: boolean procMount: + description: |- + procMount denotes the type of proc mount to use for the containers. + The default value is Default which uses the container runtime defaults for + readonly paths and masked paths. + This requires the ProcMountType feature flag to be enabled. + Note that this field cannot be set when spec.os.name is windows. type: string readOnlyRootFilesystem: + description: |- + Whether this container has a read-only root filesystem. + Default is false. + Note that this field cannot be set when spec.os.name is windows. type: boolean runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer runAsNonRoot: + description: |- + Indicates that the container must run as a non-root user. + If true, the Kubelet will validate the image at runtime to ensure that it + does not run as UID 0 (root) and fail to start the container if it does. + If unset or false, no such validation will be performed. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to the container. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. properties: level: + description: Level is SELinux level label that + applies to the container. type: string role: + description: Role is a SELinux role label that + applies to the container. type: string type: + description: Type is a SELinux type label that + applies to the container. type: string user: + description: User is a SELinux user label that + applies to the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by this container. If seccomp options are + provided at both the pod & container level, the container options + override the pod options. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. + Must be a descending path, relative to the kubelet's configured seccomp profile location. + Must be set if type is "Localhost". Must NOT be set for any other type. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + Localhost - a profile defined in a file on the node should be used. + RuntimeDefault - the container runtime default profile should be used. + Unconfined - no profile should be applied. type: string required: - type type: object windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options from the PodSecurityContext will be used. + If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is linux. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name + of the GMSA credential spec to use. type: string hostProcess: + description: |- + HostProcess determines if a container should be run as a 'Host Process' container. + All of a Pod's containers must have the same effective HostProcess value + (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + In addition, if HostProcess is true then HostNetwork must also be set to true. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: string type: object type: object startupProbe: + description: |- + StartupProbe indicates that the Pod has successfully initialized. + If specified, no other probes are executed until this completes successfully. + If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. + This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, + when it might take a long time to load data or warm a cache, than during steady-state operation. + This cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -17839,61 +25453,140 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a + TCP port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object stdin: + description: |- + Whether this container should allocate a buffer for stdin in the container runtime. If this + is not set, reads from stdin in the container will always result in EOF. + Default is false. type: boolean stdinOnce: + description: |- + Whether the container runtime should close the stdin channel after it has been opened by + a single attach. When stdin is true the stdin stream will remain open across multiple attach + sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the + first client attaches to stdin, and then remains open and accepts data until the client disconnects, + at which time stdin is closed and remains closed until the container is restarted. If this + flag is false, a container processes that reads from stdin will never receive an EOF. + Default is false type: boolean terminationMessagePath: + description: |- + Optional: Path at which the file to which the container's termination message + will be written is mounted into the container's filesystem. + Message written is intended to be brief final status, such as an assertion failure message. + Will be truncated by the node if greater than 4096 bytes. The total message length across + all containers will be limited to 12kb. + Defaults to /dev/termination-log. + Cannot be updated. type: string terminationMessagePolicy: + description: |- + Indicate how the termination message should be populated. File will use the contents of + terminationMessagePath to populate the container status message on both success and failure. + FallbackToLogsOnError will use the last chunk of container log output if the termination + message file is empty and the container exited with an error. + The log output is limited to 2048 bytes or 80 lines, whichever is smaller. + Defaults to File. + Cannot be updated. type: string tty: + description: |- + Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. + Default is false. type: boolean volumeDevices: + description: volumeDevices is the list of block devices + to be used by the container. items: + description: volumeDevice describes a mapping of a raw + block device within a container. properties: devicePath: + description: devicePath is the path inside of the + container that the device will be mapped to. type: string name: + description: name must match the name of a persistentVolumeClaim + in the pod type: string required: - devicePath @@ -17904,21 +25597,65 @@ spec: - devicePath x-kubernetes-list-type: map volumeMounts: + description: |- + Pod volumes to mount into the container's filesystem. + Cannot be updated. items: + description: VolumeMount describes a mounting of a Volume + within a container. properties: mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. type: string mountPropagation: + description: |- + mountPropagation determines how mounts are propagated from the host + to container and the other way around. + When not set, MountPropagationNone is used. + This field is beta in 1.10. + When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + (which defaults to None). type: string name: + description: This must match the Name of a Volume. type: string readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. type: boolean recursiveReadOnly: + description: |- + RecursiveReadOnly specifies whether read-only mounts should be handled + recursively. + + If ReadOnly is false, this field has no meaning and must be unspecified. + + If ReadOnly is true, and this field is set to Disabled, the mount is not made + recursively read-only. If this field is set to IfPossible, the mount is made + recursively read-only, if it is supported by the container runtime. If this + field is set to Enabled, the mount is made recursively read-only if it is + supported by the container runtime, otherwise the pod will not be started and + an error will be generated to indicate the reason. + + If this field is set to IfPossible or Enabled, MountPropagation must be set to + None (or be unspecified, which defaults to None). + + If this field is not specified, it is treated as an equivalent of Disabled. type: string subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). type: string subPathExpr: + description: |- + Expanded path within the volume from which the container's volume should be mounted. + Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. + Defaults to "" (volume's root). + SubPathExpr and SubPath are mutually exclusive. type: string required: - mountPath @@ -17929,34 +25666,66 @@ spec: - mountPath x-kubernetes-list-type: map workingDir: + description: |- + Container's working directory. + If not specified, the container runtime's default will be used, which + might be configured in the container image. + Cannot be updated. type: string required: - name type: object type: array inputs: + description: Inputs describe what inputs parameters and artifacts + are supplied to this template properties: artifacts: + description: Artifact are a list of artifacts passed as + inputs items: + description: Artifact indicates an artifact to place at + a specified path properties: archive: + description: Archive controls how the artifact will + be saved to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and gzip the + file or directory when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip zipped input + artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the container + logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy to + use when to deleting an artifact from completed + or deleted workflows properties: podMetadata: + description: PodMetadata is an optional field + for specifying the Labels and Annotations that + should be assigned to the Pod doing the deletion properties: annotations: additionalProperties: @@ -17968,8 +25737,12 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an optional + field for specifying the Service Account that + should be assigned to the Pod doing the deletion type: string strategy: + description: Strategy is the strategy to use. enum: - "" - OnWorkflowCompletion @@ -17978,30 +25751,57 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory artifact + location details properties: passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -18011,27 +25811,49 @@ spec: - url type: object azure: + description: Azure contains Azure Storage artifact + location details properties: accountKeySecret: + description: AccountKeySecret is the secret selector + to the Azure Blob Storage account access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., path) + in the container where the artifact resides type: string container: + description: Container is the container where + resources will be stored type: string endpoint: + description: Endpoint is the service url associated + with an account. It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - blob @@ -18039,25 +25861,46 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to reference + an artifact from a previous step type: string fromExpression: + description: FromExpression, if defined, is evaluated + to specify the value for the artifact type: string gcs: + description: GCS contains GCS artifact location details properties: bucket: + description: Bucket is the name of the bucket type: string key: + description: Key is the path in the bucket where + the artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is the secret + selector to the bucket's service account key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -18067,62 +25910,117 @@ spec: - key type: object git: + description: Git contains git artifact location details properties: branch: + description: Branch is the branch to fetch when + `SingleBranch` is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables submodules + during git clone type: boolean fetch: + description: Fetch specifies a number of refs + that should be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables SSH + strict host key checking during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables server certificate + verification resulting in insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, tag, + branch to checkout type: string singleBranch: + description: SingleBranch enables single branch + clone, using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the secret + selector to the repository ssh private key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -18132,96 +26030,191 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact location + details properties: addresses: + description: Addresses is accessible addresses + of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly even + if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location + details properties: auth: + description: Auth contains information for client + authentication properties: basicAuth: + description: BasicAuth describes the secret + selectors required for basic authentication properties: passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -18229,28 +26222,57 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds necessary + information for client authentication via + certificates properties: clientCertSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -18258,28 +26280,56 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all information + for client authentication via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -18287,10 +26337,17 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is for requesting + optional fields that should be sent + in the oauth request properties: key: + description: Name is the header + name type: string value: + description: Value is the literal + value to use for the header type: string required: - key @@ -18301,13 +26358,26 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -18316,11 +26386,19 @@ spec: type: object type: object headers: + description: Headers are an optional list of headers + to send with HTTP requests for artifacts items: + description: Header indicate a key-value request + header to be used when fetching artifacts + over HTTP properties: name: + description: Name is the header name type: string value: + description: Value is the literal value + to use for the header type: string required: - name @@ -18328,131 +26406,281 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must be unique + within a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if Artifacts + doesn't generate or exist type: boolean oss: + description: OSS contains OSS artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the + driver to attempt to create the OSS bucket for + output artifacts, if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string key: + description: Key is the path in the bucket where + the artifact resides type: string lifecycleRule: + description: LifecycleRule specifies how to manage + bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays is the + number of days before we delete objects + in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before we convert + the objects in the bucket to Infrequent + Access (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s temporary + security token. For more details, check out: + https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container path to the artifact type: string + plugin: + description: Plugin contains plugin artifact location + details + properties: + configuration: + description: Configuration is the plugin defined + configuration for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds is the timeout + for the artifact driver connection, overriding + the driver's timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact repository + where the artifact resides + type: string + name: + description: Name is the name of the artifact + driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location details properties: data: + description: Data is the string contents of the + artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission + recursively into the artifact if it is a folder type: boolean s3: + description: S3 contains S3 artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string caSecret: + description: CASecret specifies the secret that + contains the CA, used to verify the TLS connection properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the + driver to attempt to create the S3 bucket for + output artifacts, if it doesn't exist. Setting + Enabled Encryption will apply either SSE-S3 + to the bucket if KmsKeyId is not set or SSE-KMS + if it is. properties: objectLocking: + description: ObjectLocking Enable object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used to determine + encryption options during s3 operations properties: enableEncryption: + description: EnableEncryption tells the driver + to encrypt objects if set to true. If kmsKeyId + and serverSideCustomerKeySecret are not + set, SSE-S3 will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext is a json + blob that contains an encryption context. + See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver to + encrypt the object using the specified KMS + Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret tells + the driver to encrypt the output artifacts + using SSE-C with the specified secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -18460,127 +26688,239 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string insecure: + description: Insecure will connect to the service + with TLS type: boolean key: + description: Key is the key in the bucket where + the artifact resides type: string region: + description: Region contains the optional bucket + region type: string roleARN: + description: RoleARN is the Amazon Resource Name + (ARN) of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used for ephemeral + credentials like an IAM assume role or S3 access + grant properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact to be sourced + from a subpath within the specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : + 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array parameters: + description: |- + Parameters are a list of parameters passed as inputs + MaxItems is an artificial limit to limit CEL validation costs - see note at top of file items: + description: Parameter indicate a passed string parameter + to a service template with an optional default value properties: default: + description: Default is the default value to use for + an input parameter if a value was not supplied type: string description: + description: Description is the parameter description type: string enum: + description: Enum holds a list of string values to + choose from, for the actual value of the parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source for the output + parameter's value properties: configMapKeyRef: + description: ConfigMapKeyRef is configmap selector + for input parameter configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies a value to be used + if retrieving the value from the specified source + fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the event to get the + value of the parameter. E.g. `payload.message` type: string expression: + description: Expression, if defined, is evaluated + to specify the value for the parameter type: string jqFilter: + description: JQFilter expression against the resource + object in resource templates type: string jsonPath: + description: JSONPath of a resource to retrieve + an output parameter value from in resource templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container to retrieve + an output parameter value from in container + templates type: string supplied: + description: Supplied value to be filled in directly, + either through the CLI, API, etc. type: object type: object required: - name type: object + maxItems: 500 type: array type: object memoize: + description: Memoize allows templates to use outputs generated + from already executed templates properties: cache: + description: Cache sets and configures the kind of cache properties: configMap: + description: ConfigMap sets a ConfigMap-based cache properties: - key: - type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string - optional: - type: boolean - required: - - key type: object x-kubernetes-map-type: atomic required: - configMap type: object key: + description: Key is the key to use as the caching key type: string maxAge: + description: |- + MaxAge is the maximum age (e.g. "180s", "24h") of an entry that is still considered valid. If an entry is older + than the MaxAge, it will be ignored. type: string required: - cache @@ -18588,6 +26928,8 @@ spec: - maxAge type: object metadata: + description: Metadata sets the pods's metadata, i.e. annotations + and labels properties: annotations: additionalProperties: @@ -18599,47 +26941,87 @@ spec: type: object type: object metrics: + description: Metrics are a list of metrics emitted from this + template properties: prometheus: + description: |- + Prometheus is a list of prometheus metrics to be emitted + MaxItems is an artificial limit to limit CEL validation costs - see note at top of file items: + description: Prometheus is a prometheus metric to be emitted properties: counter: + description: Counter is a counter metric properties: value: + description: Value is the value of the metric + minLength: 1 type: string required: - value type: object gauge: + description: Gauge is a gauge metric properties: operation: + description: Operation defines the operation to + apply with value and the metrics' current value + enum: + - Set + - Add + - Sub type: string realtime: + description: Realtime emits this metric in real + time if applicable type: boolean value: + description: |- + Value is the value to be used in the operation with the metric's current value. If no operation is set, + value is the value of the metric + MaxLength is an artificial limit to limit CEL validation costs - see note at top of file + maxLength: 256 + minLength: 1 type: string required: - realtime - value type: object + x-kubernetes-validations: + - message: '''resourcesDuration.*'' metrics cannot + be used in real-time gauges' + rule: '!has(self.realtime) || !self.realtime || + !self.value.contains(''resourcesDuration.'')' help: + description: Help is a string that describes the metric + minLength: 1 type: string histogram: + description: Histogram is a histogram metric properties: buckets: + description: Buckets is a list of bucket divisors + for the histogram items: type: number type: array value: + description: Value is the value of the metric + minLength: 1 type: string required: - buckets - value type: object labels: + description: Labels is a list of metric labels items: + description: MetricLabel is a single label for a + prometheus metric properties: key: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ type: string value: type: string @@ -18649,46 +27031,84 @@ spec: type: object type: array name: + description: Name is the name of the metric + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ type: string when: + description: When is a conditional statement that + decides when to emit the metric type: string required: - help - name type: object + maxItems: 100 type: array required: - prometheus type: object name: + description: Name is the name of the template + maxLength: 128 + pattern: ^[a-zA-Z0-9][-a-zA-Z0-9]*$ type: string nodeSelector: additionalProperties: type: string + description: |- + NodeSelector is a selector to schedule this step of the workflow to be + run on the selected node(s). Overrides the selector set at the workflow level. type: object outputs: + description: Outputs describe the parameters and artifacts that + this template produces properties: artifacts: + description: Artifacts holds the list of output artifacts + produced by a step items: + description: Artifact indicates an artifact to place at + a specified path properties: archive: + description: Archive controls how the artifact will + be saved to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and gzip the + file or directory when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip zipped input + artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the container + logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy to + use when to deleting an artifact from completed + or deleted workflows properties: podMetadata: + description: PodMetadata is an optional field + for specifying the Labels and Annotations that + should be assigned to the Pod doing the deletion properties: annotations: additionalProperties: @@ -18700,8 +27120,12 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an optional + field for specifying the Service Account that + should be assigned to the Pod doing the deletion type: string strategy: + description: Strategy is the strategy to use. enum: - "" - OnWorkflowCompletion @@ -18710,30 +27134,57 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory artifact + location details properties: passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -18743,27 +27194,49 @@ spec: - url type: object azure: + description: Azure contains Azure Storage artifact + location details properties: accountKeySecret: + description: AccountKeySecret is the secret selector + to the Azure Blob Storage account access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., path) + in the container where the artifact resides type: string container: + description: Container is the container where + resources will be stored type: string endpoint: + description: Endpoint is the service url associated + with an account. It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - blob @@ -18771,25 +27244,46 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to reference + an artifact from a previous step type: string fromExpression: + description: FromExpression, if defined, is evaluated + to specify the value for the artifact type: string gcs: + description: GCS contains GCS artifact location details properties: bucket: + description: Bucket is the name of the bucket type: string key: + description: Key is the path in the bucket where + the artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is the secret + selector to the bucket's service account key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -18799,62 +27293,117 @@ spec: - key type: object git: + description: Git contains git artifact location details properties: branch: + description: Branch is the branch to fetch when + `SingleBranch` is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables submodules + during git clone type: boolean fetch: + description: Fetch specifies a number of refs + that should be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables SSH + strict host key checking during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables server certificate + verification resulting in insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, tag, + branch to checkout type: string singleBranch: + description: SingleBranch enables single branch + clone, using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the secret + selector to the repository ssh private key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -18864,96 +27413,191 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact location + details properties: addresses: + description: Addresses is accessible addresses + of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly even + if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location + details properties: auth: + description: Auth contains information for client + authentication properties: basicAuth: + description: BasicAuth describes the secret + selectors required for basic authentication properties: passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -18961,28 +27605,57 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds necessary + information for client authentication via + certificates properties: clientCertSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -18990,28 +27663,56 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all information + for client authentication via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -19019,10 +27720,17 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is for requesting + optional fields that should be sent + in the oauth request properties: key: + description: Name is the header + name type: string value: + description: Value is the literal + value to use for the header type: string required: - key @@ -19033,13 +27741,26 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -19048,11 +27769,19 @@ spec: type: object type: object headers: + description: Headers are an optional list of headers + to send with HTTP requests for artifacts items: + description: Header indicate a key-value request + header to be used when fetching artifacts + over HTTP properties: name: + description: Name is the header name type: string value: + description: Value is the literal value + to use for the header type: string required: - name @@ -19060,131 +27789,281 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must be unique + within a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if Artifacts + doesn't generate or exist type: boolean oss: + description: OSS contains OSS artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the + driver to attempt to create the OSS bucket for + output artifacts, if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string key: + description: Key is the path in the bucket where + the artifact resides type: string lifecycleRule: + description: LifecycleRule specifies how to manage + bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays is the + number of days before we delete objects + in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before we convert + the objects in the bucket to Infrequent + Access (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s temporary + security token. For more details, check out: + https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container path to the artifact type: string + plugin: + description: Plugin contains plugin artifact location + details + properties: + configuration: + description: Configuration is the plugin defined + configuration for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds is the timeout + for the artifact driver connection, overriding + the driver's timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact repository + where the artifact resides + type: string + name: + description: Name is the name of the artifact + driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location details properties: data: + description: Data is the string contents of the + artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission + recursively into the artifact if it is a folder type: boolean s3: + description: S3 contains S3 artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string caSecret: + description: CASecret specifies the secret that + contains the CA, used to verify the TLS connection properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the + driver to attempt to create the S3 bucket for + output artifacts, if it doesn't exist. Setting + Enabled Encryption will apply either SSE-S3 + to the bucket if KmsKeyId is not set or SSE-KMS + if it is. properties: objectLocking: + description: ObjectLocking Enable object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used to determine + encryption options during s3 operations properties: enableEncryption: + description: EnableEncryption tells the driver + to encrypt objects if set to true. If kmsKeyId + and serverSideCustomerKeySecret are not + set, SSE-S3 will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext is a json + blob that contains an encryption context. + See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver to + encrypt the object using the specified KMS + Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret tells + the driver to encrypt the output artifacts + using SSE-C with the specified secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -19192,99 +28071,202 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string insecure: + description: Insecure will connect to the service + with TLS type: boolean key: + description: Key is the key in the bucket where + the artifact resides type: string region: + description: Region contains the optional bucket + region type: string roleARN: + description: RoleARN is the Amazon Resource Name + (ARN) of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used for ephemeral + credentials like an IAM assume role or S3 access + grant properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact to be sourced + from a subpath within the specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : + 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array exitCode: + description: ExitCode holds the exit code of a script template type: string parameters: + description: Parameters holds the list of output parameters + produced by a step items: + description: Parameter indicate a passed string parameter + to a service template with an optional default value properties: default: + description: Default is the default value to use for + an input parameter if a value was not supplied type: string description: + description: Description is the parameter description type: string enum: + description: Enum holds a list of string values to + choose from, for the actual value of the parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source for the output + parameter's value properties: configMapKeyRef: + description: ConfigMapKeyRef is configmap selector + for input parameter configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies a value to be used + if retrieving the value from the specified source + fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the event to get the + value of the parameter. E.g. `payload.message` type: string expression: + description: Expression, if defined, is evaluated + to specify the value for the parameter type: string jqFilter: + description: JQFilter expression against the resource + object in resource templates type: string jsonPath: + description: JSONPath of a resource to retrieve + an output parameter value from in resource templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container to retrieve + an output parameter value from in container + templates type: string supplied: + description: Supplied value to be filled in directly, + either through the CLI, API, etc. type: object type: object required: @@ -19292,52 +28274,112 @@ spec: type: object type: array result: + description: Result holds the result (stdout) of a script + or container template, or the response body of an HTTP + template type: string type: object parallelism: + description: |- + Parallelism limits the max total parallel pods that can execute at the same time within the + boundaries of this template invocation. If additional steps/dag templates are invoked, the + pods created by those templates will not be counted towards this total. format: int64 + minimum: 1 type: integer plugin: + description: |- + Plugin is a plugin template + Note: the structure of a plugin template is free-form, so we need to have + "x-kubernetes-preserve-unknown-fields: true" in the validation schema. type: object x-kubernetes-preserve-unknown-fields: true podSpecPatch: + description: |- + PodSpecPatch holds strategic merge patch to apply against the pod spec. Allows parameterization of + container fields which are not strings (e.g. resource limits). type: string priorityClassName: + description: PriorityClassName to apply to workflow pods. type: string resource: + description: Resource template subtype which can run k8s resources properties: action: + description: |- + Action is the action to perform to the resource. + Must be one of: get, create, apply, delete, replace, patch + enum: + - get + - create + - apply + - delete + - replace + - patch type: string failureCondition: + description: |- + FailureCondition is a label selector expression which describes the conditions + of the k8s resource in which the step was considered failed type: string flags: + description: "Flags is a set of additional options passed + to kubectl before submitting a resource\nI.e. to disable + resource validation:\nflags: [\n\t\"--validate=false\" + \ # disable resource validation\n]" items: type: string type: array manifest: + description: Manifest contains the kubernetes manifest type: string manifestFrom: + description: ManifestFrom is the source for a single kubernetes + manifest properties: artifact: + description: Artifact contains the artifact to use properties: archive: + description: Archive controls how the artifact will + be saved to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and gzip the + file or directory when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip zipped input + artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the container + logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy to + use when to deleting an artifact from completed + or deleted workflows properties: podMetadata: + description: PodMetadata is an optional field + for specifying the Labels and Annotations + that should be assigned to the Pod doing the + deletion properties: annotations: additionalProperties: @@ -19349,8 +28391,12 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an optional + field for specifying the Service Account that + should be assigned to the Pod doing the deletion type: string strategy: + description: Strategy is the strategy to use. enum: - "" - OnWorkflowCompletion @@ -19359,30 +28405,57 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory artifact + location details properties: passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -19392,27 +28465,50 @@ spec: - url type: object azure: + description: Azure contains Azure Storage artifact + location details properties: accountKeySecret: + description: AccountKeySecret is the secret + selector to the Azure Blob Storage account + access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., path) + in the container where the artifact resides type: string container: + description: Container is the container where + resources will be stored type: string endpoint: + description: Endpoint is the service url associated + with an account. It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver to + figure out credentials based on sdk defaults. type: boolean required: - blob @@ -19420,25 +28516,48 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to reference + an artifact from a previous step type: string fromExpression: + description: FromExpression, if defined, is evaluated + to specify the value for the artifact type: string gcs: + description: GCS contains GCS artifact location + details properties: bucket: + description: Bucket is the name of the bucket type: string key: + description: Key is the path in the bucket where + the artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is the + secret selector to the bucket's service account + key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -19448,62 +28567,119 @@ spec: - key type: object git: + description: Git contains git artifact location + details properties: branch: + description: Branch is the branch to fetch when + `SingleBranch` is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables submodules + during git clone type: boolean fetch: + description: Fetch specifies a number of refs + that should be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables + SSH strict host key checking during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables server + certificate verification resulting in insecure + HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, tag, + branch to checkout type: string singleBranch: + description: SingleBranch enables single branch + clone, using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the secret + selector to the repository ssh private key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -19513,96 +28689,191 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact location + details properties: addresses: + description: Addresses is accessible addresses + of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly even + if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location + details properties: auth: + description: Auth contains information for client + authentication properties: basicAuth: + description: BasicAuth describes the secret + selectors required for basic authentication properties: passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -19610,28 +28881,57 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds necessary + information for client authentication + via certificates properties: clientCertSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -19639,28 +28939,56 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all information + for client authentication via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -19668,10 +28996,17 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is for + requesting optional fields that + should be sent in the oauth request properties: key: + description: Name is the header + name type: string value: + description: Value is the literal + value to use for the header type: string required: - key @@ -19682,13 +29017,26 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -19697,11 +29045,19 @@ spec: type: object type: object headers: + description: Headers are an optional list of + headers to send with HTTP requests for artifacts items: + description: Header indicate a key-value request + header to be used when fetching artifacts + over HTTP properties: name: + description: Name is the header name type: string value: + description: Value is the literal value + to use for the header type: string required: - name @@ -19709,131 +29065,285 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must be unique + within a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if Artifacts + doesn't generate or exist type: boolean oss: + description: OSS contains OSS artifact location + details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells + the driver to attempt to create the OSS bucket + for output artifacts, if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname of the + bucket endpoint type: string key: + description: Key is the path in the bucket where + the artifact resides type: string lifecycleRule: + description: LifecycleRule specifies how to + manage bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays is the + number of days before we delete objects + in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before we convert + the objects in the bucket to Infrequent + Access (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s temporary + security token. For more details, check out: + https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver to + figure out credentials based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container path to the artifact type: string + plugin: + description: Plugin contains plugin artifact location + details + properties: + configuration: + description: Configuration is the plugin defined + configuration for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds is the + timeout for the artifact driver connection, + overriding the driver's timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact + repository where the artifact resides + type: string + name: + description: Name is the name of the artifact + driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location + details properties: data: + description: Data is the string contents of + the artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission + recursively into the artifact if it is a folder type: boolean s3: + description: S3 contains S3 artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string caSecret: + description: CASecret specifies the secret that + contains the CA, used to verify the TLS connection properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells + the driver to attempt to create the S3 bucket + for output artifacts, if it doesn't exist. + Setting Enabled Encryption will apply either + SSE-S3 to the bucket if KmsKeyId is not set + or SSE-KMS if it is. properties: objectLocking: + description: ObjectLocking Enable object + locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used to determine + encryption options during s3 operations properties: enableEncryption: + description: EnableEncryption tells the + driver to encrypt objects if set to true. + If kmsKeyId and serverSideCustomerKeySecret + are not set, SSE-S3 will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext is a json + blob that contains an encryption context. + See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver to + encrypt the object using the specified + KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret + tells the driver to encrypt the output + artifacts using SSE-C with the specified + secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -19841,162 +29351,339 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname of the + bucket endpoint type: string insecure: + description: Insecure will connect to the service + with TLS type: boolean key: + description: Key is the key in the bucket where + the artifact resides type: string region: + description: Region contains the optional bucket + region type: string roleARN: + description: RoleARN is the Amazon Resource + Name (ARN) of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used for + ephemeral credentials like an IAM assume role + or S3 access grant properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver to + figure out credentials based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact to be sourced + from a subpath within the specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 + : 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' required: - artifact type: object mergeStrategy: + description: |- + MergeStrategy is the strategy used to merge a patch. It defaults to "strategic" + Must be one of: strategic, merge, json + enum: + - strategic + - merge + - json type: string setOwnerReference: + description: SetOwnerReference sets the reference to the + workflow on the OwnerReference of generated resource. type: boolean successCondition: + description: |- + SuccessCondition is a label selector expression which describes the conditions + of the k8s resource in which it is acceptable to proceed to the following step type: string required: - action type: object + x-kubernetes-validations: + - message: only one of manifest or manifestFrom can be specified + rule: (has(self.manifest) && !has(self.manifestFrom)) || (!has(self.manifest) + && has(self.manifestFrom)) || (!has(self.manifest) && !has(self.manifestFrom)) retryStrategy: + description: RetryStrategy describes how to retry a template + when it fails properties: affinity: + description: Affinity prevents running workflow's step on + the same host properties: nodeAntiAffinity: + description: |- + RetryNodeAntiAffinity is a placeholder for future expansion, only empty nodeAntiAffinity is allowed. + In order to prevent running steps on the same host, it uses "kubernetes.io/hostname". type: object type: object backoff: + description: Backoff is a backoff strategy properties: cap: + description: |- + Cap is a limit on revised values of the duration parameter. If a + multiplication by the factor parameter would make the duration + exceed the cap then the duration is set to the cap type: string duration: + description: Duration is the amount to back off. Default + unit is seconds, but could also be a duration (e.g. + "2m", "1h") type: string factor: anyOf: - type: integer - type: string + description: Factor is a factor to multiply the base + duration after each failed retry x-kubernetes-int-or-string: true maxDuration: + description: |- + MaxDuration is the maximum amount of time allowed for a workflow in the backoff strategy. + It is important to note that if the workflow template includes activeDeadlineSeconds, the pod's deadline is initially set with activeDeadlineSeconds. + However, when the workflow fails, the pod's deadline is then overridden by maxDuration. + This ensures that the workflow does not exceed the specified maximum duration when retries are involved. type: string type: object expression: + description: |- + Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not + be retried and the retry strategy will be ignored type: string limit: anyOf: - type: integer - type: string + description: |- + Limit is the maximum number of retry attempts when retrying a container. It does not include the original + container; the maximum number of total attempts will be `limit + 1`. x-kubernetes-int-or-string: true retryPolicy: + description: RetryPolicy is a policy of NodePhase statuses + that will be retried + enum: + - Always + - OnFailure + - OnError + - OnTransientError type: string type: object schedulerName: + description: |- + If specified, the pod will be dispatched by specified scheduler. + Or it will be dispatched by workflow scope scheduler if specified. + If neither specified, the pod will be dispatched by default scheduler. type: string script: + description: Script runs a portion of code against an interpreter properties: args: + description: |- + Arguments to the entrypoint. + The container image's CMD is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic command: + description: |- + Entrypoint array. Not executed within a shell. + The container image's ENTRYPOINT is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic env: + description: |- + List of environment variables to set in the container. + Cannot be updated. items: + description: EnvVar represents an environment variable + present in a Container. properties: name: + description: Name of the environment variable. Must + be a C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. If a variable cannot be resolved, + the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. + "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". + Escaped references will never be expanded, regardless of whether the variable + exists or not. + Defaults to "". type: string valueFrom: + description: Source for the environment variable's + value. Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in + the specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. properties: containerName: + description: 'Container name: required for + volumes, optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of + the exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic 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: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -20011,25 +29698,54 @@ spec: - name x-kubernetes-list-type: map envFrom: + description: |- + List of sources to populate environment variables in the container. + The keys defined within a source must be a C_IDENTIFIER. All invalid keys + will be reported as an event when the container is starting. When a key exists in multiple + sources, the value associated with the last source will take precedence. + Values defined by an Env with a duplicate key will take precedence. + Cannot be updated. items: + description: EnvFromSource represents the source of a + set of ConfigMaps or Secrets properties: configMapRef: + description: The ConfigMap to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap must + be defined type: boolean type: object x-kubernetes-map-type: atomic prefix: + description: Optional text to prepend to the name + of each environment variable. Must be a C_IDENTIFIER. type: string secretRef: + description: The Secret to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret must be + defined type: boolean type: object x-kubernetes-map-type: atomic @@ -20037,31 +29753,71 @@ spec: type: array x-kubernetes-list-type: atomic image: + description: |- + Container image name. + More info: https://kubernetes.io/docs/concepts/containers/images + This field is optional to allow higher level config management to default or override + container images in workload controllers like Deployments and StatefulSets. type: string imagePullPolicy: + description: |- + Image pull policy. + One of Always, Never, IfNotPresent. + Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/containers/images#updating-images type: string lifecycle: + description: |- + Actions that the management system should take in response to container lifecycle events. + Cannot be updated. properties: postStart: + description: |- + PostStart is called immediately after a container is created. If the handler fails, + the container is terminated and restarted according to its restart policy. + Other management of the container blocks until the hook completes. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -20070,58 +29826,111 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that the + container should sleep. properties: seconds: + description: Seconds is the number of seconds + to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object preStop: + description: |- + PreStop is called immediately before a container is terminated due to an + API request or management event such as liveness/startup probe failure, + preemption, resource contention, etc. The handler is not called if the + container crashes or exits. The Pod's termination grace period countdown begins before the + PreStop hook is executed. Regardless of the outcome of the handler, the + container will eventually terminate within the Pod's termination grace + period (unless delayed by finalizers). Other management of the container blocks until the hook completes + or until the termination grace period is reached. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -20130,75 +29939,138 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that the + container should sleep. properties: seconds: + description: Seconds is the number of seconds + to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object stopSignal: + description: |- + StopSignal defines which signal will be sent to a container when it is being stopped. + If not specified, the default is defined by the container runtime in use. + StopSignal can only be set for Pods with a non-empty .spec.os.name type: string type: object livenessProbe: + description: |- + Periodic probe of container liveness. + Container will be restarted if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. Number + must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request to + perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -20207,62 +30079,133 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a TCP + port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object name: + description: |- + Name of the container specified as a DNS_LABEL. + Each container in a pod must have a unique name (DNS_LABEL). + Cannot be updated. type: string ports: + description: |- + List of ports to expose from the container. Not specifying a port here + DOES NOT prevent that port from being exposed. Any port which is + listening on the default "0.0.0.0" address inside a container will be + accessible from the network. + Modifying this array with strategic merge patch may corrupt the data. + For more information See https://github.com/kubernetes/kubernetes/issues/108255. + Cannot be updated. items: + description: ContainerPort represents a network port in + a single container. properties: containerPort: + description: |- + Number of port to expose on the pod's IP address. + This must be a valid port number, 0 < x < 65536. format: int32 type: integer hostIP: + description: What host IP to bind the external port + to. type: string hostPort: + description: |- + Number of port to expose on the host. + If specified, this must be a valid port number, 0 < x < 65536. + If HostNetwork is specified, this must match ContainerPort. + Most containers do not need this. format: int32 type: integer name: + description: |- + If specified, this must be an IANA_SVC_NAME and unique within the pod. Each + named port in a pod must have a unique name. Name for the port that can be + referred to by services. type: string protocol: default: TCP + description: |- + Protocol for port. Must be UDP, TCP, or SCTP. + Defaults to "TCP". type: string required: - containerPort @@ -20273,39 +30216,76 @@ spec: - protocol x-kubernetes-list-type: map readinessProbe: + description: |- + Periodic probe of container service readiness. + Container will be removed from service endpoints if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. Number + must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request to + perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -20314,51 +30294,100 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a TCP + port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object resizePolicy: + description: Resources resize policy for the container. items: + description: ContainerResizePolicy represents resource + resize policy for the container. properties: resourceName: + description: |- + Name of the resource to which this resource resize policy applies. + Supported values: cpu, memory. type: string restartPolicy: + description: |- + Restart policy to apply when specified resource is resized. + If not specified, it defaults to NotRequired. type: string required: - resourceName @@ -20367,13 +30396,35 @@ spec: type: array x-kubernetes-list-type: atomic resources: + description: |- + Compute Resources required by this container. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ properties: claims: + description: |- + Claims lists the names of resources, defined in spec.resourceClaims, + that are used by this container. + + This is an alpha field and requires enabling the + DynamicResourceAllocation feature gate. + + This field is immutable. It can only be set for containers. items: + description: ResourceClaim references one entry in + PodSpec.ResourceClaims. properties: name: + description: |- + Name must match the name of one entry in pod.spec.resourceClaims of + the Pod where this field is used. It makes that resource available + inside a container. type: string request: + description: |- + Request is the name chosen for a request in the referenced claim. + If empty, everything from the claim is made available, otherwise + only the result of this request. type: string required: - name @@ -20389,6 +30440,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -20397,118 +30451,304 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object type: object restartPolicy: + description: |- + RestartPolicy defines the restart behavior of individual containers in a pod. + This field may only be set for init containers, and the only allowed value is "Always". + For non-init containers or when this field is not specified, + the restart behavior is defined by the Pod's restart policy and the container type. + Setting the RestartPolicy as "Always" for the init container will have the following effect: + this init container will be continually restarted on + exit until all regular containers have terminated. Once all regular + containers have completed, all init containers with restartPolicy "Always" + will be shut down. This lifecycle differs from normal init containers and + is often referred to as a "sidecar" container. Although this init + container still starts in the init container sequence, it does not wait + for the container to complete before proceeding to the next init + container. Instead, the next init container starts immediately after this + init container is started, or after any startupProbe has successfully + completed. type: string securityContext: + description: |- + SecurityContext defines the security options the container should be run with. + If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. + More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ properties: allowPrivilegeEscalation: + description: |- + AllowPrivilegeEscalation controls whether a process can gain more + privileges than its parent process. This bool directly controls if + the no_new_privs flag will be set on the container process. + AllowPrivilegeEscalation is true always when the container is: + 1) run as Privileged + 2) has CAP_SYS_ADMIN + Note that this field cannot be set when spec.os.name is windows. type: boolean appArmorProfile: + description: |- + appArmorProfile is the AppArmor options to use by this container. If set, this profile + overrides the pod's appArmorProfile. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile loaded on the node that should be used. + The profile must be preconfigured on the node to work. + Must match the loaded name of the profile. + Must be set if and only if type is "Localhost". type: string type: + description: |- + type indicates which kind of AppArmor profile will be applied. + Valid options are: + Localhost - a profile pre-loaded on the node. + RuntimeDefault - the container runtime's default profile. + Unconfined - no AppArmor enforcement. type: string required: - type type: object capabilities: + description: |- + The capabilities to add/drop when running containers. + Defaults to the default set of capabilities granted by the container runtime. + Note that this field cannot be set when spec.os.name is windows. properties: add: + description: Added capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array x-kubernetes-list-type: atomic drop: + description: Removed capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array x-kubernetes-list-type: atomic type: object privileged: + description: |- + Run container in privileged mode. + Processes in privileged containers are essentially equivalent to root on the host. + Defaults to false. + Note that this field cannot be set when spec.os.name is windows. type: boolean procMount: + description: |- + procMount denotes the type of proc mount to use for the containers. + The default value is Default which uses the container runtime defaults for + readonly paths and masked paths. + This requires the ProcMountType feature flag to be enabled. + Note that this field cannot be set when spec.os.name is windows. type: string readOnlyRootFilesystem: + description: |- + Whether this container has a read-only root filesystem. + Default is false. + Note that this field cannot be set when spec.os.name is windows. type: boolean runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer runAsNonRoot: + description: |- + Indicates that the container must run as a non-root user. + If true, the Kubelet will validate the image at runtime to ensure that it + does not run as UID 0 (root) and fail to start the container if it does. + If unset or false, no such validation will be performed. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to the container. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. properties: level: + description: Level is SELinux level label that applies + to the container. type: string role: + description: Role is a SELinux role label that applies + to the container. type: string type: + description: Type is a SELinux type label that applies + to the container. type: string user: + description: User is a SELinux user label that applies + to the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by this container. If seccomp options are + provided at both the pod & container level, the container options + override the pod options. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. + Must be a descending path, relative to the kubelet's configured seccomp profile location. + Must be set if type is "Localhost". Must NOT be set for any other type. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + Localhost - a profile defined in a file on the node should be used. + RuntimeDefault - the container runtime default profile should be used. + Unconfined - no profile should be applied. type: string required: - type type: object windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options from the PodSecurityContext will be used. + If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is linux. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name + of the GMSA credential spec to use. type: string hostProcess: + description: |- + HostProcess determines if a container should be run as a 'Host Process' container. + All of a Pod's containers must have the same effective HostProcess value + (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + In addition, if HostProcess is true then HostNetwork must also be set to true. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: string type: object type: object source: + description: Source contains the source code of the script + to execute type: string startupProbe: + description: |- + StartupProbe indicates that the Pod has successfully initialized. + If specified, no other probes are executed until this completes successfully. + If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. + This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, + when it might take a long time to load data or warm a cache, than during steady-state operation. + This cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. Number + must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request to + perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -20517,61 +30757,140 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a TCP + port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object stdin: + description: |- + Whether this container should allocate a buffer for stdin in the container runtime. If this + is not set, reads from stdin in the container will always result in EOF. + Default is false. type: boolean stdinOnce: + description: |- + Whether the container runtime should close the stdin channel after it has been opened by + a single attach. When stdin is true the stdin stream will remain open across multiple attach + sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the + first client attaches to stdin, and then remains open and accepts data until the client disconnects, + at which time stdin is closed and remains closed until the container is restarted. If this + flag is false, a container processes that reads from stdin will never receive an EOF. + Default is false type: boolean terminationMessagePath: + description: |- + Optional: Path at which the file to which the container's termination message + will be written is mounted into the container's filesystem. + Message written is intended to be brief final status, such as an assertion failure message. + Will be truncated by the node if greater than 4096 bytes. The total message length across + all containers will be limited to 12kb. + Defaults to /dev/termination-log. + Cannot be updated. type: string terminationMessagePolicy: + description: |- + Indicate how the termination message should be populated. File will use the contents of + terminationMessagePath to populate the container status message on both success and failure. + FallbackToLogsOnError will use the last chunk of container log output if the termination + message file is empty and the container exited with an error. + The log output is limited to 2048 bytes or 80 lines, whichever is smaller. + Defaults to File. + Cannot be updated. type: string tty: + description: |- + Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. + Default is false. type: boolean volumeDevices: + description: volumeDevices is the list of block devices + to be used by the container. items: + description: volumeDevice describes a mapping of a raw + block device within a container. properties: devicePath: + description: devicePath is the path inside of the + container that the device will be mapped to. type: string name: + description: name must match the name of a persistentVolumeClaim + in the pod type: string required: - devicePath @@ -20582,21 +30901,65 @@ spec: - devicePath x-kubernetes-list-type: map volumeMounts: + description: |- + Pod volumes to mount into the container's filesystem. + Cannot be updated. items: + description: VolumeMount describes a mounting of a Volume + within a container. properties: mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. type: string mountPropagation: + description: |- + mountPropagation determines how mounts are propagated from the host + to container and the other way around. + When not set, MountPropagationNone is used. + This field is beta in 1.10. + When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + (which defaults to None). type: string name: + description: This must match the Name of a Volume. type: string readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. type: boolean recursiveReadOnly: + description: |- + RecursiveReadOnly specifies whether read-only mounts should be handled + recursively. + + If ReadOnly is false, this field has no meaning and must be unspecified. + + If ReadOnly is true, and this field is set to Disabled, the mount is not made + recursively read-only. If this field is set to IfPossible, the mount is made + recursively read-only, if it is supported by the container runtime. If this + field is set to Enabled, the mount is made recursively read-only if it is + supported by the container runtime, otherwise the pod will not be started and + an error will be generated to indicate the reason. + + If this field is set to IfPossible or Enabled, MountPropagation must be set to + None (or be unspecified, which defaults to None). + + If this field is not specified, it is treated as an equivalent of Disabled. type: string subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). type: string subPathExpr: + description: |- + Expanded path within the volume from which the container's volume should be mounted. + Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. + Defaults to "" (volume's root). + SubPathExpr and SubPath are mutually exclusive. type: string required: - mountPath @@ -20607,68 +30970,207 @@ spec: - mountPath x-kubernetes-list-type: map workingDir: + description: |- + Container's working directory. + If not specified, the container runtime's default will be used, which + might be configured in the container image. + Cannot be updated. type: string type: object securityContext: + description: |- + SecurityContext holds pod-level security attributes and common container settings. + Optional: Defaults to empty. See type description for default values of each field. properties: appArmorProfile: + description: |- + appArmorProfile is the AppArmor options to use by the containers in this pod. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile loaded on the node that should be used. + The profile must be preconfigured on the node to work. + Must match the loaded name of the profile. + Must be set if and only if type is "Localhost". type: string type: + description: |- + type indicates which kind of AppArmor profile will be applied. + Valid options are: + Localhost - a profile pre-loaded on the node. + RuntimeDefault - the container runtime's default profile. + Unconfined - no AppArmor enforcement. type: string required: - type type: object fsGroup: + description: |- + A special supplemental group that applies to all containers in a pod. + Some volume types allow the Kubelet to change the ownership of that volume + to be owned by the pod: + + 1. The owning GID will be the FSGroup + 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) + 3. The permission bits are OR'd with rw-rw---- + + If unset, the Kubelet will not modify the ownership and permissions of any volume. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer fsGroupChangePolicy: + description: |- + fsGroupChangePolicy defines behavior of changing ownership and permission of the volume + before being exposed inside Pod. This field will only apply to + volume types which support fsGroup based ownership(and permissions). + It will have no effect on ephemeral volume types such as: secret, configmaps + and emptydir. + Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used. + Note that this field cannot be set when spec.os.name is windows. type: string runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in SecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence + for that container. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer runAsNonRoot: + description: |- + Indicates that the container must run as a non-root user. + If true, the Kubelet will validate the image at runtime to ensure that it + does not run as UID 0 (root) and fail to start the container if it does. + If unset or false, no such validation will be performed. + May also be set in SecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in SecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence + for that container. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer seLinuxChangePolicy: + description: |- + seLinuxChangePolicy defines how the container's SELinux label is applied to all volumes used by the Pod. + It has no effect on nodes that do not support SELinux or to volumes does not support SELinux. + Valid values are "MountOption" and "Recursive". + + "Recursive" means relabeling of all files on all Pod volumes by the container runtime. + This may be slow for large volumes, but allows mixing privileged and unprivileged Pods sharing the same volume on the same node. + + "MountOption" mounts all eligible Pod volumes with `-o context` mount option. + This requires all Pods that share the same volume to use the same SELinux label. + It is not possible to share the same volume among privileged and unprivileged Pods. + Eligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes + whose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their + CSIDriver instance. Other volumes are always re-labelled recursively. + "MountOption" value is allowed only when SELinuxMount feature gate is enabled. + + If not specified and SELinuxMount feature gate is enabled, "MountOption" is used. + If not specified and SELinuxMount feature gate is disabled, "MountOption" is used for ReadWriteOncePod volumes + and "Recursive" for all other volumes. + + This field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers. + + All Pods that use the same volume should use the same seLinuxChangePolicy, otherwise some pods can get stuck in ContainerCreating state. + Note that this field cannot be set when spec.os.name is windows. type: string seLinuxOptions: + description: |- + The SELinux context to be applied to all containers. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in SecurityContext. If set in + both SecurityContext and PodSecurityContext, the value specified in SecurityContext + takes precedence for that container. + Note that this field cannot be set when spec.os.name is windows. properties: level: + description: Level is SELinux level label that applies + to the container. type: string role: + description: Role is a SELinux role label that applies + to the container. type: string type: + description: Type is a SELinux type label that applies + to the container. type: string user: + description: User is a SELinux user label that applies + to the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by the containers in this pod. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. + Must be a descending path, relative to the kubelet's configured seccomp profile location. + Must be set if type is "Localhost". Must NOT be set for any other type. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + Localhost - a profile defined in a file on the node should be used. + RuntimeDefault - the container runtime default profile should be used. + Unconfined - no profile should be applied. type: string required: - type type: object supplementalGroups: + description: |- + A list of groups applied to the first process run in each container, in + addition to the container's primary GID and fsGroup (if specified). If + the SupplementalGroupsPolicy feature is enabled, the + supplementalGroupsPolicy field determines whether these are in addition + to or instead of any group memberships defined in the container image. + If unspecified, no additional groups are added, though group memberships + defined in the container image may still be used, depending on the + supplementalGroupsPolicy field. + Note that this field cannot be set when spec.os.name is windows. items: format: int64 type: integer type: array x-kubernetes-list-type: atomic supplementalGroupsPolicy: + description: |- + Defines how supplemental groups of the first container processes are calculated. + Valid values are "Merge" and "Strict". If not specified, "Merge" is used. + (Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled + and the container runtime must implement support for this feature. + Note that this field cannot be set when spec.os.name is windows. type: string sysctls: + description: |- + Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported + sysctls (by the container runtime) might fail to launch. + Note that this field cannot be set when spec.os.name is windows. items: + description: Sysctl defines a kernel parameter to be set properties: name: + description: Name of a property to set type: string value: + description: Value of a property to set type: string required: - name @@ -20677,88 +31179,189 @@ spec: type: array x-kubernetes-list-type: atomic windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options within a container's SecurityContext will be used. + If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is linux. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name of the + GMSA credential spec to use. type: string hostProcess: + description: |- + HostProcess determines if a container should be run as a 'Host Process' container. + All of a Pod's containers must have the same effective HostProcess value + (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + In addition, if HostProcess is true then HostNetwork must also be set to true. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: string type: object type: object serviceAccountName: + description: ServiceAccountName to apply to workflow pods type: string sidecars: + description: |- + Sidecars is a list of containers which run alongside the main container + Sidecars are automatically killed when the main container completes items: + description: UserContainer is a container specified by a user. properties: args: + description: |- + Arguments to the entrypoint. + The container image's CMD is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic command: + description: |- + Entrypoint array. Not executed within a shell. + The container image's ENTRYPOINT is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic env: + description: |- + List of environment variables to set in the container. + Cannot be updated. items: + description: EnvVar represents an environment variable + present in a Container. properties: name: + description: Name of the environment variable. Must + be a C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. If a variable cannot be resolved, + the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. + "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". + Escaped references will never be expanded, regardless of whether the variable + exists or not. + Defaults to "". type: string valueFrom: + description: Source for the environment variable's + value. Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select + in the specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. properties: containerName: + description: 'Container name: required for + volumes, optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format + of the exposed resources, defaults to + "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic 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: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -20773,25 +31376,54 @@ spec: - name x-kubernetes-list-type: map envFrom: + description: |- + List of sources to populate environment variables in the container. + The keys defined within a source must be a C_IDENTIFIER. All invalid keys + will be reported as an event when the container is starting. When a key exists in multiple + sources, the value associated with the last source will take precedence. + Values defined by an Env with a duplicate key will take precedence. + Cannot be updated. items: + description: EnvFromSource represents the source of + a set of ConfigMaps or Secrets properties: configMapRef: + description: The ConfigMap to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap must + be defined type: boolean type: object x-kubernetes-map-type: atomic prefix: + description: Optional text to prepend to the name + of each environment variable. Must be a C_IDENTIFIER. type: string secretRef: + description: The Secret to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret must + be defined type: boolean type: object x-kubernetes-map-type: atomic @@ -20799,31 +31431,71 @@ spec: type: array x-kubernetes-list-type: atomic image: + description: |- + Container image name. + More info: https://kubernetes.io/docs/concepts/containers/images + This field is optional to allow higher level config management to default or override + container images in workload controllers like Deployments and StatefulSets. type: string imagePullPolicy: + description: |- + Image pull policy. + One of Always, Never, IfNotPresent. + Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/containers/images#updating-images type: string lifecycle: + description: |- + Actions that the management system should take in response to container lifecycle events. + Cannot be updated. properties: postStart: + description: |- + PostStart is called immediately after a container is created. If the handler fails, + the container is terminated and restarted according to its restart policy. + Other management of the container blocks until the hook completes. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the + request. HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -20832,58 +31504,111 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that + the container should sleep. properties: seconds: + description: Seconds is the number of seconds + to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object preStop: + description: |- + PreStop is called immediately before a container is terminated due to an + API request or management event such as liveness/startup probe failure, + preemption, resource contention, etc. The handler is not called if the + container crashes or exits. The Pod's termination grace period countdown begins before the + PreStop hook is executed. Regardless of the outcome of the handler, the + container will eventually terminate within the Pod's termination grace + period (unless delayed by finalizers). Other management of the container blocks until the hook completes + or until the termination grace period is reached. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the + request. HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -20892,75 +31617,138 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that + the container should sleep. properties: seconds: + description: Seconds is the number of seconds + to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object stopSignal: + description: |- + StopSignal defines which signal will be sent to a container when it is being stopped. + If not specified, the default is defined by the container runtime in use. + StopSignal can only be set for Pods with a non-empty .spec.os.name type: string type: object livenessProbe: + description: |- + Periodic probe of container liveness. + Container will be restarted if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -20969,64 +31757,140 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a + TCP port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object mirrorVolumeMounts: + description: |- + MirrorVolumeMounts will mount the same volumes specified in the main container + to the container (including artifacts), at the same mountPaths. This enables + dind daemon to partially see the same filesystem as the main container in + order to use features such as docker volume binding type: boolean name: + description: |- + Name of the container specified as a DNS_LABEL. + Each container in a pod must have a unique name (DNS_LABEL). + Cannot be updated. type: string ports: + description: |- + List of ports to expose from the container. Not specifying a port here + DOES NOT prevent that port from being exposed. Any port which is + listening on the default "0.0.0.0" address inside a container will be + accessible from the network. + Modifying this array with strategic merge patch may corrupt the data. + For more information See https://github.com/kubernetes/kubernetes/issues/108255. + Cannot be updated. items: + description: ContainerPort represents a network port + in a single container. properties: containerPort: + description: |- + Number of port to expose on the pod's IP address. + This must be a valid port number, 0 < x < 65536. format: int32 type: integer hostIP: + description: What host IP to bind the external port + to. type: string hostPort: + description: |- + Number of port to expose on the host. + If specified, this must be a valid port number, 0 < x < 65536. + If HostNetwork is specified, this must match ContainerPort. + Most containers do not need this. format: int32 type: integer name: + description: |- + If specified, this must be an IANA_SVC_NAME and unique within the pod. Each + named port in a pod must have a unique name. Name for the port that can be + referred to by services. type: string protocol: default: TCP + description: |- + Protocol for port. Must be UDP, TCP, or SCTP. + Defaults to "TCP". type: string required: - containerPort @@ -21037,39 +31901,76 @@ spec: - protocol x-kubernetes-list-type: map readinessProbe: + description: |- + Periodic probe of container service readiness. + Container will be removed from service endpoints if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -21078,51 +31979,100 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a + TCP port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object resizePolicy: + description: Resources resize policy for the container. items: + description: ContainerResizePolicy represents resource + resize policy for the container. properties: resourceName: + description: |- + Name of the resource to which this resource resize policy applies. + Supported values: cpu, memory. type: string restartPolicy: + description: |- + Restart policy to apply when specified resource is resized. + If not specified, it defaults to NotRequired. type: string required: - resourceName @@ -21131,13 +32081,35 @@ spec: type: array x-kubernetes-list-type: atomic resources: + description: |- + Compute Resources required by this container. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ properties: claims: + description: |- + Claims lists the names of resources, defined in spec.resourceClaims, + that are used by this container. + + This is an alpha field and requires enabling the + DynamicResourceAllocation feature gate. + + This field is immutable. It can only be set for containers. items: + description: ResourceClaim references one entry + in PodSpec.ResourceClaims. properties: name: + description: |- + Name must match the name of one entry in pod.spec.resourceClaims of + the Pod where this field is used. It makes that resource available + inside a container. type: string request: + description: |- + Request is the name chosen for a request in the referenced claim. + If empty, everything from the claim is made available, otherwise + only the result of this request. type: string required: - name @@ -21153,6 +32125,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -21161,116 +32136,300 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object type: object restartPolicy: + description: |- + RestartPolicy defines the restart behavior of individual containers in a pod. + This field may only be set for init containers, and the only allowed value is "Always". + For non-init containers or when this field is not specified, + the restart behavior is defined by the Pod's restart policy and the container type. + Setting the RestartPolicy as "Always" for the init container will have the following effect: + this init container will be continually restarted on + exit until all regular containers have terminated. Once all regular + containers have completed, all init containers with restartPolicy "Always" + will be shut down. This lifecycle differs from normal init containers and + is often referred to as a "sidecar" container. Although this init + container still starts in the init container sequence, it does not wait + for the container to complete before proceeding to the next init + container. Instead, the next init container starts immediately after this + init container is started, or after any startupProbe has successfully + completed. type: string securityContext: + description: |- + SecurityContext defines the security options the container should be run with. + If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. + More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ properties: allowPrivilegeEscalation: + description: |- + AllowPrivilegeEscalation controls whether a process can gain more + privileges than its parent process. This bool directly controls if + the no_new_privs flag will be set on the container process. + AllowPrivilegeEscalation is true always when the container is: + 1) run as Privileged + 2) has CAP_SYS_ADMIN + Note that this field cannot be set when spec.os.name is windows. type: boolean appArmorProfile: + description: |- + appArmorProfile is the AppArmor options to use by this container. If set, this profile + overrides the pod's appArmorProfile. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile loaded on the node that should be used. + The profile must be preconfigured on the node to work. + Must match the loaded name of the profile. + Must be set if and only if type is "Localhost". type: string type: + description: |- + type indicates which kind of AppArmor profile will be applied. + Valid options are: + Localhost - a profile pre-loaded on the node. + RuntimeDefault - the container runtime's default profile. + Unconfined - no AppArmor enforcement. type: string required: - type type: object capabilities: + description: |- + The capabilities to add/drop when running containers. + Defaults to the default set of capabilities granted by the container runtime. + Note that this field cannot be set when spec.os.name is windows. properties: add: + description: Added capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array x-kubernetes-list-type: atomic drop: + description: Removed capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array x-kubernetes-list-type: atomic type: object privileged: + description: |- + Run container in privileged mode. + Processes in privileged containers are essentially equivalent to root on the host. + Defaults to false. + Note that this field cannot be set when spec.os.name is windows. type: boolean procMount: + description: |- + procMount denotes the type of proc mount to use for the containers. + The default value is Default which uses the container runtime defaults for + readonly paths and masked paths. + This requires the ProcMountType feature flag to be enabled. + Note that this field cannot be set when spec.os.name is windows. type: string readOnlyRootFilesystem: + description: |- + Whether this container has a read-only root filesystem. + Default is false. + Note that this field cannot be set when spec.os.name is windows. type: boolean runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer runAsNonRoot: + description: |- + Indicates that the container must run as a non-root user. + If true, the Kubelet will validate the image at runtime to ensure that it + does not run as UID 0 (root) and fail to start the container if it does. + If unset or false, no such validation will be performed. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to the container. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. properties: level: + description: Level is SELinux level label that + applies to the container. type: string role: + description: Role is a SELinux role label that + applies to the container. type: string type: + description: Type is a SELinux type label that + applies to the container. type: string user: + description: User is a SELinux user label that + applies to the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by this container. If seccomp options are + provided at both the pod & container level, the container options + override the pod options. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. + Must be a descending path, relative to the kubelet's configured seccomp profile location. + Must be set if type is "Localhost". Must NOT be set for any other type. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + Localhost - a profile defined in a file on the node should be used. + RuntimeDefault - the container runtime default profile should be used. + Unconfined - no profile should be applied. type: string required: - type type: object windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options from the PodSecurityContext will be used. + If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is linux. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name + of the GMSA credential spec to use. type: string hostProcess: + description: |- + HostProcess determines if a container should be run as a 'Host Process' container. + All of a Pod's containers must have the same effective HostProcess value + (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + In addition, if HostProcess is true then HostNetwork must also be set to true. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: string type: object type: object startupProbe: + description: |- + StartupProbe indicates that the Pod has successfully initialized. + If specified, no other probes are executed until this completes successfully. + If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. + This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, + when it might take a long time to load data or warm a cache, than during steady-state operation. + This cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -21279,61 +32438,140 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a + TCP port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object stdin: + description: |- + Whether this container should allocate a buffer for stdin in the container runtime. If this + is not set, reads from stdin in the container will always result in EOF. + Default is false. type: boolean stdinOnce: + description: |- + Whether the container runtime should close the stdin channel after it has been opened by + a single attach. When stdin is true the stdin stream will remain open across multiple attach + sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the + first client attaches to stdin, and then remains open and accepts data until the client disconnects, + at which time stdin is closed and remains closed until the container is restarted. If this + flag is false, a container processes that reads from stdin will never receive an EOF. + Default is false type: boolean terminationMessagePath: + description: |- + Optional: Path at which the file to which the container's termination message + will be written is mounted into the container's filesystem. + Message written is intended to be brief final status, such as an assertion failure message. + Will be truncated by the node if greater than 4096 bytes. The total message length across + all containers will be limited to 12kb. + Defaults to /dev/termination-log. + Cannot be updated. type: string terminationMessagePolicy: + description: |- + Indicate how the termination message should be populated. File will use the contents of + terminationMessagePath to populate the container status message on both success and failure. + FallbackToLogsOnError will use the last chunk of container log output if the termination + message file is empty and the container exited with an error. + The log output is limited to 2048 bytes or 80 lines, whichever is smaller. + Defaults to File. + Cannot be updated. type: string tty: + description: |- + Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. + Default is false. type: boolean volumeDevices: + description: volumeDevices is the list of block devices + to be used by the container. items: + description: volumeDevice describes a mapping of a raw + block device within a container. properties: devicePath: + description: devicePath is the path inside of the + container that the device will be mapped to. type: string name: + description: name must match the name of a persistentVolumeClaim + in the pod type: string required: - devicePath @@ -21344,21 +32582,65 @@ spec: - devicePath x-kubernetes-list-type: map volumeMounts: + description: |- + Pod volumes to mount into the container's filesystem. + Cannot be updated. items: + description: VolumeMount describes a mounting of a Volume + within a container. properties: mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. type: string mountPropagation: + description: |- + mountPropagation determines how mounts are propagated from the host + to container and the other way around. + When not set, MountPropagationNone is used. + This field is beta in 1.10. + When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + (which defaults to None). type: string name: + description: This must match the Name of a Volume. type: string readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. type: boolean recursiveReadOnly: + description: |- + RecursiveReadOnly specifies whether read-only mounts should be handled + recursively. + + If ReadOnly is false, this field has no meaning and must be unspecified. + + If ReadOnly is true, and this field is set to Disabled, the mount is not made + recursively read-only. If this field is set to IfPossible, the mount is made + recursively read-only, if it is supported by the container runtime. If this + field is set to Enabled, the mount is made recursively read-only if it is + supported by the container runtime, otherwise the pod will not be started and + an error will be generated to indicate the reason. + + If this field is set to IfPossible or Enabled, MountPropagation must be set to + None (or be unspecified, which defaults to None). + + If this field is not specified, it is treated as an equivalent of Disabled. type: string subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). type: string subPathExpr: + description: |- + Expanded path within the volume from which the container's volume should be mounted. + Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. + Defaults to "" (volume's root). + SubPathExpr and SubPath are mutually exclusive. type: string required: - mountPath @@ -21369,38 +32651,79 @@ spec: - mountPath x-kubernetes-list-type: map workingDir: + description: |- + Container's working directory. + If not specified, the container runtime's default will be used, which + might be configured in the container image. + Cannot be updated. type: string required: - name type: object type: array steps: + description: Steps define a series of sequential/parallel workflow + steps items: + description: |- + Note: the `json:"steps"` part exists to workaround kubebuilder limitations. + There isn't actually a "steps" key in the JSON serialization; this is an anonymous list. + See the custom Unmarshaller below and ./hack/manifests/crd.go items: + description: |- + WorkflowStep is a reference to a template to execute in a series of step + Note: CEL validation cannot check withItems (Schemaless) or inline (PreserveUnknownFields) fields. properties: arguments: + description: Arguments hold arguments to the template properties: artifacts: + description: Artifacts is the list of artifacts + to pass to the template or workflow items: + description: Artifact indicates an artifact to + place at a specified path properties: archive: + description: Archive controls how the artifact + will be saved to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and + gzip the file or directory when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip zipped + input artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the + container logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy + to use when to deleting an artifact from + completed or deleted workflows properties: podMetadata: + description: PodMetadata is an optional + field for specifying the Labels and + Annotations that should be assigned + to the Pod doing the deletion properties: annotations: additionalProperties: @@ -21412,8 +32735,14 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an + optional field for specifying the Service + Account that should be assigned to the + Pod doing the deletion type: string strategy: + description: Strategy is the strategy + to use. enum: - "" - OnWorkflowCompletion @@ -21422,30 +32751,59 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory + artifact location details properties: passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -21455,27 +32813,54 @@ spec: - url type: object azure: + description: Azure contains Azure Storage + artifact location details properties: accountKeySecret: + description: AccountKeySecret is the secret + selector to the Azure Blob Storage account + access key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., + path) in the container where the artifact + resides type: string container: + description: Container is the container + where resources will be stored type: string endpoint: + description: Endpoint is the service url + associated with an account. It is most + likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver + to figure out credentials based on sdk + defaults. type: boolean required: - blob @@ -21483,25 +32868,50 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to reference + an artifact from a previous step type: string fromExpression: + description: FromExpression, if defined, is + evaluated to specify the value for the artifact type: string gcs: + description: GCS contains GCS artifact location + details properties: bucket: + description: Bucket is the name of the + bucket type: string key: + description: Key is the path in the bucket + where the artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is + the secret selector to the bucket's + service account key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -21511,62 +32921,125 @@ spec: - key type: object git: + description: Git contains git artifact location + details properties: branch: + description: Branch is the branch to fetch + when `SingleBranch` is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables + submodules during git clone type: boolean fetch: + description: Fetch specifies a number + of refs that should be fetched before + checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables + SSH strict host key checking during + git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables + server certificate verification resulting + in insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, + tag, branch to checkout type: string singleBranch: + description: SingleBranch enables single + branch clone, using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the + secret selector to the repository ssh + private key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -21576,96 +33049,198 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact location + details properties: addresses: + description: Addresses is accessible addresses + of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly + even if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location + details properties: auth: + description: Auth contains information + for client authentication properties: basicAuth: + description: BasicAuth describes the + secret selectors required for basic + authentication properties: passwordSecret: + description: PasswordSecret is + the secret selector to the repository + password properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is + the secret selector to the repository + username properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -21673,28 +33248,59 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds + necessary information for client + authentication via certificates properties: clientCertSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -21702,28 +33308,59 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all + information for client authentication + via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -21731,10 +33368,19 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is + for requesting optional fields + that should be sent in the + oauth request properties: key: + description: Name is the + header name type: string value: + description: Value is the + literal value to use for + the header type: string required: - key @@ -21745,13 +33391,27 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -21760,11 +33420,21 @@ spec: type: object type: object headers: + description: Headers are an optional list + of headers to send with HTTP requests + for artifacts items: + description: Header indicate a key-value + request header to be used when fetching + artifacts over HTTP properties: name: + description: Name is the header + name type: string value: + description: Value is the literal + value to use for the header type: string required: - name @@ -21772,131 +33442,302 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must be + unique within a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if Artifacts + doesn't generate or exist type: boolean oss: + description: OSS contains OSS artifact location + details properties: accessKeySecret: + description: AccessKeySecret is the secret + selector to the bucket's access key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the + bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent + tells the driver to attempt to create + the OSS bucket for output artifacts, + if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname + of the bucket endpoint type: string key: + description: Key is the path in the bucket + where the artifact resides type: string lifecycleRule: + description: LifecycleRule specifies how + to manage bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays + is the number of days before we + delete objects in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before we + convert the objects in the bucket + to Infrequent Access (IA) storage + type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret + selector to the bucket's secret key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s + temporary security token. For more details, + check out: https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver + to figure out credentials based on sdk + defaults. type: boolean required: - key type: object path: + description: Path is the container path to + the artifact type: string + plugin: + description: Plugin contains plugin artifact + location details + properties: + configuration: + description: Configuration is the plugin + defined configuration for the artifact + driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds + is the timeout for the artifact driver + connection, overriding the driver's + timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact + repository where the artifact resides + type: string + name: + description: Name is the name of the artifact + driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location + details properties: data: + description: Data is the string contents + of the artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission + recursively into the artifact if it is a + folder type: boolean s3: + description: S3 contains S3 artifact location + details properties: accessKeySecret: + description: AccessKeySecret is the secret + selector to the bucket's access key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the + bucket type: string caSecret: + description: CASecret specifies the secret + that contains the CA, used to verify + the TLS connection properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent + tells the driver to attempt to create + the S3 bucket for output artifacts, + if it doesn't exist. Setting Enabled + Encryption will apply either SSE-S3 + to the bucket if KmsKeyId is not set + or SSE-KMS if it is. properties: objectLocking: + description: ObjectLocking Enable + object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used + to determine encryption options during + s3 operations properties: enableEncryption: + description: EnableEncryption tells + the driver to encrypt objects if + set to true. If kmsKeyId and serverSideCustomerKeySecret + are not set, SSE-S3 will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext + is a json blob that contains an + encryption context. See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver + to encrypt the object using the + specified KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret + tells the driver to encrypt the + output artifacts using SSE-C with + the specified secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -21904,97 +33745,212 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname + of the bucket endpoint type: string insecure: + description: Insecure will connect to + the service with TLS type: boolean key: + description: Key is the key in the bucket + where the artifact resides type: string region: + description: Region contains the optional + bucket region type: string roleARN: + description: RoleARN is the Amazon Resource + Name (ARN) of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret + selector to the bucket's secret key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used + for ephemeral credentials like an IAM + assume role or S3 access grant properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver + to figure out credentials based on sdk + defaults. type: boolean type: object subPath: + description: SubPath allows an artifact to + be sourced from a subpath within the specified + source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be + specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) + ? 1 : 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array parameters: + description: Parameters is the list of parameters + to pass to the template or workflow items: + description: Parameter indicate a passed string + parameter to a service template with an optional + default value properties: default: + description: Default is the default value + to use for an input parameter if a value + was not supplied type: string description: + description: Description is the parameter + description type: string enum: + description: Enum holds a list of string values + to choose from, for the actual value of + the parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source for the + output parameter's value properties: configMapKeyRef: + description: ConfigMapKeyRef is configmap + selector for input parameter configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies a value + to be used if retrieving the value from + the specified source fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the event + to get the value of the parameter. E.g. + `payload.message` type: string expression: + description: Expression, if defined, is + evaluated to specify the value for the + parameter type: string jqFilter: + description: JQFilter expression against + the resource object in resource templates type: string jsonPath: + description: JSONPath of a resource to + retrieve an output parameter value from + in resource templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container to + retrieve an output parameter value from + in container templates type: string supplied: + description: Supplied value to be filled + in directly, either through the CLI, + API, etc. type: object type: object required: @@ -22003,6 +33959,9 @@ spec: type: array type: object continueOn: + description: |- + ContinueOn makes argo to proceed with the following step even if this step fails. + Errors and Failed states can be specified properties: error: type: boolean @@ -22013,28 +33972,59 @@ spec: additionalProperties: properties: arguments: + description: Arguments hold arguments to the template properties: artifacts: + description: Artifacts is the list of artifacts + to pass to the template or workflow items: + description: Artifact indicates an artifact + to place at a specified path properties: archive: + description: Archive controls how the + artifact will be saved to the artifact + repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar + and gzip the file or directory + when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip + zipped input artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if + the container logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the + strategy to use when to deleting an + artifact from completed or deleted + workflows properties: podMetadata: + description: PodMetadata is an optional + field for specifying the Labels + and Annotations that should be + assigned to the Pod doing the + deletion properties: annotations: additionalProperties: @@ -22046,8 +34036,15 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName + is an optional field for specifying + the Service Account that should + be assigned to the Pod doing the + deletion type: string strategy: + description: Strategy is the strategy + to use. enum: - "" - OnWorkflowCompletion @@ -22056,30 +34053,63 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory + artifact location details properties: passwordSecret: + description: PasswordSecret is the + secret selector to the repository + password properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the + secret selector to the repository + username properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -22089,27 +34119,55 @@ spec: - url type: object azure: + description: Azure contains Azure Storage + artifact location details properties: accountKeySecret: + description: AccountKeySecret is + the secret selector to the Azure + Blob Storage account access key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name + (i.e., path) in the container + where the artifact resides type: string container: + description: Container is the container + where resources will be stored type: string endpoint: + description: Endpoint is the service + url associated with an account. + It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the + driver to figure out credentials + based on sdk defaults. type: boolean required: - blob @@ -22117,25 +34175,54 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact + to reference an artifact from a previous + step type: string fromExpression: + description: FromExpression, if defined, + is evaluated to specify the value + for the artifact type: string gcs: + description: GCS contains GCS artifact + location details properties: bucket: + description: Bucket is the name + of the bucket type: string key: + description: Key is the path in + the bucket where the artifact + resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret + is the secret selector to the + bucket's service account key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -22145,62 +34232,132 @@ spec: - key type: object git: + description: Git contains git artifact + location details properties: branch: + description: Branch is the branch + to fetch when `SingleBranch` is + enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables + submodules during git clone type: boolean fetch: + description: Fetch specifies a number + of refs that should be fetched + before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey + disables SSH strict host key checking + during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables + server certificate verification + resulting in insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the + secret selector to the repository + password properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git + commit, tag, branch to checkout type: string singleBranch: + description: SingleBranch enables + single branch clone, using the + `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret + is the secret selector to the + repository ssh private key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the + secret selector to the repository + username properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -22210,96 +34367,206 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact + location details properties: addresses: + description: Addresses is accessible + addresses of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file + forcibly even if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the ConfigMap or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path + in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact + location details properties: auth: + description: Auth contains information + for client authentication properties: basicAuth: + description: BasicAuth describes + the secret selectors required + for basic authentication properties: passwordSecret: + description: PasswordSecret + is the secret selector + to the repository password properties: key: + description: The key + of the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must be + defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret + is the secret selector + to the repository username properties: key: + description: The key + of the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must be + defined type: boolean required: - key @@ -22307,28 +34574,64 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth + holds necessary information + for client authentication + via certificates properties: clientCertSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must be + defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must be + defined type: boolean required: - key @@ -22336,28 +34639,64 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds + all information for client + authentication via OAuth2 + tokens properties: clientIDSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must be + defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must be + defined type: boolean required: - key @@ -22365,10 +34704,19 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam + is for requesting optional + fields that should be + sent in the oauth request properties: key: + description: Name + is the header name type: string value: + description: Value + is the literal value + to use for the header type: string required: - key @@ -22379,13 +34727,29 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must be + defined type: boolean required: - key @@ -22394,11 +34758,23 @@ spec: type: object type: object headers: + description: Headers are an optional + list of headers to send with HTTP + requests for artifacts items: + description: Header indicate a + key-value request header to + be used when fetching artifacts + over HTTP properties: name: + description: Name is the header + name type: string value: + description: Value is the + literal value to use for + the header type: string required: - name @@ -22406,131 +34782,317 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must + be unique within a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, + if Artifacts doesn't generate or exist type: boolean oss: + description: OSS contains OSS artifact + location details properties: accessKeySecret: + description: AccessKeySecret is + the secret selector to the bucket's + access key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name + of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent + tells the driver to attempt to + create the OSS bucket for output + artifacts, if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname + of the bucket endpoint type: string key: + description: Key is the path in + the bucket where the artifact + resides type: string lifecycleRule: + description: LifecycleRule specifies + how to manage bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays + is the number of days before + we delete objects in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before + we convert the objects in + the bucket to Infrequent Access + (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is + the secret selector to the bucket's + secret key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the + user''s temporary security token. + For more details, check out: https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the + driver to figure out credentials + based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container path + to the artifact type: string + plugin: + description: Plugin contains plugin + artifact location details + properties: + configuration: + description: Configuration is the + plugin defined configuration for + the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds + is the timeout for the artifact + driver connection, overriding + the driver's timeout + format: int32 + type: integer + key: + description: Key is the path in + the artifact repository where + the artifact resides + type: string + name: + description: Name is the name of + the artifact driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact + location details properties: data: + description: Data is the string + contents of the artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the + permission recursively into the artifact + if it is a folder type: boolean s3: + description: S3 contains S3 artifact + location details properties: accessKeySecret: + description: AccessKeySecret is + the secret selector to the bucket's + access key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name + of the bucket type: string caSecret: + description: CASecret specifies + the secret that contains the CA, + used to verify the TLS connection properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent + tells the driver to attempt to + create the S3 bucket for output + artifacts, if it doesn't exist. + Setting Enabled Encryption will + apply either SSE-S3 to the bucket + if KmsKeyId is not set or SSE-KMS + if it is. properties: objectLocking: + description: ObjectLocking Enable + object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions + used to determine encryption options + during s3 operations properties: enableEncryption: + description: EnableEncryption + tells the driver to encrypt + objects if set to true. If + kmsKeyId and serverSideCustomerKeySecret + are not set, SSE-S3 will be + used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext + is a json blob that contains + an encryption context. See + https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells + the driver to encrypt the + object using the specified + KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret + tells the driver to encrypt + the output artifacts using + SSE-C with the specified secret. properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key @@ -22538,97 +35100,223 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname + of the bucket endpoint type: string insecure: + description: Insecure will connect + to the service with TLS type: boolean key: + description: Key is the key in the + bucket where the artifact resides type: string region: + description: Region contains the + optional bucket region type: string roleARN: + description: RoleARN is the Amazon + Resource Name (ARN) of the role + to assume. type: string secretKeySecret: + description: SecretKeySecret is + the secret selector to the bucket's + secret key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret + is used for ephemeral credentials + like an IAM assume role or S3 + access grant properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the + driver to figure out credentials + based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact + to be sourced from a subpath within + the specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location + can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) + ? 1 : 0) + (has(self.http) ? 1 : 0) + + (has(self.artifactory) ? 1 : 0) + + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + + (has(self.gcs) ? 1 : 0) + (has(self.azure) + ? 1 : 0) + (has(self.plugin) ? 1 : 0) + <= 1' type: array parameters: + description: Parameters is the list of parameters + to pass to the template or workflow items: + description: Parameter indicate a passed + string parameter to a service template + with an optional default value properties: default: + description: Default is the default + value to use for an input parameter + if a value was not supplied type: string description: + description: Description is the parameter + description type: string enum: + description: Enum holds a list of string + values to choose from, for the actual + value of the parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source + for the output parameter's value properties: configMapKeyRef: + description: ConfigMapKeyRef is + configmap selector for input parameter + configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the ConfigMap or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies a + value to be used if retrieving + the value from the specified source + fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the + event to get the value of the + parameter. E.g. `payload.message` type: string expression: + description: Expression, if defined, + is evaluated to specify the value + for the parameter type: string jqFilter: + description: JQFilter expression + against the resource object in + resource templates type: string jsonPath: + description: JSONPath of a resource + to retrieve an output parameter + value from in resource templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container + to retrieve an output parameter + value from in container templates type: string supplied: + description: Supplied value to be + filled in directly, either through + the CLI, API, etc. type: object type: object required: @@ -22637,135 +35325,193 @@ spec: type: array type: object expression: + description: |- + Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not + be retried and the retry strategy will be ignored type: string template: + description: Template is the name of the template + to execute by the hook type: string templateRef: + description: TemplateRef is the reference to the + template resource to execute by the hook properties: clusterScope: + description: ClusterScope indicates the referred + template is cluster scoped (i.e. a ClusterWorkflowTemplate). type: boolean name: + description: Name is the resource name of + the template. type: string template: + description: Template is the name of referred + template in the resource. type: string type: object type: object + description: |- + Hooks holds the lifecycle hook which is invoked at lifecycle of + step, irrespective of the success, failure, or error status of the primary step type: object inline: + description: |- + Inline is the template. Template must be empty if this is declared (and vice-versa). + Note: This struct is defined recursively, since the inline template can potentially contain + steps/DAGs that also has an "inline" field. Kubernetes doesn't allow recursive types, so we + need "x-kubernetes-preserve-unknown-fields: true" in the validation schema. x-kubernetes-preserve-unknown-fields: true name: + description: Name of the step + maxLength: 128 + pattern: ^[a-zA-Z0-9][-a-zA-Z0-9]*$ type: string onExit: + description: |- + OnExit is a template reference which is invoked at the end of the + template, irrespective of the success, failure, or error of the + primary template. + DEPRECATED: Use Hooks[exit].Template instead. type: string template: + description: Template is the name of the template to + execute as the step type: string templateRef: + description: TemplateRef is the reference to the template + resource to execute as the step. properties: clusterScope: + description: ClusterScope indicates the referred + template is cluster scoped (i.e. a ClusterWorkflowTemplate). type: boolean name: + description: Name is the resource name of the template. type: string template: + description: Template is the name of referred template + in the resource. type: string type: object when: + description: When is an expression in which the step + should conditionally execute type: string withItems: + description: |- + WithItems expands a step into multiple parallel steps from the items in the list + Note: The structure of WithItems is free-form, so we need + "x-kubernetes-preserve-unknown-fields: true" in the validation schema. x-kubernetes-preserve-unknown-fields: true withParam: + description: |- + WithParam expands a step into multiple parallel steps from the value in the parameter, + which is expected to be a JSON list. type: string withSequence: + description: WithSequence expands a step into a numeric + sequence properties: count: anyOf: - type: integer - type: string + description: 'Count is number of elements in the + sequence (default: 0). Not to be used with end' x-kubernetes-int-or-string: true end: anyOf: - type: integer - type: string + description: 'Number at which to end the sequence + (default: 0). Not to be used with Count' x-kubernetes-int-or-string: true format: + description: Format is a printf format string to + format the value in the sequence type: string start: anyOf: - type: integer - type: string + description: 'Number at which to start the sequence + (default: 0)' x-kubernetes-int-or-string: true type: object + x-kubernetes-validations: + - message: only one of count or end can be defined + rule: '!(has(self.count) && has(self.end))' type: object type: array + minItems: 1 type: array suspend: + description: Suspend template subtype which can suspend a workflow + when reaching the step properties: duration: + description: |- + Duration is the seconds to wait before automatically resuming a template. Must be a string. Default unit is seconds. + Could also be a Duration, e.g.: "2m", "6h" type: string type: object synchronization: + description: Synchronization holds synchronization lock configuration + for this template properties: - mutex: - properties: - database: - type: boolean - name: - type: string - namespace: - type: string - type: object mutexes: + description: 'v3.6 and after: Mutexes holds the list of + Mutex lock details' items: + description: Mutex holds Mutex configuration properties: database: + description: Database specifies this is database controlled + if this is set true type: boolean name: + description: name of the mutex type: string namespace: + description: 'Namespace is the namespace of the mutex, + default: [namespace of workflow]' type: string type: object type: array - semaphore: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - database: - properties: - key: - type: string - required: - - key - type: object - namespace: - type: string - type: object semaphores: + description: 'v3.6 and after: Semaphores holds the list + of Semaphores configuration' items: + description: SemaphoreRef is a reference of Semaphore properties: configMapKeyRef: + description: ConfigMapKeyRef is a configmap selector + for Semaphore configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic database: + description: SyncDatabaseRef is a database reference + for Semaphore configuration properties: key: type: string @@ -22773,134 +35519,307 @@ spec: - key type: object namespace: + description: 'Namespace is the namespace of the configmap, + default: [namespace of workflow]' type: string type: object type: array type: object timeout: + description: |- + Timeout allows to set the total node execution timeout duration counting from the node's start time. + This duration also includes time in which the node spends in Pending state. This duration may not be applied to Step or DAG templates. type: string tolerations: + description: Tolerations to apply to workflow pods. items: + description: |- + The pod this Toleration is attached to tolerates any taint that matches + the triple using the matching operator . properties: effect: + description: |- + Effect indicates the taint effect to match. Empty means match all taint effects. + When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. type: string key: + description: |- + Key is the taint key that the toleration applies to. Empty means match all taint keys. + If the key is empty, operator must be Exists; this combination means to match all values and all keys. type: string operator: + description: |- + Operator represents a key's relationship to the value. + Valid operators are Exists and Equal. Defaults to Equal. + Exists is equivalent to wildcard for value, so that a pod can + tolerate all taints of a particular category. type: string tolerationSeconds: + description: |- + TolerationSeconds represents the period of time the toleration (which must be + of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, + it is not set, which means tolerate the taint forever (do not evict). Zero and + negative values will be treated as 0 (evict immediately) by the system. format: int64 type: integer value: + description: |- + Value is the taint value the toleration matches to. + If the operator is Exists, the value should be empty, otherwise just a regular string. type: string type: object type: array volumes: + description: Volumes is a list of volumes that can be mounted + by containers in a template. items: + description: Volume represents a named volume in a pod that + may be accessed by any container in the pod. properties: awsElasticBlockStore: + description: |- + awsElasticBlockStore represents an AWS Disk resource that is attached to a + kubelet's host machine and then exposed to the pod. + Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree + awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore properties: fsType: + description: |- + fsType is the 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#awselasticblockstore type: string partition: + description: |- + partition is 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). format: int32 type: integer readOnly: + description: |- + readOnly value true will force the readOnly setting in VolumeMounts. + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore type: boolean volumeID: + description: |- + volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore type: string required: - volumeID type: object azureDisk: + description: |- + azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. + Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type + are redirected to the disk.csi.azure.com CSI driver. properties: cachingMode: + description: 'cachingMode is the Host Caching mode: + None, Read Only, Read Write.' type: string diskName: + description: diskName is the Name of the data disk + in the blob storage type: string diskURI: + description: diskURI is the URI of data disk in the + blob storage type: string fsType: default: ext4 + description: |- + fsType is 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. type: string kind: + description: 'kind expected values are Shared: multiple + blob disks per storage account Dedicated: single + blob disk per storage account Managed: azure managed + data disk (only in managed availability set). defaults + to shared' type: string readOnly: default: false + description: |- + readOnly Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean required: - diskName - diskURI type: object azureFile: + description: |- + azureFile represents an Azure File Service mount on the host and bind mount to the pod. + Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type + are redirected to the file.csi.azure.com CSI driver. properties: readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretName: + description: secretName is the name of secret that + contains Azure Storage Account Name and Key type: string shareName: + description: shareName is the azure share Name type: string required: - secretName - shareName type: object cephfs: + description: |- + cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. + Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported. properties: monitors: + description: |- + monitors is Required: Monitors is a collection of Ceph monitors + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it items: type: string type: array x-kubernetes-list-type: atomic path: + description: 'path is Optional: Used as the mounted + root, rather than the full Ceph tree, default is + /' type: string readOnly: + description: |- + readOnly is 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 type: boolean secretFile: + description: |- + secretFile is 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 type: string secretRef: + description: |- + secretRef is 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 properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic user: + description: |- + user is optional: User is the rados user name, default is admin + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it type: string required: - monitors type: object cinder: + description: |- + cinder represents a cinder volume attached and mounted on kubelets host machine. + Deprecated: Cinder is deprecated. All operations for the in-tree cinder type + are redirected to the cinder.csi.openstack.org CSI driver. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md properties: fsType: + description: |- + fsType is the 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 type: string readOnly: + description: |- + readOnly 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 type: boolean secretRef: + description: |- + secretRef is optional: points to a secret object containing parameters used to connect + to OpenStack. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic volumeID: + description: |- + volumeID used to identify the volume in cinder. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md type: string required: - volumeID type: object configMap: + description: configMap represents a configMap that should + populate this volume properties: defaultMode: + description: |- + defaultMode is optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer items: + description: |- + items 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 '..'. items: + description: Maps a string key to a path within + a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + description: |- + path is 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 required: - key @@ -22910,67 +35829,146 @@ spec: x-kubernetes-list-type: atomic name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: optional specify whether the ConfigMap + or its keys must be defined type: boolean type: object x-kubernetes-map-type: atomic csi: + description: csi (Container Storage Interface) represents + ephemeral storage that is handled by certain external + CSI drivers. properties: driver: + 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. type: string fsType: + description: |- + fsType 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. type: string nodePublishSecretRef: + 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. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic readOnly: + description: |- + readOnly specifies a read-only configuration for the volume. + Defaults to false (read/write). type: boolean volumeAttributes: additionalProperties: type: string + description: |- + volumeAttributes stores driver-specific properties that are passed to the CSI + driver. Consult your driver's documentation for supported values. type: object required: - driver type: object downwardAPI: + description: downwardAPI represents downward API about + the pod that should populate this volume properties: defaultMode: + description: |- + Optional: mode bits to use on created files by default. Must be a + Optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer items: + description: Items is a list of downward API volume + file items: + description: DownwardAPIVolumeFile represents information + to create the file containing the pod field properties: fieldRef: + description: 'Required: Selects a field of the + pod: only annotations, labels, name, namespace + and uid are supported.' properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select + in the specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic mode: + description: |- + Optional: mode bits used to set permissions on this file, must be an octal value + between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + 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 resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. properties: containerName: + description: 'Container name: required for + volumes, optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format + of the exposed resources, defaults to + "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource @@ -22983,21 +35981,87 @@ spec: x-kubernetes-list-type: atomic type: object emptyDir: + description: |- + emptyDir represents a temporary directory that shares a pod's lifetime. + More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir properties: medium: + description: |- + medium represents 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 type: string sizeLimit: anyOf: - type: integer - type: string + description: |- + sizeLimit is the 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: https://kubernetes.io/docs/concepts/storage/volumes#emptydir pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object ephemeral: + description: |- + ephemeral represents a volume that is handled by a cluster storage driver. + The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, + and deleted when the pod is removed. + + Use this if: + a) the volume is only needed while the pod runs, + b) features of normal volumes like restoring from snapshot or capacity + tracking are needed, + c) the storage driver is specified through a storage class, and + d) the storage driver supports dynamic volume provisioning through + a PersistentVolumeClaim (see EphemeralVolumeSource for more + information on the connection between this volume type + and PersistentVolumeClaim). + + Use PersistentVolumeClaim or one of the vendor-specific + APIs for volumes that persist for longer than the lifecycle + of an individual pod. + + Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to + be used that way - see the documentation of the driver for + more information. + + A pod can use both types of ephemeral volumes and + persistent volumes at the same time. properties: volumeClaimTemplate: + description: |- + Will be used to create a stand-alone PVC to provision the volume. + The pod in which this EphemeralVolumeSource is embedded will be the + owner of the PVC, i.e. the PVC will be deleted together with the + pod. The name of the PVC will be `-` where + `` is the name from the `PodSpec.Volumes` array + entry. Pod validation will reject the pod if the concatenated name + is not valid for a PVC (for example, too long). + + An existing PVC with that name that is not owned by the pod + will *not* be used for the pod to avoid using an unrelated + volume by mistake. Starting the pod is then blocked until + the unrelated PVC is removed. If such a pre-created PVC is + meant to be used by the pod, the PVC has to updated with an + owner reference to the pod once the pod exists. Normally + this should not be necessary, but it may be useful when + manually reconstructing a broken cluster. + + This field is read-only and no changes will be made by Kubernetes + to the PVC after it has been created. + + Required, must not be nil. properties: metadata: + description: |- + May contain labels and annotations that will be copied into the PVC + when creating it. No other fields are allowed and will be rejected during + validation. properties: annotations: additionalProperties: @@ -23019,19 +36083,44 @@ spec: type: string type: object spec: + description: |- + The specification for the PersistentVolumeClaim. The entire content is + copied unchanged into the PVC that gets created from this + template. The same fields as in a PersistentVolumeClaim + are also valid here. properties: accessModes: + description: |- + accessModes contains the desired access modes the volume should have. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 items: type: string type: array x-kubernetes-list-type: atomic dataSource: + description: |- + dataSource field can be used to specify either: + * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) + * An existing PVC (PersistentVolumeClaim) + If the provisioner or an external controller can support the specified data source, + it will create a new volume based on the contents of the specified data source. + When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef, + and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified. + If the namespace is specified, then dataSourceRef will not be copied to dataSource. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource + being referenced type: string name: + description: Name is the name of resource + being referenced type: string required: - kind @@ -23039,20 +36128,62 @@ spec: type: object x-kubernetes-map-type: atomic dataSourceRef: + description: |- + dataSourceRef specifies the object from which to populate the volume with data, if a non-empty + volume is desired. This may be any object from a non-empty API group (non + core object) or a PersistentVolumeClaim object. + When this field is specified, volume binding will only succeed if the type of + the specified object matches some installed volume populator or dynamic + provisioner. + This field will replace the functionality of the dataSource field and as such + if both fields are non-empty, they must have the same value. For backwards + compatibility, when namespace isn't specified in dataSourceRef, + both fields (dataSource and dataSourceRef) will be set to the same + value automatically if one of them is empty and the other is non-empty. + When namespace is specified in dataSourceRef, + dataSource isn't set to the same value and must be empty. + There are three important differences between dataSource and dataSourceRef: + * While dataSource only allows two specific types of objects, dataSourceRef + allows any non-core object, as well as PersistentVolumeClaim objects. + * While dataSource ignores disallowed values (dropping them), dataSourceRef + preserves all values, and generates an error if a disallowed value is + specified. + * While dataSource only allows local objects, dataSourceRef allows objects + in any namespaces. + (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. + (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource + being referenced type: string name: + description: Name is the name of resource + being referenced type: string namespace: + description: |- + Namespace is the namespace of resource being referenced + Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. + (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. type: string required: - kind - name type: object resources: + description: |- + resources represents the minimum resources the volume should have. + If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements + that are lower than previous value but must still be higher than capacity recorded in the + status field of the claim. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources properties: limits: additionalProperties: @@ -23061,6 +36192,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -23069,18 +36203,41 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object type: object selector: + description: selector is a label query over + volumes to consider for binding. properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The + requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key + that the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -23094,16 +36251,41 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic storageClassName: + description: |- + storageClassName is the name of the StorageClass required by the claim. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 type: string volumeAttributesClassName: + description: |- + volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. + If specified, the CSI driver will create or update the volume with the attributes defined + in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, + it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass + will be applied to the claim but it's not allowed to reset this field to empty string once it is set. + If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass + will be set by the persistentvolume controller if it exists. + If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be + set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource + exists. + More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ + (Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default). type: string volumeMode: + description: |- + volumeMode defines what type of volume is required by the claim. + Value of Filesystem is implied when not included in claim spec. type: string volumeName: + description: volumeName is the binding reference + to the PersistentVolume backing this claim. type: string type: object required: @@ -23111,41 +36293,84 @@ spec: type: object type: object fc: + description: fc represents a Fibre Channel resource that + is attached to a kubelet's host machine and then exposed + to the pod. properties: fsType: + description: |- + fsType is the 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. type: string lun: + description: 'lun is Optional: FC target lun number' format: int32 type: integer readOnly: + description: |- + readOnly is Optional: Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean targetWWNs: + description: 'targetWWNs is Optional: FC target worldwide + names (WWNs)' items: type: string type: array x-kubernetes-list-type: atomic wwids: + description: |- + wwids Optional: FC volume world wide identifiers (wwids) + Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. items: type: string type: array x-kubernetes-list-type: atomic type: object flexVolume: + description: |- + flexVolume represents a generic volume resource that is + provisioned/attached using an exec based plugin. + Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead. properties: driver: + description: driver is the name of the driver to use + for this volume. type: string fsType: + description: |- + fsType is the 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. type: string options: additionalProperties: type: string + description: 'options is Optional: this field holds + extra command options if any.' type: object readOnly: + description: |- + readOnly is Optional: defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef is 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: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic @@ -23153,98 +36378,238 @@ spec: - driver type: object flocker: + description: |- + flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running. + Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported. properties: datasetName: + description: |- + datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker + should be considered as deprecated type: string datasetUUID: + description: datasetUUID is the UUID of the dataset. + This is unique identifier of a Flocker dataset type: string type: object gcePersistentDisk: + description: |- + gcePersistentDisk represents a GCE Disk resource that is attached to a + kubelet's host machine and then exposed to the pod. + Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree + gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. + More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk properties: fsType: + description: |- + fsType is 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 type: string partition: + description: |- + partition is 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 format: int32 type: integer pdName: + description: |- + pdName is 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 readOnly: + 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: - pdName type: object gitRepo: + 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. properties: directory: + description: |- + directory is the 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. type: string repository: + description: repository is the URL type: string revision: + description: revision is the commit hash for the specified + revision. type: string required: - repository type: object glusterfs: + description: |- + glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. + Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. + More info: https://examples.k8s.io/volumes/glusterfs/README.md properties: endpoints: + description: |- + endpoints is the endpoint name that details Glusterfs topology. + More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod type: string path: + description: |- + path is the Glusterfs volume path. + More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod type: string readOnly: + 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 type: boolean required: - endpoints - path type: object hostPath: + 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 properties: path: + 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 type: string type: + description: |- + type for HostPath Volume + Defaults to "" + More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath type: string required: - path type: object image: + description: |- + image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. + The volume is resolved at pod startup depending on which PullPolicy value is provided: + + - Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. + - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. + - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. + + The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. + A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. + The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. + The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. + The volume will be mounted read-only (ro) and non-executable files (noexec). + Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33. + The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type. properties: pullPolicy: + description: |- + Policy for pulling OCI objects. Possible values are: + Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. + Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. + IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. + Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. type: string reference: + description: |- + Required: Image or artifact reference to be used. + Behaves in the same way as pod.spec.containers[*].image. + Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets. + More info: https://kubernetes.io/docs/concepts/containers/images + This field is optional to allow higher level config management to default or override + container images in workload controllers like Deployments and StatefulSets. type: string type: object iscsi: + 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 properties: chapAuthDiscovery: + description: chapAuthDiscovery defines whether support + iSCSI Discovery CHAP authentication type: boolean chapAuthSession: + description: chapAuthSession defines whether support + iSCSI Session CHAP authentication type: boolean fsType: + description: |- + fsType is the 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 type: string initiatorName: + description: |- + initiatorName is the custom iSCSI Initiator Name. + If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface + : will be created for the connection. type: string iqn: + description: iqn is the target iSCSI Qualified Name. type: string iscsiInterface: default: default + description: |- + iscsiInterface is the interface Name that uses an iSCSI transport. + Defaults to 'default' (tcp). type: string lun: + description: lun represents iSCSI Target Lun number. format: int32 type: integer portals: + description: |- + portals is the 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). items: type: string type: array x-kubernetes-list-type: atomic readOnly: + description: |- + readOnly here will force the ReadOnly setting in VolumeMounts. + Defaults to false. type: boolean secretRef: + description: secretRef is the CHAP Secret for iSCSI + target and initiator authentication properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic targetPortal: + description: |- + targetPortal is 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 required: - iqn @@ -23252,68 +36617,169 @@ spec: - targetPortal type: object name: + description: |- + name of the volume. + Must be a DNS_LABEL and unique within the pod. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string nfs: + 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 properties: path: + description: |- + path that is exported by the NFS server. + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs type: string readOnly: + 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 type: boolean server: + description: |- + server is the hostname or IP address of the NFS server. + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs type: string required: - path - server type: object persistentVolumeClaim: + description: |- + persistentVolumeClaimVolumeSource represents a reference to a + PersistentVolumeClaim in the same namespace. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims properties: claimName: + 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 readOnly: + description: |- + readOnly Will force the ReadOnly setting in VolumeMounts. + Default false. type: boolean required: - claimName type: object photonPersistentDisk: + description: |- + photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. + Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported. properties: fsType: + description: |- + fsType is the 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. type: string pdID: + description: pdID is the ID that identifies Photon + Controller persistent disk type: string required: - pdID type: object portworxVolume: + description: |- + portworxVolume represents a portworx volume attached and mounted on kubelets host machine. + Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type + are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate + is on. properties: fsType: + 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. type: string readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean volumeID: + description: volumeID uniquely identifies a Portworx + volume type: string required: - volumeID type: object projected: + description: projected items for all in one resources + secrets, configmaps, and downward API properties: defaultMode: + description: |- + defaultMode are the mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer sources: + description: |- + sources is the list of volume projections. Each entry in this list + handles one source. items: + description: |- + Projection that may be projected along with other supported volume types. + Exactly one of these fields must be set. properties: clusterTrustBundle: + description: |- + ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field + of ClusterTrustBundle objects in an auto-updating file. + + Alpha, gated by the ClusterTrustBundleProjection feature gate. + + ClusterTrustBundle objects can either be selected by name, or by the + combination of signer name and a label selector. + + Kubelet performs aggressive normalization of the PEM contents written + into the pod filesystem. Esoteric PEM features such as inter-block + comments and block headers are stripped. Certificates are deduplicated. + The ordering of certificates within the file is arbitrary, and Kubelet + may change the order over time. properties: labelSelector: + description: |- + Select all ClusterTrustBundles that match this label selector. Only has + effect if signerName is set. Mutually-exclusive with name. If unset, + interpreted as "match nothing". If set but empty, interpreted as "match + everything". properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The + requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label + key that the selector applies + to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -23327,31 +36793,75 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic name: + description: |- + Select a single ClusterTrustBundle by object name. Mutually-exclusive + with signerName and labelSelector. type: string optional: + description: |- + If true, don't block pod startup if the referenced ClusterTrustBundle(s) + aren't available. If using name, then the named ClusterTrustBundle is + allowed not to exist. If using signerName, then the combination of + signerName and labelSelector is allowed to match zero + ClusterTrustBundles. type: boolean path: + description: Relative path from the volume + root to write the bundle. type: string signerName: + description: |- + Select all ClusterTrustBundles that match this signer name. + Mutually-exclusive with name. The contents of all selected + ClusterTrustBundles will be unified and deduplicated. type: string required: - path type: object configMap: + description: configMap information about the + configMap data to project properties: items: + description: |- + items 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 '..'. items: + description: Maps a string key to a path + within a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + description: |- + path is 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 required: - key @@ -23361,42 +36871,92 @@ spec: x-kubernetes-list-type: atomic name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: optional specify whether the + ConfigMap or its keys must be defined type: boolean type: object x-kubernetes-map-type: atomic downwardAPI: + description: downwardAPI information about the + downwardAPI data to project properties: items: + description: Items is a list of DownwardAPIVolume + file items: + description: DownwardAPIVolumeFile represents + information to create the file containing + the pod field properties: fieldRef: + description: 'Required: Selects a + field of the pod: only annotations, + labels, name, namespace and uid + are supported.' properties: apiVersion: + description: Version of the schema + the FieldPath is written in + terms of, defaults to "v1". type: string fieldPath: + description: Path of the field + to select in the specified API + version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic mode: + description: |- + Optional: mode bits used to set permissions on this file, must be an octal value + between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + 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 resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. properties: containerName: + description: 'Container name: + required for volumes, optional + for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output + format of the exposed resources, + defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource + to select' type: string required: - resource @@ -23409,16 +36969,41 @@ spec: x-kubernetes-list-type: atomic type: object secret: + description: secret information about the secret + data to project properties: items: + description: |- + items 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 '..'. items: + description: Maps a string key to a path + within a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + description: |- + path is 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 required: - key @@ -23428,19 +37013,44 @@ spec: x-kubernetes-list-type: atomic name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: optional field specify whether + the Secret or its key must be defined type: boolean type: object x-kubernetes-map-type: atomic serviceAccountToken: + description: serviceAccountToken is information + about the serviceAccountToken data to project properties: audience: + 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. type: string expirationSeconds: + 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. format: int64 type: integer path: + description: |- + path is the path relative to the mount point of the file to project the + token into. type: string required: - path @@ -23450,84 +37060,183 @@ spec: x-kubernetes-list-type: atomic type: object quobyte: + description: |- + quobyte represents a Quobyte mount on the host that shares a pod's lifetime. + Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported. properties: group: + description: |- + group to map volume access to + Default is no group type: string readOnly: + description: |- + readOnly here will force the Quobyte volume to be mounted with read-only permissions. + Defaults to false. type: boolean registry: + 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 type: string tenant: + description: |- + tenant owning the given Quobyte volume in the Backend + Used with dynamically provisioned Quobyte volumes, value is set by the plugin type: string user: + description: |- + user to map volume access to + Defaults to serivceaccount user type: string volume: + description: volume is a string that references an + already created Quobyte volume by name. type: string required: - registry - volume type: object rbd: + description: |- + rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. + Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. + More info: https://examples.k8s.io/volumes/rbd/README.md properties: fsType: + description: |- + fsType is the 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 type: string image: + description: |- + image is the rados image name. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string keyring: default: /etc/ceph/keyring + 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 type: string monitors: + description: |- + monitors is a collection of Ceph monitors. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it items: type: string type: array x-kubernetes-list-type: atomic pool: default: rbd + description: |- + pool is the rados pool name. + Default is rbd. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string readOnly: + 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 type: boolean secretRef: + 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 properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic user: default: admin + description: |- + user is the rados user name. + Default is admin. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string required: - image - monitors type: object scaleIO: + description: |- + scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. + Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported. properties: fsType: default: xfs + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". + Default is "xfs". type: string gateway: + description: gateway is the host address of the ScaleIO + API Gateway. type: string protectionDomain: + description: protectionDomain is the name of the ScaleIO + Protection Domain for the configured storage. type: string readOnly: + description: |- + readOnly Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef references to the secret for ScaleIO user and other + sensitive information. If this is not provided, Login operation will fail. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic sslEnabled: + description: sslEnabled Flag enable/disable SSL communication + with Gateway, default false type: boolean storageMode: default: ThinProvisioned + description: |- + storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. + Default is ThinProvisioned. type: string storagePool: + description: storagePool is the ScaleIO Storage Pool + associated with the protection domain. type: string system: + description: system is the name of the storage system + as configured in ScaleIO. type: string volumeName: + description: |- + volumeName is the name of a volume already created in the ScaleIO system + that is associated with this volume source. type: string required: - gateway @@ -23535,19 +37244,53 @@ spec: - system type: object secret: + description: |- + secret represents a secret that should populate this volume. + More info: https://kubernetes.io/docs/concepts/storage/volumes#secret properties: defaultMode: + description: |- + defaultMode is Optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values + for mode bits. 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. format: int32 type: integer items: + description: |- + items 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 '..'. items: + description: Maps a string key to a path within + a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + description: |- + path is 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 required: - key @@ -23556,37 +37299,86 @@ spec: type: array x-kubernetes-list-type: atomic optional: + description: optional field specify whether the Secret + or its keys must be defined type: boolean secretName: + description: |- + secretName is the name of the secret in the pod's namespace to use. + More info: https://kubernetes.io/docs/concepts/storage/volumes#secret type: string type: object storageos: + description: |- + storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. + Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. properties: fsType: + description: |- + fsType is the 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. type: string readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef specifies the secret to use for obtaining the StorageOS API + credentials. If not specified, default values will be attempted. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic volumeName: + description: |- + volumeName is the human-readable name of the StorageOS volume. Volume + names are only unique within a namespace. type: string volumeNamespace: + 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. type: string type: object vsphereVolume: + description: |- + vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. + Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type + are redirected to the csi.vsphere.vmware.com CSI driver. properties: fsType: + description: |- + fsType is 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. type: string storagePolicyID: + description: storagePolicyID is the storage Policy + Based Management (SPBM) profile ID associated with + the StoragePolicyName. type: string storagePolicyName: + description: storagePolicyName is the storage Policy + Based Management (SPBM) profile name. type: string volumePath: + description: volumePath is the path that identifies + vSphere volume vmdk type: string required: - volumePath @@ -23596,48 +37388,120 @@ spec: type: object type: array type: object + maxItems: 200 type: array + x-kubernetes-validations: + - message: template must have at most one template type + rule: 'self.all(t, (has(t.container) ? 1 : 0) + (has(t.script) ? + 1 : 0) + (has(t.dag) ? 1 : 0) + (has(t.steps) ? 1 : 0) + (has(t.resource) + ? 1 : 0) + (has(t.suspend) ? 1 : 0) + (has(t.containerSet) ? 1 + : 0) + (has(t.data) ? 1 : 0) + (has(t.http) ? 1 : 0) + (has(t.plugin) + ? 1 : 0) <= 1)' + - message: timeout cannot be applied to steps or dag templates + rule: self.all(t, !(has(t.timeout) && t.timeout != "" && (has(t.steps) + || has(t.dag)))) + - message: activeDeadlineSeconds is only valid for leaf templates + rule: self.all(t, !(has(t.activeDeadlineSeconds) && (has(t.steps) + || has(t.dag)))) tolerations: + description: Tolerations to apply to workflow pods. items: + description: |- + The pod this Toleration is attached to tolerates any taint that matches + the triple using the matching operator . properties: effect: + description: |- + Effect indicates the taint effect to match. Empty means match all taint effects. + When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. type: string key: + description: |- + Key is the taint key that the toleration applies to. Empty means match all taint keys. + If the key is empty, operator must be Exists; this combination means to match all values and all keys. type: string operator: + description: |- + Operator represents a key's relationship to the value. + Valid operators are Exists and Equal. Defaults to Equal. + Exists is equivalent to wildcard for value, so that a pod can + tolerate all taints of a particular category. type: string tolerationSeconds: + description: |- + TolerationSeconds represents the period of time the toleration (which must be + of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, + it is not set, which means tolerate the taint forever (do not evict). Zero and + negative values will be treated as 0 (evict immediately) by the system. format: int64 type: integer value: + description: |- + Value is the taint value the toleration matches to. + If the operator is Exists, the value should be empty, otherwise just a regular string. type: string type: object type: array ttlStrategy: + description: |- + TTLStrategy limits the lifetime of a Workflow that has finished execution depending on if it + Succeeded or Failed. If this struct is set, once the Workflow finishes, it will be + deleted after the time to live expires. If this field is unset, + the controller config map will hold the default values. properties: secondsAfterCompletion: + description: SecondsAfterCompletion is the number of seconds to + live after completion format: int32 type: integer secondsAfterFailure: + description: SecondsAfterFailure is the number of seconds to live + after failure format: int32 type: integer secondsAfterSuccess: + description: SecondsAfterSuccess is the number of seconds to live + after success format: int32 type: integer type: object volumeClaimGC: + description: VolumeClaimGC describes the strategy to use when deleting + volumes from completed workflows properties: strategy: + description: Strategy is the strategy to use. One of "OnWorkflowCompletion", + "OnWorkflowSuccess". Defaults to "OnWorkflowSuccess" type: string type: object volumeClaimTemplates: + description: |- + VolumeClaimTemplates is a list of claims that containers are allowed to reference. + The Workflow controller will create the claims at the beginning of the workflow + and delete the claims upon completion of the workflow items: + description: PersistentVolumeClaim is a user's request for and claim + to a persistent volume 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: + description: |- + Standard object's metadata. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata properties: annotations: additionalProperties: @@ -23659,19 +37523,40 @@ spec: type: string type: object spec: + description: |- + spec defines the desired characteristics of a volume requested by a pod author. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims properties: accessModes: + description: |- + accessModes contains the desired access modes the volume should have. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 items: type: string type: array x-kubernetes-list-type: atomic dataSource: + description: |- + dataSource field can be used to specify either: + * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) + * An existing PVC (PersistentVolumeClaim) + If the provisioner or an external controller can support the specified data source, + it will create a new volume based on the contents of the specified data source. + When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef, + and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified. + If the namespace is specified, then dataSourceRef will not be copied to dataSource. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource being referenced type: string name: + description: Name is the name of resource being referenced type: string required: - kind @@ -23679,20 +37564,60 @@ spec: type: object x-kubernetes-map-type: atomic dataSourceRef: + description: |- + dataSourceRef specifies the object from which to populate the volume with data, if a non-empty + volume is desired. This may be any object from a non-empty API group (non + core object) or a PersistentVolumeClaim object. + When this field is specified, volume binding will only succeed if the type of + the specified object matches some installed volume populator or dynamic + provisioner. + This field will replace the functionality of the dataSource field and as such + if both fields are non-empty, they must have the same value. For backwards + compatibility, when namespace isn't specified in dataSourceRef, + both fields (dataSource and dataSourceRef) will be set to the same + value automatically if one of them is empty and the other is non-empty. + When namespace is specified in dataSourceRef, + dataSource isn't set to the same value and must be empty. + There are three important differences between dataSource and dataSourceRef: + * While dataSource only allows two specific types of objects, dataSourceRef + allows any non-core object, as well as PersistentVolumeClaim objects. + * While dataSource ignores disallowed values (dropping them), dataSourceRef + preserves all values, and generates an error if a disallowed value is + specified. + * While dataSource only allows local objects, dataSourceRef allows objects + in any namespaces. + (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. + (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource being referenced type: string name: + description: Name is the name of resource being referenced type: string namespace: + description: |- + Namespace is the namespace of resource being referenced + Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. + (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. type: string required: - kind - name type: object resources: + description: |- + resources represents the minimum resources the volume should have. + If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements + that are lower than previous value but must still be higher than capacity recorded in the + status field of the claim. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources properties: limits: additionalProperties: @@ -23701,6 +37626,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -23709,18 +37637,40 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object type: object selector: + description: selector is a label query over volumes to consider + for binding. properties: matchExpressions: + description: matchExpressions is a list of label selector + requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the selector + applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -23734,28 +37684,99 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic storageClassName: + description: |- + storageClassName is the name of the StorageClass required by the claim. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 type: string volumeAttributesClassName: + description: |- + volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. + If specified, the CSI driver will create or update the volume with the attributes defined + in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, + it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass + will be applied to the claim but it's not allowed to reset this field to empty string once it is set. + If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass + will be set by the persistentvolume controller if it exists. + If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be + set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource + exists. + More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ + (Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default). type: string volumeMode: + description: |- + volumeMode defines what type of volume is required by the claim. + Value of Filesystem is implied when not included in claim spec. type: string volumeName: + description: volumeName is the binding reference to the + PersistentVolume backing this claim. type: string type: object status: + description: |- + status represents the current information/status of a persistent volume claim. + Read-only. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims properties: accessModes: + description: |- + accessModes contains the actual access modes the volume backing the PVC has. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 items: type: string type: array x-kubernetes-list-type: atomic allocatedResourceStatuses: additionalProperties: + description: |- + When a controller receives persistentvolume claim update with ClaimResourceStatus for a resource + that it does not recognizes, then it should ignore that update and let other controllers + handle it. type: string + description: "allocatedResourceStatuses stores status of + resource being resized for the given PVC.\nKey names follow + standard Kubernetes label syntax. Valid values are either:\n\t* + Un-prefixed keys:\n\t\t- storage - the capacity of the + volume.\n\t* Custom resources must use implementation-defined + prefixed names such as \"example.com/my-custom-resource\"\nApart + from above values - keys that are unprefixed or have kubernetes.io + prefix are considered\nreserved and hence may not be used.\n\nClaimResourceStatus + can be in any of following states:\n\t- ControllerResizeInProgress:\n\t\tState + set when resize controller starts resizing the volume + in control-plane.\n\t- ControllerResizeFailed:\n\t\tState + set when resize has failed in resize controller with a + terminal error.\n\t- NodeResizePending:\n\t\tState set + when resize controller has finished resizing the volume + but further resizing of\n\t\tvolume is needed on the node.\n\t- + NodeResizeInProgress:\n\t\tState set when kubelet starts + resizing the volume.\n\t- NodeResizeFailed:\n\t\tState + set when resizing has failed in kubelet with a terminal + error. Transient errors don't set\n\t\tNodeResizeFailed.\nFor + example: if expanding a PVC for more capacity - this field + can be one of the following states:\n\t- pvc.status.allocatedResourceStatus['storage'] + = \"ControllerResizeInProgress\"\n - pvc.status.allocatedResourceStatus['storage'] + = \"ControllerResizeFailed\"\n - pvc.status.allocatedResourceStatus['storage'] + = \"NodeResizePending\"\n - pvc.status.allocatedResourceStatus['storage'] + = \"NodeResizeInProgress\"\n - pvc.status.allocatedResourceStatus['storage'] + = \"NodeResizeFailed\"\nWhen this field is not set, it + means that no resize operation is in progress for the + given PVC.\n\nA controller that receives PVC update with + previously unknown resourceName or ClaimResourceStatus\nshould + ignore the update for the purpose it was designed. For + example - a controller that\nonly is responsible for resizing + capacity of the volume, should ignore PVC updates that + change other valid\nresources associated with PVC.\n\nThis + is an alpha field and requires enabling RecoverVolumeExpansionFailure + feature." type: object x-kubernetes-map-type: granular allocatedResources: @@ -23765,6 +37786,30 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: "allocatedResources tracks the resources allocated + to a PVC including its capacity.\nKey names follow standard + Kubernetes label syntax. Valid values are either:\n\t* + Un-prefixed keys:\n\t\t- storage - the capacity of the + volume.\n\t* Custom resources must use implementation-defined + prefixed names such as \"example.com/my-custom-resource\"\nApart + from above values - keys that are unprefixed or have kubernetes.io + prefix are considered\nreserved and hence may not be used.\n\nCapacity + reported here may be larger than the actual capacity when + a volume expansion operation\nis requested.\nFor storage + quota, the larger value from allocatedResources and PVC.spec.resources + is used.\nIf allocatedResources is not set, PVC.spec.resources + alone is used for quota calculation.\nIf a volume expansion + capacity request is lowered, allocatedResources is only\nlowered + if there are no expansion operations in progress and if + the actual volume capacity\nis equal or lower than the + requested capacity.\n\nA controller that receives PVC + update with previously unknown resourceName\nshould ignore + the update for the purpose it was designed. For example + - a controller that\nonly is responsible for resizing + capacity of the volume, should ignore PVC updates that + change other valid\nresources associated with PVC.\n\nThis + is an alpha field and requires enabling RecoverVolumeExpansionFailure + feature." type: object capacity: additionalProperties: @@ -23773,23 +37818,47 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: capacity represents the actual resources of + the underlying volume. type: object conditions: + description: |- + conditions is the current Condition of persistent volume claim. If underlying persistent volume is being + resized then the Condition will be set to 'Resizing'. items: + description: PersistentVolumeClaimCondition contains details + about state of pvc properties: lastProbeTime: + description: lastProbeTime is the time we probed the + condition. format: date-time type: string lastTransitionTime: + description: lastTransitionTime is the time the condition + transitioned from one status to another. format: date-time type: string message: + description: message is the human-readable message + indicating details about last transition. type: string reason: + description: |- + reason is a unique, this should be a short, machine understandable string that gives the reason + for condition's last transition. If it reports "Resizing" that means the underlying + persistent volume is being resized. type: string status: + description: |- + Status is the status of the condition. + Can be True, False, Unknown. + More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=state%20of%20pvc-,conditions.status,-(string)%2C%20required type: string type: + description: |- + Type is the type of the condition. + More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=set%20to%20%27ResizeStarted%27.-,PersistentVolumeClaimCondition,-contains%20details%20about type: string required: - status @@ -23800,127 +37869,293 @@ spec: - type x-kubernetes-list-type: map currentVolumeAttributesClassName: + description: |- + currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. + When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim + This is a beta field and requires enabling VolumeAttributesClass feature (off by default). type: string modifyVolumeStatus: + description: |- + ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. + When this is unset, there is no ModifyVolume operation being attempted. + This is a beta field and requires enabling VolumeAttributesClass feature (off by default). properties: status: + description: "status is the status of the ControllerModifyVolume + operation. It can be in any of following states:\n + - Pending\n Pending indicates that the PersistentVolumeClaim + cannot be modified due to unmet requirements, such + as\n the specified VolumeAttributesClass not existing.\n + - InProgress\n InProgress indicates that the volume + is being modified.\n - Infeasible\n Infeasible indicates + that the request has been rejected as invalid by the + CSI driver. To\n\t resolve the error, a valid VolumeAttributesClass + needs to be specified.\nNote: New statuses can be + added in the future. Consumers should check for unknown + statuses and fail appropriately." type: string targetVolumeAttributesClassName: + description: targetVolumeAttributesClassName is the + name of the VolumeAttributesClass the PVC currently + being reconciled type: string required: - status type: object phase: + description: phase represents the current phase of PersistentVolumeClaim. type: string type: object type: object type: array volumes: + description: Volumes is a list of volumes that can be mounted by containers + in a workflow. items: + description: Volume represents a named volume in a pod that may + be accessed by any container in the pod. properties: awsElasticBlockStore: + description: |- + awsElasticBlockStore represents an AWS Disk resource that is attached to a + kubelet's host machine and then exposed to the pod. + Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree + awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore properties: fsType: + description: |- + fsType is the 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#awselasticblockstore type: string partition: + description: |- + partition is 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). format: int32 type: integer readOnly: + description: |- + readOnly value true will force the readOnly setting in VolumeMounts. + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore type: boolean volumeID: + description: |- + volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore type: string required: - volumeID type: object azureDisk: + description: |- + azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. + Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type + are redirected to the disk.csi.azure.com CSI driver. properties: cachingMode: + description: 'cachingMode is the Host Caching mode: None, + Read Only, Read Write.' type: string diskName: + description: diskName is the Name of the data disk in the + blob storage type: string diskURI: + description: diskURI is the URI of data disk in the blob + storage type: string fsType: default: ext4 + description: |- + fsType is 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. type: string kind: + description: 'kind expected values are Shared: multiple + blob disks per storage account Dedicated: single blob + disk per storage account Managed: azure managed data + disk (only in managed availability set). defaults to shared' type: string readOnly: default: false + description: |- + readOnly Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean required: - diskName - diskURI type: object azureFile: + description: |- + azureFile represents an Azure File Service mount on the host and bind mount to the pod. + Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type + are redirected to the file.csi.azure.com CSI driver. properties: readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretName: + description: secretName is the name of secret that contains + Azure Storage Account Name and Key type: string shareName: + description: shareName is the azure share Name type: string required: - secretName - shareName type: object cephfs: + description: |- + cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. + Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported. properties: monitors: + description: |- + monitors is Required: Monitors is a collection of Ceph monitors + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it items: type: string type: array x-kubernetes-list-type: atomic path: + description: 'path is Optional: Used as the mounted root, + rather than the full Ceph tree, default is /' type: string readOnly: + description: |- + readOnly is 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 type: boolean secretFile: + description: |- + secretFile is 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 type: string secretRef: + description: |- + secretRef is 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 properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic user: + description: |- + user is optional: User is the rados user name, default is admin + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it type: string required: - monitors type: object cinder: + description: |- + cinder represents a cinder volume attached and mounted on kubelets host machine. + Deprecated: Cinder is deprecated. All operations for the in-tree cinder type + are redirected to the cinder.csi.openstack.org CSI driver. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md properties: fsType: + description: |- + fsType is the 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 type: string readOnly: + description: |- + readOnly 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 type: boolean secretRef: + description: |- + secretRef is optional: points to a secret object containing parameters used to connect + to OpenStack. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic volumeID: + description: |- + volumeID used to identify the volume in cinder. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md type: string required: - volumeID type: object configMap: + description: configMap represents a configMap that should populate + this volume properties: defaultMode: + description: |- + defaultMode is optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer items: + description: |- + items 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 '..'. items: + description: Maps a string key to a path within a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + description: |- + path is 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 required: - key @@ -23930,67 +38165,143 @@ spec: x-kubernetes-list-type: atomic name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: optional specify whether the ConfigMap or its + keys must be defined type: boolean type: object x-kubernetes-map-type: atomic csi: + description: csi (Container Storage Interface) represents ephemeral + storage that is handled by certain external CSI drivers. properties: driver: + 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. type: string fsType: + description: |- + fsType 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. type: string nodePublishSecretRef: + 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. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic readOnly: + description: |- + readOnly specifies a read-only configuration for the volume. + Defaults to false (read/write). type: boolean volumeAttributes: additionalProperties: type: string + description: |- + volumeAttributes stores driver-specific properties that are passed to the CSI + driver. Consult your driver's documentation for supported values. type: object required: - driver type: object downwardAPI: + description: downwardAPI represents downward API about the pod + that should populate this volume properties: defaultMode: + description: |- + Optional: mode bits to use on created files by default. Must be a + Optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer items: + description: Items is a list of downward API volume file items: + description: DownwardAPIVolumeFile represents information + to create the file containing the pod field properties: fieldRef: + description: 'Required: Selects a field of the pod: + only annotations, labels, name, namespace and uid + are supported.' properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the + specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic mode: + description: |- + Optional: mode bits used to set permissions on this file, must be an octal value + between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + 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 resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the + exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource @@ -24003,21 +38314,87 @@ spec: x-kubernetes-list-type: atomic type: object emptyDir: + description: |- + emptyDir represents a temporary directory that shares a pod's lifetime. + More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir properties: medium: + description: |- + medium represents 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 type: string sizeLimit: anyOf: - type: integer - type: string + description: |- + sizeLimit is the 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: https://kubernetes.io/docs/concepts/storage/volumes#emptydir pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object ephemeral: + description: |- + ephemeral represents a volume that is handled by a cluster storage driver. + The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, + and deleted when the pod is removed. + + Use this if: + a) the volume is only needed while the pod runs, + b) features of normal volumes like restoring from snapshot or capacity + tracking are needed, + c) the storage driver is specified through a storage class, and + d) the storage driver supports dynamic volume provisioning through + a PersistentVolumeClaim (see EphemeralVolumeSource for more + information on the connection between this volume type + and PersistentVolumeClaim). + + Use PersistentVolumeClaim or one of the vendor-specific + APIs for volumes that persist for longer than the lifecycle + of an individual pod. + + Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to + be used that way - see the documentation of the driver for + more information. + + A pod can use both types of ephemeral volumes and + persistent volumes at the same time. properties: volumeClaimTemplate: + description: |- + Will be used to create a stand-alone PVC to provision the volume. + The pod in which this EphemeralVolumeSource is embedded will be the + owner of the PVC, i.e. the PVC will be deleted together with the + pod. The name of the PVC will be `-` where + `` is the name from the `PodSpec.Volumes` array + entry. Pod validation will reject the pod if the concatenated name + is not valid for a PVC (for example, too long). + + An existing PVC with that name that is not owned by the pod + will *not* be used for the pod to avoid using an unrelated + volume by mistake. Starting the pod is then blocked until + the unrelated PVC is removed. If such a pre-created PVC is + meant to be used by the pod, the PVC has to updated with an + owner reference to the pod once the pod exists. Normally + this should not be necessary, but it may be useful when + manually reconstructing a broken cluster. + + This field is read-only and no changes will be made by Kubernetes + to the PVC after it has been created. + + Required, must not be nil. properties: metadata: + description: |- + May contain labels and annotations that will be copied into the PVC + when creating it. No other fields are allowed and will be rejected during + validation. properties: annotations: additionalProperties: @@ -24039,19 +38416,44 @@ spec: type: string type: object spec: + description: |- + The specification for the PersistentVolumeClaim. The entire content is + copied unchanged into the PVC that gets created from this + template. The same fields as in a PersistentVolumeClaim + are also valid here. properties: accessModes: + description: |- + accessModes contains the desired access modes the volume should have. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 items: type: string type: array x-kubernetes-list-type: atomic dataSource: + description: |- + dataSource field can be used to specify either: + * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) + * An existing PVC (PersistentVolumeClaim) + If the provisioner or an external controller can support the specified data source, + it will create a new volume based on the contents of the specified data source. + When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef, + and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified. + If the namespace is specified, then dataSourceRef will not be copied to dataSource. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource being + referenced type: string name: + description: Name is the name of resource being + referenced type: string required: - kind @@ -24059,20 +38461,62 @@ spec: type: object x-kubernetes-map-type: atomic dataSourceRef: + description: |- + dataSourceRef specifies the object from which to populate the volume with data, if a non-empty + volume is desired. This may be any object from a non-empty API group (non + core object) or a PersistentVolumeClaim object. + When this field is specified, volume binding will only succeed if the type of + the specified object matches some installed volume populator or dynamic + provisioner. + This field will replace the functionality of the dataSource field and as such + if both fields are non-empty, they must have the same value. For backwards + compatibility, when namespace isn't specified in dataSourceRef, + both fields (dataSource and dataSourceRef) will be set to the same + value automatically if one of them is empty and the other is non-empty. + When namespace is specified in dataSourceRef, + dataSource isn't set to the same value and must be empty. + There are three important differences between dataSource and dataSourceRef: + * While dataSource only allows two specific types of objects, dataSourceRef + allows any non-core object, as well as PersistentVolumeClaim objects. + * While dataSource ignores disallowed values (dropping them), dataSourceRef + preserves all values, and generates an error if a disallowed value is + specified. + * While dataSource only allows local objects, dataSourceRef allows objects + in any namespaces. + (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. + (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource being + referenced type: string name: + description: Name is the name of resource being + referenced type: string namespace: + description: |- + Namespace is the namespace of resource being referenced + Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. + (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. type: string required: - kind - name type: object resources: + description: |- + resources represents the minimum resources the volume should have. + If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements + that are lower than previous value but must still be higher than capacity recorded in the + status field of the claim. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources properties: limits: additionalProperties: @@ -24081,6 +38525,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -24089,18 +38536,41 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object type: object selector: + description: selector is a label query over volumes + to consider for binding. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -24114,16 +38584,41 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic storageClassName: + description: |- + storageClassName is the name of the StorageClass required by the claim. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 type: string volumeAttributesClassName: + description: |- + volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. + If specified, the CSI driver will create or update the volume with the attributes defined + in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, + it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass + will be applied to the claim but it's not allowed to reset this field to empty string once it is set. + If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass + will be set by the persistentvolume controller if it exists. + If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be + set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource + exists. + More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ + (Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default). type: string volumeMode: + description: |- + volumeMode defines what type of volume is required by the claim. + Value of Filesystem is implied when not included in claim spec. type: string volumeName: + description: volumeName is the binding reference + to the PersistentVolume backing this claim. type: string type: object required: @@ -24131,41 +38626,84 @@ spec: type: object type: object fc: + description: fc represents a Fibre Channel resource that is + attached to a kubelet's host machine and then exposed to the + pod. properties: fsType: + description: |- + fsType is the 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. type: string lun: + description: 'lun is Optional: FC target lun number' format: int32 type: integer readOnly: + description: |- + readOnly is Optional: Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean targetWWNs: + description: 'targetWWNs is Optional: FC target worldwide + names (WWNs)' items: type: string type: array x-kubernetes-list-type: atomic wwids: + description: |- + wwids Optional: FC volume world wide identifiers (wwids) + Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. items: type: string type: array x-kubernetes-list-type: atomic type: object flexVolume: + description: |- + flexVolume represents a generic volume resource that is + provisioned/attached using an exec based plugin. + Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead. properties: driver: + description: driver is the name of the driver to use for + this volume. type: string fsType: + description: |- + fsType is the 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. type: string options: additionalProperties: type: string + description: 'options is Optional: this field holds extra + command options if any.' type: object readOnly: + description: |- + readOnly is Optional: defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef is 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: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic @@ -24173,98 +38711,238 @@ spec: - driver type: object flocker: + description: |- + flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running. + Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported. properties: datasetName: + description: |- + datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker + should be considered as deprecated type: string datasetUUID: + description: datasetUUID is the UUID of the dataset. This + is unique identifier of a Flocker dataset type: string type: object gcePersistentDisk: + description: |- + gcePersistentDisk represents a GCE Disk resource that is attached to a + kubelet's host machine and then exposed to the pod. + Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree + gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. + More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk properties: fsType: + description: |- + fsType is 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 type: string partition: + description: |- + partition is 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 format: int32 type: integer pdName: + description: |- + pdName is 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 readOnly: + 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: - pdName type: object gitRepo: + 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. properties: directory: + description: |- + directory is the 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. type: string repository: + description: repository is the URL type: string revision: + description: revision is the commit hash for the specified + revision. type: string required: - repository type: object glusterfs: + description: |- + glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. + Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. + More info: https://examples.k8s.io/volumes/glusterfs/README.md properties: endpoints: + description: |- + endpoints is the endpoint name that details Glusterfs topology. + More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod type: string path: + description: |- + path is the Glusterfs volume path. + More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod type: string readOnly: + 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 type: boolean required: - endpoints - path type: object hostPath: + 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 properties: path: + 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 type: string type: + description: |- + type for HostPath Volume + Defaults to "" + More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath type: string required: - path type: object image: + description: |- + image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. + The volume is resolved at pod startup depending on which PullPolicy value is provided: + + - Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. + - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. + - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. + + The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. + A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. + The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. + The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. + The volume will be mounted read-only (ro) and non-executable files (noexec). + Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33. + The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type. properties: pullPolicy: + description: |- + Policy for pulling OCI objects. Possible values are: + Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. + Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. + IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. + Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. type: string reference: + description: |- + Required: Image or artifact reference to be used. + Behaves in the same way as pod.spec.containers[*].image. + Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets. + More info: https://kubernetes.io/docs/concepts/containers/images + This field is optional to allow higher level config management to default or override + container images in workload controllers like Deployments and StatefulSets. type: string type: object iscsi: + 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 properties: chapAuthDiscovery: + description: chapAuthDiscovery defines whether support iSCSI + Discovery CHAP authentication type: boolean chapAuthSession: + description: chapAuthSession defines whether support iSCSI + Session CHAP authentication type: boolean fsType: + description: |- + fsType is the 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 type: string initiatorName: + description: |- + initiatorName is the custom iSCSI Initiator Name. + If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface + : will be created for the connection. type: string iqn: + description: iqn is the target iSCSI Qualified Name. type: string iscsiInterface: default: default + description: |- + iscsiInterface is the interface Name that uses an iSCSI transport. + Defaults to 'default' (tcp). type: string lun: + description: lun represents iSCSI Target Lun number. format: int32 type: integer portals: + description: |- + portals is the 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). items: type: string type: array x-kubernetes-list-type: atomic readOnly: + description: |- + readOnly here will force the ReadOnly setting in VolumeMounts. + Defaults to false. type: boolean secretRef: + description: secretRef is the CHAP Secret for iSCSI target + and initiator authentication properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic targetPortal: + description: |- + targetPortal is 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 required: - iqn @@ -24272,68 +38950,167 @@ spec: - targetPortal type: object name: + description: |- + name of the volume. + Must be a DNS_LABEL and unique within the pod. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string nfs: + 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 properties: path: + description: |- + path that is exported by the NFS server. + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs type: string readOnly: + 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 type: boolean server: + description: |- + server is the hostname or IP address of the NFS server. + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs type: string required: - path - server type: object persistentVolumeClaim: + description: |- + persistentVolumeClaimVolumeSource represents a reference to a + PersistentVolumeClaim in the same namespace. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims properties: claimName: + 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 readOnly: + description: |- + readOnly Will force the ReadOnly setting in VolumeMounts. + Default false. type: boolean required: - claimName type: object photonPersistentDisk: + description: |- + photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. + Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported. properties: fsType: + description: |- + fsType is the 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. type: string pdID: + description: pdID is the ID that identifies Photon Controller + persistent disk type: string required: - pdID type: object portworxVolume: + description: |- + portworxVolume represents a portworx volume attached and mounted on kubelets host machine. + Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type + are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate + is on. properties: fsType: + 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. type: string readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean volumeID: + description: volumeID uniquely identifies a Portworx volume type: string required: - volumeID type: object projected: + description: projected items for all in one resources secrets, + configmaps, and downward API properties: defaultMode: + description: |- + defaultMode are the mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer sources: + description: |- + sources is the list of volume projections. Each entry in this list + handles one source. items: + description: |- + Projection that may be projected along with other supported volume types. + Exactly one of these fields must be set. properties: clusterTrustBundle: + description: |- + ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field + of ClusterTrustBundle objects in an auto-updating file. + + Alpha, gated by the ClusterTrustBundleProjection feature gate. + + ClusterTrustBundle objects can either be selected by name, or by the + combination of signer name and a label selector. + + Kubelet performs aggressive normalization of the PEM contents written + into the pod filesystem. Esoteric PEM features such as inter-block + comments and block headers are stripped. Certificates are deduplicated. + The ordering of certificates within the file is arbitrary, and Kubelet + may change the order over time. properties: labelSelector: + description: |- + Select all ClusterTrustBundles that match this label selector. Only has + effect if signerName is set. Mutually-exclusive with name. If unset, + interpreted as "match nothing". If set but empty, interpreted as "match + everything". properties: matchExpressions: + description: matchExpressions is a list of + label selector requirements. The requirements + are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -24347,31 +39124,75 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic name: + description: |- + Select a single ClusterTrustBundle by object name. Mutually-exclusive + with signerName and labelSelector. type: string optional: + description: |- + If true, don't block pod startup if the referenced ClusterTrustBundle(s) + aren't available. If using name, then the named ClusterTrustBundle is + allowed not to exist. If using signerName, then the combination of + signerName and labelSelector is allowed to match zero + ClusterTrustBundles. type: boolean path: + description: Relative path from the volume root + to write the bundle. type: string signerName: + description: |- + Select all ClusterTrustBundles that match this signer name. + Mutually-exclusive with name. The contents of all selected + ClusterTrustBundles will be unified and deduplicated. type: string required: - path type: object configMap: + description: configMap information about the configMap + data to project properties: items: + description: |- + items 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 '..'. items: + description: Maps a string key to a path within + a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + description: |- + path is 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 required: - key @@ -24381,42 +39202,88 @@ spec: x-kubernetes-list-type: atomic name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: optional specify whether the ConfigMap + or its keys must be defined type: boolean type: object x-kubernetes-map-type: atomic downwardAPI: + description: downwardAPI information about the downwardAPI + data to project properties: items: + description: Items is a list of DownwardAPIVolume + file items: + description: DownwardAPIVolumeFile represents + information to create the file containing + the pod field properties: fieldRef: + description: 'Required: Selects a field + of the pod: only annotations, labels, + name, namespace and uid are supported.' properties: apiVersion: + description: Version of the schema the + FieldPath is written in terms of, + defaults to "v1". type: string fieldPath: + description: Path of the field to select + in the specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic mode: + description: |- + Optional: mode bits used to set permissions on this file, must be an octal value + between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + 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 resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. properties: containerName: + description: 'Container name: required + for volumes, optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format + of the exposed resources, defaults + to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to + select' type: string required: - resource @@ -24429,16 +39296,41 @@ spec: x-kubernetes-list-type: atomic type: object secret: + description: secret information about the secret data + to project properties: items: + description: |- + items 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 '..'. items: + description: Maps a string key to a path within + a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + description: |- + path is 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 required: - key @@ -24448,19 +39340,44 @@ spec: x-kubernetes-list-type: atomic name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: optional field specify whether the + Secret or its key must be defined type: boolean type: object x-kubernetes-map-type: atomic serviceAccountToken: + description: serviceAccountToken is information about + the serviceAccountToken data to project properties: audience: + 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. type: string expirationSeconds: + 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. format: int64 type: integer path: + description: |- + path is the path relative to the mount point of the file to project the + token into. type: string required: - path @@ -24470,84 +39387,183 @@ spec: x-kubernetes-list-type: atomic type: object quobyte: + description: |- + quobyte represents a Quobyte mount on the host that shares a pod's lifetime. + Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported. properties: group: + description: |- + group to map volume access to + Default is no group type: string readOnly: + description: |- + readOnly here will force the Quobyte volume to be mounted with read-only permissions. + Defaults to false. type: boolean registry: + 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 type: string tenant: + description: |- + tenant owning the given Quobyte volume in the Backend + Used with dynamically provisioned Quobyte volumes, value is set by the plugin type: string user: + description: |- + user to map volume access to + Defaults to serivceaccount user type: string volume: + description: volume is a string that references an already + created Quobyte volume by name. type: string required: - registry - volume type: object rbd: + description: |- + rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. + Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. + More info: https://examples.k8s.io/volumes/rbd/README.md properties: fsType: + description: |- + fsType is the 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 type: string image: + description: |- + image is the rados image name. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string keyring: default: /etc/ceph/keyring + 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 type: string monitors: + description: |- + monitors is a collection of Ceph monitors. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it items: type: string type: array x-kubernetes-list-type: atomic pool: default: rbd + description: |- + pool is the rados pool name. + Default is rbd. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string readOnly: + 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 type: boolean secretRef: + 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 properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic user: default: admin + description: |- + user is the rados user name. + Default is admin. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string required: - image - monitors type: object scaleIO: + description: |- + scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. + Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported. properties: fsType: default: xfs + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". + Default is "xfs". type: string gateway: + description: gateway is the host address of the ScaleIO + API Gateway. type: string protectionDomain: + description: protectionDomain is the name of the ScaleIO + Protection Domain for the configured storage. type: string readOnly: + description: |- + readOnly Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef references to the secret for ScaleIO user and other + sensitive information. If this is not provided, Login operation will fail. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic sslEnabled: + description: sslEnabled Flag enable/disable SSL communication + with Gateway, default false type: boolean storageMode: default: ThinProvisioned + description: |- + storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. + Default is ThinProvisioned. type: string storagePool: + description: storagePool is the ScaleIO Storage Pool associated + with the protection domain. type: string system: + description: system is the name of the storage system as + configured in ScaleIO. type: string volumeName: + description: |- + volumeName is the name of a volume already created in the ScaleIO system + that is associated with this volume source. type: string required: - gateway @@ -24555,19 +39571,52 @@ spec: - system type: object secret: + description: |- + secret represents a secret that should populate this volume. + More info: https://kubernetes.io/docs/concepts/storage/volumes#secret properties: defaultMode: + description: |- + defaultMode is Optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values + for mode bits. 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. format: int32 type: integer items: + description: |- + items 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 '..'. items: + description: Maps a string key to a path within a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + description: |- + path is 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 required: - key @@ -24576,37 +39625,85 @@ spec: type: array x-kubernetes-list-type: atomic optional: + description: optional field specify whether the Secret or + its keys must be defined type: boolean secretName: + description: |- + secretName is the name of the secret in the pod's namespace to use. + More info: https://kubernetes.io/docs/concepts/storage/volumes#secret type: string type: object storageos: + description: |- + storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. + Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. properties: fsType: + description: |- + fsType is the 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. type: string readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef specifies the secret to use for obtaining the StorageOS API + credentials. If not specified, default values will be attempted. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic volumeName: + description: |- + volumeName is the human-readable name of the StorageOS volume. Volume + names are only unique within a namespace. type: string volumeNamespace: + 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. type: string type: object vsphereVolume: + description: |- + vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. + Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type + are redirected to the csi.vsphere.vmware.com CSI driver. properties: fsType: + description: |- + fsType is 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. type: string storagePolicyID: + description: storagePolicyID is the storage Policy Based + Management (SPBM) profile ID associated with the StoragePolicyName. type: string storagePolicyName: + description: storagePolicyName is the storage Policy Based + Management (SPBM) profile name. type: string volumePath: + description: volumePath is the path that identifies vSphere + volume vmdk type: string required: - volumePath @@ -24616,6 +39713,8 @@ spec: type: object type: array workflowMetadata: + description: WorkflowMetadata contains some metadata of the workflow + to refer to properties: annotations: additionalProperties: @@ -24636,10 +39735,15 @@ spec: type: object type: object workflowTemplateRef: + description: WorkflowTemplateRef holds a reference to a WorkflowTemplate + for execution properties: clusterScope: + description: ClusterScope indicates the referred template is cluster + scoped (i.e. a ClusterWorkflowTemplate). type: boolean name: + description: Name is the resource name of the workflow template. type: string type: object type: object diff --git a/charts/argo-workflows/files/crds/full/argoproj.io_cronworkflows.yaml b/charts/argo-workflows/files/crds/full/argoproj.io_cronworkflows.yaml index 1419a0f64..6cabaa1ec 100644 --- a/charts/argo-workflows/files/crds/full/argoproj.io_cronworkflows.yaml +++ b/charts/argo-workflows/files/crds/full/argoproj.io_cronworkflows.yaml @@ -19,46 +19,89 @@ spec: - name: v1alpha1 schema: openAPIV3Schema: + description: CronWorkflow is the definition of a scheduled workflow resource 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: CronWorkflowSpec is the specification of a CronWorkflow properties: concurrencyPolicy: + description: ConcurrencyPolicy is the K8s-style concurrency policy + that will be used + enum: + - Allow + - Forbid + - Replace type: string failedJobsHistoryLimit: + description: FailedJobsHistoryLimit is the number of failed jobs to + be kept at a time format: int32 type: integer - schedule: - type: string schedules: + description: 'v3.6 and after: Schedules is a list of schedules to + run the Workflow in Cron format' items: + pattern: ^(@(yearly|annually|monthly|weekly|daily|midnight|hourly)|@every\s+([0-9]+(ns|us|µs|ms|s|m|h))+|([0-9*,/?-]+\s+){4}[0-9*,/?-]+)$ type: string + minItems: 1 type: array startingDeadlineSeconds: + description: |- + StartingDeadlineSeconds is the K8s-style deadline that will limit the time a CronWorkflow will be run after its + original scheduled time if it is missed. format: int64 + minimum: 0 type: integer stopStrategy: + description: 'v3.6 and after: StopStrategy defines if the CronWorkflow + should stop scheduling based on a condition' properties: expression: + description: |- + v3.6 and after: Expression is an expression that stops scheduling workflows when true. Use the variables + `cronworkflow`.`failed` or `cronworkflow`.`succeeded` to access the number of failed or successful child workflows. type: string required: - expression type: object successfulJobsHistoryLimit: + description: SuccessfulJobsHistoryLimit is the number of successful + jobs to be kept at a time format: int32 type: integer suspend: + description: Suspend is a flag that will stop new CronWorkflows from + running if set to true type: boolean timezone: + description: Timezone is the timezone against which the cron schedule + will be calculated, e.g. "Asia/Tokyo". Default is machine's local + time. type: string when: + description: 'v3.6 and after: When is an expression that determines + if a run should be scheduled.' type: string workflowMetadata: + description: WorkflowMetadata contains some metadata of the workflow + to be run properties: annotations: additionalProperties: @@ -80,27 +123,68 @@ spec: type: string type: object workflowSpec: + description: WorkflowSpec is the spec of the workflow to be run properties: activeDeadlineSeconds: + description: |- + Optional duration in seconds relative to the workflow start time which the workflow is + allowed to run before the controller terminates the workflow. A value of zero is used to + terminate a Running workflow format: int64 type: integer affinity: + description: |- + Affinity sets the scheduling constraints for all pods in the workflow. + Can be overridden by an affinity specified in the template properties: nodeAffinity: + description: Describes node affinity scheduling rules for + the pod. properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. The node that is + most preferred is the one with the greatest sum of weights, i.e. + for each node that meets all of the scheduling requirements (resource + request, requiredDuringScheduling affinity expressions, etc.), + compute a sum by iterating through the elements of this field and adding + "weight" to the sum if the node matches the corresponding matchExpressions; the + node(s) with the highest sum are the most preferred. items: + description: |- + An empty preferred scheduling term matches all objects with implicit weight 0 + (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). properties: preference: + description: A node selector term, associated with + the corresponding weight. properties: matchExpressions: + description: A list of node selector requirements + by node's labels. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. items: type: string type: array @@ -112,13 +196,29 @@ spec: type: array x-kubernetes-list-type: atomic matchFields: + description: A list of node selector requirements + by node's fields. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. items: type: string type: array @@ -132,6 +232,8 @@ spec: type: object x-kubernetes-map-type: atomic weight: + description: Weight associated with matching the + corresponding nodeSelectorTerm, in the range 1-100. format: int32 type: integer required: @@ -141,18 +243,46 @@ spec: type: array x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. + If the affinity requirements specified by this field cease to be met + at some point during pod execution (e.g. due to an update), the system + may or may not try to eventually evict the pod from its node. properties: nodeSelectorTerms: + description: Required. A list of node selector terms. + The terms are ORed. items: + description: |- + A null or empty node selector term matches no objects. The requirements of + them are ANDed. + The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. properties: matchExpressions: + description: A list of node selector requirements + by node's labels. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. items: type: string type: array @@ -164,13 +294,29 @@ spec: type: array x-kubernetes-list-type: atomic matchFields: + description: A list of node selector requirements + by node's fields. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. items: type: string type: array @@ -191,22 +337,59 @@ spec: x-kubernetes-map-type: atomic type: object podAffinity: + description: Describes pod affinity scheduling rules (e.g. + co-locate this pod in the same node, zone, etc. as some + other pod(s)). properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. The node that is + most preferred is the one with the greatest sum of weights, i.e. + for each node that meets all of the scheduling requirements (resource + request, requiredDuringScheduling affinity expressions, etc.), + compute a sum by iterating through the elements of this field and adding + "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the + node(s) with the highest sum are the most preferred. items: + description: The weights of all of the matched WeightedPodAffinityTerm + fields are added per-node to find the most preferred + node(s) properties: podAffinityTerm: + description: Required. A pod affinity term, associated + with the corresponding weight. properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The requirements + are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key + that the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -220,29 +403,73 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The requirements + are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key + that the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -256,20 +483,38 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". items: type: string type: array x-kubernetes-list-type: atomic topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. type: string required: - topologyKey type: object weight: + description: |- + weight associated with matching the corresponding podAffinityTerm, + in the range 1-100. format: int32 type: integer required: @@ -279,18 +524,52 @@ spec: type: array x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. + If the affinity requirements specified by this field cease to be met + at some point during pod execution (e.g. due to a pod label update), the + system may or may not try to eventually evict the pod from its node. + When there are multiple elements, the lists of nodes corresponding to each + podAffinityTerm are intersected, i.e. all terms must be satisfied. items: + description: |- + Defines a set of pods (namely those matching the labelSelector + relative to the given namespace(s)) that this pod should be + co-located (affinity) or not co-located (anti-affinity) with, + where co-located is defined as running on a node whose value of + the label with key matches that of any node on which + a pod of the set of pods is running properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -304,29 +583,73 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -340,15 +663,30 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". items: type: string type: array x-kubernetes-list-type: atomic topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. type: string required: - topologyKey @@ -357,22 +695,59 @@ spec: x-kubernetes-list-type: atomic type: object podAntiAffinity: + description: Describes pod anti-affinity scheduling rules + (e.g. avoid putting this pod in the same node, zone, etc. + as some other pod(s)). properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the anti-affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. The node that is + most preferred is the one with the greatest sum of weights, i.e. + for each node that meets all of the scheduling requirements (resource + request, requiredDuringScheduling anti-affinity expressions, etc.), + compute a sum by iterating through the elements of this field and adding + "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the + node(s) with the highest sum are the most preferred. items: + description: The weights of all of the matched WeightedPodAffinityTerm + fields are added per-node to find the most preferred + node(s) properties: podAffinityTerm: + description: Required. A pod affinity term, associated + with the corresponding weight. properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The requirements + are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key + that the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -386,29 +761,73 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The requirements + are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key + that the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -422,20 +841,38 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". items: type: string type: array x-kubernetes-list-type: atomic topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. type: string required: - topologyKey type: object weight: + description: |- + weight associated with matching the corresponding podAffinityTerm, + in the range 1-100. format: int32 type: integer required: @@ -445,18 +882,52 @@ spec: type: array x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the anti-affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. + If the anti-affinity requirements specified by this field cease to be met + at some point during pod execution (e.g. due to a pod label update), the + system may or may not try to eventually evict the pod from its node. + When there are multiple elements, the lists of nodes corresponding to each + podAffinityTerm are intersected, i.e. all terms must be satisfied. items: + description: |- + Defines a set of pods (namely those matching the labelSelector + relative to the given namespace(s)) that this pod should be + co-located (affinity) or not co-located (anti-affinity) with, + where co-located is defined as running on a node whose value of + the label with key matches that of any node on which + a pod of the set of pods is running properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -470,29 +941,73 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -506,15 +1021,30 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". items: type: string type: array x-kubernetes-list-type: atomic topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. type: string required: - topologyKey @@ -524,30 +1054,61 @@ spec: type: object type: object archiveLogs: + description: ArchiveLogs indicates if the container logs should + be archived type: boolean arguments: + description: |- + Arguments contain the parameters and artifacts sent to the workflow entrypoint + Parameters are referencable globally using the 'workflow' variable prefix. + e.g. {{workflow.parameters.myparam}} properties: artifacts: + description: Artifacts is the list of artifacts to pass to + the template or workflow items: + description: Artifact indicates an artifact to place at + a specified path properties: archive: + description: Archive controls how the artifact will + be saved to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and gzip the file + or directory when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip zipped input + artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the container + logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy to use + when to deleting an artifact from completed or deleted + workflows properties: podMetadata: + description: PodMetadata is an optional field for + specifying the Labels and Annotations that should + be assigned to the Pod doing the deletion properties: annotations: additionalProperties: @@ -559,8 +1120,12 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an optional field + for specifying the Service Account that should + be assigned to the Pod doing the deletion type: string strategy: + description: Strategy is the strategy to use. enum: - "" - OnWorkflowCompletion @@ -569,30 +1134,57 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory artifact + location details properties: passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key @@ -602,27 +1194,49 @@ spec: - url type: object azure: + description: Azure contains Azure Storage artifact location + details properties: accountKeySecret: + description: AccountKeySecret is the secret selector + to the Azure Blob Storage account access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., path) + in the container where the artifact resides type: string container: + description: Container is the container where resources + will be stored type: string endpoint: + description: Endpoint is the service url associated + with an account. It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - blob @@ -630,25 +1244,46 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to reference an + artifact from a previous step type: string fromExpression: + description: FromExpression, if defined, is evaluated + to specify the value for the artifact type: string gcs: + description: GCS contains GCS artifact location details properties: bucket: + description: Bucket is the name of the bucket type: string key: + description: Key is the path in the bucket where + the artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is the secret + selector to the bucket's service account key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key @@ -658,62 +1293,117 @@ spec: - key type: object git: + description: Git contains git artifact location details properties: branch: + description: Branch is the branch to fetch when + `SingleBranch` is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables submodules + during git clone type: boolean fetch: + description: Fetch specifies a number of refs that + should be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables SSH + strict host key checking during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables server certificate + verification resulting in insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, tag, branch + to checkout type: string singleBranch: + description: SingleBranch enables single branch + clone, using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the secret selector + to the repository ssh private key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key @@ -723,96 +1413,189 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact location details properties: addresses: + description: Addresses is accessible addresses of + HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly even if + it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location details properties: auth: + description: Auth contains information for client + authentication properties: basicAuth: + description: BasicAuth describes the secret + selectors required for basic authentication properties: passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -820,28 +1603,57 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds necessary + information for client authentication via + certificates properties: clientCertSecret: + description: SecretKeySelector selects a + key of a Secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector selects a + key of a Secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -849,28 +1661,56 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all information + for client authentication via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector selects a + key of a Secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector selects a + key of a Secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -878,10 +1718,16 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is for requesting + optional fields that should be sent + in the oauth request properties: key: + description: Name is the header name type: string value: + description: Value is the literal + value to use for the header type: string required: - key @@ -892,13 +1738,26 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector selects a + key of a Secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -907,11 +1766,19 @@ spec: type: object type: object headers: + description: Headers are an optional list of headers + to send with HTTP requests for artifacts items: + description: Header indicate a key-value request + header to be used when fetching artifacts over + HTTP properties: name: + description: Name is the header name type: string value: + description: Value is the literal value to + use for the header type: string required: - name @@ -919,131 +1786,277 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must be unique within + a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if Artifacts doesn't + generate or exist type: boolean oss: + description: OSS contains OSS artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the + driver to attempt to create the OSS bucket for + output artifacts, if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string key: + description: Key is the path in the bucket where + the artifact resides type: string lifecycleRule: + description: LifecycleRule specifies how to manage + bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays is the number + of days before we delete objects in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays is + the number of days before we convert the objects + in the bucket to Infrequent Access (IA) storage + type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s temporary + security token. For more details, check out: https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container path to the artifact type: string + plugin: + description: Plugin contains plugin artifact location + details + properties: + configuration: + description: Configuration is the plugin defined + configuration for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds is the timeout + for the artifact driver connection, overriding + the driver's timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact repository + where the artifact resides + type: string + name: + description: Name is the name of the artifact driver + plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location details properties: data: + description: Data is the string contents of the + artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission recursively + into the artifact if it is a folder type: boolean s3: + description: S3 contains S3 artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string caSecret: + description: CASecret specifies the secret that + contains the CA, used to verify the TLS connection properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the + driver to attempt to create the S3 bucket for + output artifacts, if it doesn't exist. Setting + Enabled Encryption will apply either SSE-S3 to + the bucket if KmsKeyId is not set or SSE-KMS if + it is. properties: objectLocking: + description: ObjectLocking Enable object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used to determine + encryption options during s3 operations properties: enableEncryption: + description: EnableEncryption tells the driver + to encrypt objects if set to true. If kmsKeyId + and serverSideCustomerKeySecret are not set, + SSE-S3 will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext is a json + blob that contains an encryption context. + See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver to encrypt + the object using the specified KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret tells + the driver to encrypt the output artifacts + using SSE-C with the specified secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -1051,97 +2064,198 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string insecure: + description: Insecure will connect to the service + with TLS type: boolean key: + description: Key is the key in the bucket where + the artifact resides type: string region: + description: Region contains the optional bucket + region type: string roleARN: + description: RoleARN is the Amazon Resource Name + (ARN) of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used for ephemeral + credentials like an IAM assume role or S3 access + grant properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact to be sourced + from a subpath within the specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : 0) + + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array parameters: + description: Parameters is the list of parameters to pass + to the template or workflow items: + description: Parameter indicate a passed string parameter + to a service template with an optional default value properties: default: + description: Default is the default value to use for + an input parameter if a value was not supplied type: string description: + description: Description is the parameter description type: string enum: + description: Enum holds a list of string values to choose + from, for the actual value of the parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source for the output + parameter's value properties: configMapKeyRef: + description: ConfigMapKeyRef is configmap selector + for input parameter configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies a value to be used + if retrieving the value from the specified source + fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the event to get the + value of the parameter. E.g. `payload.message` type: string expression: + description: Expression, if defined, is evaluated + to specify the value for the parameter type: string jqFilter: + description: JQFilter expression against the resource + object in resource templates type: string jsonPath: + description: JSONPath of a resource to retrieve + an output parameter value from in resource templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container to retrieve an + output parameter value from in container templates type: string supplied: + description: Supplied value to be filled in directly, + either through the CLI, API, etc. type: object type: object required: @@ -1150,10 +2264,18 @@ spec: type: array type: object artifactGC: + description: |- + ArtifactGC describes the strategy to use when deleting artifacts from completed or deleted workflows (applies to all output Artifacts + unless Artifact.ArtifactGC is specified, which overrides this) properties: forceFinalizerRemoval: + description: 'ForceFinalizerRemoval: if set to true, the finalizer + will be removed in the case that Artifact GC fails' type: boolean podMetadata: + description: PodMetadata is an optional field for specifying + the Labels and Annotations that should be assigned to the + Pod doing the deletion properties: annotations: additionalProperties: @@ -1165,10 +2287,16 @@ spec: type: object type: object podSpecPatch: + description: PodSpecPatch holds strategic merge patch to apply + against the artgc pod spec. type: string serviceAccountName: + description: ServiceAccountName is an optional field for specifying + the Service Account that should be assigned to the Pod doing + the deletion type: string strategy: + description: Strategy is the strategy to use. enum: - "" - OnWorkflowCompletion @@ -1177,72 +2305,143 @@ spec: type: string type: object artifactRepositoryRef: + description: ArtifactRepositoryRef specifies the configMap name + and key containing the artifact repository config. properties: configMap: + description: The name of the config map. Defaults to "artifact-repositories". type: string key: + description: The config map key. Defaults to the value of + the "workflows.argoproj.io/default-artifact-repository" + annotation. type: string type: object automountServiceAccountToken: + description: |- + AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in pods. + ServiceAccountName of ExecutorConfig must be specified if this value is false. type: boolean dnsConfig: + description: |- + PodDNSConfig defines the DNS parameters of a pod in addition to + those generated from DNSPolicy. properties: nameservers: + description: |- + A list of DNS name server IP addresses. + This will be appended to the base nameservers generated from DNSPolicy. + Duplicated nameservers will be removed. items: type: string type: array x-kubernetes-list-type: atomic options: + description: |- + A list of DNS resolver options. + This will be merged with the base options generated from DNSPolicy. + Duplicated entries will be removed. Resolution options given in Options + will override those that appear in the base DNSPolicy. items: + description: PodDNSConfigOption defines DNS resolver options + of a pod. properties: name: + description: |- + Name is this DNS resolver option's name. + Required. type: string value: + description: Value is this DNS resolver option's value. type: string type: object type: array x-kubernetes-list-type: atomic searches: + description: |- + A list of DNS search domains for host-name lookup. + This will be appended to the base search paths generated from DNSPolicy. + Duplicated search paths will be removed. items: type: string type: array x-kubernetes-list-type: atomic type: object dnsPolicy: + description: |- + Set DNS policy for workflow pods. + Defaults to "ClusterFirst". + Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. + DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. + To have DNS options set along with hostNetwork, you have to specify DNS policy + explicitly to 'ClusterFirstWithHostNet'. type: string entrypoint: + description: Entrypoint is a template reference to the starting + point of the workflow. type: string executor: + description: Executor holds configurations of executor containers + of the workflow. properties: serviceAccountName: + description: ServiceAccountName specifies the service account + name of the executor container. type: string type: object hooks: additionalProperties: properties: arguments: + description: Arguments hold arguments to the template properties: artifacts: + description: Artifacts is the list of artifacts to pass + to the template or workflow items: + description: Artifact indicates an artifact to place + at a specified path properties: archive: + description: Archive controls how the artifact + will be saved to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and gzip + the file or directory when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip zipped + input artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the container + logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy + to use when to deleting an artifact from completed + or deleted workflows properties: podMetadata: + description: PodMetadata is an optional field + for specifying the Labels and Annotations + that should be assigned to the Pod doing + the deletion properties: annotations: additionalProperties: @@ -1254,8 +2453,13 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an optional + field for specifying the Service Account + that should be assigned to the Pod doing + the deletion type: string strategy: + description: Strategy is the strategy to use. enum: - "" - OnWorkflowCompletion @@ -1264,30 +2468,59 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory + artifact location details properties: passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -1297,27 +2530,52 @@ spec: - url type: object azure: + description: Azure contains Azure Storage artifact + location details properties: accountKeySecret: + description: AccountKeySecret is the secret + selector to the Azure Blob Storage account + access key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., + path) in the container where the artifact + resides type: string container: + description: Container is the container where + resources will be stored type: string endpoint: + description: Endpoint is the service url associated + with an account. It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver + to figure out credentials based on sdk defaults. type: boolean required: - blob @@ -1325,25 +2583,49 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to reference + an artifact from a previous step type: string fromExpression: + description: FromExpression, if defined, is evaluated + to specify the value for the artifact type: string gcs: + description: GCS contains GCS artifact location + details properties: bucket: + description: Bucket is the name of the bucket type: string key: + description: Key is the path in the bucket + where the artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is the + secret selector to the bucket's service + account key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -1353,62 +2635,123 @@ spec: - key type: object git: + description: Git contains git artifact location + details properties: branch: + description: Branch is the branch to fetch + when `SingleBranch` is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables submodules + during git clone type: boolean fetch: + description: Fetch specifies a number of refs + that should be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables + SSH strict host key checking during git + clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables server + certificate verification resulting in insecure + HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, tag, + branch to checkout type: string singleBranch: + description: SingleBranch enables single branch + clone, using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the secret + selector to the repository ssh private key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -1418,96 +2761,195 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact location + details properties: addresses: + description: Addresses is accessible addresses + of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly + even if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location + details properties: auth: + description: Auth contains information for + client authentication properties: basicAuth: + description: BasicAuth describes the secret + selectors required for basic authentication properties: passwordSecret: + description: PasswordSecret is the + secret selector to the repository + password properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the + secret selector to the repository + username properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -1515,28 +2957,57 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds necessary + information for client authentication + via certificates properties: clientCertSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -1544,28 +3015,57 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all information + for client authentication via OAuth2 + tokens properties: clientIDSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -1573,10 +3073,17 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is for + requesting optional fields that + should be sent in the oauth request properties: key: + description: Name is the header + name type: string value: + description: Value is the literal + value to use for the header type: string required: - key @@ -1587,13 +3094,26 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -1602,11 +3122,20 @@ spec: type: object type: object headers: + description: Headers are an optional list + of headers to send with HTTP requests for + artifacts items: + description: Header indicate a key-value + request header to be used when fetching + artifacts over HTTP properties: name: + description: Name is the header name type: string value: + description: Value is the literal value + to use for the header type: string required: - name @@ -1614,131 +3143,293 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must be unique + within a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if Artifacts + doesn't generate or exist type: boolean oss: + description: OSS contains OSS artifact location + details properties: accessKeySecret: + description: AccessKeySecret is the secret + selector to the bucket's access key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells + the driver to attempt to create the OSS + bucket for output artifacts, if it doesn't + exist type: boolean endpoint: + description: Endpoint is the hostname of the + bucket endpoint type: string key: + description: Key is the path in the bucket + where the artifact resides type: string lifecycleRule: + description: LifecycleRule specifies how to + manage bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays is + the number of days before we delete + objects in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before we convert + the objects in the bucket to Infrequent + Access (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret + selector to the bucket's secret key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s + temporary security token. For more details, + check out: https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver + to figure out credentials based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container path to the + artifact type: string + plugin: + description: Plugin contains plugin artifact location + details + properties: + configuration: + description: Configuration is the plugin defined + configuration for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds is the + timeout for the artifact driver connection, + overriding the driver's timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact + repository where the artifact resides + type: string + name: + description: Name is the name of the artifact + driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location + details properties: data: + description: Data is the string contents of + the artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission + recursively into the artifact if it is a folder type: boolean s3: + description: S3 contains S3 artifact location + details properties: accessKeySecret: + description: AccessKeySecret is the secret + selector to the bucket's access key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string caSecret: + description: CASecret specifies the secret + that contains the CA, used to verify the + TLS connection properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells + the driver to attempt to create the S3 bucket + for output artifacts, if it doesn't exist. + Setting Enabled Encryption will apply either + SSE-S3 to the bucket if KmsKeyId is not + set or SSE-KMS if it is. properties: objectLocking: + description: ObjectLocking Enable object + locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used to determine + encryption options during s3 operations properties: enableEncryption: + description: EnableEncryption tells the + driver to encrypt objects if set to + true. If kmsKeyId and serverSideCustomerKeySecret + are not set, SSE-S3 will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext is a + json blob that contains an encryption + context. See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver + to encrypt the object using the specified + KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret + tells the driver to encrypt the output + artifacts using SSE-C with the specified + secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -1746,97 +3437,204 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname of the + bucket endpoint type: string insecure: + description: Insecure will connect to the + service with TLS type: boolean key: + description: Key is the key in the bucket + where the artifact resides type: string region: + description: Region contains the optional + bucket region type: string roleARN: + description: RoleARN is the Amazon Resource + Name (ARN) of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret + selector to the bucket's secret key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used for + ephemeral credentials like an IAM assume + role or S3 access grant properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver + to figure out credentials based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact to be + sourced from a subpath within the specified + source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? + 1 : 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array parameters: + description: Parameters is the list of parameters to + pass to the template or workflow items: + description: Parameter indicate a passed string parameter + to a service template with an optional default value properties: default: + description: Default is the default value to use + for an input parameter if a value was not supplied type: string description: + description: Description is the parameter description type: string enum: + description: Enum holds a list of string values + to choose from, for the actual value of the + parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source for the output + parameter's value properties: configMapKeyRef: + description: ConfigMapKeyRef is configmap + selector for input parameter configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies a value to + be used if retrieving the value from the + specified source fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the event to get + the value of the parameter. E.g. `payload.message` type: string expression: + description: Expression, if defined, is evaluated + to specify the value for the parameter type: string jqFilter: + description: JQFilter expression against the + resource object in resource templates type: string jsonPath: + description: JSONPath of a resource to retrieve + an output parameter value from in resource + templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container to retrieve + an output parameter value from in container + templates type: string supplied: + description: Supplied value to be filled in + directly, either through the CLI, API, etc. type: object type: object required: @@ -1845,87 +3643,161 @@ spec: type: array type: object expression: + description: |- + Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not + be retried and the retry strategy will be ignored type: string template: + description: Template is the name of the template to execute + by the hook type: string templateRef: + description: TemplateRef is the reference to the template + resource to execute by the hook properties: clusterScope: + description: ClusterScope indicates the referred template + is cluster scoped (i.e. a ClusterWorkflowTemplate). type: boolean name: + description: Name is the resource name of the template. type: string template: + description: Template is the name of referred template + in the resource. type: string type: object type: object + description: |- + Hooks holds the lifecycle hook which is invoked at lifecycle of + step, irrespective of the success, failure, or error status of the primary step type: object hostAliases: items: + description: |- + HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the + pod's hosts file. properties: hostnames: + description: Hostnames for the above IP address. items: type: string type: array x-kubernetes-list-type: atomic ip: + description: IP address of the host file entry. type: string required: - ip type: object type: array hostNetwork: + description: Host networking requested for this workflow pod. + Default to false. type: boolean imagePullSecrets: + description: |- + ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images + in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets + can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. + More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod items: + description: |- + LocalObjectReference contains enough information to let you locate the + referenced object inside the same namespace. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic type: array metrics: + description: Metrics are a list of metrics emitted from this Workflow properties: prometheus: + description: |- + Prometheus is a list of prometheus metrics to be emitted + MaxItems is an artificial limit to limit CEL validation costs - see note at top of file items: + description: Prometheus is a prometheus metric to be emitted properties: counter: + description: Counter is a counter metric properties: value: + description: Value is the value of the metric + minLength: 1 type: string required: - value type: object gauge: + description: Gauge is a gauge metric properties: operation: + description: Operation defines the operation to + apply with value and the metrics' current value + enum: + - Set + - Add + - Sub type: string realtime: + description: Realtime emits this metric in real + time if applicable type: boolean value: + description: |- + Value is the value to be used in the operation with the metric's current value. If no operation is set, + value is the value of the metric + MaxLength is an artificial limit to limit CEL validation costs - see note at top of file + maxLength: 256 + minLength: 1 type: string required: - realtime - value type: object + x-kubernetes-validations: + - message: '''resourcesDuration.*'' metrics cannot be + used in real-time gauges' + rule: '!has(self.realtime) || !self.realtime || !self.value.contains(''resourcesDuration.'')' help: + description: Help is a string that describes the metric + minLength: 1 type: string histogram: + description: Histogram is a histogram metric properties: buckets: + description: Buckets is a list of bucket divisors + for the histogram items: type: number type: array value: + description: Value is the value of the metric + minLength: 1 type: string required: - buckets - value type: object labels: + description: Labels is a list of metric labels items: + description: MetricLabel is a single label for a prometheus + metric properties: key: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ type: string value: type: string @@ -1935,13 +3807,18 @@ spec: type: object type: array name: + description: Name is the name of the metric + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ type: string when: + description: When is a conditional statement that decides + when to emit the metric type: string required: - help - name type: object + maxItems: 100 type: array required: - prometheus @@ -1949,34 +3826,79 @@ spec: nodeSelector: additionalProperties: type: string + description: |- + NodeSelector is a selector which will result in all pods of the workflow + to be scheduled on the selected node(s). This is able to be overridden by + a nodeSelector specified in the template. type: object onExit: + description: |- + OnExit is a template reference which is invoked at the end of the + workflow, irrespective of the success, failure, or error of the + primary workflow. type: string parallelism: + description: Parallelism limits the max total parallel pods that + can execute at the same time in a workflow format: int64 + minimum: 1 type: integer podDisruptionBudget: + description: |- + PodDisruptionBudget holds the number of concurrent disruptions that you allow for Workflow's Pods. + Controller will automatically add the selector with workflow name, if selector is empty. + Optional: Defaults to empty. properties: maxUnavailable: anyOf: - type: integer - type: string + description: |- + An eviction is allowed if at most "maxUnavailable" pods selected by + "selector" are unavailable after the eviction, i.e. even in absence of + the evicted pod. For example, one can prevent all voluntary evictions + by specifying 0. This is a mutually exclusive setting with "minAvailable". x-kubernetes-int-or-string: true minAvailable: anyOf: - type: integer - type: string + description: |- + An eviction is allowed if at least "minAvailable" pods selected by + "selector" will still be available after the eviction, i.e. even in the + absence of the evicted pod. So for example you can prevent all voluntary + evictions by specifying "100%". x-kubernetes-int-or-string: true selector: + description: |- + Label query over pods whose evictions are managed by the disruption + budget. + A null selector will match no pods, while an empty ({}) selector will select + all pods within the namespace. properties: matchExpressions: + description: matchExpressions is a list of label selector + requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the selector + applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -1990,26 +3912,75 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic unhealthyPodEvictionPolicy: + description: |- + UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods + should be considered for eviction. Current implementation considers healthy pods, + as pods that have status.conditions item with type="Ready",status="True". + + Valid policies are IfHealthyBudget and AlwaysAllow. + If no policy is specified, the default behavior will be used, + which corresponds to the IfHealthyBudget policy. + + IfHealthyBudget policy means that running pods (status.phase="Running"), + but not yet healthy can be evicted only if the guarded application is not + disrupted (status.currentHealthy is at least equal to status.desiredHealthy). + Healthy pods will be subject to the PDB for eviction. + + AlwaysAllow policy means that all running pods (status.phase="Running"), + but not yet healthy are considered disrupted and can be evicted regardless + of whether the criteria in a PDB is met. This means perspective running + pods of a disrupted application might not get a chance to become healthy. + Healthy pods will be subject to the PDB for eviction. + + Additional policies may be added in the future. + Clients making eviction decisions should disallow eviction of unhealthy pods + if they encounter an unrecognized policy in this field. type: string type: object podGC: + description: PodGC describes the strategy to use when deleting + completed pods properties: deleteDelayDuration: + description: DeleteDelayDuration specifies the duration before + pods in the GC queue get deleted. type: string labelSelector: + description: LabelSelector is the label selector to check + if the pods match the labels before being added to the pod + GC queue. properties: matchExpressions: + description: matchExpressions is a list of label selector + requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the selector + applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -2023,13 +3994,28 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic strategy: + description: Strategy is the strategy to use. One of "OnPodCompletion", + "OnPodSuccess", "OnWorkflowCompletion", "OnWorkflowSuccess". + If unset, does not delete Pods + enum: + - "" + - OnPodCompletion + - OnPodSuccess + - OnWorkflowCompletion + - OnWorkflowSuccess type: string type: object podMetadata: + description: PodMetadata defines additional metadata that should + be applied to workflow pods properties: annotations: additionalProperties: @@ -2041,105 +4027,284 @@ spec: type: object type: object podPriorityClassName: + description: PriorityClassName to apply to workflow pods. type: string podSpecPatch: + description: |- + PodSpecPatch holds strategic merge patch to apply against the pod spec. Allows parameterization of + container fields which are not strings (e.g. resource limits). type: string priority: + description: Priority is used if controller is configured to process + limited number of workflows in parallel. Workflows with higher + priority are processed first. format: int32 type: integer retryStrategy: + description: RetryStrategy for all templates in the workflow. properties: affinity: + description: Affinity prevents running workflow's step on + the same host properties: nodeAntiAffinity: + description: |- + RetryNodeAntiAffinity is a placeholder for future expansion, only empty nodeAntiAffinity is allowed. + In order to prevent running steps on the same host, it uses "kubernetes.io/hostname". type: object type: object backoff: + description: Backoff is a backoff strategy properties: cap: + description: |- + Cap is a limit on revised values of the duration parameter. If a + multiplication by the factor parameter would make the duration + exceed the cap then the duration is set to the cap type: string duration: + description: Duration is the amount to back off. Default + unit is seconds, but could also be a duration (e.g. + "2m", "1h") type: string factor: anyOf: - type: integer - type: string + description: Factor is a factor to multiply the base duration + after each failed retry x-kubernetes-int-or-string: true maxDuration: + description: |- + MaxDuration is the maximum amount of time allowed for a workflow in the backoff strategy. + It is important to note that if the workflow template includes activeDeadlineSeconds, the pod's deadline is initially set with activeDeadlineSeconds. + However, when the workflow fails, the pod's deadline is then overridden by maxDuration. + This ensures that the workflow does not exceed the specified maximum duration when retries are involved. type: string type: object expression: + description: |- + Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not + be retried and the retry strategy will be ignored type: string limit: anyOf: - type: integer - type: string + description: |- + Limit is the maximum number of retry attempts when retrying a container. It does not include the original + container; the maximum number of total attempts will be `limit + 1`. x-kubernetes-int-or-string: true retryPolicy: + description: RetryPolicy is a policy of NodePhase statuses + that will be retried + enum: + - Always + - OnFailure + - OnError + - OnTransientError type: string type: object schedulerName: + description: |- + Set scheduler name for all pods. + Will be overridden if container/script template's scheduler name is set. + Default scheduler will be used if neither specified. type: string securityContext: + description: |- + SecurityContext holds pod-level security attributes and common container settings. + Optional: Defaults to empty. See type description for default values of each field. properties: appArmorProfile: + description: |- + appArmorProfile is the AppArmor options to use by the containers in this pod. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile loaded on the node that should be used. + The profile must be preconfigured on the node to work. + Must match the loaded name of the profile. + Must be set if and only if type is "Localhost". type: string type: + description: |- + type indicates which kind of AppArmor profile will be applied. + Valid options are: + Localhost - a profile pre-loaded on the node. + RuntimeDefault - the container runtime's default profile. + Unconfined - no AppArmor enforcement. type: string required: - type type: object fsGroup: + description: |- + A special supplemental group that applies to all containers in a pod. + Some volume types allow the Kubelet to change the ownership of that volume + to be owned by the pod: + + 1. The owning GID will be the FSGroup + 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) + 3. The permission bits are OR'd with rw-rw---- + + If unset, the Kubelet will not modify the ownership and permissions of any volume. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer fsGroupChangePolicy: + description: |- + fsGroupChangePolicy defines behavior of changing ownership and permission of the volume + before being exposed inside Pod. This field will only apply to + volume types which support fsGroup based ownership(and permissions). + It will have no effect on ephemeral volume types such as: secret, configmaps + and emptydir. + Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used. + Note that this field cannot be set when spec.os.name is windows. type: string runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in SecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence + for that container. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer runAsNonRoot: + description: |- + Indicates that the container must run as a non-root user. + If true, the Kubelet will validate the image at runtime to ensure that it + does not run as UID 0 (root) and fail to start the container if it does. + If unset or false, no such validation will be performed. + May also be set in SecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in SecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence + for that container. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer seLinuxChangePolicy: + description: |- + seLinuxChangePolicy defines how the container's SELinux label is applied to all volumes used by the Pod. + It has no effect on nodes that do not support SELinux or to volumes does not support SELinux. + Valid values are "MountOption" and "Recursive". + + "Recursive" means relabeling of all files on all Pod volumes by the container runtime. + This may be slow for large volumes, but allows mixing privileged and unprivileged Pods sharing the same volume on the same node. + + "MountOption" mounts all eligible Pod volumes with `-o context` mount option. + This requires all Pods that share the same volume to use the same SELinux label. + It is not possible to share the same volume among privileged and unprivileged Pods. + Eligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes + whose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their + CSIDriver instance. Other volumes are always re-labelled recursively. + "MountOption" value is allowed only when SELinuxMount feature gate is enabled. + + If not specified and SELinuxMount feature gate is enabled, "MountOption" is used. + If not specified and SELinuxMount feature gate is disabled, "MountOption" is used for ReadWriteOncePod volumes + and "Recursive" for all other volumes. + + This field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers. + + All Pods that use the same volume should use the same seLinuxChangePolicy, otherwise some pods can get stuck in ContainerCreating state. + Note that this field cannot be set when spec.os.name is windows. type: string seLinuxOptions: + description: |- + The SELinux context to be applied to all containers. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in SecurityContext. If set in + both SecurityContext and PodSecurityContext, the value specified in SecurityContext + takes precedence for that container. + Note that this field cannot be set when spec.os.name is windows. properties: level: + description: Level is SELinux level label that applies + to the container. type: string role: + description: Role is a SELinux role label that applies + to the container. type: string type: + description: Type is a SELinux type label that applies + to the container. type: string user: + description: User is a SELinux user label that applies + to the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by the containers in this pod. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. + Must be a descending path, relative to the kubelet's configured seccomp profile location. + Must be set if type is "Localhost". Must NOT be set for any other type. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + Localhost - a profile defined in a file on the node should be used. + RuntimeDefault - the container runtime default profile should be used. + Unconfined - no profile should be applied. type: string required: - type type: object supplementalGroups: + description: |- + A list of groups applied to the first process run in each container, in + addition to the container's primary GID and fsGroup (if specified). If + the SupplementalGroupsPolicy feature is enabled, the + supplementalGroupsPolicy field determines whether these are in addition + to or instead of any group memberships defined in the container image. + If unspecified, no additional groups are added, though group memberships + defined in the container image may still be used, depending on the + supplementalGroupsPolicy field. + Note that this field cannot be set when spec.os.name is windows. items: format: int64 type: integer type: array x-kubernetes-list-type: atomic supplementalGroupsPolicy: + description: |- + Defines how supplemental groups of the first container processes are calculated. + Valid values are "Merge" and "Strict". If not specified, "Merge" is used. + (Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled + and the container runtime must implement support for this feature. + Note that this field cannot be set when spec.os.name is windows. type: string sysctls: + description: |- + Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported + sysctls (by the container runtime) might fail to launch. + Note that this field cannot be set when spec.os.name is windows. items: + description: Sysctl defines a kernel parameter to be set properties: name: + description: Name of a property to set type: string value: + description: Value of a property to set type: string required: - name @@ -2148,87 +4313,106 @@ spec: type: array x-kubernetes-list-type: atomic windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options within a container's SecurityContext will be used. + If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is linux. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name of the + GMSA credential spec to use. type: string hostProcess: + description: |- + HostProcess determines if a container should be run as a 'Host Process' container. + All of a Pod's containers must have the same effective HostProcess value + (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + In addition, if HostProcess is true then HostNetwork must also be set to true. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: string type: object type: object serviceAccountName: + description: ServiceAccountName is the name of the ServiceAccount + to run all pods of the workflow as. type: string shutdown: + description: Shutdown will shutdown the workflow according to + its ShutdownStrategy type: string suspend: + description: Suspend will suspend the workflow and prevent execution + of any future steps in the workflow type: boolean synchronization: + description: Synchronization holds synchronization lock configuration + for this Workflow properties: - mutex: - properties: - database: - type: boolean - name: - type: string - namespace: - type: string - type: object mutexes: + description: 'v3.6 and after: Mutexes holds the list of Mutex + lock details' items: + description: Mutex holds Mutex configuration properties: database: + description: Database specifies this is database controlled + if this is set true type: boolean name: + description: name of the mutex type: string namespace: + description: 'Namespace is the namespace of the mutex, + default: [namespace of workflow]' type: string type: object type: array - semaphore: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - database: - properties: - key: - type: string - required: - - key - type: object - namespace: - type: string - type: object semaphores: + description: 'v3.6 and after: Semaphores holds the list of + Semaphores configuration' items: + description: SemaphoreRef is a reference of Semaphore properties: configMapKeyRef: + description: ConfigMapKeyRef is a configmap selector + for Semaphore configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic database: + description: SyncDatabaseRef is a database reference + for Semaphore configuration properties: key: type: string @@ -2236,11 +4420,16 @@ spec: - key type: object namespace: + description: 'Namespace is the namespace of the configmap, + default: [namespace of workflow]' type: string type: object type: array type: object templateDefaults: + description: |- + TemplateDefaults holds default template values that will apply to all templates in the Workflow, unless overridden on the template-level. + All nested field descriptions have been dropped due to Kubernetes size limitations. properties: activeDeadlineSeconds: anyOf: @@ -3093,6 +5282,20 @@ spec: required: - key type: object + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -3197,6 +5400,14 @@ spec: type: boolean type: object type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : 0) + + (has(self.http) ? 1 : 0) + (has(self.artifactory) ? + 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) ? 1 + : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) ? 1 : + 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) ? 1 + : 0) <= 1' automountServiceAccountToken: type: boolean container: @@ -5013,8 +7224,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -5072,6 +7286,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -5182,6 +7410,16 @@ spec: required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can + be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) + ? 1 : 0) + (has(self.http) ? 1 : 0) + + (has(self.artifactory) ? 1 : 0) + (has(self.hdfs) + ? 1 : 0) + (has(self.raw) ? 1 : 0) + (has(self.oss) + ? 1 : 0) + (has(self.gcs) ? 1 : 0) + (has(self.azure) + ? 1 : 0) + (has(self.plugin) ? 1 : 0) + <= 1' type: array parameters: items: @@ -5193,10 +7431,12 @@ spec: enum: items: type: string + minItems: 1 type: array globalName: type: string name: + pattern: ^[-a-zA-Z0-9_]+$ type: string value: type: string @@ -5653,8 +7893,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -5712,6 +7955,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -5822,6 +8079,17 @@ spec: required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location + can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) + ? 1 : 0) + (has(self.http) ? 1 : + 0) + (has(self.artifactory) ? 1 + : 0) + (has(self.hdfs) ? 1 : 0) + + (has(self.raw) ? 1 : 0) + (has(self.oss) + ? 1 : 0) + (has(self.gcs) ? 1 : + 0) + (has(self.azure) ? 1 : 0) + + (has(self.plugin) ? 1 : 0) <= 1' type: array parameters: items: @@ -5833,10 +8101,12 @@ spec: enum: items: type: string + minItems: 1 type: array globalName: type: string name: + pattern: ^[-a-zA-Z0-9_]+$ type: string value: type: string @@ -5895,6 +8165,8 @@ spec: inline: x-kubernetes-preserve-unknown-fields: true name: + maxLength: 128 + pattern: ^[a-zA-Z0-9][-a-zA-Z0-9]*$ type: string onExit: type: string @@ -5935,9 +8207,23 @@ spec: - type: string x-kubernetes-int-or-string: true type: object + x-kubernetes-validations: + - message: only one of count or end can be defined + rule: '!(has(self.count) && has(self.end))' required: - name type: object + x-kubernetes-validations: + - message: cannot use both 'depends' and 'dependencies' + rule: '!has(self.depends) || !has(self.dependencies)' + - message: cannot use 'continueOn' when using 'depends' + rule: '!has(self.depends) || !has(self.continueOn)' + - message: task name cannot begin with a digit when + using 'depends' or 'dependencies' + rule: '!(has(self.depends) || has(self.dependencies)) + || !self.name.matches(''^[0-9]'')' + maxItems: 200 + minItems: 1 type: array required: - tasks @@ -6343,8 +8629,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -6402,6 +8691,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -6512,6 +8815,14 @@ spec: required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? + 1 : 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: object transformation: items: @@ -7682,8 +9993,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -7741,6 +10055,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -7851,6 +10179,14 @@ spec: required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 + : 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array parameters: items: @@ -7862,10 +10198,12 @@ spec: enum: items: type: string + minItems: 1 type: array globalName: type: string name: + pattern: ^[-a-zA-Z0-9_]+$ type: string value: type: string @@ -7904,6 +10242,7 @@ spec: required: - name type: object + maxItems: 500 type: array type: object memoize: @@ -7912,15 +10251,9 @@ spec: properties: configMap: properties: - key: - type: string name: default: "" type: string - optional: - type: boolean - required: - - key type: object x-kubernetes-map-type: atomic required: @@ -7954,6 +10287,7 @@ spec: counter: properties: value: + minLength: 1 type: string required: - value @@ -7961,16 +10295,28 @@ spec: gauge: properties: operation: + enum: + - Set + - Add + - Sub type: string realtime: type: boolean value: + maxLength: 256 + minLength: 1 type: string required: - realtime - value type: object + x-kubernetes-validations: + - message: '''resourcesDuration.*'' metrics cannot + be used in real-time gauges' + rule: '!has(self.realtime) || !self.realtime || + !self.value.contains(''resourcesDuration.'')' help: + minLength: 1 type: string histogram: properties: @@ -7979,6 +10325,7 @@ spec: type: number type: array value: + minLength: 1 type: string required: - buckets @@ -7988,6 +10335,7 @@ spec: items: properties: key: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ type: string value: type: string @@ -7997,6 +10345,7 @@ spec: type: object type: array name: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ type: string when: type: string @@ -8004,11 +10353,14 @@ spec: - help - name type: object + maxItems: 100 type: array required: - prometheus type: object name: + maxLength: 128 + pattern: ^[a-zA-Z0-9][-a-zA-Z0-9]*$ type: string nodeSelector: additionalProperties: @@ -8414,8 +10766,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -8473,6 +10828,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -8583,6 +10952,14 @@ spec: required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 + : 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array exitCode: type: string @@ -8596,10 +10973,12 @@ spec: enum: items: type: string + minItems: 1 type: array globalName: type: string name: + pattern: ^[-a-zA-Z0-9_]+$ type: string value: type: string @@ -8644,6 +11023,7 @@ spec: type: object parallelism: format: int64 + minimum: 1 type: integer plugin: type: object @@ -8655,6 +11035,13 @@ spec: resource: properties: action: + enum: + - get + - create + - apply + - delete + - replace + - patch type: string failureCondition: type: string @@ -9063,8 +11450,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -9122,6 +11512,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -9232,10 +11636,22 @@ spec: required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? + 1 : 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' required: - artifact type: object mergeStrategy: + enum: + - strategic + - merge + - json type: string setOwnerReference: type: boolean @@ -9244,6 +11660,11 @@ spec: required: - action type: object + x-kubernetes-validations: + - message: only one of manifest or manifestFrom can be specified + rule: (has(self.manifest) && !has(self.manifestFrom)) || + (!has(self.manifest) && has(self.manifestFrom)) || (!has(self.manifest) + && !has(self.manifestFrom)) retryStrategy: properties: affinity: @@ -9273,6 +11694,11 @@ spec: - type: string x-kubernetes-int-or-string: true retryPolicy: + enum: + - Always + - OnFailure + - OnError + - OnTransientError type: string type: object schedulerName: @@ -11126,8 +13552,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -11185,6 +13614,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -11295,6 +13738,15 @@ spec: required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can + be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) + ? 1 : 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array parameters: items: @@ -11306,10 +13758,12 @@ spec: enum: items: type: string + minItems: 1 type: array globalName: type: string name: + pattern: ^[-a-zA-Z0-9_]+$ type: string value: type: string @@ -11760,8 +14214,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -11819,6 +14276,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -11929,6 +14400,17 @@ spec: required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location + can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) + ? 1 : 0) + (has(self.http) ? 1 : 0) + + (has(self.artifactory) ? 1 : 0) + + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + + (has(self.gcs) ? 1 : 0) + (has(self.azure) + ? 1 : 0) + (has(self.plugin) ? 1 : + 0) <= 1' type: array parameters: items: @@ -11940,10 +14422,12 @@ spec: enum: items: type: string + minItems: 1 type: array globalName: type: string name: + pattern: ^[-a-zA-Z0-9_]+$ type: string value: type: string @@ -12002,6 +14486,8 @@ spec: inline: x-kubernetes-preserve-unknown-fields: true name: + maxLength: 128 + pattern: ^[a-zA-Z0-9][-a-zA-Z0-9]*$ type: string onExit: type: string @@ -12042,8 +14528,12 @@ spec: - type: string x-kubernetes-int-or-string: true type: object + x-kubernetes-validations: + - message: only one of count or end can be defined + rule: '!(has(self.count) && has(self.end))' type: object type: array + minItems: 1 type: array suspend: properties: @@ -12052,15 +14542,6 @@ spec: type: object synchronization: properties: - mutex: - properties: - database: - type: boolean - name: - type: string - namespace: - type: string - type: object mutexes: items: properties: @@ -12072,31 +14553,6 @@ spec: type: string type: object type: array - semaphore: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - database: - properties: - key: - type: string - required: - - key - type: object - namespace: - type: string - type: object semaphores: items: properties: @@ -12945,30 +15401,75 @@ spec: type: array type: object templates: + description: |- + Templates is a list of workflow templates used in a workflow + MaxItems is an artificial limit to limit CEL validation costs - see note at top of file items: + description: Template is a reusable and composable unit of execution + in a workflow properties: activeDeadlineSeconds: anyOf: - type: integer - type: string + description: |- + Optional duration in seconds relative to the StartTime that the pod may be active on a node + before the system actively tries to terminate the pod; value must be positive integer + This field is only applicable to container and script templates. x-kubernetes-int-or-string: true affinity: + description: |- + Affinity sets the pod's scheduling constraints + Overrides the affinity set at the workflow level (if any) properties: nodeAffinity: + description: Describes node affinity scheduling rules + for the pod. properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. The node that is + most preferred is the one with the greatest sum of weights, i.e. + for each node that meets all of the scheduling requirements (resource + request, requiredDuringScheduling affinity expressions, etc.), + compute a sum by iterating through the elements of this field and adding + "weight" to the sum if the node matches the corresponding matchExpressions; the + node(s) with the highest sum are the most preferred. items: + description: |- + An empty preferred scheduling term matches all objects with implicit weight 0 + (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). properties: preference: + description: A node selector term, associated + with the corresponding weight. properties: matchExpressions: + description: A list of node selector requirements + by node's labels. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that + the selector applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. items: type: string type: array @@ -12980,13 +15481,29 @@ spec: type: array x-kubernetes-list-type: atomic matchFields: + description: A list of node selector requirements + by node's fields. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that + the selector applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. items: type: string type: array @@ -13000,6 +15517,9 @@ spec: type: object x-kubernetes-map-type: atomic weight: + description: Weight associated with matching + the corresponding nodeSelectorTerm, in the + range 1-100. format: int32 type: integer required: @@ -13009,18 +15529,46 @@ spec: type: array x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. + If the affinity requirements specified by this field cease to be met + at some point during pod execution (e.g. due to an update), the system + may or may not try to eventually evict the pod from its node. properties: nodeSelectorTerms: + description: Required. A list of node selector + terms. The terms are ORed. items: + description: |- + A null or empty node selector term matches no objects. The requirements of + them are ANDed. + The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. properties: matchExpressions: + description: A list of node selector requirements + by node's labels. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that + the selector applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. items: type: string type: array @@ -13032,13 +15580,29 @@ spec: type: array x-kubernetes-list-type: atomic matchFields: + description: A list of node selector requirements + by node's fields. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that + the selector applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. items: type: string type: array @@ -13059,22 +15623,60 @@ spec: x-kubernetes-map-type: atomic type: object podAffinity: + description: Describes pod affinity scheduling rules + (e.g. co-locate this pod in the same node, zone, etc. + as some other pod(s)). properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. The node that is + most preferred is the one with the greatest sum of weights, i.e. + for each node that meets all of the scheduling requirements (resource + request, requiredDuringScheduling affinity expressions, etc.), + compute a sum by iterating through the elements of this field and adding + "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the + node(s) with the highest sum are the most preferred. items: + description: The weights of all of the matched + WeightedPodAffinityTerm fields are added per-node + to find the most preferred node(s) properties: podAffinityTerm: + description: Required. A pod affinity term, + associated with the corresponding weight. properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a + list of label selector requirements. + The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label + key that the selector applies + to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -13088,29 +15690,74 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. properties: matchExpressions: + description: matchExpressions is a + list of label selector requirements. + The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label + key that the selector applies + to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -13124,20 +15771,38 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". items: type: string type: array x-kubernetes-list-type: atomic topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. type: string required: - topologyKey type: object weight: + description: |- + weight associated with matching the corresponding podAffinityTerm, + in the range 1-100. format: int32 type: integer required: @@ -13147,18 +15812,52 @@ spec: type: array x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. + If the affinity requirements specified by this field cease to be met + at some point during pod execution (e.g. due to a pod label update), the + system may or may not try to eventually evict the pod from its node. + When there are multiple elements, the lists of nodes corresponding to each + podAffinityTerm are intersected, i.e. all terms must be satisfied. items: + description: |- + Defines a set of pods (namely those matching the labelSelector + relative to the given namespace(s)) that this pod should be + co-located (affinity) or not co-located (anti-affinity) with, + where co-located is defined as running on a node whose value of + the label with key matches that of any node on which + a pod of the set of pods is running properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The + requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key + that the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -13172,29 +15871,73 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The + requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key + that the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -13208,15 +15951,30 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". items: type: string type: array x-kubernetes-list-type: atomic topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. type: string required: - topologyKey @@ -13225,22 +15983,60 @@ spec: x-kubernetes-list-type: atomic type: object podAntiAffinity: + description: Describes pod anti-affinity scheduling + rules (e.g. avoid putting this pod in the same node, + zone, etc. as some other pod(s)). properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the anti-affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. The node that is + most preferred is the one with the greatest sum of weights, i.e. + for each node that meets all of the scheduling requirements (resource + request, requiredDuringScheduling anti-affinity expressions, etc.), + compute a sum by iterating through the elements of this field and adding + "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the + node(s) with the highest sum are the most preferred. items: + description: The weights of all of the matched + WeightedPodAffinityTerm fields are added per-node + to find the most preferred node(s) properties: podAffinityTerm: + description: Required. A pod affinity term, + associated with the corresponding weight. properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a + list of label selector requirements. + The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label + key that the selector applies + to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -13254,29 +16050,74 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. properties: matchExpressions: + description: matchExpressions is a + list of label selector requirements. + The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label + key that the selector applies + to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -13290,20 +16131,38 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". items: type: string type: array x-kubernetes-list-type: atomic topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. type: string required: - topologyKey type: object weight: + description: |- + weight associated with matching the corresponding podAffinityTerm, + in the range 1-100. format: int32 type: integer required: @@ -13313,18 +16172,52 @@ spec: type: array x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the anti-affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. + If the anti-affinity requirements specified by this field cease to be met + at some point during pod execution (e.g. due to a pod label update), the + system may or may not try to eventually evict the pod from its node. + When there are multiple elements, the lists of nodes corresponding to each + podAffinityTerm are intersected, i.e. all terms must be satisfied. items: + description: |- + Defines a set of pods (namely those matching the labelSelector + relative to the given namespace(s)) that this pod should be + co-located (affinity) or not co-located (anti-affinity) with, + where co-located is defined as running on a node whose value of + the label with key matches that of any node on which + a pod of the set of pods is running properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The + requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key + that the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -13338,29 +16231,73 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The + requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key + that the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -13374,15 +16311,30 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". items: type: string type: array x-kubernetes-list-type: atomic topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. type: string required: - topologyKey @@ -13394,36 +16346,72 @@ spec: annotations: additionalProperties: type: string + description: Annotations is a list of annotations to add + to the template at runtime type: object archiveLocation: + description: |- + Location in which all files related to the step will be stored (logs, artifacts, etc...). + Can be overridden by individual items in Outputs. If omitted, will use the default + artifact repository location configured in the controller, appended with the + / in the key. properties: archiveLogs: + description: ArchiveLogs indicates if the container + logs should be archived type: boolean artifactory: + description: Artifactory contains artifactory artifact + location details properties: passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key @@ -13433,27 +16421,49 @@ spec: - url type: object azure: + description: Azure contains Azure Storage artifact location + details properties: accountKeySecret: + description: AccountKeySecret is the secret selector + to the Azure Blob Storage account access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., path) + in the container where the artifact resides type: string container: + description: Container is the container where resources + will be stored type: string endpoint: + description: Endpoint is the service url associated + with an account. It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - blob @@ -13461,19 +16471,35 @@ spec: - endpoint type: object gcs: + description: GCS contains GCS artifact location details properties: bucket: + description: Bucket is the name of the bucket type: string key: + description: Key is the path in the bucket where + the artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is the secret + selector to the bucket's service account key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key @@ -13483,62 +16509,117 @@ spec: - key type: object git: + description: Git contains git artifact location details properties: branch: + description: Branch is the branch to fetch when + `SingleBranch` is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables submodules + during git clone type: boolean fetch: + description: Fetch specifies a number of refs that + should be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables SSH + strict host key checking during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables server certificate + verification resulting in insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, tag, branch + to checkout type: string singleBranch: + description: SingleBranch enables single branch + clone, using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the secret selector + to the repository ssh private key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key @@ -13548,94 +16629,184 @@ spec: - repo type: object hdfs: + description: HDFS contains HDFS artifact location details properties: addresses: + description: Addresses is accessible addresses of + HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly even if + it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location details properties: auth: + description: Auth contains information for client + authentication properties: basicAuth: + description: BasicAuth describes the secret + selectors required for basic authentication properties: passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -13643,28 +16814,57 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds necessary + information for client authentication via + certificates properties: clientCertSecret: + description: SecretKeySelector selects a + key of a Secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector selects a + key of a Secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -13672,28 +16872,56 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all information + for client authentication via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector selects a + key of a Secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector selects a + key of a Secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -13701,10 +16929,16 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is for requesting + optional fields that should be sent + in the oauth request properties: key: + description: Name is the header name type: string value: + description: Value is the literal + value to use for the header type: string required: - key @@ -13715,13 +16949,26 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector selects a + key of a Secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -13730,11 +16977,19 @@ spec: type: object type: object headers: + description: Headers are an optional list of headers + to send with HTTP requests for artifacts items: + description: Header indicate a key-value request + header to be used when fetching artifacts over + HTTP properties: name: + description: Name is the header name type: string value: + description: Value is the literal value to + use for the header type: string required: - name @@ -13742,120 +16997,252 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object oss: + description: OSS contains OSS artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the + driver to attempt to create the OSS bucket for + output artifacts, if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string key: + description: Key is the path in the bucket where + the artifact resides type: string lifecycleRule: + description: LifecycleRule specifies how to manage + bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays is the number + of days before we delete objects in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays is + the number of days before we convert the objects + in the bucket to Infrequent Access (IA) storage + type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s temporary + security token. For more details, check out: https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - key type: object + plugin: + description: Plugin contains plugin artifact location + details + properties: + configuration: + description: Configuration is the plugin defined + configuration for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds is the timeout + for the artifact driver connection, overriding + the driver's timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact repository + where the artifact resides + type: string + name: + description: Name is the name of the artifact driver + plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location details properties: data: + description: Data is the string contents of the + artifact type: string required: - data type: object s3: + description: S3 contains S3 artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string caSecret: + description: CASecret specifies the secret that + contains the CA, used to verify the TLS connection properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the + driver to attempt to create the S3 bucket for + output artifacts, if it doesn't exist. Setting + Enabled Encryption will apply either SSE-S3 to + the bucket if KmsKeyId is not set or SSE-KMS if + it is. properties: objectLocking: + description: ObjectLocking Enable object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used to determine + encryption options during s3 operations properties: enableEncryption: + description: EnableEncryption tells the driver + to encrypt objects if set to true. If kmsKeyId + and serverSideCustomerKeySecret are not set, + SSE-S3 will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext is a json + blob that contains an encryption context. + See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver to encrypt + the object using the specified KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret tells + the driver to encrypt the output artifacts + using SSE-C with the specified secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -13863,115 +17250,242 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string insecure: + description: Insecure will connect to the service + with TLS type: boolean key: + description: Key is the key in the bucket where + the artifact resides type: string region: + description: Region contains the optional bucket + region type: string roleARN: + description: RoleARN is the Amazon Resource Name + (ARN) of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used for ephemeral + credentials like an IAM assume role or S3 access + grant properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean type: object type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : 0) + + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' automountServiceAccountToken: + description: |- + AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in pods. + ServiceAccountName of ExecutorConfig must be specified if this value is false. type: boolean container: + description: Container is the main container image to run + in the pod properties: args: + description: |- + Arguments to the entrypoint. + The container image's CMD is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic command: + description: |- + Entrypoint array. Not executed within a shell. + The container image's ENTRYPOINT is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic env: + description: |- + List of environment variables to set in the container. + Cannot be updated. items: + description: EnvVar represents an environment variable + present in a Container. properties: name: + description: Name of the environment variable. + Must be a C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. If a variable cannot be resolved, + the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. + "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". + Escaped references will never be expanded, regardless of whether the variable + exists or not. + Defaults to "". type: string valueFrom: + description: Source for the environment variable's + value. Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. properties: apiVersion: + description: Version of the schema the + FieldPath is written in terms of, defaults + to "v1". type: string fieldPath: + description: Path of the field to select + in the specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. properties: containerName: + description: 'Container name: required + for volumes, optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format + of the exposed resources, defaults to + "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic 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: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -13986,25 +17500,54 @@ spec: - name x-kubernetes-list-type: map envFrom: + description: |- + List of sources to populate environment variables in the container. + The keys defined within a source must be a C_IDENTIFIER. All invalid keys + will be reported as an event when the container is starting. When a key exists in multiple + sources, the value associated with the last source will take precedence. + Values defined by an Env with a duplicate key will take precedence. + Cannot be updated. items: + description: EnvFromSource represents the source of + a set of ConfigMaps or Secrets properties: configMapRef: + description: The ConfigMap to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + must be defined type: boolean type: object x-kubernetes-map-type: atomic prefix: + description: Optional text to prepend to the name + of each environment variable. Must be a C_IDENTIFIER. type: string secretRef: + description: The Secret to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret must + be defined type: boolean type: object x-kubernetes-map-type: atomic @@ -14012,31 +17555,71 @@ spec: type: array x-kubernetes-list-type: atomic image: + description: |- + Container image name. + More info: https://kubernetes.io/docs/concepts/containers/images + This field is optional to allow higher level config management to default or override + container images in workload controllers like Deployments and StatefulSets. type: string imagePullPolicy: + description: |- + Image pull policy. + One of Always, Never, IfNotPresent. + Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/containers/images#updating-images type: string lifecycle: + description: |- + Actions that the management system should take in response to container lifecycle events. + Cannot be updated. properties: postStart: + description: |- + PostStart is called immediately after a container is created. If the handler fails, + the container is terminated and restarted according to its restart policy. + Other management of the container blocks until the hook completes. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the + request. HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -14045,58 +17628,112 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP + server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that + the container should sleep. properties: seconds: + description: Seconds is the number of seconds + to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object preStop: + description: |- + PreStop is called immediately before a container is terminated due to an + API request or management event such as liveness/startup probe failure, + preemption, resource contention, etc. The handler is not called if the + container crashes or exits. The Pod's termination grace period countdown begins before the + PreStop hook is executed. Regardless of the outcome of the handler, the + container will eventually terminate within the Pod's termination grace + period (unless delayed by finalizers). Other management of the container blocks until the hook completes + or until the termination grace period is reached. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the + request. HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -14105,75 +17742,139 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP + server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that + the container should sleep. properties: seconds: + description: Seconds is the number of seconds + to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object stopSignal: + description: |- + StopSignal defines which signal will be sent to a container when it is being stopped. + If not specified, the default is defined by the container runtime in use. + StopSignal can only be set for Pods with a non-empty .spec.os.name type: string type: object livenessProbe: + description: |- + Periodic probe of container liveness. + Container will be restarted if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -14182,62 +17883,133 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to + a TCP port. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object name: + description: |- + Name of the container specified as a DNS_LABEL. + Each container in a pod must have a unique name (DNS_LABEL). + Cannot be updated. type: string ports: + description: |- + List of ports to expose from the container. Not specifying a port here + DOES NOT prevent that port from being exposed. Any port which is + listening on the default "0.0.0.0" address inside a container will be + accessible from the network. + Modifying this array with strategic merge patch may corrupt the data. + For more information See https://github.com/kubernetes/kubernetes/issues/108255. + Cannot be updated. items: + description: ContainerPort represents a network port + in a single container. properties: containerPort: + description: |- + Number of port to expose on the pod's IP address. + This must be a valid port number, 0 < x < 65536. format: int32 type: integer hostIP: + description: What host IP to bind the external + port to. type: string hostPort: + description: |- + Number of port to expose on the host. + If specified, this must be a valid port number, 0 < x < 65536. + If HostNetwork is specified, this must match ContainerPort. + Most containers do not need this. format: int32 type: integer name: + description: |- + If specified, this must be an IANA_SVC_NAME and unique within the pod. Each + named port in a pod must have a unique name. Name for the port that can be + referred to by services. type: string protocol: default: TCP + description: |- + Protocol for port. Must be UDP, TCP, or SCTP. + Defaults to "TCP". type: string required: - containerPort @@ -14248,39 +18020,76 @@ spec: - protocol x-kubernetes-list-type: map readinessProbe: + description: |- + Periodic probe of container service readiness. + Container will be removed from service endpoints if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -14289,51 +18098,100 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to + a TCP port. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object resizePolicy: + description: Resources resize policy for the container. items: + description: ContainerResizePolicy represents resource + resize policy for the container. properties: resourceName: + description: |- + Name of the resource to which this resource resize policy applies. + Supported values: cpu, memory. type: string restartPolicy: + description: |- + Restart policy to apply when specified resource is resized. + If not specified, it defaults to NotRequired. type: string required: - resourceName @@ -14342,13 +18200,35 @@ spec: type: array x-kubernetes-list-type: atomic resources: + description: |- + Compute Resources required by this container. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ properties: claims: + description: |- + Claims lists the names of resources, defined in spec.resourceClaims, + that are used by this container. + + This is an alpha field and requires enabling the + DynamicResourceAllocation feature gate. + + This field is immutable. It can only be set for containers. items: + description: ResourceClaim references one entry + in PodSpec.ResourceClaims. properties: name: + description: |- + Name must match the name of one entry in pod.spec.resourceClaims of + the Pod where this field is used. It makes that resource available + inside a container. type: string request: + description: |- + Request is the name chosen for a request in the referenced claim. + If empty, everything from the claim is made available, otherwise + only the result of this request. type: string required: - name @@ -14364,6 +18244,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -14372,116 +18255,300 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object type: object restartPolicy: + description: |- + RestartPolicy defines the restart behavior of individual containers in a pod. + This field may only be set for init containers, and the only allowed value is "Always". + For non-init containers or when this field is not specified, + the restart behavior is defined by the Pod's restart policy and the container type. + Setting the RestartPolicy as "Always" for the init container will have the following effect: + this init container will be continually restarted on + exit until all regular containers have terminated. Once all regular + containers have completed, all init containers with restartPolicy "Always" + will be shut down. This lifecycle differs from normal init containers and + is often referred to as a "sidecar" container. Although this init + container still starts in the init container sequence, it does not wait + for the container to complete before proceeding to the next init + container. Instead, the next init container starts immediately after this + init container is started, or after any startupProbe has successfully + completed. type: string securityContext: + description: |- + SecurityContext defines the security options the container should be run with. + If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. + More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ properties: allowPrivilegeEscalation: + description: |- + AllowPrivilegeEscalation controls whether a process can gain more + privileges than its parent process. This bool directly controls if + the no_new_privs flag will be set on the container process. + AllowPrivilegeEscalation is true always when the container is: + 1) run as Privileged + 2) has CAP_SYS_ADMIN + Note that this field cannot be set when spec.os.name is windows. type: boolean appArmorProfile: + description: |- + appArmorProfile is the AppArmor options to use by this container. If set, this profile + overrides the pod's appArmorProfile. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile loaded on the node that should be used. + The profile must be preconfigured on the node to work. + Must match the loaded name of the profile. + Must be set if and only if type is "Localhost". type: string type: + description: |- + type indicates which kind of AppArmor profile will be applied. + Valid options are: + Localhost - a profile pre-loaded on the node. + RuntimeDefault - the container runtime's default profile. + Unconfined - no AppArmor enforcement. type: string required: - type type: object capabilities: + description: |- + The capabilities to add/drop when running containers. + Defaults to the default set of capabilities granted by the container runtime. + Note that this field cannot be set when spec.os.name is windows. properties: add: + description: Added capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array x-kubernetes-list-type: atomic drop: + description: Removed capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array x-kubernetes-list-type: atomic type: object privileged: + description: |- + Run container in privileged mode. + Processes in privileged containers are essentially equivalent to root on the host. + Defaults to false. + Note that this field cannot be set when spec.os.name is windows. type: boolean procMount: + description: |- + procMount denotes the type of proc mount to use for the containers. + The default value is Default which uses the container runtime defaults for + readonly paths and masked paths. + This requires the ProcMountType feature flag to be enabled. + Note that this field cannot be set when spec.os.name is windows. type: string readOnlyRootFilesystem: + description: |- + Whether this container has a read-only root filesystem. + Default is false. + Note that this field cannot be set when spec.os.name is windows. type: boolean runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer runAsNonRoot: + description: |- + Indicates that the container must run as a non-root user. + If true, the Kubelet will validate the image at runtime to ensure that it + does not run as UID 0 (root) and fail to start the container if it does. + If unset or false, no such validation will be performed. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to the container. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. properties: level: + description: Level is SELinux level label that + applies to the container. type: string role: + description: Role is a SELinux role label that + applies to the container. type: string type: + description: Type is a SELinux type label that + applies to the container. type: string user: + description: User is a SELinux user label that + applies to the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by this container. If seccomp options are + provided at both the pod & container level, the container options + override the pod options. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. + Must be a descending path, relative to the kubelet's configured seccomp profile location. + Must be set if type is "Localhost". Must NOT be set for any other type. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + Localhost - a profile defined in a file on the node should be used. + RuntimeDefault - the container runtime default profile should be used. + Unconfined - no profile should be applied. type: string required: - type type: object windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options from the PodSecurityContext will be used. + If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is linux. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name + of the GMSA credential spec to use. type: string hostProcess: + description: |- + HostProcess determines if a container should be run as a 'Host Process' container. + All of a Pod's containers must have the same effective HostProcess value + (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + In addition, if HostProcess is true then HostNetwork must also be set to true. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: string type: object type: object startupProbe: + description: |- + StartupProbe indicates that the Pod has successfully initialized. + If specified, no other probes are executed until this completes successfully. + If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. + This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, + when it might take a long time to load data or warm a cache, than during steady-state operation. + This cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -14490,61 +18557,141 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to + a TCP port. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object stdin: + description: |- + Whether this container should allocate a buffer for stdin in the container runtime. If this + is not set, reads from stdin in the container will always result in EOF. + Default is false. type: boolean stdinOnce: + description: |- + Whether the container runtime should close the stdin channel after it has been opened by + a single attach. When stdin is true the stdin stream will remain open across multiple attach + sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the + first client attaches to stdin, and then remains open and accepts data until the client disconnects, + at which time stdin is closed and remains closed until the container is restarted. If this + flag is false, a container processes that reads from stdin will never receive an EOF. + Default is false type: boolean terminationMessagePath: + description: |- + Optional: Path at which the file to which the container's termination message + will be written is mounted into the container's filesystem. + Message written is intended to be brief final status, such as an assertion failure message. + Will be truncated by the node if greater than 4096 bytes. The total message length across + all containers will be limited to 12kb. + Defaults to /dev/termination-log. + Cannot be updated. type: string terminationMessagePolicy: + description: |- + Indicate how the termination message should be populated. File will use the contents of + terminationMessagePath to populate the container status message on both success and failure. + FallbackToLogsOnError will use the last chunk of container log output if the termination + message file is empty and the container exited with an error. + The log output is limited to 2048 bytes or 80 lines, whichever is smaller. + Defaults to File. + Cannot be updated. type: string tty: + description: |- + Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. + Default is false. type: boolean volumeDevices: + description: volumeDevices is the list of block devices + to be used by the container. items: + description: volumeDevice describes a mapping of a + raw block device within a container. properties: devicePath: + description: devicePath is the path inside of + the container that the device will be mapped + to. type: string name: + description: name must match the name of a persistentVolumeClaim + in the pod type: string required: - devicePath @@ -14555,21 +18702,65 @@ spec: - devicePath x-kubernetes-list-type: map volumeMounts: + description: |- + Pod volumes to mount into the container's filesystem. + Cannot be updated. items: + description: VolumeMount describes a mounting of a + Volume within a container. properties: mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. type: string mountPropagation: + description: |- + mountPropagation determines how mounts are propagated from the host + to container and the other way around. + When not set, MountPropagationNone is used. + This field is beta in 1.10. + When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + (which defaults to None). type: string name: + description: This must match the Name of a Volume. type: string readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. type: boolean recursiveReadOnly: + description: |- + RecursiveReadOnly specifies whether read-only mounts should be handled + recursively. + + If ReadOnly is false, this field has no meaning and must be unspecified. + + If ReadOnly is true, and this field is set to Disabled, the mount is not made + recursively read-only. If this field is set to IfPossible, the mount is made + recursively read-only, if it is supported by the container runtime. If this + field is set to Enabled, the mount is made recursively read-only if it is + supported by the container runtime, otherwise the pod will not be started and + an error will be generated to indicate the reason. + + If this field is set to IfPossible or Enabled, MountPropagation must be set to + None (or be unspecified, which defaults to None). + + If this field is not specified, it is treated as an equivalent of Disabled. type: string subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). type: string subPathExpr: + description: |- + Expanded path within the volume from which the container's volume should be mounted. + Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. + Defaults to "" (volume's root). + SubPathExpr and SubPath are mutually exclusive. type: string required: - mountPath @@ -14580,19 +18771,44 @@ spec: - mountPath x-kubernetes-list-type: map workingDir: + description: |- + Container's working directory. + If not specified, the container runtime's default will be used, which + might be configured in the container image. + Cannot be updated. type: string type: object containerSet: + description: ContainerSet groups multiple containers within + a single pod. properties: containers: items: properties: args: + description: |- + Arguments to the entrypoint. + The container image's CMD is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic command: + description: |- + Entrypoint array. Not executed within a shell. + The container image's ENTRYPOINT is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array @@ -14602,61 +18818,123 @@ spec: type: string type: array env: + description: |- + List of environment variables to set in the container. + Cannot be updated. items: + description: EnvVar represents an environment + variable present in a Container. properties: name: + description: Name of the environment variable. + Must be a C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. If a variable cannot be resolved, + the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. + "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". + Escaped references will never be expanded, regardless of whether the variable + exists or not. + Defaults to "". type: string valueFrom: + description: Source for the environment + variable's value. Cannot be used if value + is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + ConfigMap or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. properties: apiVersion: + description: Version of the schema + the FieldPath is written in terms + of, defaults to "v1". type: string fieldPath: + description: Path of the field to + select in the specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. properties: containerName: + description: 'Container name: required + for volumes, optional for env + vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output + format of the exposed resources, + defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource + to select' type: string required: - resource type: object x-kubernetes-map-type: atomic 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: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -14671,25 +18949,55 @@ spec: - name x-kubernetes-list-type: map envFrom: + description: |- + List of sources to populate environment variables in the container. + The keys defined within a source must be a C_IDENTIFIER. All invalid keys + will be reported as an event when the container is starting. When a key exists in multiple + sources, the value associated with the last source will take precedence. + Values defined by an Env with a duplicate key will take precedence. + Cannot be updated. items: + description: EnvFromSource represents the source + of a set of ConfigMaps or Secrets properties: configMapRef: + description: The ConfigMap to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + must be defined type: boolean type: object x-kubernetes-map-type: atomic prefix: + description: Optional text to prepend to + the name of each environment variable. + Must be a C_IDENTIFIER. type: string secretRef: + description: The Secret to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + must be defined type: boolean type: object x-kubernetes-map-type: atomic @@ -14697,31 +19005,74 @@ spec: type: array x-kubernetes-list-type: atomic image: + description: |- + Container image name. + More info: https://kubernetes.io/docs/concepts/containers/images + This field is optional to allow higher level config management to default or override + container images in workload controllers like Deployments and StatefulSets. type: string imagePullPolicy: + description: |- + Image pull policy. + One of Always, Never, IfNotPresent. + Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/containers/images#updating-images type: string lifecycle: + description: |- + Actions that the management system should take in response to container lifecycle events. + Cannot be updated. properties: postStart: + description: |- + PostStart is called immediately after a container is created. If the handler fails, + the container is terminated and restarted according to its restart policy. + Other management of the container blocks until the hook completes. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command + to execute in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP + GET request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set + in the request. HTTP allows repeated + headers. items: + description: HTTPHeader describes + a custom header to be used in + HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field + value type: string required: - name @@ -14730,58 +19081,116 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the + HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration + that the container should sleep. properties: seconds: + description: Seconds is the number + of seconds to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name + to connect to, defaults to the pod + IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object preStop: + description: |- + PreStop is called immediately before a container is terminated due to an + API request or management event such as liveness/startup probe failure, + preemption, resource contention, etc. The handler is not called if the + container crashes or exits. The Pod's termination grace period countdown begins before the + PreStop hook is executed. Regardless of the outcome of the handler, the + container will eventually terminate within the Pod's termination grace + period (unless delayed by finalizers). Other management of the container blocks until the hook completes + or until the termination grace period is reached. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command + to execute in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP + GET request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set + in the request. HTTP allows repeated + headers. items: + description: HTTPHeader describes + a custom header to be used in + HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field + value type: string required: - name @@ -14790,75 +19199,140 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the + HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration + that the container should sleep. properties: seconds: + description: Seconds is the number + of seconds to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name + to connect to, defaults to the pod + IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object stopSignal: + description: |- + StopSignal defines which signal will be sent to a container when it is being stopped. + If not specified, the default is defined by the container runtime in use. + StopSignal can only be set for Pods with a non-empty .spec.os.name type: string type: object livenessProbe: + description: |- + Periodic probe of container liveness. + Container will be restarted if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET + request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in + the request. HTTP allows repeated headers. items: + description: HTTPHeader describes a + custom header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -14867,62 +19341,134 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP + server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection + to a TCP port. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object name: + description: |- + Name of the container specified as a DNS_LABEL. + Each container in a pod must have a unique name (DNS_LABEL). + Cannot be updated. type: string ports: + description: |- + List of ports to expose from the container. Not specifying a port here + DOES NOT prevent that port from being exposed. Any port which is + listening on the default "0.0.0.0" address inside a container will be + accessible from the network. + Modifying this array with strategic merge patch may corrupt the data. + For more information See https://github.com/kubernetes/kubernetes/issues/108255. + Cannot be updated. items: + description: ContainerPort represents a network + port in a single container. properties: containerPort: + description: |- + Number of port to expose on the pod's IP address. + This must be a valid port number, 0 < x < 65536. format: int32 type: integer hostIP: + description: What host IP to bind the external + port to. type: string hostPort: + description: |- + Number of port to expose on the host. + If specified, this must be a valid port number, 0 < x < 65536. + If HostNetwork is specified, this must match ContainerPort. + Most containers do not need this. format: int32 type: integer name: + description: |- + If specified, this must be an IANA_SVC_NAME and unique within the pod. Each + named port in a pod must have a unique name. Name for the port that can be + referred to by services. type: string protocol: default: TCP + description: |- + Protocol for port. Must be UDP, TCP, or SCTP. + Defaults to "TCP". type: string required: - containerPort @@ -14933,39 +19479,76 @@ spec: - protocol x-kubernetes-list-type: map readinessProbe: + description: |- + Periodic probe of container service readiness. + Container will be removed from service endpoints if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET + request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in + the request. HTTP allows repeated headers. items: + description: HTTPHeader describes a + custom header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -14974,51 +19557,101 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP + server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection + to a TCP port. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object resizePolicy: + description: Resources resize policy for the container. items: + description: ContainerResizePolicy represents + resource resize policy for the container. properties: resourceName: + description: |- + Name of the resource to which this resource resize policy applies. + Supported values: cpu, memory. type: string restartPolicy: + description: |- + Restart policy to apply when specified resource is resized. + If not specified, it defaults to NotRequired. type: string required: - resourceName @@ -15027,13 +19660,35 @@ spec: type: array x-kubernetes-list-type: atomic resources: + description: |- + Compute Resources required by this container. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ properties: claims: + description: |- + Claims lists the names of resources, defined in spec.resourceClaims, + that are used by this container. + + This is an alpha field and requires enabling the + DynamicResourceAllocation feature gate. + + This field is immutable. It can only be set for containers. items: + description: ResourceClaim references one + entry in PodSpec.ResourceClaims. properties: name: + description: |- + Name must match the name of one entry in pod.spec.resourceClaims of + the Pod where this field is used. It makes that resource available + inside a container. type: string request: + description: |- + Request is the name chosen for a request in the referenced claim. + If empty, everything from the claim is made available, otherwise + only the result of this request. type: string required: - name @@ -15049,6 +19704,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -15057,116 +19715,301 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object type: object restartPolicy: + description: |- + RestartPolicy defines the restart behavior of individual containers in a pod. + This field may only be set for init containers, and the only allowed value is "Always". + For non-init containers or when this field is not specified, + the restart behavior is defined by the Pod's restart policy and the container type. + Setting the RestartPolicy as "Always" for the init container will have the following effect: + this init container will be continually restarted on + exit until all regular containers have terminated. Once all regular + containers have completed, all init containers with restartPolicy "Always" + will be shut down. This lifecycle differs from normal init containers and + is often referred to as a "sidecar" container. Although this init + container still starts in the init container sequence, it does not wait + for the container to complete before proceeding to the next init + container. Instead, the next init container starts immediately after this + init container is started, or after any startupProbe has successfully + completed. type: string securityContext: + description: |- + SecurityContext defines the security options the container should be run with. + If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. + More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ properties: allowPrivilegeEscalation: + description: |- + AllowPrivilegeEscalation controls whether a process can gain more + privileges than its parent process. This bool directly controls if + the no_new_privs flag will be set on the container process. + AllowPrivilegeEscalation is true always when the container is: + 1) run as Privileged + 2) has CAP_SYS_ADMIN + Note that this field cannot be set when spec.os.name is windows. type: boolean appArmorProfile: + description: |- + appArmorProfile is the AppArmor options to use by this container. If set, this profile + overrides the pod's appArmorProfile. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile loaded on the node that should be used. + The profile must be preconfigured on the node to work. + Must match the loaded name of the profile. + Must be set if and only if type is "Localhost". type: string type: + description: |- + type indicates which kind of AppArmor profile will be applied. + Valid options are: + Localhost - a profile pre-loaded on the node. + RuntimeDefault - the container runtime's default profile. + Unconfined - no AppArmor enforcement. type: string required: - type type: object capabilities: + description: |- + The capabilities to add/drop when running containers. + Defaults to the default set of capabilities granted by the container runtime. + Note that this field cannot be set when spec.os.name is windows. properties: add: + description: Added capabilities items: + description: Capability represent POSIX + capabilities type type: string type: array x-kubernetes-list-type: atomic drop: + description: Removed capabilities items: + description: Capability represent POSIX + capabilities type type: string type: array x-kubernetes-list-type: atomic type: object privileged: + description: |- + Run container in privileged mode. + Processes in privileged containers are essentially equivalent to root on the host. + Defaults to false. + Note that this field cannot be set when spec.os.name is windows. type: boolean procMount: + description: |- + procMount denotes the type of proc mount to use for the containers. + The default value is Default which uses the container runtime defaults for + readonly paths and masked paths. + This requires the ProcMountType feature flag to be enabled. + Note that this field cannot be set when spec.os.name is windows. type: string readOnlyRootFilesystem: + description: |- + Whether this container has a read-only root filesystem. + Default is false. + Note that this field cannot be set when spec.os.name is windows. type: boolean runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer runAsNonRoot: + description: |- + Indicates that the container must run as a non-root user. + If true, the Kubelet will validate the image at runtime to ensure that it + does not run as UID 0 (root) and fail to start the container if it does. + If unset or false, no such validation will be performed. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to the container. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. properties: level: + description: Level is SELinux level label + that applies to the container. type: string role: + description: Role is a SELinux role label + that applies to the container. type: string type: + description: Type is a SELinux type label + that applies to the container. type: string user: + description: User is a SELinux user label + that applies to the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by this container. If seccomp options are + provided at both the pod & container level, the container options + override the pod options. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. + Must be a descending path, relative to the kubelet's configured seccomp profile location. + Must be set if type is "Localhost". Must NOT be set for any other type. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + Localhost - a profile defined in a file on the node should be used. + RuntimeDefault - the container runtime default profile should be used. + Unconfined - no profile should be applied. type: string required: - type type: object windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options from the PodSecurityContext will be used. + If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is linux. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is + the name of the GMSA credential spec + to use. type: string hostProcess: + description: |- + HostProcess determines if a container should be run as a 'Host Process' container. + All of a Pod's containers must have the same effective HostProcess value + (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + In addition, if HostProcess is true then HostNetwork must also be set to true. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: string type: object type: object startupProbe: + description: |- + StartupProbe indicates that the Pod has successfully initialized. + If specified, no other probes are executed until this completes successfully. + If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. + This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, + when it might take a long time to load data or warm a cache, than during steady-state operation. + This cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET + request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in + the request. HTTP allows repeated headers. items: + description: HTTPHeader describes a + custom header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -15175,61 +20018,142 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP + server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection + to a TCP port. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object stdin: + description: |- + Whether this container should allocate a buffer for stdin in the container runtime. If this + is not set, reads from stdin in the container will always result in EOF. + Default is false. type: boolean stdinOnce: + description: |- + Whether the container runtime should close the stdin channel after it has been opened by + a single attach. When stdin is true the stdin stream will remain open across multiple attach + sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the + first client attaches to stdin, and then remains open and accepts data until the client disconnects, + at which time stdin is closed and remains closed until the container is restarted. If this + flag is false, a container processes that reads from stdin will never receive an EOF. + Default is false type: boolean terminationMessagePath: + description: |- + Optional: Path at which the file to which the container's termination message + will be written is mounted into the container's filesystem. + Message written is intended to be brief final status, such as an assertion failure message. + Will be truncated by the node if greater than 4096 bytes. The total message length across + all containers will be limited to 12kb. + Defaults to /dev/termination-log. + Cannot be updated. type: string terminationMessagePolicy: + description: |- + Indicate how the termination message should be populated. File will use the contents of + terminationMessagePath to populate the container status message on both success and failure. + FallbackToLogsOnError will use the last chunk of container log output if the termination + message file is empty and the container exited with an error. + The log output is limited to 2048 bytes or 80 lines, whichever is smaller. + Defaults to File. + Cannot be updated. type: string tty: + description: |- + Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. + Default is false. type: boolean volumeDevices: + description: volumeDevices is the list of block + devices to be used by the container. items: + description: volumeDevice describes a mapping + of a raw block device within a container. properties: devicePath: + description: devicePath is the path inside + of the container that the device will + be mapped to. type: string name: + description: name must match the name of + a persistentVolumeClaim in the pod type: string required: - devicePath @@ -15240,21 +20164,66 @@ spec: - devicePath x-kubernetes-list-type: map volumeMounts: + description: |- + Pod volumes to mount into the container's filesystem. + Cannot be updated. items: + description: VolumeMount describes a mounting + of a Volume within a container. properties: mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. type: string mountPropagation: + description: |- + mountPropagation determines how mounts are propagated from the host + to container and the other way around. + When not set, MountPropagationNone is used. + This field is beta in 1.10. + When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + (which defaults to None). type: string name: + description: This must match the Name of + a Volume. type: string readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. type: boolean recursiveReadOnly: + description: |- + RecursiveReadOnly specifies whether read-only mounts should be handled + recursively. + + If ReadOnly is false, this field has no meaning and must be unspecified. + + If ReadOnly is true, and this field is set to Disabled, the mount is not made + recursively read-only. If this field is set to IfPossible, the mount is made + recursively read-only, if it is supported by the container runtime. If this + field is set to Enabled, the mount is made recursively read-only if it is + supported by the container runtime, otherwise the pod will not be started and + an error will be generated to indicate the reason. + + If this field is set to IfPossible or Enabled, MountPropagation must be set to + None (or be unspecified, which defaults to None). + + If this field is not specified, it is treated as an equivalent of Disabled. type: string subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). type: string subPathExpr: + description: |- + Expanded path within the volume from which the container's volume should be mounted. + Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. + Defaults to "" (volume's root). + SubPathExpr and SubPath are mutually exclusive. type: string required: - mountPath @@ -15265,39 +20234,94 @@ spec: - mountPath x-kubernetes-list-type: map workingDir: + description: |- + Container's working directory. + If not specified, the container runtime's default will be used, which + might be configured in the container image. + Cannot be updated. type: string required: - name type: object type: array retryStrategy: + description: |- + RetryStrategy describes how to retry container nodes if the container set fails. + Note that this works differently from the template-level `retryStrategy` as it is a process-level retry that does not create new Pods or containers. properties: duration: + description: |- + Duration is the time between each retry, examples values are "300ms", "1s" or "5m". + Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". type: string retries: anyOf: - type: integer - type: string + description: |- + Retries is the maximum number of retry attempts for each container. It does not include the + first, original attempt; the maximum number of total attempts will be `retries + 1`. x-kubernetes-int-or-string: true required: - retries type: object volumeMounts: items: + description: VolumeMount describes a mounting of a + Volume within a container. properties: mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. type: string mountPropagation: + description: |- + mountPropagation determines how mounts are propagated from the host + to container and the other way around. + When not set, MountPropagationNone is used. + This field is beta in 1.10. + When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + (which defaults to None). type: string name: + description: This must match the Name of a Volume. type: string readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. type: boolean recursiveReadOnly: + description: |- + RecursiveReadOnly specifies whether read-only mounts should be handled + recursively. + + If ReadOnly is false, this field has no meaning and must be unspecified. + + If ReadOnly is true, and this field is set to Disabled, the mount is not made + recursively read-only. If this field is set to IfPossible, the mount is made + recursively read-only, if it is supported by the container runtime. If this + field is set to Enabled, the mount is made recursively read-only if it is + supported by the container runtime, otherwise the pod will not be started and + an error will be generated to indicate the reason. + + If this field is set to IfPossible or Enabled, MountPropagation must be set to + None (or be unspecified, which defaults to None). + + If this field is not specified, it is treated as an equivalent of Disabled. type: string subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). type: string subPathExpr: + description: |- + Expanded path within the volume from which the container's volume should be mounted. + Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. + Defaults to "" (volume's root). + SubPathExpr and SubPath are mutually exclusive. type: string required: - mountPath @@ -15308,39 +20332,89 @@ spec: - containers type: object daemon: + description: Daemon will allow a workflow to proceed to + the next step so long as the container reaches readiness type: boolean dag: + description: DAG template subtype which runs a DAG properties: failFast: + description: |- + This flag is for DAG logic. The DAG logic has a built-in "fail fast" feature to stop scheduling new steps, + as soon as it detects that one of the DAG nodes is failed. Then it waits until all DAG nodes are completed + before failing the DAG itself. + The FailFast flag default is true, if set to false, it will allow a DAG to run all branches of the DAG to + completion (either success or failure), regardless of the failed outcomes of branches in the DAG. + More info and example about this feature at https://github.com/argoproj/argo-workflows/issues/1442 type: boolean target: + description: Target are one or more names of targets + to execute in a DAG type: string tasks: + description: |- + Tasks are a list of DAG tasks + MaxItems is an artificial limit to limit CEL validation costs - see note at top of file items: + description: |- + DAGTask represents a node in the graph during DAG execution + Note: CEL validation cannot check withItems (Schemaless) or inline (PreserveUnknownFields) fields. properties: arguments: + description: Arguments are the parameter and artifact + arguments to the template properties: artifacts: + description: Artifacts is the list of artifacts + to pass to the template or workflow items: + description: Artifact indicates an artifact + to place at a specified path properties: archive: + description: Archive controls how the + artifact will be saved to the artifact + repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar + and gzip the file or directory + when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip + zipped input artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if + the container logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the + strategy to use when to deleting an + artifact from completed or deleted + workflows properties: podMetadata: + description: PodMetadata is an optional + field for specifying the Labels + and Annotations that should be + assigned to the Pod doing the + deletion properties: annotations: additionalProperties: @@ -15352,8 +20426,15 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName + is an optional field for specifying + the Service Account that should + be assigned to the Pod doing the + deletion type: string strategy: + description: Strategy is the strategy + to use. enum: - "" - OnWorkflowCompletion @@ -15362,30 +20443,63 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory + artifact location details properties: passwordSecret: + description: PasswordSecret is the + secret selector to the repository + password properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the + secret selector to the repository + username properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -15395,27 +20509,55 @@ spec: - url type: object azure: + description: Azure contains Azure Storage + artifact location details properties: accountKeySecret: + description: AccountKeySecret is + the secret selector to the Azure + Blob Storage account access key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name + (i.e., path) in the container + where the artifact resides type: string container: + description: Container is the container + where resources will be stored type: string endpoint: + description: Endpoint is the service + url associated with an account. + It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the + driver to figure out credentials + based on sdk defaults. type: boolean required: - blob @@ -15423,25 +20565,54 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact + to reference an artifact from a previous + step type: string fromExpression: + description: FromExpression, if defined, + is evaluated to specify the value + for the artifact type: string gcs: + description: GCS contains GCS artifact + location details properties: bucket: + description: Bucket is the name + of the bucket type: string key: + description: Key is the path in + the bucket where the artifact + resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret + is the secret selector to the + bucket's service account key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -15451,62 +20622,132 @@ spec: - key type: object git: + description: Git contains git artifact + location details properties: branch: + description: Branch is the branch + to fetch when `SingleBranch` is + enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables + submodules during git clone type: boolean fetch: + description: Fetch specifies a number + of refs that should be fetched + before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey + disables SSH strict host key checking + during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables + server certificate verification + resulting in insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the + secret selector to the repository + password properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git + commit, tag, branch to checkout type: string singleBranch: + description: SingleBranch enables + single branch clone, using the + `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret + is the secret selector to the + repository ssh private key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the + secret selector to the repository + username properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -15516,96 +20757,206 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact + location details properties: addresses: + description: Addresses is accessible + addresses of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file + forcibly even if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the ConfigMap or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path + in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact + location details properties: auth: + description: Auth contains information + for client authentication properties: basicAuth: + description: BasicAuth describes + the secret selectors required + for basic authentication properties: passwordSecret: + description: PasswordSecret + is the secret selector + to the repository password properties: key: + description: The key + of the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must be + defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret + is the secret selector + to the repository username properties: key: + description: The key + of the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must be + defined type: boolean required: - key @@ -15613,28 +20964,64 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth + holds necessary information + for client authentication + via certificates properties: clientCertSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must be + defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must be + defined type: boolean required: - key @@ -15642,28 +21029,64 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds + all information for client + authentication via OAuth2 + tokens properties: clientIDSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must be + defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must be + defined type: boolean required: - key @@ -15671,10 +21094,19 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam + is for requesting optional + fields that should be + sent in the oauth request properties: key: + description: Name + is the header name type: string value: + description: Value + is the literal value + to use for the header type: string required: - key @@ -15685,13 +21117,29 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must be + defined type: boolean required: - key @@ -15700,11 +21148,23 @@ spec: type: object type: object headers: + description: Headers are an optional + list of headers to send with HTTP + requests for artifacts items: + description: Header indicate a + key-value request header to + be used when fetching artifacts + over HTTP properties: name: + description: Name is the header + name type: string value: + description: Value is the + literal value to use for + the header type: string required: - name @@ -15712,131 +21172,317 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must + be unique within a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, + if Artifacts doesn't generate or exist type: boolean oss: + description: OSS contains OSS artifact + location details properties: accessKeySecret: + description: AccessKeySecret is + the secret selector to the bucket's + access key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name + of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent + tells the driver to attempt to + create the OSS bucket for output + artifacts, if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname + of the bucket endpoint type: string key: + description: Key is the path in + the bucket where the artifact + resides type: string lifecycleRule: + description: LifecycleRule specifies + how to manage bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays + is the number of days before + we delete objects in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before + we convert the objects in + the bucket to Infrequent Access + (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is + the secret selector to the bucket's + secret key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the + user''s temporary security token. + For more details, check out: https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the + driver to figure out credentials + based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container path + to the artifact type: string + plugin: + description: Plugin contains plugin + artifact location details + properties: + configuration: + description: Configuration is the + plugin defined configuration for + the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds + is the timeout for the artifact + driver connection, overriding + the driver's timeout + format: int32 + type: integer + key: + description: Key is the path in + the artifact repository where + the artifact resides + type: string + name: + description: Name is the name of + the artifact driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact + location details properties: data: + description: Data is the string + contents of the artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the + permission recursively into the artifact + if it is a folder type: boolean s3: + description: S3 contains S3 artifact + location details properties: accessKeySecret: + description: AccessKeySecret is + the secret selector to the bucket's + access key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name + of the bucket type: string caSecret: + description: CASecret specifies + the secret that contains the CA, + used to verify the TLS connection properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent + tells the driver to attempt to + create the S3 bucket for output + artifacts, if it doesn't exist. + Setting Enabled Encryption will + apply either SSE-S3 to the bucket + if KmsKeyId is not set or SSE-KMS + if it is. properties: objectLocking: + description: ObjectLocking Enable + object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions + used to determine encryption options + during s3 operations properties: enableEncryption: + description: EnableEncryption + tells the driver to encrypt + objects if set to true. If + kmsKeyId and serverSideCustomerKeySecret + are not set, SSE-S3 will be + used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext + is a json blob that contains + an encryption context. See + https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells + the driver to encrypt the + object using the specified + KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret + tells the driver to encrypt + the output artifacts using + SSE-C with the specified secret. properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key @@ -15844,97 +21490,223 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname + of the bucket endpoint type: string insecure: + description: Insecure will connect + to the service with TLS type: boolean key: + description: Key is the key in the + bucket where the artifact resides type: string region: + description: Region contains the + optional bucket region type: string roleARN: + description: RoleARN is the Amazon + Resource Name (ARN) of the role + to assume. type: string secretKeySecret: + description: SecretKeySecret is + the secret selector to the bucket's + secret key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret + is used for ephemeral credentials + like an IAM assume role or S3 + access grant properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the + driver to figure out credentials + based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact + to be sourced from a subpath within + the specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location + can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) + ? 1 : 0) + (has(self.http) ? 1 : 0) + + (has(self.artifactory) ? 1 : 0) + + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + + (has(self.gcs) ? 1 : 0) + (has(self.azure) + ? 1 : 0) + (has(self.plugin) ? 1 : 0) + <= 1' type: array parameters: + description: Parameters is the list of parameters + to pass to the template or workflow items: + description: Parameter indicate a passed + string parameter to a service template + with an optional default value properties: default: + description: Default is the default + value to use for an input parameter + if a value was not supplied type: string description: + description: Description is the parameter + description type: string enum: + description: Enum holds a list of string + values to choose from, for the actual + value of the parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source + for the output parameter's value properties: configMapKeyRef: + description: ConfigMapKeyRef is + configmap selector for input parameter + configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the ConfigMap or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies a + value to be used if retrieving + the value from the specified source + fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the + event to get the value of the + parameter. E.g. `payload.message` type: string expression: + description: Expression, if defined, + is evaluated to specify the value + for the parameter type: string jqFilter: + description: JQFilter expression + against the resource object in + resource templates type: string jsonPath: + description: JSONPath of a resource + to retrieve an output parameter + value from in resource templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container + to retrieve an output parameter + value from in container templates type: string supplied: + description: Supplied value to be + filled in directly, either through + the CLI, API, etc. type: object type: object required: @@ -15943,6 +21715,9 @@ spec: type: array type: object continueOn: + description: |- + ContinueOn makes argo to proceed with the following step even if this step fails. + Errors and Failed states can be specified properties: error: type: boolean @@ -15950,37 +21725,76 @@ spec: type: boolean type: object dependencies: + description: Dependencies are name of other targets + which this depends on items: type: string type: array depends: + description: Depends are name of other targets + which this depends on type: string hooks: additionalProperties: properties: arguments: + description: Arguments hold arguments to + the template properties: artifacts: + description: Artifacts is the list of + artifacts to pass to the template + or workflow items: + description: Artifact indicates an + artifact to place at a specified + path properties: archive: + description: Archive controls + how the artifact will be saved + to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will + tar and gzip the file or + directory when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will + unzip zipped input artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates + if the container logs should + be archived type: boolean artifactGC: + description: ArtifactGC describes + the strategy to use when to + deleting an artifact from completed + or deleted workflows properties: podMetadata: + description: PodMetadata is + an optional field for specifying + the Labels and Annotations + that should be assigned + to the Pod doing the deletion properties: annotations: additionalProperties: @@ -15992,8 +21806,15 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName + is an optional field for + specifying the Service Account + that should be assigned + to the Pod doing the deletion type: string strategy: + description: Strategy is the + strategy to use. enum: - "" - OnWorkflowCompletion @@ -16002,30 +21823,66 @@ spec: type: string type: object artifactory: + description: Artifactory contains + artifactory artifact location + details properties: passwordSecret: + description: PasswordSecret + is the secret selector to + the repository password properties: key: + description: The key of + the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret + is the secret selector to + the repository username properties: key: + description: The key of + the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key @@ -16035,27 +21892,61 @@ spec: - url type: object azure: + description: Azure contains Azure + Storage artifact location details properties: accountKeySecret: + description: AccountKeySecret + is the secret selector to + the Azure Blob Storage account + access key properties: key: + description: The key of + the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob + name (i.e., path) in the + container where the artifact + resides type: string container: + description: Container is + the container where resources + will be stored type: string endpoint: + description: Endpoint is the + service url associated with + an account. It is most likely + "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells + the driver to figure out + credentials based on sdk + defaults. type: boolean required: - blob @@ -16063,25 +21954,56 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact + to reference an artifact from + a previous step type: string fromExpression: + description: FromExpression, if + defined, is evaluated to specify + the value for the artifact type: string gcs: + description: GCS contains GCS + artifact location details properties: bucket: + description: Bucket is the + name of the bucket type: string key: + description: Key is the path + in the bucket where the + artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret + is the secret selector to + the bucket's service account + key properties: key: + description: The key of + the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key @@ -16091,62 +22013,141 @@ spec: - key type: object git: + description: Git contains git + artifact location details properties: branch: + description: Branch is the + branch to fetch when `SingleBranch` + is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules + disables submodules during + git clone type: boolean fetch: + description: Fetch specifies + a number of refs that should + be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey + disables SSH strict host + key checking during git + clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS + disables server certificate + verification resulting in + insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret + is the secret selector to + the repository password properties: key: + description: The key of + the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git + repository type: string revision: + description: Revision is the + git commit, tag, branch + to checkout type: string singleBranch: + description: SingleBranch + enables single branch clone, + using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret + is the secret selector to + the repository ssh private + key properties: key: + description: The key of + the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret + is the secret selector to + the repository username properties: key: + description: The key of + the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key @@ -16156,96 +22157,218 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS + artifact location details properties: addresses: + description: Addresses is + accessible addresses of + HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies + a file forcibly even if + it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of + the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to + select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the ConfigMap or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of + the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file + path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP + artifact location details properties: auth: + description: Auth contains + information for client authentication properties: basicAuth: + description: BasicAuth + describes the secret + selectors required for + basic authentication properties: passwordSecret: + description: PasswordSecret + is the secret selector + to the repository + password properties: key: + description: The + key of the secret + to select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the + Secret or its + key must be + defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret + is the secret selector + to the repository + username properties: key: + description: The + key of the secret + to select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the + Secret or its + key must be + defined type: boolean required: - key @@ -16253,28 +22376,70 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth + holds necessary information + for client authentication + via certificates properties: clientCertSecret: + description: SecretKeySelector + selects a key of + a Secret. properties: key: + description: The + key of the secret + to select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the + Secret or its + key must be + defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector + selects a key of + a Secret. properties: key: + description: The + key of the secret + to select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the + Secret or its + key must be + defined type: boolean required: - key @@ -16282,28 +22447,70 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth + holds all information + for client authentication + via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector + selects a key of + a Secret. properties: key: + description: The + key of the secret + to select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the + Secret or its + key must be + defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector + selects a key of + a Secret. properties: key: + description: The + key of the secret + to select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the + Secret or its + key must be + defined type: boolean required: - key @@ -16311,10 +22518,23 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam + is for requesting + optional fields + that should be + sent in the oauth + request properties: key: + description: Name + is the header + name type: string value: + description: Value + is the literal + value to use + for the header type: string required: - key @@ -16325,13 +22545,32 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector + selects a key of + a Secret. properties: key: + description: The + key of the secret + to select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the + Secret or its + key must be + defined type: boolean required: - key @@ -16340,11 +22579,24 @@ spec: type: object type: object headers: + description: Headers are an + optional list of headers + to send with HTTP requests + for artifacts items: + description: Header indicate + a key-value request header + to be used when fetching + artifacts over HTTP properties: name: + description: Name is + the header name type: string value: + description: Value is + the literal value + to use for the header type: string required: - name @@ -16352,131 +22604,337 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. + must be unique within a template's + inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, + if Artifacts doesn't generate + or exist type: boolean oss: + description: OSS contains OSS + artifact location details properties: accessKeySecret: + description: AccessKeySecret + is the secret selector to + the bucket's access key properties: key: + description: The key of + the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the + name of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent + tells the driver to attempt + to create the OSS bucket + for output artifacts, if + it doesn't exist type: boolean endpoint: + description: Endpoint is the + hostname of the bucket endpoint type: string key: + description: Key is the path + in the bucket where the + artifact resides type: string lifecycleRule: + description: LifecycleRule + specifies how to manage + bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays + is the number of days + before we delete objects + in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days + before we convert the + objects in the bucket + to Infrequent Access + (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret + is the secret selector to + the bucket's secret key properties: key: + description: The key of + the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken + is the user''s temporary + security token. For more + details, check out: https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells + the driver to figure out + credentials based on sdk + defaults. type: boolean required: - key type: object path: + description: Path is the container + path to the artifact type: string + plugin: + description: Plugin contains plugin + artifact location details + properties: + configuration: + description: Configuration + is the plugin defined configuration + for the artifact driver + plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds + is the timeout for the artifact + driver connection, overriding + the driver's timeout + format: int32 + type: integer + key: + description: Key is the path + in the artifact repository + where the artifact resides + type: string + name: + description: Name is the name + of the artifact driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw + artifact location details properties: data: + description: Data is the string + contents of the artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply + the permission recursively into + the artifact if it is a folder type: boolean s3: + description: S3 contains S3 artifact + location details properties: accessKeySecret: + description: AccessKeySecret + is the secret selector to + the bucket's access key properties: key: + description: The key of + the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the + name of the bucket type: string caSecret: + description: CASecret specifies + the secret that contains + the CA, used to verify the + TLS connection properties: key: + description: The key of + the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent + tells the driver to attempt + to create the S3 bucket + for output artifacts, if + it doesn't exist. Setting + Enabled Encryption will + apply either SSE-S3 to the + bucket if KmsKeyId is not + set or SSE-KMS if it is. properties: objectLocking: + description: ObjectLocking + Enable object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions + used to determine encryption + options during s3 operations properties: enableEncryption: + description: EnableEncryption + tells the driver to + encrypt objects if set + to true. If kmsKeyId + and serverSideCustomerKeySecret + are not set, SSE-S3 + will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext + is a json blob that + contains an encryption + context. See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId + tells the driver to + encrypt the object using + the specified KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret + tells the driver to + encrypt the output artifacts + using SSE-C with the + specified secret. properties: key: + description: The key + of the secret to + select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must + be defined type: boolean required: - key @@ -16484,97 +22942,240 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the + hostname of the bucket endpoint type: string insecure: + description: Insecure will + connect to the service with + TLS type: boolean key: + description: Key is the key + in the bucket where the + artifact resides type: string region: + description: Region contains + the optional bucket region type: string roleARN: + description: RoleARN is the + Amazon Resource Name (ARN) + of the role to assume. type: string secretKeySecret: + description: SecretKeySecret + is the secret selector to + the bucket's secret key properties: key: + description: The key of + the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret + is used for ephemeral credentials + like an IAM assume role + or S3 access grant properties: key: + description: The key of + the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells + the driver to figure out + credentials based on sdk + defaults. type: boolean type: object subPath: + description: SubPath allows an + artifact to be sourced from + a subpath within the specified + source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location + can be specified + rule: '(has(self.s3) ? 1 : 0) + + (has(self.git) ? 1 : 0) + (has(self.http) + ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 + : 0) + (has(self.raw) ? 1 : 0) + + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? + 1 : 0) + (has(self.plugin) ? 1 + : 0) <= 1' type: array parameters: + description: Parameters is the list + of parameters to pass to the template + or workflow items: + description: Parameter indicate a + passed string parameter to a service + template with an optional default + value properties: default: + description: Default is the default + value to use for an input parameter + if a value was not supplied type: string description: + description: Description is the + parameter description type: string enum: + description: Enum holds a list + of string values to choose from, + for the actual value of the + parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter + name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the + source for the output parameter's + value properties: configMapKeyRef: + description: ConfigMapKeyRef + is configmap selector for + input parameter configuration properties: key: + description: The key to + select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the ConfigMap or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies + a value to be used if retrieving + the value from the specified + source fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against + the event to get the value + of the parameter. E.g. `payload.message` type: string expression: + description: Expression, if + defined, is evaluated to + specify the value for the + parameter type: string jqFilter: + description: JQFilter expression + against the resource object + in resource templates type: string jsonPath: + description: JSONPath of a + resource to retrieve an + output parameter value from + in resource templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container + to retrieve an output parameter + value from in container + templates type: string supplied: + description: Supplied value + to be filled in directly, + either through the CLI, + API, etc. type: object type: object required: @@ -16583,94 +23184,194 @@ spec: type: array type: object expression: + description: |- + Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not + be retried and the retry strategy will be ignored type: string template: + description: Template is the name of the + template to execute by the hook type: string templateRef: + description: TemplateRef is the reference + to the template resource to execute by + the hook properties: clusterScope: + description: ClusterScope indicates + the referred template is cluster scoped + (i.e. a ClusterWorkflowTemplate). type: boolean name: + description: Name is the resource name + of the template. type: string template: + description: Template is the name of + referred template in the resource. type: string type: object type: object + description: |- + Hooks hold the lifecycle hook which is invoked at lifecycle of + task, irrespective of the success, failure, or error status of the primary task type: object inline: + description: |- + Inline is the template. Template must be empty if this is declared (and vice-versa). + Note: As mentioned in the corresponding definition in WorkflowStep, this struct is defined recursively, + so we need "x-kubernetes-preserve-unknown-fields: true" in the validation schema. x-kubernetes-preserve-unknown-fields: true name: + description: Name is the name of the target + maxLength: 128 + pattern: ^[a-zA-Z0-9][-a-zA-Z0-9]*$ type: string onExit: + description: |- + OnExit is a template reference which is invoked at the end of the + template, irrespective of the success, failure, or error of the + primary template. + DEPRECATED: Use Hooks[exit].Template instead. type: string template: + description: Name of template to execute type: string templateRef: + description: TemplateRef is the reference to the + template resource to execute. properties: clusterScope: + description: ClusterScope indicates the referred + template is cluster scoped (i.e. a ClusterWorkflowTemplate). type: boolean name: + description: Name is the resource name of + the template. type: string template: + description: Template is the name of referred + template in the resource. type: string type: object when: + description: When is an expression in which the + task should conditionally execute type: string withItems: + description: |- + WithItems expands a task into multiple parallel tasks from the items in the list + Note: The structure of WithItems is free-form, so we need + "x-kubernetes-preserve-unknown-fields: true" in the validation schema. x-kubernetes-preserve-unknown-fields: true withParam: + description: |- + WithParam expands a task into multiple parallel tasks from the value in the parameter, + which is expected to be a JSON list. type: string withSequence: + description: WithSequence expands a task into + a numeric sequence properties: count: anyOf: - type: integer - type: string + description: 'Count is number of elements + in the sequence (default: 0). Not to be + used with end' x-kubernetes-int-or-string: true end: anyOf: - type: integer - type: string + description: 'Number at which to end the sequence + (default: 0). Not to be used with Count' x-kubernetes-int-or-string: true format: + description: Format is a printf format string + to format the value in the sequence type: string start: anyOf: - type: integer - type: string + description: 'Number at which to start the + sequence (default: 0)' x-kubernetes-int-or-string: true type: object + x-kubernetes-validations: + - message: only one of count or end can be defined + rule: '!(has(self.count) && has(self.end))' required: - name type: object + x-kubernetes-validations: + - message: cannot use both 'depends' and 'dependencies' + rule: '!has(self.depends) || !has(self.dependencies)' + - message: cannot use 'continueOn' when using 'depends' + rule: '!has(self.depends) || !has(self.continueOn)' + - message: task name cannot begin with a digit when + using 'depends' or 'dependencies' + rule: '!(has(self.depends) || has(self.dependencies)) + || !self.name.matches(''^[0-9]'')' + maxItems: 200 + minItems: 1 type: array required: - tasks type: object data: + description: Data is a data template properties: source: + description: Source sources external data into a data + template properties: artifactPaths: + description: ArtifactPaths is a data transformation + that collects a list of artifact paths properties: archive: + description: Archive controls how the artifact + will be saved to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and gzip + the file or directory when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip zipped + input artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the container + logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy + to use when to deleting an artifact from completed + or deleted workflows properties: podMetadata: + description: PodMetadata is an optional + field for specifying the Labels and Annotations + that should be assigned to the Pod doing + the deletion properties: annotations: additionalProperties: @@ -16682,8 +23383,14 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an optional + field for specifying the Service Account + that should be assigned to the Pod doing + the deletion type: string strategy: + description: Strategy is the strategy to + use. enum: - "" - OnWorkflowCompletion @@ -16692,30 +23399,59 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory + artifact location details properties: passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -16725,27 +23461,54 @@ spec: - url type: object azure: + description: Azure contains Azure Storage artifact + location details properties: accountKeySecret: + description: AccountKeySecret is the secret + selector to the Azure Blob Storage account + access key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., + path) in the container where the artifact + resides type: string container: + description: Container is the container + where resources will be stored type: string endpoint: + description: Endpoint is the service url + associated with an account. It is most + likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver + to figure out credentials based on sdk + defaults. type: boolean required: - blob @@ -16753,25 +23516,49 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to reference + an artifact from a previous step type: string fromExpression: + description: FromExpression, if defined, is + evaluated to specify the value for the artifact type: string gcs: + description: GCS contains GCS artifact location + details properties: bucket: + description: Bucket is the name of the bucket type: string key: + description: Key is the path in the bucket + where the artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is + the secret selector to the bucket's service + account key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -16781,62 +23568,124 @@ spec: - key type: object git: + description: Git contains git artifact location + details properties: branch: + description: Branch is the branch to fetch + when `SingleBranch` is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables + submodules during git clone type: boolean fetch: + description: Fetch specifies a number of + refs that should be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables + SSH strict host key checking during git + clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables server + certificate verification resulting in + insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, + tag, branch to checkout type: string singleBranch: + description: SingleBranch enables single + branch clone, using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the + secret selector to the repository ssh + private key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -16846,96 +23695,198 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact location + details properties: addresses: + description: Addresses is accessible addresses + of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly + even if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location + details properties: auth: + description: Auth contains information for + client authentication properties: basicAuth: + description: BasicAuth describes the + secret selectors required for basic + authentication properties: passwordSecret: + description: PasswordSecret is the + secret selector to the repository + password properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the + secret selector to the repository + username properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -16943,28 +23894,59 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds necessary + information for client authentication + via certificates properties: clientCertSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -16972,28 +23954,59 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all information + for client authentication via OAuth2 + tokens properties: clientIDSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -17001,10 +24014,19 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is + for requesting optional fields + that should be sent in the oauth + request properties: key: + description: Name is the header + name type: string value: + description: Value is the + literal value to use for + the header type: string required: - key @@ -17015,13 +24037,27 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -17030,11 +24066,20 @@ spec: type: object type: object headers: + description: Headers are an optional list + of headers to send with HTTP requests + for artifacts items: + description: Header indicate a key-value + request header to be used when fetching + artifacts over HTTP properties: name: + description: Name is the header name type: string value: + description: Value is the literal + value to use for the header type: string required: - name @@ -17042,131 +24087,296 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must be unique + within a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if Artifacts + doesn't generate or exist type: boolean oss: + description: OSS contains OSS artifact location + details properties: accessKeySecret: + description: AccessKeySecret is the secret + selector to the bucket's access key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells + the driver to attempt to create the OSS + bucket for output artifacts, if it doesn't + exist type: boolean endpoint: + description: Endpoint is the hostname of + the bucket endpoint type: string key: + description: Key is the path in the bucket + where the artifact resides type: string lifecycleRule: + description: LifecycleRule specifies how + to manage bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays is + the number of days before we delete + objects in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before we convert + the objects in the bucket to Infrequent + Access (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret + selector to the bucket's secret key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s + temporary security token. For more details, + check out: https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver + to figure out credentials based on sdk + defaults. type: boolean required: - key type: object path: + description: Path is the container path to the + artifact type: string + plugin: + description: Plugin contains plugin artifact + location details + properties: + configuration: + description: Configuration is the plugin + defined configuration for the artifact + driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds is + the timeout for the artifact driver connection, + overriding the driver's timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact + repository where the artifact resides + type: string + name: + description: Name is the name of the artifact + driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location + details properties: data: + description: Data is the string contents + of the artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission + recursively into the artifact if it is a folder type: boolean s3: + description: S3 contains S3 artifact location + details properties: accessKeySecret: + description: AccessKeySecret is the secret + selector to the bucket's access key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string caSecret: + description: CASecret specifies the secret + that contains the CA, used to verify the + TLS connection properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells + the driver to attempt to create the S3 + bucket for output artifacts, if it doesn't + exist. Setting Enabled Encryption will + apply either SSE-S3 to the bucket if KmsKeyId + is not set or SSE-KMS if it is. properties: objectLocking: + description: ObjectLocking Enable object + locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used to + determine encryption options during s3 + operations properties: enableEncryption: + description: EnableEncryption tells + the driver to encrypt objects if set + to true. If kmsKeyId and serverSideCustomerKeySecret + are not set, SSE-S3 will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext is + a json blob that contains an encryption + context. See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver + to encrypt the object using the specified + KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret + tells the driver to encrypt the output + artifacts using SSE-C with the specified + secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -17174,54 +24384,109 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname of + the bucket endpoint type: string insecure: + description: Insecure will connect to the + service with TLS type: boolean key: + description: Key is the key in the bucket + where the artifact resides type: string region: + description: Region contains the optional + bucket region type: string roleARN: + description: RoleARN is the Amazon Resource + Name (ARN) of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret + selector to the bucket's secret key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used + for ephemeral credentials like an IAM + assume role or S3 access grant properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver + to figure out credentials based on sdk + defaults. type: boolean type: object subPath: + description: SubPath allows an artifact to be + sourced from a subpath within the specified + source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be + specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) + ? 1 : 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: object transformation: + description: Transformation applies a set of transformations items: properties: expression: + description: Expression defines an expr expression + to apply type: string required: - expression @@ -17232,37 +24497,57 @@ spec: - transformation type: object executor: + description: Executor holds configurations of the executor + container. properties: serviceAccountName: + description: ServiceAccountName specifies the service + account name of the executor container. type: string type: object failFast: + description: |- + FailFast, if specified, will fail this template if any of its child pods has failed. This is useful for when this + template is expanded with `withItems`, etc. type: boolean hostAliases: + description: HostAliases is an optional list of hosts and + IPs that will be injected into the pod spec items: + description: |- + HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the + pod's hosts file. properties: hostnames: + description: Hostnames for the above IP address. items: type: string type: array x-kubernetes-list-type: atomic ip: + description: IP address of the host file entry. type: string required: - ip type: object type: array http: + description: HTTP makes a HTTP request properties: body: + description: Body is content of the HTTP Request type: string bodyFrom: + description: BodyFrom is content of the HTTP Request + as Bytes properties: bytes: format: byte type: string type: object headers: + description: Headers are an optional list of headers + to send with HTTP requests items: properties: name: @@ -17272,13 +24557,26 @@ spec: valueFrom: properties: secretKeyRef: + description: SecretKeySelector selects a key + of a Secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -17290,88 +24588,178 @@ spec: type: object type: array insecureSkipVerify: + description: InsecureSkipVerify is a bool when if set + to true will skip TLS verification for the HTTP client type: boolean method: + description: Method is HTTP methods for HTTP Request type: string successCondition: + description: SuccessCondition is an expression if evaluated + to true is considered successful type: string timeoutSeconds: + description: TimeoutSeconds is request timeout for HTTP + Request. Default is 30 seconds format: int64 type: integer url: + description: URL of the HTTP Request type: string required: - url type: object initContainers: + description: InitContainers is a list of containers which + run before the main container. items: + description: UserContainer is a container specified by + a user. properties: args: + description: |- + Arguments to the entrypoint. + The container image's CMD is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic command: + description: |- + Entrypoint array. Not executed within a shell. + The container image's ENTRYPOINT is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic env: + description: |- + List of environment variables to set in the container. + Cannot be updated. items: + description: EnvVar represents an environment variable + present in a Container. properties: name: + description: Name of the environment variable. + Must be a C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. If a variable cannot be resolved, + the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. + "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". + Escaped references will never be expanded, regardless of whether the variable + exists or not. + Defaults to "". type: string valueFrom: + description: Source for the environment variable's + value. Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. properties: apiVersion: + description: Version of the schema the + FieldPath is written in terms of, + defaults to "v1". type: string fieldPath: + description: Path of the field to select + in the specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. properties: containerName: + description: 'Container name: required + for volumes, optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format + of the exposed resources, defaults + to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to + select' type: string required: - resource type: object x-kubernetes-map-type: atomic 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: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -17386,25 +24774,55 @@ spec: - name x-kubernetes-list-type: map envFrom: + description: |- + List of sources to populate environment variables in the container. + The keys defined within a source must be a C_IDENTIFIER. All invalid keys + will be reported as an event when the container is starting. When a key exists in multiple + sources, the value associated with the last source will take precedence. + Values defined by an Env with a duplicate key will take precedence. + Cannot be updated. items: + description: EnvFromSource represents the source + of a set of ConfigMaps or Secrets properties: configMapRef: + description: The ConfigMap to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + must be defined type: boolean type: object x-kubernetes-map-type: atomic prefix: + description: Optional text to prepend to the + name of each environment variable. Must be + a C_IDENTIFIER. type: string secretRef: + description: The Secret to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + must be defined type: boolean type: object x-kubernetes-map-type: atomic @@ -17412,31 +24830,71 @@ spec: type: array x-kubernetes-list-type: atomic image: + description: |- + Container image name. + More info: https://kubernetes.io/docs/concepts/containers/images + This field is optional to allow higher level config management to default or override + container images in workload controllers like Deployments and StatefulSets. type: string imagePullPolicy: + description: |- + Image pull policy. + One of Always, Never, IfNotPresent. + Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/containers/images#updating-images type: string lifecycle: + description: |- + Actions that the management system should take in response to container lifecycle events. + Cannot be updated. properties: postStart: + description: |- + PostStart is called immediately after a container is created. If the handler fails, + the container is terminated and restarted according to its restart policy. + Other management of the container blocks until the hook completes. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET + request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in + the request. HTTP allows repeated headers. items: + description: HTTPHeader describes a + custom header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -17445,58 +24903,112 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP + server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that + the container should sleep. properties: seconds: + description: Seconds is the number of + seconds to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object preStop: + description: |- + PreStop is called immediately before a container is terminated due to an + API request or management event such as liveness/startup probe failure, + preemption, resource contention, etc. The handler is not called if the + container crashes or exits. The Pod's termination grace period countdown begins before the + PreStop hook is executed. Regardless of the outcome of the handler, the + container will eventually terminate within the Pod's termination grace + period (unless delayed by finalizers). Other management of the container blocks until the hook completes + or until the termination grace period is reached. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET + request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in + the request. HTTP allows repeated headers. items: + description: HTTPHeader describes a + custom header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -17505,75 +25017,139 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP + server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that + the container should sleep. properties: seconds: + description: Seconds is the number of + seconds to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object stopSignal: + description: |- + StopSignal defines which signal will be sent to a container when it is being stopped. + If not specified, the default is defined by the container runtime in use. + StopSignal can only be set for Pods with a non-empty .spec.os.name type: string type: object livenessProbe: + description: |- + Periodic probe of container liveness. + Container will be restarted if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the + request. HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -17582,64 +25158,140 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection + to a TCP port. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object mirrorVolumeMounts: + description: |- + MirrorVolumeMounts will mount the same volumes specified in the main container + to the container (including artifacts), at the same mountPaths. This enables + dind daemon to partially see the same filesystem as the main container in + order to use features such as docker volume binding type: boolean name: + description: |- + Name of the container specified as a DNS_LABEL. + Each container in a pod must have a unique name (DNS_LABEL). + Cannot be updated. type: string ports: + description: |- + List of ports to expose from the container. Not specifying a port here + DOES NOT prevent that port from being exposed. Any port which is + listening on the default "0.0.0.0" address inside a container will be + accessible from the network. + Modifying this array with strategic merge patch may corrupt the data. + For more information See https://github.com/kubernetes/kubernetes/issues/108255. + Cannot be updated. items: + description: ContainerPort represents a network + port in a single container. properties: containerPort: + description: |- + Number of port to expose on the pod's IP address. + This must be a valid port number, 0 < x < 65536. format: int32 type: integer hostIP: + description: What host IP to bind the external + port to. type: string hostPort: + description: |- + Number of port to expose on the host. + If specified, this must be a valid port number, 0 < x < 65536. + If HostNetwork is specified, this must match ContainerPort. + Most containers do not need this. format: int32 type: integer name: + description: |- + If specified, this must be an IANA_SVC_NAME and unique within the pod. Each + named port in a pod must have a unique name. Name for the port that can be + referred to by services. type: string protocol: default: TCP + description: |- + Protocol for port. Must be UDP, TCP, or SCTP. + Defaults to "TCP". type: string required: - containerPort @@ -17650,39 +25302,76 @@ spec: - protocol x-kubernetes-list-type: map readinessProbe: + description: |- + Periodic probe of container service readiness. + Container will be removed from service endpoints if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the + request. HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -17691,51 +25380,100 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection + to a TCP port. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object resizePolicy: + description: Resources resize policy for the container. items: + description: ContainerResizePolicy represents resource + resize policy for the container. properties: resourceName: + description: |- + Name of the resource to which this resource resize policy applies. + Supported values: cpu, memory. type: string restartPolicy: + description: |- + Restart policy to apply when specified resource is resized. + If not specified, it defaults to NotRequired. type: string required: - resourceName @@ -17744,13 +25482,35 @@ spec: type: array x-kubernetes-list-type: atomic resources: + description: |- + Compute Resources required by this container. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ properties: claims: + description: |- + Claims lists the names of resources, defined in spec.resourceClaims, + that are used by this container. + + This is an alpha field and requires enabling the + DynamicResourceAllocation feature gate. + + This field is immutable. It can only be set for containers. items: + description: ResourceClaim references one entry + in PodSpec.ResourceClaims. properties: name: + description: |- + Name must match the name of one entry in pod.spec.resourceClaims of + the Pod where this field is used. It makes that resource available + inside a container. type: string request: + description: |- + Request is the name chosen for a request in the referenced claim. + If empty, everything from the claim is made available, otherwise + only the result of this request. type: string required: - name @@ -17766,6 +25526,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -17774,116 +25537,300 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object type: object restartPolicy: + description: |- + RestartPolicy defines the restart behavior of individual containers in a pod. + This field may only be set for init containers, and the only allowed value is "Always". + For non-init containers or when this field is not specified, + the restart behavior is defined by the Pod's restart policy and the container type. + Setting the RestartPolicy as "Always" for the init container will have the following effect: + this init container will be continually restarted on + exit until all regular containers have terminated. Once all regular + containers have completed, all init containers with restartPolicy "Always" + will be shut down. This lifecycle differs from normal init containers and + is often referred to as a "sidecar" container. Although this init + container still starts in the init container sequence, it does not wait + for the container to complete before proceeding to the next init + container. Instead, the next init container starts immediately after this + init container is started, or after any startupProbe has successfully + completed. type: string securityContext: + description: |- + SecurityContext defines the security options the container should be run with. + If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. + More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ properties: allowPrivilegeEscalation: + description: |- + AllowPrivilegeEscalation controls whether a process can gain more + privileges than its parent process. This bool directly controls if + the no_new_privs flag will be set on the container process. + AllowPrivilegeEscalation is true always when the container is: + 1) run as Privileged + 2) has CAP_SYS_ADMIN + Note that this field cannot be set when spec.os.name is windows. type: boolean appArmorProfile: + description: |- + appArmorProfile is the AppArmor options to use by this container. If set, this profile + overrides the pod's appArmorProfile. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile loaded on the node that should be used. + The profile must be preconfigured on the node to work. + Must match the loaded name of the profile. + Must be set if and only if type is "Localhost". type: string type: + description: |- + type indicates which kind of AppArmor profile will be applied. + Valid options are: + Localhost - a profile pre-loaded on the node. + RuntimeDefault - the container runtime's default profile. + Unconfined - no AppArmor enforcement. type: string required: - type type: object capabilities: + description: |- + The capabilities to add/drop when running containers. + Defaults to the default set of capabilities granted by the container runtime. + Note that this field cannot be set when spec.os.name is windows. properties: add: + description: Added capabilities items: + description: Capability represent POSIX + capabilities type type: string type: array x-kubernetes-list-type: atomic drop: + description: Removed capabilities items: + description: Capability represent POSIX + capabilities type type: string type: array x-kubernetes-list-type: atomic type: object privileged: + description: |- + Run container in privileged mode. + Processes in privileged containers are essentially equivalent to root on the host. + Defaults to false. + Note that this field cannot be set when spec.os.name is windows. type: boolean procMount: + description: |- + procMount denotes the type of proc mount to use for the containers. + The default value is Default which uses the container runtime defaults for + readonly paths and masked paths. + This requires the ProcMountType feature flag to be enabled. + Note that this field cannot be set when spec.os.name is windows. type: string readOnlyRootFilesystem: + description: |- + Whether this container has a read-only root filesystem. + Default is false. + Note that this field cannot be set when spec.os.name is windows. type: boolean runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer runAsNonRoot: + description: |- + Indicates that the container must run as a non-root user. + If true, the Kubelet will validate the image at runtime to ensure that it + does not run as UID 0 (root) and fail to start the container if it does. + If unset or false, no such validation will be performed. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to the container. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. properties: level: + description: Level is SELinux level label + that applies to the container. type: string role: + description: Role is a SELinux role label + that applies to the container. type: string type: + description: Type is a SELinux type label + that applies to the container. type: string user: + description: User is a SELinux user label + that applies to the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by this container. If seccomp options are + provided at both the pod & container level, the container options + override the pod options. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. + Must be a descending path, relative to the kubelet's configured seccomp profile location. + Must be set if type is "Localhost". Must NOT be set for any other type. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + Localhost - a profile defined in a file on the node should be used. + RuntimeDefault - the container runtime default profile should be used. + Unconfined - no profile should be applied. type: string required: - type type: object windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options from the PodSecurityContext will be used. + If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is linux. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the + name of the GMSA credential spec to use. type: string hostProcess: + description: |- + HostProcess determines if a container should be run as a 'Host Process' container. + All of a Pod's containers must have the same effective HostProcess value + (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + In addition, if HostProcess is true then HostNetwork must also be set to true. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: string type: object type: object startupProbe: + description: |- + StartupProbe indicates that the Pod has successfully initialized. + If specified, no other probes are executed until this completes successfully. + If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. + This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, + when it might take a long time to load data or warm a cache, than during steady-state operation. + This cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the + request. HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -17892,61 +25839,141 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection + to a TCP port. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object stdin: + description: |- + Whether this container should allocate a buffer for stdin in the container runtime. If this + is not set, reads from stdin in the container will always result in EOF. + Default is false. type: boolean stdinOnce: + description: |- + Whether the container runtime should close the stdin channel after it has been opened by + a single attach. When stdin is true the stdin stream will remain open across multiple attach + sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the + first client attaches to stdin, and then remains open and accepts data until the client disconnects, + at which time stdin is closed and remains closed until the container is restarted. If this + flag is false, a container processes that reads from stdin will never receive an EOF. + Default is false type: boolean terminationMessagePath: + description: |- + Optional: Path at which the file to which the container's termination message + will be written is mounted into the container's filesystem. + Message written is intended to be brief final status, such as an assertion failure message. + Will be truncated by the node if greater than 4096 bytes. The total message length across + all containers will be limited to 12kb. + Defaults to /dev/termination-log. + Cannot be updated. type: string terminationMessagePolicy: + description: |- + Indicate how the termination message should be populated. File will use the contents of + terminationMessagePath to populate the container status message on both success and failure. + FallbackToLogsOnError will use the last chunk of container log output if the termination + message file is empty and the container exited with an error. + The log output is limited to 2048 bytes or 80 lines, whichever is smaller. + Defaults to File. + Cannot be updated. type: string tty: + description: |- + Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. + Default is false. type: boolean volumeDevices: + description: volumeDevices is the list of block devices + to be used by the container. items: + description: volumeDevice describes a mapping of + a raw block device within a container. properties: devicePath: + description: devicePath is the path inside of + the container that the device will be mapped + to. type: string name: + description: name must match the name of a persistentVolumeClaim + in the pod type: string required: - devicePath @@ -17957,21 +25984,65 @@ spec: - devicePath x-kubernetes-list-type: map volumeMounts: + description: |- + Pod volumes to mount into the container's filesystem. + Cannot be updated. items: + description: VolumeMount describes a mounting of + a Volume within a container. properties: mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. type: string mountPropagation: + description: |- + mountPropagation determines how mounts are propagated from the host + to container and the other way around. + When not set, MountPropagationNone is used. + This field is beta in 1.10. + When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + (which defaults to None). type: string name: + description: This must match the Name of a Volume. type: string readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. type: boolean recursiveReadOnly: + description: |- + RecursiveReadOnly specifies whether read-only mounts should be handled + recursively. + + If ReadOnly is false, this field has no meaning and must be unspecified. + + If ReadOnly is true, and this field is set to Disabled, the mount is not made + recursively read-only. If this field is set to IfPossible, the mount is made + recursively read-only, if it is supported by the container runtime. If this + field is set to Enabled, the mount is made recursively read-only if it is + supported by the container runtime, otherwise the pod will not be started and + an error will be generated to indicate the reason. + + If this field is set to IfPossible or Enabled, MountPropagation must be set to + None (or be unspecified, which defaults to None). + + If this field is not specified, it is treated as an equivalent of Disabled. type: string subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). type: string subPathExpr: + description: |- + Expanded path within the volume from which the container's volume should be mounted. + Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. + Defaults to "" (volume's root). + SubPathExpr and SubPath are mutually exclusive. type: string required: - mountPath @@ -17982,34 +26053,67 @@ spec: - mountPath x-kubernetes-list-type: map workingDir: + description: |- + Container's working directory. + If not specified, the container runtime's default will be used, which + might be configured in the container image. + Cannot be updated. type: string required: - name type: object type: array inputs: + description: Inputs describe what inputs parameters and + artifacts are supplied to this template properties: artifacts: + description: Artifact are a list of artifacts passed + as inputs items: + description: Artifact indicates an artifact to place + at a specified path properties: archive: + description: Archive controls how the artifact + will be saved to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and gzip + the file or directory when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip zipped + input artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the container + logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy + to use when to deleting an artifact from completed + or deleted workflows properties: podMetadata: + description: PodMetadata is an optional field + for specifying the Labels and Annotations + that should be assigned to the Pod doing + the deletion properties: annotations: additionalProperties: @@ -18021,8 +26125,13 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an optional + field for specifying the Service Account + that should be assigned to the Pod doing + the deletion type: string strategy: + description: Strategy is the strategy to use. enum: - "" - OnWorkflowCompletion @@ -18031,30 +26140,59 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory + artifact location details properties: passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -18064,27 +26202,52 @@ spec: - url type: object azure: + description: Azure contains Azure Storage artifact + location details properties: accountKeySecret: + description: AccountKeySecret is the secret + selector to the Azure Blob Storage account + access key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., + path) in the container where the artifact + resides type: string container: + description: Container is the container where + resources will be stored type: string endpoint: + description: Endpoint is the service url associated + with an account. It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver + to figure out credentials based on sdk defaults. type: boolean required: - blob @@ -18092,25 +26255,49 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to reference + an artifact from a previous step type: string fromExpression: + description: FromExpression, if defined, is evaluated + to specify the value for the artifact type: string gcs: + description: GCS contains GCS artifact location + details properties: bucket: + description: Bucket is the name of the bucket type: string key: + description: Key is the path in the bucket + where the artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is the + secret selector to the bucket's service + account key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -18120,62 +26307,123 @@ spec: - key type: object git: + description: Git contains git artifact location + details properties: branch: + description: Branch is the branch to fetch + when `SingleBranch` is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables submodules + during git clone type: boolean fetch: + description: Fetch specifies a number of refs + that should be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables + SSH strict host key checking during git + clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables server + certificate verification resulting in insecure + HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, tag, + branch to checkout type: string singleBranch: + description: SingleBranch enables single branch + clone, using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the secret + selector to the repository ssh private key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -18185,96 +26433,195 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact location + details properties: addresses: + description: Addresses is accessible addresses + of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly + even if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location + details properties: auth: + description: Auth contains information for + client authentication properties: basicAuth: + description: BasicAuth describes the secret + selectors required for basic authentication properties: passwordSecret: + description: PasswordSecret is the + secret selector to the repository + password properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the + secret selector to the repository + username properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -18282,28 +26629,57 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds necessary + information for client authentication + via certificates properties: clientCertSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -18311,28 +26687,57 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all information + for client authentication via OAuth2 + tokens properties: clientIDSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -18340,10 +26745,17 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is for + requesting optional fields that + should be sent in the oauth request properties: key: + description: Name is the header + name type: string value: + description: Value is the literal + value to use for the header type: string required: - key @@ -18354,13 +26766,26 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -18369,11 +26794,20 @@ spec: type: object type: object headers: + description: Headers are an optional list + of headers to send with HTTP requests for + artifacts items: + description: Header indicate a key-value + request header to be used when fetching + artifacts over HTTP properties: name: + description: Name is the header name type: string value: + description: Value is the literal value + to use for the header type: string required: - name @@ -18381,131 +26815,293 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must be unique + within a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if Artifacts + doesn't generate or exist type: boolean oss: + description: OSS contains OSS artifact location + details properties: accessKeySecret: + description: AccessKeySecret is the secret + selector to the bucket's access key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells + the driver to attempt to create the OSS + bucket for output artifacts, if it doesn't + exist type: boolean endpoint: + description: Endpoint is the hostname of the + bucket endpoint type: string key: + description: Key is the path in the bucket + where the artifact resides type: string lifecycleRule: + description: LifecycleRule specifies how to + manage bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays is + the number of days before we delete + objects in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before we convert + the objects in the bucket to Infrequent + Access (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret + selector to the bucket's secret key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s + temporary security token. For more details, + check out: https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver + to figure out credentials based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container path to the + artifact type: string + plugin: + description: Plugin contains plugin artifact location + details + properties: + configuration: + description: Configuration is the plugin defined + configuration for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds is the + timeout for the artifact driver connection, + overriding the driver's timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact + repository where the artifact resides + type: string + name: + description: Name is the name of the artifact + driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location + details properties: data: + description: Data is the string contents of + the artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission + recursively into the artifact if it is a folder type: boolean s3: + description: S3 contains S3 artifact location + details properties: accessKeySecret: + description: AccessKeySecret is the secret + selector to the bucket's access key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string caSecret: + description: CASecret specifies the secret + that contains the CA, used to verify the + TLS connection properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells + the driver to attempt to create the S3 bucket + for output artifacts, if it doesn't exist. + Setting Enabled Encryption will apply either + SSE-S3 to the bucket if KmsKeyId is not + set or SSE-KMS if it is. properties: objectLocking: + description: ObjectLocking Enable object + locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used to determine + encryption options during s3 operations properties: enableEncryption: + description: EnableEncryption tells the + driver to encrypt objects if set to + true. If kmsKeyId and serverSideCustomerKeySecret + are not set, SSE-S3 will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext is a + json blob that contains an encryption + context. See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver + to encrypt the object using the specified + KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret + tells the driver to encrypt the output + artifacts using SSE-C with the specified + secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -18513,127 +27109,244 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname of the + bucket endpoint type: string insecure: + description: Insecure will connect to the + service with TLS type: boolean key: + description: Key is the key in the bucket + where the artifact resides type: string region: + description: Region contains the optional + bucket region type: string roleARN: + description: RoleARN is the Amazon Resource + Name (ARN) of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret + selector to the bucket's secret key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used for + ephemeral credentials like an IAM assume + role or S3 access grant properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver + to figure out credentials based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact to be + sourced from a subpath within the specified + source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? + 1 : 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array parameters: + description: |- + Parameters are a list of parameters passed as inputs + MaxItems is an artificial limit to limit CEL validation costs - see note at top of file items: + description: Parameter indicate a passed string parameter + to a service template with an optional default value properties: default: + description: Default is the default value to use + for an input parameter if a value was not supplied type: string description: + description: Description is the parameter description type: string enum: + description: Enum holds a list of string values + to choose from, for the actual value of the + parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source for the output + parameter's value properties: configMapKeyRef: + description: ConfigMapKeyRef is configmap + selector for input parameter configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies a value to + be used if retrieving the value from the + specified source fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the event to get + the value of the parameter. E.g. `payload.message` type: string expression: + description: Expression, if defined, is evaluated + to specify the value for the parameter type: string jqFilter: + description: JQFilter expression against the + resource object in resource templates type: string jsonPath: + description: JSONPath of a resource to retrieve + an output parameter value from in resource + templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container to retrieve + an output parameter value from in container + templates type: string supplied: + description: Supplied value to be filled in + directly, either through the CLI, API, etc. type: object type: object required: - name type: object + maxItems: 500 type: array type: object memoize: + description: Memoize allows templates to use outputs generated + from already executed templates properties: cache: + description: Cache sets and configures the kind of cache properties: configMap: + description: ConfigMap sets a ConfigMap-based cache properties: - key: - type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string - optional: - type: boolean - required: - - key type: object x-kubernetes-map-type: atomic required: - configMap type: object key: + description: Key is the key to use as the caching key type: string maxAge: + description: |- + MaxAge is the maximum age (e.g. "180s", "24h") of an entry that is still considered valid. If an entry is older + than the MaxAge, it will be ignored. type: string required: - cache @@ -18641,6 +27354,8 @@ spec: - maxAge type: object metadata: + description: Metadata sets the pods's metadata, i.e. annotations + and labels properties: annotations: additionalProperties: @@ -18652,47 +27367,90 @@ spec: type: object type: object metrics: + description: Metrics are a list of metrics emitted from + this template properties: prometheus: + description: |- + Prometheus is a list of prometheus metrics to be emitted + MaxItems is an artificial limit to limit CEL validation costs - see note at top of file items: + description: Prometheus is a prometheus metric to + be emitted properties: counter: + description: Counter is a counter metric properties: value: + description: Value is the value of the metric + minLength: 1 type: string required: - value type: object gauge: + description: Gauge is a gauge metric properties: operation: + description: Operation defines the operation + to apply with value and the metrics' current + value + enum: + - Set + - Add + - Sub type: string realtime: + description: Realtime emits this metric in + real time if applicable type: boolean value: + description: |- + Value is the value to be used in the operation with the metric's current value. If no operation is set, + value is the value of the metric + MaxLength is an artificial limit to limit CEL validation costs - see note at top of file + maxLength: 256 + minLength: 1 type: string required: - realtime - value type: object + x-kubernetes-validations: + - message: '''resourcesDuration.*'' metrics cannot + be used in real-time gauges' + rule: '!has(self.realtime) || !self.realtime + || !self.value.contains(''resourcesDuration.'')' help: + description: Help is a string that describes the + metric + minLength: 1 type: string histogram: + description: Histogram is a histogram metric properties: buckets: + description: Buckets is a list of bucket divisors + for the histogram items: type: number type: array value: + description: Value is the value of the metric + minLength: 1 type: string required: - buckets - value type: object labels: + description: Labels is a list of metric labels items: + description: MetricLabel is a single label for + a prometheus metric properties: key: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ type: string value: type: string @@ -18702,46 +27460,85 @@ spec: type: object type: array name: + description: Name is the name of the metric + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ type: string when: + description: When is a conditional statement that + decides when to emit the metric type: string required: - help - name type: object + maxItems: 100 type: array required: - prometheus type: object name: + description: Name is the name of the template + maxLength: 128 + pattern: ^[a-zA-Z0-9][-a-zA-Z0-9]*$ type: string nodeSelector: additionalProperties: type: string + description: |- + NodeSelector is a selector to schedule this step of the workflow to be + run on the selected node(s). Overrides the selector set at the workflow level. type: object outputs: + description: Outputs describe the parameters and artifacts + that this template produces properties: artifacts: + description: Artifacts holds the list of output artifacts + produced by a step items: + description: Artifact indicates an artifact to place + at a specified path properties: archive: + description: Archive controls how the artifact + will be saved to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and gzip + the file or directory when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip zipped + input artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the container + logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy + to use when to deleting an artifact from completed + or deleted workflows properties: podMetadata: + description: PodMetadata is an optional field + for specifying the Labels and Annotations + that should be assigned to the Pod doing + the deletion properties: annotations: additionalProperties: @@ -18753,8 +27550,13 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an optional + field for specifying the Service Account + that should be assigned to the Pod doing + the deletion type: string strategy: + description: Strategy is the strategy to use. enum: - "" - OnWorkflowCompletion @@ -18763,30 +27565,59 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory + artifact location details properties: passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -18796,27 +27627,52 @@ spec: - url type: object azure: + description: Azure contains Azure Storage artifact + location details properties: accountKeySecret: + description: AccountKeySecret is the secret + selector to the Azure Blob Storage account + access key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., + path) in the container where the artifact + resides type: string container: + description: Container is the container where + resources will be stored type: string endpoint: + description: Endpoint is the service url associated + with an account. It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver + to figure out credentials based on sdk defaults. type: boolean required: - blob @@ -18824,25 +27680,49 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to reference + an artifact from a previous step type: string fromExpression: + description: FromExpression, if defined, is evaluated + to specify the value for the artifact type: string gcs: + description: GCS contains GCS artifact location + details properties: bucket: + description: Bucket is the name of the bucket type: string key: + description: Key is the path in the bucket + where the artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is the + secret selector to the bucket's service + account key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -18852,62 +27732,123 @@ spec: - key type: object git: + description: Git contains git artifact location + details properties: branch: + description: Branch is the branch to fetch + when `SingleBranch` is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables submodules + during git clone type: boolean fetch: + description: Fetch specifies a number of refs + that should be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables + SSH strict host key checking during git + clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables server + certificate verification resulting in insecure + HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, tag, + branch to checkout type: string singleBranch: + description: SingleBranch enables single branch + clone, using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the secret + selector to the repository ssh private key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -18917,96 +27858,195 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact location + details properties: addresses: + description: Addresses is accessible addresses + of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly + even if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location + details properties: auth: + description: Auth contains information for + client authentication properties: basicAuth: + description: BasicAuth describes the secret + selectors required for basic authentication properties: passwordSecret: + description: PasswordSecret is the + secret selector to the repository + password properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the + secret selector to the repository + username properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -19014,28 +28054,57 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds necessary + information for client authentication + via certificates properties: clientCertSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -19043,28 +28112,57 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all information + for client authentication via OAuth2 + tokens properties: clientIDSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -19072,10 +28170,17 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is for + requesting optional fields that + should be sent in the oauth request properties: key: + description: Name is the header + name type: string value: + description: Value is the literal + value to use for the header type: string required: - key @@ -19086,13 +28191,26 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -19101,11 +28219,20 @@ spec: type: object type: object headers: + description: Headers are an optional list + of headers to send with HTTP requests for + artifacts items: + description: Header indicate a key-value + request header to be used when fetching + artifacts over HTTP properties: name: + description: Name is the header name type: string value: + description: Value is the literal value + to use for the header type: string required: - name @@ -19113,131 +28240,293 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must be unique + within a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if Artifacts + doesn't generate or exist type: boolean oss: + description: OSS contains OSS artifact location + details properties: accessKeySecret: + description: AccessKeySecret is the secret + selector to the bucket's access key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells + the driver to attempt to create the OSS + bucket for output artifacts, if it doesn't + exist type: boolean endpoint: + description: Endpoint is the hostname of the + bucket endpoint type: string key: + description: Key is the path in the bucket + where the artifact resides type: string lifecycleRule: + description: LifecycleRule specifies how to + manage bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays is + the number of days before we delete + objects in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before we convert + the objects in the bucket to Infrequent + Access (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret + selector to the bucket's secret key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s + temporary security token. For more details, + check out: https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver + to figure out credentials based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container path to the + artifact type: string + plugin: + description: Plugin contains plugin artifact location + details + properties: + configuration: + description: Configuration is the plugin defined + configuration for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds is the + timeout for the artifact driver connection, + overriding the driver's timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact + repository where the artifact resides + type: string + name: + description: Name is the name of the artifact + driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location + details properties: data: + description: Data is the string contents of + the artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission + recursively into the artifact if it is a folder type: boolean s3: + description: S3 contains S3 artifact location + details properties: accessKeySecret: + description: AccessKeySecret is the secret + selector to the bucket's access key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string caSecret: + description: CASecret specifies the secret + that contains the CA, used to verify the + TLS connection properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells + the driver to attempt to create the S3 bucket + for output artifacts, if it doesn't exist. + Setting Enabled Encryption will apply either + SSE-S3 to the bucket if KmsKeyId is not + set or SSE-KMS if it is. properties: objectLocking: + description: ObjectLocking Enable object + locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used to determine + encryption options during s3 operations properties: enableEncryption: + description: EnableEncryption tells the + driver to encrypt objects if set to + true. If kmsKeyId and serverSideCustomerKeySecret + are not set, SSE-S3 will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext is a + json blob that contains an encryption + context. See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver + to encrypt the object using the specified + KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret + tells the driver to encrypt the output + artifacts using SSE-C with the specified + secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -19245,99 +28534,208 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname of the + bucket endpoint type: string insecure: + description: Insecure will connect to the + service with TLS type: boolean key: + description: Key is the key in the bucket + where the artifact resides type: string region: + description: Region contains the optional + bucket region type: string roleARN: + description: RoleARN is the Amazon Resource + Name (ARN) of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret + selector to the bucket's secret key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used for + ephemeral credentials like an IAM assume + role or S3 access grant properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver + to figure out credentials based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact to be + sourced from a subpath within the specified + source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? + 1 : 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array exitCode: + description: ExitCode holds the exit code of a script + template type: string parameters: + description: Parameters holds the list of output parameters + produced by a step items: + description: Parameter indicate a passed string parameter + to a service template with an optional default value properties: default: + description: Default is the default value to use + for an input parameter if a value was not supplied type: string description: + description: Description is the parameter description type: string enum: + description: Enum holds a list of string values + to choose from, for the actual value of the + parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source for the output + parameter's value properties: configMapKeyRef: + description: ConfigMapKeyRef is configmap + selector for input parameter configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies a value to + be used if retrieving the value from the + specified source fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the event to get + the value of the parameter. E.g. `payload.message` type: string expression: + description: Expression, if defined, is evaluated + to specify the value for the parameter type: string jqFilter: + description: JQFilter expression against the + resource object in resource templates type: string jsonPath: + description: JSONPath of a resource to retrieve + an output parameter value from in resource + templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container to retrieve + an output parameter value from in container + templates type: string supplied: + description: Supplied value to be filled in + directly, either through the CLI, API, etc. type: object type: object required: @@ -19345,52 +28743,113 @@ spec: type: object type: array result: + description: Result holds the result (stdout) of a script + or container template, or the response body of an + HTTP template type: string type: object parallelism: + description: |- + Parallelism limits the max total parallel pods that can execute at the same time within the + boundaries of this template invocation. If additional steps/dag templates are invoked, the + pods created by those templates will not be counted towards this total. format: int64 + minimum: 1 type: integer plugin: + description: |- + Plugin is a plugin template + Note: the structure of a plugin template is free-form, so we need to have + "x-kubernetes-preserve-unknown-fields: true" in the validation schema. type: object x-kubernetes-preserve-unknown-fields: true podSpecPatch: + description: |- + PodSpecPatch holds strategic merge patch to apply against the pod spec. Allows parameterization of + container fields which are not strings (e.g. resource limits). type: string priorityClassName: + description: PriorityClassName to apply to workflow pods. type: string resource: + description: Resource template subtype which can run k8s + resources properties: action: + description: |- + Action is the action to perform to the resource. + Must be one of: get, create, apply, delete, replace, patch + enum: + - get + - create + - apply + - delete + - replace + - patch type: string failureCondition: + description: |- + FailureCondition is a label selector expression which describes the conditions + of the k8s resource in which the step was considered failed type: string flags: + description: "Flags is a set of additional options passed + to kubectl before submitting a resource\nI.e. to disable + resource validation:\nflags: [\n\t\"--validate=false\" + \ # disable resource validation\n]" items: type: string type: array manifest: + description: Manifest contains the kubernetes manifest type: string manifestFrom: + description: ManifestFrom is the source for a single + kubernetes manifest properties: artifact: + description: Artifact contains the artifact to use properties: archive: + description: Archive controls how the artifact + will be saved to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and gzip + the file or directory when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip zipped + input artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the container + logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy + to use when to deleting an artifact from completed + or deleted workflows properties: podMetadata: + description: PodMetadata is an optional + field for specifying the Labels and Annotations + that should be assigned to the Pod doing + the deletion properties: annotations: additionalProperties: @@ -19402,8 +28861,14 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an optional + field for specifying the Service Account + that should be assigned to the Pod doing + the deletion type: string strategy: + description: Strategy is the strategy to + use. enum: - "" - OnWorkflowCompletion @@ -19412,30 +28877,59 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory + artifact location details properties: passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -19445,27 +28939,54 @@ spec: - url type: object azure: + description: Azure contains Azure Storage artifact + location details properties: accountKeySecret: + description: AccountKeySecret is the secret + selector to the Azure Blob Storage account + access key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., + path) in the container where the artifact + resides type: string container: + description: Container is the container + where resources will be stored type: string endpoint: + description: Endpoint is the service url + associated with an account. It is most + likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver + to figure out credentials based on sdk + defaults. type: boolean required: - blob @@ -19473,25 +28994,49 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to reference + an artifact from a previous step type: string fromExpression: + description: FromExpression, if defined, is + evaluated to specify the value for the artifact type: string gcs: + description: GCS contains GCS artifact location + details properties: bucket: + description: Bucket is the name of the bucket type: string key: + description: Key is the path in the bucket + where the artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is + the secret selector to the bucket's service + account key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -19501,62 +29046,124 @@ spec: - key type: object git: + description: Git contains git artifact location + details properties: branch: + description: Branch is the branch to fetch + when `SingleBranch` is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables + submodules during git clone type: boolean fetch: + description: Fetch specifies a number of + refs that should be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables + SSH strict host key checking during git + clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables server + certificate verification resulting in + insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, + tag, branch to checkout type: string singleBranch: + description: SingleBranch enables single + branch clone, using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the + secret selector to the repository ssh + private key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -19566,96 +29173,198 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact location + details properties: addresses: + description: Addresses is accessible addresses + of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly + even if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location + details properties: auth: + description: Auth contains information for + client authentication properties: basicAuth: + description: BasicAuth describes the + secret selectors required for basic + authentication properties: passwordSecret: + description: PasswordSecret is the + secret selector to the repository + password properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the + secret selector to the repository + username properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -19663,28 +29372,59 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds necessary + information for client authentication + via certificates properties: clientCertSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -19692,28 +29432,59 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all information + for client authentication via OAuth2 + tokens properties: clientIDSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -19721,10 +29492,19 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is + for requesting optional fields + that should be sent in the oauth + request properties: key: + description: Name is the header + name type: string value: + description: Value is the + literal value to use for + the header type: string required: - key @@ -19735,13 +29515,27 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -19750,11 +29544,20 @@ spec: type: object type: object headers: + description: Headers are an optional list + of headers to send with HTTP requests + for artifacts items: + description: Header indicate a key-value + request header to be used when fetching + artifacts over HTTP properties: name: + description: Name is the header name type: string value: + description: Value is the literal + value to use for the header type: string required: - name @@ -19762,131 +29565,296 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must be unique + within a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if Artifacts + doesn't generate or exist type: boolean oss: + description: OSS contains OSS artifact location + details properties: accessKeySecret: + description: AccessKeySecret is the secret + selector to the bucket's access key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells + the driver to attempt to create the OSS + bucket for output artifacts, if it doesn't + exist type: boolean endpoint: + description: Endpoint is the hostname of + the bucket endpoint type: string key: + description: Key is the path in the bucket + where the artifact resides type: string lifecycleRule: + description: LifecycleRule specifies how + to manage bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays is + the number of days before we delete + objects in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before we convert + the objects in the bucket to Infrequent + Access (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret + selector to the bucket's secret key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s + temporary security token. For more details, + check out: https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver + to figure out credentials based on sdk + defaults. type: boolean required: - key type: object path: + description: Path is the container path to the + artifact type: string + plugin: + description: Plugin contains plugin artifact + location details + properties: + configuration: + description: Configuration is the plugin + defined configuration for the artifact + driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds is + the timeout for the artifact driver connection, + overriding the driver's timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact + repository where the artifact resides + type: string + name: + description: Name is the name of the artifact + driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location + details properties: data: + description: Data is the string contents + of the artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission + recursively into the artifact if it is a folder type: boolean s3: + description: S3 contains S3 artifact location + details properties: accessKeySecret: + description: AccessKeySecret is the secret + selector to the bucket's access key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string caSecret: + description: CASecret specifies the secret + that contains the CA, used to verify the + TLS connection properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells + the driver to attempt to create the S3 + bucket for output artifacts, if it doesn't + exist. Setting Enabled Encryption will + apply either SSE-S3 to the bucket if KmsKeyId + is not set or SSE-KMS if it is. properties: objectLocking: + description: ObjectLocking Enable object + locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used to + determine encryption options during s3 + operations properties: enableEncryption: + description: EnableEncryption tells + the driver to encrypt objects if set + to true. If kmsKeyId and serverSideCustomerKeySecret + are not set, SSE-S3 will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext is + a json blob that contains an encryption + context. See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver + to encrypt the object using the specified + KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret + tells the driver to encrypt the output + artifacts using SSE-C with the specified + secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -19894,162 +29862,348 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname of + the bucket endpoint type: string insecure: + description: Insecure will connect to the + service with TLS type: boolean key: + description: Key is the key in the bucket + where the artifact resides type: string region: + description: Region contains the optional + bucket region type: string roleARN: + description: RoleARN is the Amazon Resource + Name (ARN) of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret + selector to the bucket's secret key properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used + for ephemeral credentials like an IAM + assume role or S3 access grant properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver + to figure out credentials based on sdk + defaults. type: boolean type: object subPath: + description: SubPath allows an artifact to be + sourced from a subpath within the specified + source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be + specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) + ? 1 : 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' required: - artifact type: object mergeStrategy: + description: |- + MergeStrategy is the strategy used to merge a patch. It defaults to "strategic" + Must be one of: strategic, merge, json + enum: + - strategic + - merge + - json type: string setOwnerReference: + description: SetOwnerReference sets the reference to + the workflow on the OwnerReference of generated resource. type: boolean successCondition: + description: |- + SuccessCondition is a label selector expression which describes the conditions + of the k8s resource in which it is acceptable to proceed to the following step type: string required: - action type: object + x-kubernetes-validations: + - message: only one of manifest or manifestFrom can be specified + rule: (has(self.manifest) && !has(self.manifestFrom)) + || (!has(self.manifest) && has(self.manifestFrom)) || + (!has(self.manifest) && !has(self.manifestFrom)) retryStrategy: + description: RetryStrategy describes how to retry a template + when it fails properties: affinity: + description: Affinity prevents running workflow's step + on the same host properties: nodeAntiAffinity: + description: |- + RetryNodeAntiAffinity is a placeholder for future expansion, only empty nodeAntiAffinity is allowed. + In order to prevent running steps on the same host, it uses "kubernetes.io/hostname". type: object type: object backoff: + description: Backoff is a backoff strategy properties: cap: + description: |- + Cap is a limit on revised values of the duration parameter. If a + multiplication by the factor parameter would make the duration + exceed the cap then the duration is set to the cap type: string duration: + description: Duration is the amount to back off. + Default unit is seconds, but could also be a duration + (e.g. "2m", "1h") type: string factor: anyOf: - type: integer - type: string + description: Factor is a factor to multiply the + base duration after each failed retry x-kubernetes-int-or-string: true maxDuration: + description: |- + MaxDuration is the maximum amount of time allowed for a workflow in the backoff strategy. + It is important to note that if the workflow template includes activeDeadlineSeconds, the pod's deadline is initially set with activeDeadlineSeconds. + However, when the workflow fails, the pod's deadline is then overridden by maxDuration. + This ensures that the workflow does not exceed the specified maximum duration when retries are involved. type: string type: object expression: + description: |- + Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not + be retried and the retry strategy will be ignored type: string limit: anyOf: - type: integer - type: string + description: |- + Limit is the maximum number of retry attempts when retrying a container. It does not include the original + container; the maximum number of total attempts will be `limit + 1`. x-kubernetes-int-or-string: true retryPolicy: + description: RetryPolicy is a policy of NodePhase statuses + that will be retried + enum: + - Always + - OnFailure + - OnError + - OnTransientError type: string type: object schedulerName: + description: |- + If specified, the pod will be dispatched by specified scheduler. + Or it will be dispatched by workflow scope scheduler if specified. + If neither specified, the pod will be dispatched by default scheduler. type: string script: + description: Script runs a portion of code against an interpreter properties: args: + description: |- + Arguments to the entrypoint. + The container image's CMD is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic command: + description: |- + Entrypoint array. Not executed within a shell. + The container image's ENTRYPOINT is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic env: + description: |- + List of environment variables to set in the container. + Cannot be updated. items: + description: EnvVar represents an environment variable + present in a Container. properties: name: + description: Name of the environment variable. + Must be a C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. If a variable cannot be resolved, + the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. + "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". + Escaped references will never be expanded, regardless of whether the variable + exists or not. + Defaults to "". type: string valueFrom: + description: Source for the environment variable's + value. Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. properties: apiVersion: + description: Version of the schema the + FieldPath is written in terms of, defaults + to "v1". type: string fieldPath: + description: Path of the field to select + in the specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. properties: containerName: + description: 'Container name: required + for volumes, optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format + of the exposed resources, defaults to + "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic 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: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -20064,25 +30218,54 @@ spec: - name x-kubernetes-list-type: map envFrom: + description: |- + List of sources to populate environment variables in the container. + The keys defined within a source must be a C_IDENTIFIER. All invalid keys + will be reported as an event when the container is starting. When a key exists in multiple + sources, the value associated with the last source will take precedence. + Values defined by an Env with a duplicate key will take precedence. + Cannot be updated. items: + description: EnvFromSource represents the source of + a set of ConfigMaps or Secrets properties: configMapRef: + description: The ConfigMap to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + must be defined type: boolean type: object x-kubernetes-map-type: atomic prefix: + description: Optional text to prepend to the name + of each environment variable. Must be a C_IDENTIFIER. type: string secretRef: + description: The Secret to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret must + be defined type: boolean type: object x-kubernetes-map-type: atomic @@ -20090,31 +30273,71 @@ spec: type: array x-kubernetes-list-type: atomic image: + description: |- + Container image name. + More info: https://kubernetes.io/docs/concepts/containers/images + This field is optional to allow higher level config management to default or override + container images in workload controllers like Deployments and StatefulSets. type: string imagePullPolicy: + description: |- + Image pull policy. + One of Always, Never, IfNotPresent. + Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/containers/images#updating-images type: string lifecycle: + description: |- + Actions that the management system should take in response to container lifecycle events. + Cannot be updated. properties: postStart: + description: |- + PostStart is called immediately after a container is created. If the handler fails, + the container is terminated and restarted according to its restart policy. + Other management of the container blocks until the hook completes. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the + request. HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -20123,58 +30346,112 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP + server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that + the container should sleep. properties: seconds: + description: Seconds is the number of seconds + to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object preStop: + description: |- + PreStop is called immediately before a container is terminated due to an + API request or management event such as liveness/startup probe failure, + preemption, resource contention, etc. The handler is not called if the + container crashes or exits. The Pod's termination grace period countdown begins before the + PreStop hook is executed. Regardless of the outcome of the handler, the + container will eventually terminate within the Pod's termination grace + period (unless delayed by finalizers). Other management of the container blocks until the hook completes + or until the termination grace period is reached. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the + request. HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -20183,75 +30460,139 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP + server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that + the container should sleep. properties: seconds: + description: Seconds is the number of seconds + to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object stopSignal: + description: |- + StopSignal defines which signal will be sent to a container when it is being stopped. + If not specified, the default is defined by the container runtime in use. + StopSignal can only be set for Pods with a non-empty .spec.os.name type: string type: object livenessProbe: + description: |- + Periodic probe of container liveness. + Container will be restarted if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -20260,62 +30601,133 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to + a TCP port. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object name: + description: |- + Name of the container specified as a DNS_LABEL. + Each container in a pod must have a unique name (DNS_LABEL). + Cannot be updated. type: string ports: + description: |- + List of ports to expose from the container. Not specifying a port here + DOES NOT prevent that port from being exposed. Any port which is + listening on the default "0.0.0.0" address inside a container will be + accessible from the network. + Modifying this array with strategic merge patch may corrupt the data. + For more information See https://github.com/kubernetes/kubernetes/issues/108255. + Cannot be updated. items: + description: ContainerPort represents a network port + in a single container. properties: containerPort: + description: |- + Number of port to expose on the pod's IP address. + This must be a valid port number, 0 < x < 65536. format: int32 type: integer hostIP: + description: What host IP to bind the external + port to. type: string hostPort: + description: |- + Number of port to expose on the host. + If specified, this must be a valid port number, 0 < x < 65536. + If HostNetwork is specified, this must match ContainerPort. + Most containers do not need this. format: int32 type: integer name: + description: |- + If specified, this must be an IANA_SVC_NAME and unique within the pod. Each + named port in a pod must have a unique name. Name for the port that can be + referred to by services. type: string protocol: default: TCP + description: |- + Protocol for port. Must be UDP, TCP, or SCTP. + Defaults to "TCP". type: string required: - containerPort @@ -20326,39 +30738,76 @@ spec: - protocol x-kubernetes-list-type: map readinessProbe: + description: |- + Periodic probe of container service readiness. + Container will be removed from service endpoints if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -20367,51 +30816,100 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to + a TCP port. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object resizePolicy: + description: Resources resize policy for the container. items: + description: ContainerResizePolicy represents resource + resize policy for the container. properties: resourceName: + description: |- + Name of the resource to which this resource resize policy applies. + Supported values: cpu, memory. type: string restartPolicy: + description: |- + Restart policy to apply when specified resource is resized. + If not specified, it defaults to NotRequired. type: string required: - resourceName @@ -20420,13 +30918,35 @@ spec: type: array x-kubernetes-list-type: atomic resources: + description: |- + Compute Resources required by this container. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ properties: claims: + description: |- + Claims lists the names of resources, defined in spec.resourceClaims, + that are used by this container. + + This is an alpha field and requires enabling the + DynamicResourceAllocation feature gate. + + This field is immutable. It can only be set for containers. items: + description: ResourceClaim references one entry + in PodSpec.ResourceClaims. properties: name: + description: |- + Name must match the name of one entry in pod.spec.resourceClaims of + the Pod where this field is used. It makes that resource available + inside a container. type: string request: + description: |- + Request is the name chosen for a request in the referenced claim. + If empty, everything from the claim is made available, otherwise + only the result of this request. type: string required: - name @@ -20442,6 +30962,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -20450,118 +30973,304 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object type: object restartPolicy: + description: |- + RestartPolicy defines the restart behavior of individual containers in a pod. + This field may only be set for init containers, and the only allowed value is "Always". + For non-init containers or when this field is not specified, + the restart behavior is defined by the Pod's restart policy and the container type. + Setting the RestartPolicy as "Always" for the init container will have the following effect: + this init container will be continually restarted on + exit until all regular containers have terminated. Once all regular + containers have completed, all init containers with restartPolicy "Always" + will be shut down. This lifecycle differs from normal init containers and + is often referred to as a "sidecar" container. Although this init + container still starts in the init container sequence, it does not wait + for the container to complete before proceeding to the next init + container. Instead, the next init container starts immediately after this + init container is started, or after any startupProbe has successfully + completed. type: string securityContext: + description: |- + SecurityContext defines the security options the container should be run with. + If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. + More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ properties: allowPrivilegeEscalation: + description: |- + AllowPrivilegeEscalation controls whether a process can gain more + privileges than its parent process. This bool directly controls if + the no_new_privs flag will be set on the container process. + AllowPrivilegeEscalation is true always when the container is: + 1) run as Privileged + 2) has CAP_SYS_ADMIN + Note that this field cannot be set when spec.os.name is windows. type: boolean appArmorProfile: + description: |- + appArmorProfile is the AppArmor options to use by this container. If set, this profile + overrides the pod's appArmorProfile. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile loaded on the node that should be used. + The profile must be preconfigured on the node to work. + Must match the loaded name of the profile. + Must be set if and only if type is "Localhost". type: string type: + description: |- + type indicates which kind of AppArmor profile will be applied. + Valid options are: + Localhost - a profile pre-loaded on the node. + RuntimeDefault - the container runtime's default profile. + Unconfined - no AppArmor enforcement. type: string required: - type type: object capabilities: + description: |- + The capabilities to add/drop when running containers. + Defaults to the default set of capabilities granted by the container runtime. + Note that this field cannot be set when spec.os.name is windows. properties: add: + description: Added capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array x-kubernetes-list-type: atomic drop: + description: Removed capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array x-kubernetes-list-type: atomic type: object privileged: + description: |- + Run container in privileged mode. + Processes in privileged containers are essentially equivalent to root on the host. + Defaults to false. + Note that this field cannot be set when spec.os.name is windows. type: boolean procMount: + description: |- + procMount denotes the type of proc mount to use for the containers. + The default value is Default which uses the container runtime defaults for + readonly paths and masked paths. + This requires the ProcMountType feature flag to be enabled. + Note that this field cannot be set when spec.os.name is windows. type: string readOnlyRootFilesystem: + description: |- + Whether this container has a read-only root filesystem. + Default is false. + Note that this field cannot be set when spec.os.name is windows. type: boolean runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer runAsNonRoot: + description: |- + Indicates that the container must run as a non-root user. + If true, the Kubelet will validate the image at runtime to ensure that it + does not run as UID 0 (root) and fail to start the container if it does. + If unset or false, no such validation will be performed. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to the container. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. properties: level: + description: Level is SELinux level label that + applies to the container. type: string role: + description: Role is a SELinux role label that + applies to the container. type: string type: + description: Type is a SELinux type label that + applies to the container. type: string user: + description: User is a SELinux user label that + applies to the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by this container. If seccomp options are + provided at both the pod & container level, the container options + override the pod options. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. + Must be a descending path, relative to the kubelet's configured seccomp profile location. + Must be set if type is "Localhost". Must NOT be set for any other type. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + Localhost - a profile defined in a file on the node should be used. + RuntimeDefault - the container runtime default profile should be used. + Unconfined - no profile should be applied. type: string required: - type type: object windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options from the PodSecurityContext will be used. + If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is linux. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name + of the GMSA credential spec to use. type: string hostProcess: + description: |- + HostProcess determines if a container should be run as a 'Host Process' container. + All of a Pod's containers must have the same effective HostProcess value + (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + In addition, if HostProcess is true then HostNetwork must also be set to true. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: string type: object type: object source: + description: Source contains the source code of the + script to execute type: string startupProbe: + description: |- + StartupProbe indicates that the Pod has successfully initialized. + If specified, no other probes are executed until this completes successfully. + If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. + This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, + when it might take a long time to load data or warm a cache, than during steady-state operation. + This cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -20570,61 +31279,141 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to + a TCP port. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object stdin: + description: |- + Whether this container should allocate a buffer for stdin in the container runtime. If this + is not set, reads from stdin in the container will always result in EOF. + Default is false. type: boolean stdinOnce: + description: |- + Whether the container runtime should close the stdin channel after it has been opened by + a single attach. When stdin is true the stdin stream will remain open across multiple attach + sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the + first client attaches to stdin, and then remains open and accepts data until the client disconnects, + at which time stdin is closed and remains closed until the container is restarted. If this + flag is false, a container processes that reads from stdin will never receive an EOF. + Default is false type: boolean terminationMessagePath: + description: |- + Optional: Path at which the file to which the container's termination message + will be written is mounted into the container's filesystem. + Message written is intended to be brief final status, such as an assertion failure message. + Will be truncated by the node if greater than 4096 bytes. The total message length across + all containers will be limited to 12kb. + Defaults to /dev/termination-log. + Cannot be updated. type: string terminationMessagePolicy: + description: |- + Indicate how the termination message should be populated. File will use the contents of + terminationMessagePath to populate the container status message on both success and failure. + FallbackToLogsOnError will use the last chunk of container log output if the termination + message file is empty and the container exited with an error. + The log output is limited to 2048 bytes or 80 lines, whichever is smaller. + Defaults to File. + Cannot be updated. type: string tty: + description: |- + Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. + Default is false. type: boolean volumeDevices: + description: volumeDevices is the list of block devices + to be used by the container. items: + description: volumeDevice describes a mapping of a + raw block device within a container. properties: devicePath: + description: devicePath is the path inside of + the container that the device will be mapped + to. type: string name: + description: name must match the name of a persistentVolumeClaim + in the pod type: string required: - devicePath @@ -20635,21 +31424,65 @@ spec: - devicePath x-kubernetes-list-type: map volumeMounts: + description: |- + Pod volumes to mount into the container's filesystem. + Cannot be updated. items: + description: VolumeMount describes a mounting of a + Volume within a container. properties: mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. type: string mountPropagation: + description: |- + mountPropagation determines how mounts are propagated from the host + to container and the other way around. + When not set, MountPropagationNone is used. + This field is beta in 1.10. + When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + (which defaults to None). type: string name: + description: This must match the Name of a Volume. type: string readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. type: boolean recursiveReadOnly: + description: |- + RecursiveReadOnly specifies whether read-only mounts should be handled + recursively. + + If ReadOnly is false, this field has no meaning and must be unspecified. + + If ReadOnly is true, and this field is set to Disabled, the mount is not made + recursively read-only. If this field is set to IfPossible, the mount is made + recursively read-only, if it is supported by the container runtime. If this + field is set to Enabled, the mount is made recursively read-only if it is + supported by the container runtime, otherwise the pod will not be started and + an error will be generated to indicate the reason. + + If this field is set to IfPossible or Enabled, MountPropagation must be set to + None (or be unspecified, which defaults to None). + + If this field is not specified, it is treated as an equivalent of Disabled. type: string subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). type: string subPathExpr: + description: |- + Expanded path within the volume from which the container's volume should be mounted. + Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. + Defaults to "" (volume's root). + SubPathExpr and SubPath are mutually exclusive. type: string required: - mountPath @@ -20660,68 +31493,208 @@ spec: - mountPath x-kubernetes-list-type: map workingDir: + description: |- + Container's working directory. + If not specified, the container runtime's default will be used, which + might be configured in the container image. + Cannot be updated. type: string type: object securityContext: + description: |- + SecurityContext holds pod-level security attributes and common container settings. + Optional: Defaults to empty. See type description for default values of each field. properties: appArmorProfile: + description: |- + appArmorProfile is the AppArmor options to use by the containers in this pod. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile loaded on the node that should be used. + The profile must be preconfigured on the node to work. + Must match the loaded name of the profile. + Must be set if and only if type is "Localhost". type: string type: + description: |- + type indicates which kind of AppArmor profile will be applied. + Valid options are: + Localhost - a profile pre-loaded on the node. + RuntimeDefault - the container runtime's default profile. + Unconfined - no AppArmor enforcement. type: string required: - type type: object fsGroup: + description: |- + A special supplemental group that applies to all containers in a pod. + Some volume types allow the Kubelet to change the ownership of that volume + to be owned by the pod: + + 1. The owning GID will be the FSGroup + 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) + 3. The permission bits are OR'd with rw-rw---- + + If unset, the Kubelet will not modify the ownership and permissions of any volume. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer fsGroupChangePolicy: + description: |- + fsGroupChangePolicy defines behavior of changing ownership and permission of the volume + before being exposed inside Pod. This field will only apply to + volume types which support fsGroup based ownership(and permissions). + It will have no effect on ephemeral volume types such as: secret, configmaps + and emptydir. + Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used. + Note that this field cannot be set when spec.os.name is windows. type: string runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in SecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence + for that container. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer runAsNonRoot: + description: |- + Indicates that the container must run as a non-root user. + If true, the Kubelet will validate the image at runtime to ensure that it + does not run as UID 0 (root) and fail to start the container if it does. + If unset or false, no such validation will be performed. + May also be set in SecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in SecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence + for that container. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer seLinuxChangePolicy: + description: |- + seLinuxChangePolicy defines how the container's SELinux label is applied to all volumes used by the Pod. + It has no effect on nodes that do not support SELinux or to volumes does not support SELinux. + Valid values are "MountOption" and "Recursive". + + "Recursive" means relabeling of all files on all Pod volumes by the container runtime. + This may be slow for large volumes, but allows mixing privileged and unprivileged Pods sharing the same volume on the same node. + + "MountOption" mounts all eligible Pod volumes with `-o context` mount option. + This requires all Pods that share the same volume to use the same SELinux label. + It is not possible to share the same volume among privileged and unprivileged Pods. + Eligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes + whose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their + CSIDriver instance. Other volumes are always re-labelled recursively. + "MountOption" value is allowed only when SELinuxMount feature gate is enabled. + + If not specified and SELinuxMount feature gate is enabled, "MountOption" is used. + If not specified and SELinuxMount feature gate is disabled, "MountOption" is used for ReadWriteOncePod volumes + and "Recursive" for all other volumes. + + This field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers. + + All Pods that use the same volume should use the same seLinuxChangePolicy, otherwise some pods can get stuck in ContainerCreating state. + Note that this field cannot be set when spec.os.name is windows. type: string seLinuxOptions: + description: |- + The SELinux context to be applied to all containers. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in SecurityContext. If set in + both SecurityContext and PodSecurityContext, the value specified in SecurityContext + takes precedence for that container. + Note that this field cannot be set when spec.os.name is windows. properties: level: + description: Level is SELinux level label that applies + to the container. type: string role: + description: Role is a SELinux role label that applies + to the container. type: string type: + description: Type is a SELinux type label that applies + to the container. type: string user: + description: User is a SELinux user label that applies + to the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by the containers in this pod. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. + Must be a descending path, relative to the kubelet's configured seccomp profile location. + Must be set if type is "Localhost". Must NOT be set for any other type. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + Localhost - a profile defined in a file on the node should be used. + RuntimeDefault - the container runtime default profile should be used. + Unconfined - no profile should be applied. type: string required: - type type: object supplementalGroups: + description: |- + A list of groups applied to the first process run in each container, in + addition to the container's primary GID and fsGroup (if specified). If + the SupplementalGroupsPolicy feature is enabled, the + supplementalGroupsPolicy field determines whether these are in addition + to or instead of any group memberships defined in the container image. + If unspecified, no additional groups are added, though group memberships + defined in the container image may still be used, depending on the + supplementalGroupsPolicy field. + Note that this field cannot be set when spec.os.name is windows. items: format: int64 type: integer type: array x-kubernetes-list-type: atomic supplementalGroupsPolicy: + description: |- + Defines how supplemental groups of the first container processes are calculated. + Valid values are "Merge" and "Strict". If not specified, "Merge" is used. + (Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled + and the container runtime must implement support for this feature. + Note that this field cannot be set when spec.os.name is windows. type: string sysctls: + description: |- + Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported + sysctls (by the container runtime) might fail to launch. + Note that this field cannot be set when spec.os.name is windows. items: + description: Sysctl defines a kernel parameter to + be set properties: name: + description: Name of a property to set type: string value: + description: Value of a property to set type: string required: - name @@ -20730,88 +31703,193 @@ spec: type: array x-kubernetes-list-type: atomic windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options within a container's SecurityContext will be used. + If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is linux. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name + of the GMSA credential spec to use. type: string hostProcess: + description: |- + HostProcess determines if a container should be run as a 'Host Process' container. + All of a Pod's containers must have the same effective HostProcess value + (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + In addition, if HostProcess is true then HostNetwork must also be set to true. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: string type: object type: object serviceAccountName: + description: ServiceAccountName to apply to workflow pods type: string sidecars: + description: |- + Sidecars is a list of containers which run alongside the main container + Sidecars are automatically killed when the main container completes items: + description: UserContainer is a container specified by + a user. properties: args: + description: |- + Arguments to the entrypoint. + The container image's CMD is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic command: + description: |- + Entrypoint array. Not executed within a shell. + The container image's ENTRYPOINT is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic env: + description: |- + List of environment variables to set in the container. + Cannot be updated. items: + description: EnvVar represents an environment variable + present in a Container. properties: name: + description: Name of the environment variable. + Must be a C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. If a variable cannot be resolved, + the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. + "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". + Escaped references will never be expanded, regardless of whether the variable + exists or not. + Defaults to "". type: string valueFrom: + description: Source for the environment variable's + value. Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. properties: apiVersion: + description: Version of the schema the + FieldPath is written in terms of, + defaults to "v1". type: string fieldPath: + description: Path of the field to select + in the specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. properties: containerName: + description: 'Container name: required + for volumes, optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format + of the exposed resources, defaults + to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to + select' type: string required: - resource type: object x-kubernetes-map-type: atomic 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: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -20826,25 +31904,55 @@ spec: - name x-kubernetes-list-type: map envFrom: + description: |- + List of sources to populate environment variables in the container. + The keys defined within a source must be a C_IDENTIFIER. All invalid keys + will be reported as an event when the container is starting. When a key exists in multiple + sources, the value associated with the last source will take precedence. + Values defined by an Env with a duplicate key will take precedence. + Cannot be updated. items: + description: EnvFromSource represents the source + of a set of ConfigMaps or Secrets properties: configMapRef: + description: The ConfigMap to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + must be defined type: boolean type: object x-kubernetes-map-type: atomic prefix: + description: Optional text to prepend to the + name of each environment variable. Must be + a C_IDENTIFIER. type: string secretRef: + description: The Secret to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + must be defined type: boolean type: object x-kubernetes-map-type: atomic @@ -20852,31 +31960,71 @@ spec: type: array x-kubernetes-list-type: atomic image: + description: |- + Container image name. + More info: https://kubernetes.io/docs/concepts/containers/images + This field is optional to allow higher level config management to default or override + container images in workload controllers like Deployments and StatefulSets. type: string imagePullPolicy: + description: |- + Image pull policy. + One of Always, Never, IfNotPresent. + Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/containers/images#updating-images type: string lifecycle: + description: |- + Actions that the management system should take in response to container lifecycle events. + Cannot be updated. properties: postStart: + description: |- + PostStart is called immediately after a container is created. If the handler fails, + the container is terminated and restarted according to its restart policy. + Other management of the container blocks until the hook completes. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET + request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in + the request. HTTP allows repeated headers. items: + description: HTTPHeader describes a + custom header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -20885,58 +32033,112 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP + server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that + the container should sleep. properties: seconds: + description: Seconds is the number of + seconds to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object preStop: + description: |- + PreStop is called immediately before a container is terminated due to an + API request or management event such as liveness/startup probe failure, + preemption, resource contention, etc. The handler is not called if the + container crashes or exits. The Pod's termination grace period countdown begins before the + PreStop hook is executed. Regardless of the outcome of the handler, the + container will eventually terminate within the Pod's termination grace + period (unless delayed by finalizers). Other management of the container blocks until the hook completes + or until the termination grace period is reached. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET + request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in + the request. HTTP allows repeated headers. items: + description: HTTPHeader describes a + custom header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -20945,75 +32147,139 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP + server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that + the container should sleep. properties: seconds: + description: Seconds is the number of + seconds to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object stopSignal: + description: |- + StopSignal defines which signal will be sent to a container when it is being stopped. + If not specified, the default is defined by the container runtime in use. + StopSignal can only be set for Pods with a non-empty .spec.os.name type: string type: object livenessProbe: + description: |- + Periodic probe of container liveness. + Container will be restarted if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the + request. HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -21022,64 +32288,140 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection + to a TCP port. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object mirrorVolumeMounts: + description: |- + MirrorVolumeMounts will mount the same volumes specified in the main container + to the container (including artifacts), at the same mountPaths. This enables + dind daemon to partially see the same filesystem as the main container in + order to use features such as docker volume binding type: boolean name: + description: |- + Name of the container specified as a DNS_LABEL. + Each container in a pod must have a unique name (DNS_LABEL). + Cannot be updated. type: string ports: + description: |- + List of ports to expose from the container. Not specifying a port here + DOES NOT prevent that port from being exposed. Any port which is + listening on the default "0.0.0.0" address inside a container will be + accessible from the network. + Modifying this array with strategic merge patch may corrupt the data. + For more information See https://github.com/kubernetes/kubernetes/issues/108255. + Cannot be updated. items: + description: ContainerPort represents a network + port in a single container. properties: containerPort: + description: |- + Number of port to expose on the pod's IP address. + This must be a valid port number, 0 < x < 65536. format: int32 type: integer hostIP: + description: What host IP to bind the external + port to. type: string hostPort: + description: |- + Number of port to expose on the host. + If specified, this must be a valid port number, 0 < x < 65536. + If HostNetwork is specified, this must match ContainerPort. + Most containers do not need this. format: int32 type: integer name: + description: |- + If specified, this must be an IANA_SVC_NAME and unique within the pod. Each + named port in a pod must have a unique name. Name for the port that can be + referred to by services. type: string protocol: default: TCP + description: |- + Protocol for port. Must be UDP, TCP, or SCTP. + Defaults to "TCP". type: string required: - containerPort @@ -21090,39 +32432,76 @@ spec: - protocol x-kubernetes-list-type: map readinessProbe: + description: |- + Periodic probe of container service readiness. + Container will be removed from service endpoints if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the + request. HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -21131,51 +32510,100 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection + to a TCP port. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object resizePolicy: + description: Resources resize policy for the container. items: + description: ContainerResizePolicy represents resource + resize policy for the container. properties: resourceName: + description: |- + Name of the resource to which this resource resize policy applies. + Supported values: cpu, memory. type: string restartPolicy: + description: |- + Restart policy to apply when specified resource is resized. + If not specified, it defaults to NotRequired. type: string required: - resourceName @@ -21184,13 +32612,35 @@ spec: type: array x-kubernetes-list-type: atomic resources: + description: |- + Compute Resources required by this container. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ properties: claims: + description: |- + Claims lists the names of resources, defined in spec.resourceClaims, + that are used by this container. + + This is an alpha field and requires enabling the + DynamicResourceAllocation feature gate. + + This field is immutable. It can only be set for containers. items: + description: ResourceClaim references one entry + in PodSpec.ResourceClaims. properties: name: + description: |- + Name must match the name of one entry in pod.spec.resourceClaims of + the Pod where this field is used. It makes that resource available + inside a container. type: string request: + description: |- + Request is the name chosen for a request in the referenced claim. + If empty, everything from the claim is made available, otherwise + only the result of this request. type: string required: - name @@ -21206,6 +32656,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -21214,116 +32667,300 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object type: object restartPolicy: + description: |- + RestartPolicy defines the restart behavior of individual containers in a pod. + This field may only be set for init containers, and the only allowed value is "Always". + For non-init containers or when this field is not specified, + the restart behavior is defined by the Pod's restart policy and the container type. + Setting the RestartPolicy as "Always" for the init container will have the following effect: + this init container will be continually restarted on + exit until all regular containers have terminated. Once all regular + containers have completed, all init containers with restartPolicy "Always" + will be shut down. This lifecycle differs from normal init containers and + is often referred to as a "sidecar" container. Although this init + container still starts in the init container sequence, it does not wait + for the container to complete before proceeding to the next init + container. Instead, the next init container starts immediately after this + init container is started, or after any startupProbe has successfully + completed. type: string securityContext: + description: |- + SecurityContext defines the security options the container should be run with. + If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. + More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ properties: allowPrivilegeEscalation: + description: |- + AllowPrivilegeEscalation controls whether a process can gain more + privileges than its parent process. This bool directly controls if + the no_new_privs flag will be set on the container process. + AllowPrivilegeEscalation is true always when the container is: + 1) run as Privileged + 2) has CAP_SYS_ADMIN + Note that this field cannot be set when spec.os.name is windows. type: boolean appArmorProfile: + description: |- + appArmorProfile is the AppArmor options to use by this container. If set, this profile + overrides the pod's appArmorProfile. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile loaded on the node that should be used. + The profile must be preconfigured on the node to work. + Must match the loaded name of the profile. + Must be set if and only if type is "Localhost". type: string type: + description: |- + type indicates which kind of AppArmor profile will be applied. + Valid options are: + Localhost - a profile pre-loaded on the node. + RuntimeDefault - the container runtime's default profile. + Unconfined - no AppArmor enforcement. type: string required: - type type: object capabilities: + description: |- + The capabilities to add/drop when running containers. + Defaults to the default set of capabilities granted by the container runtime. + Note that this field cannot be set when spec.os.name is windows. properties: add: + description: Added capabilities items: + description: Capability represent POSIX + capabilities type type: string type: array x-kubernetes-list-type: atomic drop: + description: Removed capabilities items: + description: Capability represent POSIX + capabilities type type: string type: array x-kubernetes-list-type: atomic type: object privileged: + description: |- + Run container in privileged mode. + Processes in privileged containers are essentially equivalent to root on the host. + Defaults to false. + Note that this field cannot be set when spec.os.name is windows. type: boolean procMount: + description: |- + procMount denotes the type of proc mount to use for the containers. + The default value is Default which uses the container runtime defaults for + readonly paths and masked paths. + This requires the ProcMountType feature flag to be enabled. + Note that this field cannot be set when spec.os.name is windows. type: string readOnlyRootFilesystem: + description: |- + Whether this container has a read-only root filesystem. + Default is false. + Note that this field cannot be set when spec.os.name is windows. type: boolean runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer runAsNonRoot: + description: |- + Indicates that the container must run as a non-root user. + If true, the Kubelet will validate the image at runtime to ensure that it + does not run as UID 0 (root) and fail to start the container if it does. + If unset or false, no such validation will be performed. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to the container. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. properties: level: + description: Level is SELinux level label + that applies to the container. type: string role: + description: Role is a SELinux role label + that applies to the container. type: string type: + description: Type is a SELinux type label + that applies to the container. type: string user: + description: User is a SELinux user label + that applies to the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by this container. If seccomp options are + provided at both the pod & container level, the container options + override the pod options. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. + Must be a descending path, relative to the kubelet's configured seccomp profile location. + Must be set if type is "Localhost". Must NOT be set for any other type. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + Localhost - a profile defined in a file on the node should be used. + RuntimeDefault - the container runtime default profile should be used. + Unconfined - no profile should be applied. type: string required: - type type: object windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options from the PodSecurityContext will be used. + If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is linux. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the + name of the GMSA credential spec to use. type: string hostProcess: + description: |- + HostProcess determines if a container should be run as a 'Host Process' container. + All of a Pod's containers must have the same effective HostProcess value + (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + In addition, if HostProcess is true then HostNetwork must also be set to true. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: string type: object type: object startupProbe: + description: |- + StartupProbe indicates that the Pod has successfully initialized. + If specified, no other probes are executed until this completes successfully. + If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. + This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, + when it might take a long time to load data or warm a cache, than during steady-state operation. + This cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the + request. HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -21332,61 +32969,141 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection + to a TCP port. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object stdin: + description: |- + Whether this container should allocate a buffer for stdin in the container runtime. If this + is not set, reads from stdin in the container will always result in EOF. + Default is false. type: boolean stdinOnce: + description: |- + Whether the container runtime should close the stdin channel after it has been opened by + a single attach. When stdin is true the stdin stream will remain open across multiple attach + sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the + first client attaches to stdin, and then remains open and accepts data until the client disconnects, + at which time stdin is closed and remains closed until the container is restarted. If this + flag is false, a container processes that reads from stdin will never receive an EOF. + Default is false type: boolean terminationMessagePath: + description: |- + Optional: Path at which the file to which the container's termination message + will be written is mounted into the container's filesystem. + Message written is intended to be brief final status, such as an assertion failure message. + Will be truncated by the node if greater than 4096 bytes. The total message length across + all containers will be limited to 12kb. + Defaults to /dev/termination-log. + Cannot be updated. type: string terminationMessagePolicy: + description: |- + Indicate how the termination message should be populated. File will use the contents of + terminationMessagePath to populate the container status message on both success and failure. + FallbackToLogsOnError will use the last chunk of container log output if the termination + message file is empty and the container exited with an error. + The log output is limited to 2048 bytes or 80 lines, whichever is smaller. + Defaults to File. + Cannot be updated. type: string tty: + description: |- + Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. + Default is false. type: boolean volumeDevices: + description: volumeDevices is the list of block devices + to be used by the container. items: + description: volumeDevice describes a mapping of + a raw block device within a container. properties: devicePath: + description: devicePath is the path inside of + the container that the device will be mapped + to. type: string name: + description: name must match the name of a persistentVolumeClaim + in the pod type: string required: - devicePath @@ -21397,21 +33114,65 @@ spec: - devicePath x-kubernetes-list-type: map volumeMounts: + description: |- + Pod volumes to mount into the container's filesystem. + Cannot be updated. items: + description: VolumeMount describes a mounting of + a Volume within a container. properties: mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. type: string mountPropagation: + description: |- + mountPropagation determines how mounts are propagated from the host + to container and the other way around. + When not set, MountPropagationNone is used. + This field is beta in 1.10. + When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + (which defaults to None). type: string name: + description: This must match the Name of a Volume. type: string readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. type: boolean recursiveReadOnly: + description: |- + RecursiveReadOnly specifies whether read-only mounts should be handled + recursively. + + If ReadOnly is false, this field has no meaning and must be unspecified. + + If ReadOnly is true, and this field is set to Disabled, the mount is not made + recursively read-only. If this field is set to IfPossible, the mount is made + recursively read-only, if it is supported by the container runtime. If this + field is set to Enabled, the mount is made recursively read-only if it is + supported by the container runtime, otherwise the pod will not be started and + an error will be generated to indicate the reason. + + If this field is set to IfPossible or Enabled, MountPropagation must be set to + None (or be unspecified, which defaults to None). + + If this field is not specified, it is treated as an equivalent of Disabled. type: string subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). type: string subPathExpr: + description: |- + Expanded path within the volume from which the container's volume should be mounted. + Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. + Defaults to "" (volume's root). + SubPathExpr and SubPath are mutually exclusive. type: string required: - mountPath @@ -21422,38 +33183,81 @@ spec: - mountPath x-kubernetes-list-type: map workingDir: + description: |- + Container's working directory. + If not specified, the container runtime's default will be used, which + might be configured in the container image. + Cannot be updated. type: string required: - name type: object type: array steps: + description: Steps define a series of sequential/parallel + workflow steps items: + description: |- + Note: the `json:"steps"` part exists to workaround kubebuilder limitations. + There isn't actually a "steps" key in the JSON serialization; this is an anonymous list. + See the custom Unmarshaller below and ./hack/manifests/crd.go items: + description: |- + WorkflowStep is a reference to a template to execute in a series of step + Note: CEL validation cannot check withItems (Schemaless) or inline (PreserveUnknownFields) fields. properties: arguments: + description: Arguments hold arguments to the template properties: artifacts: + description: Artifacts is the list of artifacts + to pass to the template or workflow items: + description: Artifact indicates an artifact + to place at a specified path properties: archive: + description: Archive controls how the + artifact will be saved to the artifact + repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar + and gzip the file or directory when + saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip + zipped input artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if + the container logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the + strategy to use when to deleting an + artifact from completed or deleted workflows properties: podMetadata: + description: PodMetadata is an optional + field for specifying the Labels + and Annotations that should be assigned + to the Pod doing the deletion properties: annotations: additionalProperties: @@ -21465,8 +33269,15 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is + an optional field for specifying + the Service Account that should + be assigned to the Pod doing the + deletion type: string strategy: + description: Strategy is the strategy + to use. enum: - "" - OnWorkflowCompletion @@ -21475,30 +33286,61 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory + artifact location details properties: passwordSecret: + description: PasswordSecret is the + secret selector to the repository + password properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the + secret selector to the repository + username properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -21508,27 +33350,54 @@ spec: - url type: object azure: + description: Azure contains Azure Storage + artifact location details properties: accountKeySecret: + description: AccountKeySecret is the + secret selector to the Azure Blob + Storage account access key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name + (i.e., path) in the container where + the artifact resides type: string container: + description: Container is the container + where resources will be stored type: string endpoint: + description: Endpoint is the service + url associated with an account. + It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the + driver to figure out credentials + based on sdk defaults. type: boolean required: - blob @@ -21536,25 +33405,52 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to + reference an artifact from a previous + step type: string fromExpression: + description: FromExpression, if defined, + is evaluated to specify the value for + the artifact type: string gcs: + description: GCS contains GCS artifact + location details properties: bucket: + description: Bucket is the name of + the bucket type: string key: + description: Key is the path in the + bucket where the artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret + is the secret selector to the bucket's + service account key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -21564,62 +33460,129 @@ spec: - key type: object git: + description: Git contains git artifact + location details properties: branch: + description: Branch is the branch + to fetch when `SingleBranch` is + enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables + submodules during git clone type: boolean fetch: + description: Fetch specifies a number + of refs that should be fetched before + checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey + disables SSH strict host key checking + during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables + server certificate verification + resulting in insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the + secret selector to the repository + password properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, + tag, branch to checkout type: string singleBranch: + description: SingleBranch enables + single branch clone, using the `branch` + parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is + the secret selector to the repository + ssh private key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the + secret selector to the repository + username properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -21629,96 +33592,202 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact + location details properties: addresses: + description: Addresses is accessible + addresses of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly + even if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + ConfigMap or its key must be + defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in + HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact + location details properties: auth: + description: Auth contains information + for client authentication properties: basicAuth: + description: BasicAuth describes + the secret selectors required + for basic authentication properties: passwordSecret: + description: PasswordSecret + is the secret selector to + the repository password properties: key: + description: The key of + the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret + is the secret selector to + the repository username properties: key: + description: The key of + the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key @@ -21726,28 +33795,61 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds + necessary information for client + authentication via certificates properties: clientCertSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of + the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of + the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key @@ -21755,28 +33857,61 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds + all information for client authentication + via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of + the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of + the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key @@ -21784,10 +33919,19 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam + is for requesting optional + fields that should be + sent in the oauth request properties: key: + description: Name is + the header name type: string value: + description: Value is + the literal value + to use for the header type: string required: - key @@ -21798,13 +33942,28 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of + the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key @@ -21813,11 +33972,21 @@ spec: type: object type: object headers: + description: Headers are an optional + list of headers to send with HTTP + requests for artifacts items: + description: Header indicate a key-value + request header to be used when + fetching artifacts over HTTP properties: name: + description: Name is the header + name type: string value: + description: Value is the literal + value to use for the header type: string required: - name @@ -21825,131 +33994,309 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must + be unique within a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, + if Artifacts doesn't generate or exist type: boolean oss: + description: OSS contains OSS artifact + location details properties: accessKeySecret: + description: AccessKeySecret is the + secret selector to the bucket's + access key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of + the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent + tells the driver to attempt to create + the OSS bucket for output artifacts, + if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname + of the bucket endpoint type: string key: + description: Key is the path in the + bucket where the artifact resides type: string lifecycleRule: + description: LifecycleRule specifies + how to manage bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays + is the number of days before + we delete objects in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before + we convert the objects in the + bucket to Infrequent Access + (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the + secret selector to the bucket's + secret key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the + user''s temporary security token. + For more details, check out: https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the + driver to figure out credentials + based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container path + to the artifact type: string + plugin: + description: Plugin contains plugin artifact + location details + properties: + configuration: + description: Configuration is the + plugin defined configuration for + the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds + is the timeout for the artifact + driver connection, overriding the + driver's timeout + format: int32 + type: integer + key: + description: Key is the path in the + artifact repository where the artifact + resides + type: string + name: + description: Name is the name of the + artifact driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact + location details properties: data: + description: Data is the string contents + of the artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the + permission recursively into the artifact + if it is a folder type: boolean s3: + description: S3 contains S3 artifact location + details properties: accessKeySecret: + description: AccessKeySecret is the + secret selector to the bucket's + access key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of + the bucket type: string caSecret: + description: CASecret specifies the + secret that contains the CA, used + to verify the TLS connection properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent + tells the driver to attempt to create + the S3 bucket for output artifacts, + if it doesn't exist. Setting Enabled + Encryption will apply either SSE-S3 + to the bucket if KmsKeyId is not + set or SSE-KMS if it is. properties: objectLocking: + description: ObjectLocking Enable + object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used + to determine encryption options + during s3 operations properties: enableEncryption: + description: EnableEncryption + tells the driver to encrypt + objects if set to true. If kmsKeyId + and serverSideCustomerKeySecret + are not set, SSE-S3 will be + used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext + is a json blob that contains + an encryption context. See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the + driver to encrypt the object + using the specified KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret + tells the driver to encrypt + the output artifacts using SSE-C + with the specified secret. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -21957,97 +34304,218 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname + of the bucket endpoint type: string insecure: + description: Insecure will connect + to the service with TLS type: boolean key: + description: Key is the key in the + bucket where the artifact resides type: string region: + description: Region contains the optional + bucket region type: string roleARN: + description: RoleARN is the Amazon + Resource Name (ARN) of the role + to assume. type: string secretKeySecret: + description: SecretKeySecret is the + secret selector to the bucket's + secret key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is + used for ephemeral credentials like + an IAM assume role or S3 access + grant properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the + driver to figure out credentials + based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact + to be sourced from a subpath within + the specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can + be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) + ? 1 : 0) + (has(self.http) ? 1 : 0) + + (has(self.artifactory) ? 1 : 0) + (has(self.hdfs) + ? 1 : 0) + (has(self.raw) ? 1 : 0) + (has(self.oss) + ? 1 : 0) + (has(self.gcs) ? 1 : 0) + (has(self.azure) + ? 1 : 0) + (has(self.plugin) ? 1 : 0) + <= 1' type: array parameters: + description: Parameters is the list of parameters + to pass to the template or workflow items: + description: Parameter indicate a passed string + parameter to a service template with an + optional default value properties: default: + description: Default is the default value + to use for an input parameter if a value + was not supplied type: string description: + description: Description is the parameter + description type: string enum: + description: Enum holds a list of string + values to choose from, for the actual + value of the parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source for + the output parameter's value properties: configMapKeyRef: + description: ConfigMapKeyRef is configmap + selector for input parameter configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + ConfigMap or its key must be + defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies a value + to be used if retrieving the value + from the specified source fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the event + to get the value of the parameter. + E.g. `payload.message` type: string expression: + description: Expression, if defined, + is evaluated to specify the value + for the parameter type: string jqFilter: + description: JQFilter expression against + the resource object in resource + templates type: string jsonPath: + description: JSONPath of a resource + to retrieve an output parameter + value from in resource templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container + to retrieve an output parameter + value from in container templates type: string supplied: + description: Supplied value to be + filled in directly, either through + the CLI, API, etc. type: object type: object required: @@ -22056,6 +34524,9 @@ spec: type: array type: object continueOn: + description: |- + ContinueOn makes argo to proceed with the following step even if this step fails. + Errors and Failed states can be specified properties: error: type: boolean @@ -22066,28 +34537,62 @@ spec: additionalProperties: properties: arguments: + description: Arguments hold arguments to the + template properties: artifacts: + description: Artifacts is the list of + artifacts to pass to the template or + workflow items: + description: Artifact indicates an artifact + to place at a specified path properties: archive: + description: Archive controls how + the artifact will be saved to + the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will + tar and gzip the file or directory + when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will + unzip zipped input artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates + if the container logs should be + archived type: boolean artifactGC: + description: ArtifactGC describes + the strategy to use when to deleting + an artifact from completed or + deleted workflows properties: podMetadata: + description: PodMetadata is + an optional field for specifying + the Labels and Annotations + that should be assigned to + the Pod doing the deletion properties: annotations: additionalProperties: @@ -22099,8 +34604,15 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName + is an optional field for specifying + the Service Account that should + be assigned to the Pod doing + the deletion type: string strategy: + description: Strategy is the + strategy to use. enum: - "" - OnWorkflowCompletion @@ -22109,30 +34621,64 @@ spec: type: string type: object artifactory: + description: Artifactory contains + artifactory artifact location + details properties: passwordSecret: + description: PasswordSecret + is the secret selector to + the repository password properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret + is the secret selector to + the repository username properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key @@ -22142,27 +34688,58 @@ spec: - url type: object azure: + description: Azure contains Azure + Storage artifact location details properties: accountKeySecret: + description: AccountKeySecret + is the secret selector to + the Azure Blob Storage account + access key properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob + name (i.e., path) in the container + where the artifact resides type: string container: + description: Container is the + container where resources + will be stored type: string endpoint: + description: Endpoint is the + service url associated with + an account. It is most likely + "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells + the driver to figure out credentials + based on sdk defaults. type: boolean required: - blob @@ -22170,25 +34747,55 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact + to reference an artifact from + a previous step type: string fromExpression: + description: FromExpression, if + defined, is evaluated to specify + the value for the artifact type: string gcs: + description: GCS contains GCS artifact + location details properties: bucket: + description: Bucket is the name + of the bucket type: string key: + description: Key is the path + in the bucket where the artifact + resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret + is the secret selector to + the bucket's service account + key properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key @@ -22198,62 +34805,137 @@ spec: - key type: object git: + description: Git contains git artifact + location details properties: branch: + description: Branch is the branch + to fetch when `SingleBranch` + is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules + disables submodules during + git clone type: boolean fetch: + description: Fetch specifies + a number of refs that should + be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey + disables SSH strict host key + checking during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS + disables server certificate + verification resulting in + insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret + is the secret selector to + the repository password properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git + repository type: string revision: + description: Revision is the + git commit, tag, branch to + checkout type: string singleBranch: + description: SingleBranch enables + single branch clone, using + the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret + is the secret selector to + the repository ssh private + key properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret + is the secret selector to + the repository username properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key @@ -22263,96 +34945,211 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS + artifact location details properties: addresses: + description: Addresses is accessible + addresses of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a + file forcibly even if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to + select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the ConfigMap or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file + path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP + artifact location details properties: auth: + description: Auth contains information + for client authentication properties: basicAuth: + description: BasicAuth describes + the secret selectors required + for basic authentication properties: passwordSecret: + description: PasswordSecret + is the secret selector + to the repository + password properties: key: + description: The + key of the secret + to select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret + is the secret selector + to the repository + username properties: key: + description: The + key of the secret + to select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must + be defined type: boolean required: - key @@ -22360,28 +35157,68 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth + holds necessary information + for client authentication + via certificates properties: clientCertSecret: + description: SecretKeySelector + selects a key of a + Secret. properties: key: + description: The + key of the secret + to select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector + selects a key of a + Secret. properties: key: + description: The + key of the secret + to select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must + be defined type: boolean required: - key @@ -22389,28 +35226,68 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth + holds all information + for client authentication + via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector + selects a key of a + Secret. properties: key: + description: The + key of the secret + to select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector + selects a key of a + Secret. properties: key: + description: The + key of the secret + to select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must + be defined type: boolean required: - key @@ -22418,10 +35295,22 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam + is for requesting + optional fields + that should be sent + in the oauth request properties: key: + description: Name + is the header + name type: string value: + description: Value + is the literal + value to use + for the header type: string required: - key @@ -22432,13 +35321,31 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector + selects a key of a + Secret. properties: key: + description: The + key of the secret + to select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must + be defined type: boolean required: - key @@ -22447,11 +35354,24 @@ spec: type: object type: object headers: + description: Headers are an + optional list of headers to + send with HTTP requests for + artifacts items: + description: Header indicate + a key-value request header + to be used when fetching + artifacts over HTTP properties: name: + description: Name is the + header name type: string value: + description: Value is + the literal value to + use for the header type: string required: - name @@ -22459,131 +35379,327 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. + must be unique within a template's + inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, + if Artifacts doesn't generate + or exist type: boolean oss: + description: OSS contains OSS artifact + location details properties: accessKeySecret: + description: AccessKeySecret + is the secret selector to + the bucket's access key properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name + of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent + tells the driver to attempt + to create the OSS bucket for + output artifacts, if it doesn't + exist type: boolean endpoint: + description: Endpoint is the + hostname of the bucket endpoint type: string key: + description: Key is the path + in the bucket where the artifact + resides type: string lifecycleRule: + description: LifecycleRule specifies + how to manage bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays + is the number of days + before we delete objects + in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days + before we convert the + objects in the bucket + to Infrequent Access (IA) + storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret + is the secret selector to + the bucket's secret key properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken + is the user''s temporary security + token. For more details, check + out: https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells + the driver to figure out credentials + based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container + path to the artifact type: string + plugin: + description: Plugin contains plugin + artifact location details + properties: + configuration: + description: Configuration is + the plugin defined configuration + for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds + is the timeout for the artifact + driver connection, overriding + the driver's timeout + format: int32 + type: integer + key: + description: Key is the path + in the artifact repository + where the artifact resides + type: string + name: + description: Name is the name + of the artifact driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact + location details properties: data: + description: Data is the string + contents of the artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply + the permission recursively into + the artifact if it is a folder type: boolean s3: + description: S3 contains S3 artifact + location details properties: accessKeySecret: + description: AccessKeySecret + is the secret selector to + the bucket's access key properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name + of the bucket type: string caSecret: + description: CASecret specifies + the secret that contains the + CA, used to verify the TLS + connection properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent + tells the driver to attempt + to create the S3 bucket for + output artifacts, if it doesn't + exist. Setting Enabled Encryption + will apply either SSE-S3 to + the bucket if KmsKeyId is + not set or SSE-KMS if it is. properties: objectLocking: + description: ObjectLocking + Enable object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions + used to determine encryption + options during s3 operations properties: enableEncryption: + description: EnableEncryption + tells the driver to encrypt + objects if set to true. + If kmsKeyId and serverSideCustomerKeySecret + are not set, SSE-S3 will + be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext + is a json blob that contains + an encryption context. + See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells + the driver to encrypt + the object using the specified + KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret + tells the driver to encrypt + the output artifacts using + SSE-C with the specified + secret. properties: key: + description: The key + of the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must be + defined type: boolean required: - key @@ -22591,97 +35707,228 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the + hostname of the bucket endpoint type: string insecure: + description: Insecure will connect + to the service with TLS type: boolean key: + description: Key is the key + in the bucket where the artifact + resides type: string region: + description: Region contains + the optional bucket region type: string roleARN: + description: RoleARN is the + Amazon Resource Name (ARN) + of the role to assume. type: string secretKeySecret: + description: SecretKeySecret + is the secret selector to + the bucket's secret key properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret + is used for ephemeral credentials + like an IAM assume role or + S3 access grant properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells + the driver to figure out credentials + based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact + to be sourced from a subpath within + the specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location + can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) + ? 1 : 0) + (has(self.http) ? 1 : + 0) + (has(self.artifactory) ? 1 + : 0) + (has(self.hdfs) ? 1 : 0) + + (has(self.raw) ? 1 : 0) + (has(self.oss) + ? 1 : 0) + (has(self.gcs) ? 1 : + 0) + (has(self.azure) ? 1 : 0) + + (has(self.plugin) ? 1 : 0) <= 1' type: array parameters: + description: Parameters is the list of + parameters to pass to the template or + workflow items: + description: Parameter indicate a passed + string parameter to a service template + with an optional default value properties: default: + description: Default is the default + value to use for an input parameter + if a value was not supplied type: string description: + description: Description is the + parameter description type: string enum: + description: Enum holds a list of + string values to choose from, + for the actual value of the parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter + name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source + for the output parameter's value properties: configMapKeyRef: + description: ConfigMapKeyRef + is configmap selector for + input parameter configuration properties: key: + description: The key to + select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the ConfigMap or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies + a value to be used if retrieving + the value from the specified + source fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against + the event to get the value + of the parameter. E.g. `payload.message` type: string expression: + description: Expression, if + defined, is evaluated to specify + the value for the parameter type: string jqFilter: + description: JQFilter expression + against the resource object + in resource templates type: string jsonPath: + description: JSONPath of a resource + to retrieve an output parameter + value from in resource templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container + to retrieve an output parameter + value from in container templates type: string supplied: + description: Supplied value + to be filled in directly, + either through the CLI, API, + etc. type: object type: object required: @@ -22690,135 +35937,197 @@ spec: type: array type: object expression: + description: |- + Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not + be retried and the retry strategy will be ignored type: string template: + description: Template is the name of the template + to execute by the hook type: string templateRef: + description: TemplateRef is the reference + to the template resource to execute by the + hook properties: clusterScope: + description: ClusterScope indicates the + referred template is cluster scoped + (i.e. a ClusterWorkflowTemplate). type: boolean name: + description: Name is the resource name + of the template. type: string template: + description: Template is the name of referred + template in the resource. type: string type: object type: object + description: |- + Hooks holds the lifecycle hook which is invoked at lifecycle of + step, irrespective of the success, failure, or error status of the primary step type: object inline: + description: |- + Inline is the template. Template must be empty if this is declared (and vice-versa). + Note: This struct is defined recursively, since the inline template can potentially contain + steps/DAGs that also has an "inline" field. Kubernetes doesn't allow recursive types, so we + need "x-kubernetes-preserve-unknown-fields: true" in the validation schema. x-kubernetes-preserve-unknown-fields: true name: + description: Name of the step + maxLength: 128 + pattern: ^[a-zA-Z0-9][-a-zA-Z0-9]*$ type: string onExit: + description: |- + OnExit is a template reference which is invoked at the end of the + template, irrespective of the success, failure, or error of the + primary template. + DEPRECATED: Use Hooks[exit].Template instead. type: string template: + description: Template is the name of the template + to execute as the step type: string templateRef: + description: TemplateRef is the reference to the + template resource to execute as the step. properties: clusterScope: + description: ClusterScope indicates the referred + template is cluster scoped (i.e. a ClusterWorkflowTemplate). type: boolean name: + description: Name is the resource name of the + template. type: string template: + description: Template is the name of referred + template in the resource. type: string type: object when: + description: When is an expression in which the + step should conditionally execute type: string withItems: + description: |- + WithItems expands a step into multiple parallel steps from the items in the list + Note: The structure of WithItems is free-form, so we need + "x-kubernetes-preserve-unknown-fields: true" in the validation schema. x-kubernetes-preserve-unknown-fields: true withParam: + description: |- + WithParam expands a step into multiple parallel steps from the value in the parameter, + which is expected to be a JSON list. type: string withSequence: + description: WithSequence expands a step into a + numeric sequence properties: count: anyOf: - type: integer - type: string + description: 'Count is number of elements in + the sequence (default: 0). Not to be used + with end' x-kubernetes-int-or-string: true end: anyOf: - type: integer - type: string + description: 'Number at which to end the sequence + (default: 0). Not to be used with Count' x-kubernetes-int-or-string: true format: + description: Format is a printf format string + to format the value in the sequence type: string start: anyOf: - type: integer - type: string + description: 'Number at which to start the sequence + (default: 0)' x-kubernetes-int-or-string: true type: object + x-kubernetes-validations: + - message: only one of count or end can be defined + rule: '!(has(self.count) && has(self.end))' type: object type: array + minItems: 1 type: array suspend: + description: Suspend template subtype which can suspend + a workflow when reaching the step properties: duration: + description: |- + Duration is the seconds to wait before automatically resuming a template. Must be a string. Default unit is seconds. + Could also be a Duration, e.g.: "2m", "6h" type: string type: object synchronization: + description: Synchronization holds synchronization lock + configuration for this template properties: - mutex: - properties: - database: - type: boolean - name: - type: string - namespace: - type: string - type: object mutexes: + description: 'v3.6 and after: Mutexes holds the list + of Mutex lock details' items: + description: Mutex holds Mutex configuration properties: database: + description: Database specifies this is database + controlled if this is set true type: boolean name: + description: name of the mutex type: string namespace: + description: 'Namespace is the namespace of the + mutex, default: [namespace of workflow]' type: string type: object type: array - semaphore: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - database: - properties: - key: - type: string - required: - - key - type: object - namespace: - type: string - type: object semaphores: + description: 'v3.6 and after: Semaphores holds the list + of Semaphores configuration' items: + description: SemaphoreRef is a reference of Semaphore properties: configMapKeyRef: + description: ConfigMapKeyRef is a configmap selector + for Semaphore configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic database: + description: SyncDatabaseRef is a database reference + for Semaphore configuration properties: key: type: string @@ -22826,134 +36135,308 @@ spec: - key type: object namespace: + description: 'Namespace is the namespace of the + configmap, default: [namespace of workflow]' type: string type: object type: array type: object timeout: + description: |- + Timeout allows to set the total node execution timeout duration counting from the node's start time. + This duration also includes time in which the node spends in Pending state. This duration may not be applied to Step or DAG templates. type: string tolerations: + description: Tolerations to apply to workflow pods. items: + description: |- + The pod this Toleration is attached to tolerates any taint that matches + the triple using the matching operator . properties: effect: + description: |- + Effect indicates the taint effect to match. Empty means match all taint effects. + When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. type: string key: + description: |- + Key is the taint key that the toleration applies to. Empty means match all taint keys. + If the key is empty, operator must be Exists; this combination means to match all values and all keys. type: string operator: + description: |- + Operator represents a key's relationship to the value. + Valid operators are Exists and Equal. Defaults to Equal. + Exists is equivalent to wildcard for value, so that a pod can + tolerate all taints of a particular category. type: string tolerationSeconds: + description: |- + TolerationSeconds represents the period of time the toleration (which must be + of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, + it is not set, which means tolerate the taint forever (do not evict). Zero and + negative values will be treated as 0 (evict immediately) by the system. format: int64 type: integer value: + description: |- + Value is the taint value the toleration matches to. + If the operator is Exists, the value should be empty, otherwise just a regular string. type: string type: object type: array volumes: + description: Volumes is a list of volumes that can be mounted + by containers in a template. items: + description: Volume represents a named volume in a pod + that may be accessed by any container in the pod. properties: awsElasticBlockStore: + description: |- + awsElasticBlockStore represents an AWS Disk resource that is attached to a + kubelet's host machine and then exposed to the pod. + Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree + awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore properties: fsType: + description: |- + fsType is the 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#awselasticblockstore type: string partition: + description: |- + partition is 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). format: int32 type: integer readOnly: + description: |- + readOnly value true will force the readOnly setting in VolumeMounts. + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore type: boolean volumeID: + description: |- + volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore type: string required: - volumeID type: object azureDisk: + description: |- + azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. + Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type + are redirected to the disk.csi.azure.com CSI driver. properties: cachingMode: + description: 'cachingMode is the Host Caching + mode: None, Read Only, Read Write.' type: string diskName: + description: diskName is the Name of the data + disk in the blob storage type: string diskURI: + description: diskURI is the URI of data disk in + the blob storage type: string fsType: default: ext4 + description: |- + fsType is 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. type: string kind: + description: 'kind expected values are Shared: + multiple blob disks per storage account Dedicated: + single blob disk per storage account Managed: + azure managed data disk (only in managed availability + set). defaults to shared' type: string readOnly: default: false + description: |- + readOnly Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean required: - diskName - diskURI type: object azureFile: + description: |- + azureFile represents an Azure File Service mount on the host and bind mount to the pod. + Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type + are redirected to the file.csi.azure.com CSI driver. properties: readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretName: + description: secretName is the name of secret + that contains Azure Storage Account Name and + Key type: string shareName: + description: shareName is the azure share Name type: string required: - secretName - shareName type: object cephfs: + description: |- + cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. + Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported. properties: monitors: + description: |- + monitors is Required: Monitors is a collection of Ceph monitors + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it items: type: string type: array x-kubernetes-list-type: atomic path: + description: 'path is Optional: Used as the mounted + root, rather than the full Ceph tree, default + is /' type: string readOnly: + description: |- + readOnly is 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 type: boolean secretFile: + description: |- + secretFile is 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 type: string secretRef: + description: |- + secretRef is 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 properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic user: + description: |- + user is optional: User is the rados user name, default is admin + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it type: string required: - monitors type: object cinder: + description: |- + cinder represents a cinder volume attached and mounted on kubelets host machine. + Deprecated: Cinder is deprecated. All operations for the in-tree cinder type + are redirected to the cinder.csi.openstack.org CSI driver. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md properties: fsType: + description: |- + fsType is the 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 type: string readOnly: + description: |- + readOnly 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 type: boolean secretRef: + description: |- + secretRef is optional: points to a secret object containing parameters used to connect + to OpenStack. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic volumeID: + description: |- + volumeID used to identify the volume in cinder. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md type: string required: - volumeID type: object configMap: + description: configMap represents a configMap that + should populate this volume properties: defaultMode: + description: |- + defaultMode is optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer items: + description: |- + items 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 '..'. items: + description: Maps a string key to a path within + a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + description: |- + path is 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 required: - key @@ -22963,67 +36446,150 @@ spec: x-kubernetes-list-type: atomic name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: optional specify whether the ConfigMap + or its keys must be defined type: boolean type: object x-kubernetes-map-type: atomic csi: + description: csi (Container Storage Interface) represents + ephemeral storage that is handled by certain external + CSI drivers. properties: driver: + 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. type: string fsType: + description: |- + fsType 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. type: string nodePublishSecretRef: + 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. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic readOnly: + description: |- + readOnly specifies a read-only configuration for the volume. + Defaults to false (read/write). type: boolean volumeAttributes: additionalProperties: type: string + description: |- + volumeAttributes stores driver-specific properties that are passed to the CSI + driver. Consult your driver's documentation for supported values. type: object required: - driver type: object downwardAPI: + description: downwardAPI represents downward API about + the pod that should populate this volume properties: defaultMode: + description: |- + Optional: mode bits to use on created files by default. Must be a + Optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer items: + description: Items is a list of downward API volume + file items: + description: DownwardAPIVolumeFile represents + information to create the file containing + the pod field properties: fieldRef: + description: 'Required: Selects a field + of the pod: only annotations, labels, + name, namespace and uid are supported.' properties: apiVersion: + description: Version of the schema the + FieldPath is written in terms of, + defaults to "v1". type: string fieldPath: + description: Path of the field to select + in the specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic mode: + description: |- + Optional: mode bits used to set permissions on this file, must be an octal value + between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + 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 resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. properties: containerName: + description: 'Container name: required + for volumes, optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format + of the exposed resources, defaults + to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to + select' type: string required: - resource @@ -23036,21 +36602,87 @@ spec: x-kubernetes-list-type: atomic type: object emptyDir: + description: |- + emptyDir represents a temporary directory that shares a pod's lifetime. + More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir properties: medium: + description: |- + medium represents 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 type: string sizeLimit: anyOf: - type: integer - type: string + description: |- + sizeLimit is the 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: https://kubernetes.io/docs/concepts/storage/volumes#emptydir pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object ephemeral: + description: |- + ephemeral represents a volume that is handled by a cluster storage driver. + The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, + and deleted when the pod is removed. + + Use this if: + a) the volume is only needed while the pod runs, + b) features of normal volumes like restoring from snapshot or capacity + tracking are needed, + c) the storage driver is specified through a storage class, and + d) the storage driver supports dynamic volume provisioning through + a PersistentVolumeClaim (see EphemeralVolumeSource for more + information on the connection between this volume type + and PersistentVolumeClaim). + + Use PersistentVolumeClaim or one of the vendor-specific + APIs for volumes that persist for longer than the lifecycle + of an individual pod. + + Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to + be used that way - see the documentation of the driver for + more information. + + A pod can use both types of ephemeral volumes and + persistent volumes at the same time. properties: volumeClaimTemplate: + description: |- + Will be used to create a stand-alone PVC to provision the volume. + The pod in which this EphemeralVolumeSource is embedded will be the + owner of the PVC, i.e. the PVC will be deleted together with the + pod. The name of the PVC will be `-` where + `` is the name from the `PodSpec.Volumes` array + entry. Pod validation will reject the pod if the concatenated name + is not valid for a PVC (for example, too long). + + An existing PVC with that name that is not owned by the pod + will *not* be used for the pod to avoid using an unrelated + volume by mistake. Starting the pod is then blocked until + the unrelated PVC is removed. If such a pre-created PVC is + meant to be used by the pod, the PVC has to updated with an + owner reference to the pod once the pod exists. Normally + this should not be necessary, but it may be useful when + manually reconstructing a broken cluster. + + This field is read-only and no changes will be made by Kubernetes + to the PVC after it has been created. + + Required, must not be nil. properties: metadata: + description: |- + May contain labels and annotations that will be copied into the PVC + when creating it. No other fields are allowed and will be rejected during + validation. properties: annotations: additionalProperties: @@ -23072,19 +36704,44 @@ spec: type: string type: object spec: + description: |- + The specification for the PersistentVolumeClaim. The entire content is + copied unchanged into the PVC that gets created from this + template. The same fields as in a PersistentVolumeClaim + are also valid here. properties: accessModes: + description: |- + accessModes contains the desired access modes the volume should have. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 items: type: string type: array x-kubernetes-list-type: atomic dataSource: + description: |- + dataSource field can be used to specify either: + * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) + * An existing PVC (PersistentVolumeClaim) + If the provisioner or an external controller can support the specified data source, + it will create a new volume based on the contents of the specified data source. + When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef, + and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified. + If the namespace is specified, then dataSourceRef will not be copied to dataSource. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource + being referenced type: string name: + description: Name is the name of resource + being referenced type: string required: - kind @@ -23092,20 +36749,62 @@ spec: type: object x-kubernetes-map-type: atomic dataSourceRef: + description: |- + dataSourceRef specifies the object from which to populate the volume with data, if a non-empty + volume is desired. This may be any object from a non-empty API group (non + core object) or a PersistentVolumeClaim object. + When this field is specified, volume binding will only succeed if the type of + the specified object matches some installed volume populator or dynamic + provisioner. + This field will replace the functionality of the dataSource field and as such + if both fields are non-empty, they must have the same value. For backwards + compatibility, when namespace isn't specified in dataSourceRef, + both fields (dataSource and dataSourceRef) will be set to the same + value automatically if one of them is empty and the other is non-empty. + When namespace is specified in dataSourceRef, + dataSource isn't set to the same value and must be empty. + There are three important differences between dataSource and dataSourceRef: + * While dataSource only allows two specific types of objects, dataSourceRef + allows any non-core object, as well as PersistentVolumeClaim objects. + * While dataSource ignores disallowed values (dropping them), dataSourceRef + preserves all values, and generates an error if a disallowed value is + specified. + * While dataSource only allows local objects, dataSourceRef allows objects + in any namespaces. + (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. + (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource + being referenced type: string name: + description: Name is the name of resource + being referenced type: string namespace: + description: |- + Namespace is the namespace of resource being referenced + Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. + (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. type: string required: - kind - name type: object resources: + description: |- + resources represents the minimum resources the volume should have. + If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements + that are lower than previous value but must still be higher than capacity recorded in the + status field of the claim. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources properties: limits: additionalProperties: @@ -23114,6 +36813,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -23122,18 +36824,42 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object type: object selector: + description: selector is a label query + over volumes to consider for binding. properties: matchExpressions: + description: matchExpressions is a + list of label selector requirements. + The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label + key that the selector applies + to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -23147,16 +36873,42 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic storageClassName: + description: |- + storageClassName is the name of the StorageClass required by the claim. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 type: string volumeAttributesClassName: + description: |- + volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. + If specified, the CSI driver will create or update the volume with the attributes defined + in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, + it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass + will be applied to the claim but it's not allowed to reset this field to empty string once it is set. + If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass + will be set by the persistentvolume controller if it exists. + If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be + set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource + exists. + More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ + (Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default). type: string volumeMode: + description: |- + volumeMode defines what type of volume is required by the claim. + Value of Filesystem is implied when not included in claim spec. type: string volumeName: + description: volumeName is the binding + reference to the PersistentVolume backing + this claim. type: string type: object required: @@ -23164,41 +36916,84 @@ spec: type: object type: object fc: + description: fc represents a Fibre Channel resource + that is attached to a kubelet's host machine and + then exposed to the pod. properties: fsType: + description: |- + fsType is the 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. type: string lun: + description: 'lun is Optional: FC target lun number' format: int32 type: integer readOnly: + description: |- + readOnly is Optional: Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean targetWWNs: + description: 'targetWWNs is Optional: FC target + worldwide names (WWNs)' items: type: string type: array x-kubernetes-list-type: atomic wwids: + description: |- + wwids Optional: FC volume world wide identifiers (wwids) + Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. items: type: string type: array x-kubernetes-list-type: atomic type: object flexVolume: + description: |- + flexVolume represents a generic volume resource that is + provisioned/attached using an exec based plugin. + Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead. properties: driver: + description: driver is the name of the driver + to use for this volume. type: string fsType: + description: |- + fsType is the 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. type: string options: additionalProperties: type: string + description: 'options is Optional: this field + holds extra command options if any.' type: object readOnly: + description: |- + readOnly is Optional: defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef is 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: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic @@ -23206,98 +37001,239 @@ spec: - driver type: object flocker: + description: |- + flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running. + Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported. properties: datasetName: + description: |- + datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker + should be considered as deprecated type: string datasetUUID: + description: datasetUUID is the UUID of the dataset. + This is unique identifier of a Flocker dataset type: string type: object gcePersistentDisk: + description: |- + gcePersistentDisk represents a GCE Disk resource that is attached to a + kubelet's host machine and then exposed to the pod. + Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree + gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. + More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk properties: fsType: + description: |- + fsType is 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 type: string partition: + description: |- + partition is 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 format: int32 type: integer pdName: + description: |- + pdName is 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 readOnly: + 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: - pdName type: object gitRepo: + 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. properties: directory: + description: |- + directory is the 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. type: string repository: + description: repository is the URL type: string revision: + description: revision is the commit hash for the + specified revision. type: string required: - repository type: object glusterfs: + description: |- + glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. + Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. + More info: https://examples.k8s.io/volumes/glusterfs/README.md properties: endpoints: + description: |- + endpoints is the endpoint name that details Glusterfs topology. + More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod type: string path: + description: |- + path is the Glusterfs volume path. + More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod type: string readOnly: + 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 type: boolean required: - endpoints - path type: object hostPath: + 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 properties: path: + 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 type: string type: + description: |- + type for HostPath Volume + Defaults to "" + More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath type: string required: - path type: object image: + description: |- + image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. + The volume is resolved at pod startup depending on which PullPolicy value is provided: + + - Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. + - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. + - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. + + The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. + A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. + The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. + The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. + The volume will be mounted read-only (ro) and non-executable files (noexec). + Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33. + The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type. properties: pullPolicy: + description: |- + Policy for pulling OCI objects. Possible values are: + Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. + Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. + IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. + Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. type: string reference: + description: |- + Required: Image or artifact reference to be used. + Behaves in the same way as pod.spec.containers[*].image. + Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets. + More info: https://kubernetes.io/docs/concepts/containers/images + This field is optional to allow higher level config management to default or override + container images in workload controllers like Deployments and StatefulSets. type: string type: object iscsi: + 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 properties: chapAuthDiscovery: + description: chapAuthDiscovery defines whether + support iSCSI Discovery CHAP authentication type: boolean chapAuthSession: + description: chapAuthSession defines whether support + iSCSI Session CHAP authentication type: boolean fsType: + description: |- + fsType is the 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 type: string initiatorName: + description: |- + initiatorName is the custom iSCSI Initiator Name. + If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface + : will be created for the connection. type: string iqn: + description: iqn is the target iSCSI Qualified + Name. type: string iscsiInterface: default: default + description: |- + iscsiInterface is the interface Name that uses an iSCSI transport. + Defaults to 'default' (tcp). type: string lun: + description: lun represents iSCSI Target Lun number. format: int32 type: integer portals: + description: |- + portals is the 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). items: type: string type: array x-kubernetes-list-type: atomic readOnly: + description: |- + readOnly here will force the ReadOnly setting in VolumeMounts. + Defaults to false. type: boolean secretRef: + description: secretRef is the CHAP Secret for + iSCSI target and initiator authentication properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic targetPortal: + description: |- + targetPortal is 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 required: - iqn @@ -23305,68 +37241,169 @@ spec: - targetPortal type: object name: + description: |- + name of the volume. + Must be a DNS_LABEL and unique within the pod. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string nfs: + 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 properties: path: + description: |- + path that is exported by the NFS server. + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs type: string readOnly: + 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 type: boolean server: + description: |- + server is the hostname or IP address of the NFS server. + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs type: string required: - path - server type: object persistentVolumeClaim: + description: |- + persistentVolumeClaimVolumeSource represents a reference to a + PersistentVolumeClaim in the same namespace. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims properties: claimName: + 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 readOnly: + description: |- + readOnly Will force the ReadOnly setting in VolumeMounts. + Default false. type: boolean required: - claimName type: object photonPersistentDisk: + description: |- + photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. + Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported. properties: fsType: + description: |- + fsType is the 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. type: string pdID: + description: pdID is the ID that identifies Photon + Controller persistent disk type: string required: - pdID type: object portworxVolume: + description: |- + portworxVolume represents a portworx volume attached and mounted on kubelets host machine. + Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type + are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate + is on. properties: fsType: + 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. type: string readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean volumeID: + description: volumeID uniquely identifies a Portworx + volume type: string required: - volumeID type: object projected: + description: projected items for all in one resources + secrets, configmaps, and downward API properties: defaultMode: + description: |- + defaultMode are the mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer sources: + description: |- + sources is the list of volume projections. Each entry in this list + handles one source. items: + description: |- + Projection that may be projected along with other supported volume types. + Exactly one of these fields must be set. properties: clusterTrustBundle: + description: |- + ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field + of ClusterTrustBundle objects in an auto-updating file. + + Alpha, gated by the ClusterTrustBundleProjection feature gate. + + ClusterTrustBundle objects can either be selected by name, or by the + combination of signer name and a label selector. + + Kubelet performs aggressive normalization of the PEM contents written + into the pod filesystem. Esoteric PEM features such as inter-block + comments and block headers are stripped. Certificates are deduplicated. + The ordering of certificates within the file is arbitrary, and Kubelet + may change the order over time. properties: labelSelector: + description: |- + Select all ClusterTrustBundles that match this label selector. Only has + effect if signerName is set. Mutually-exclusive with name. If unset, + interpreted as "match nothing". If set but empty, interpreted as "match + everything". properties: matchExpressions: + description: matchExpressions is + a list of label selector requirements. + The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label + key that the selector applies + to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -23380,31 +37417,76 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic name: + description: |- + Select a single ClusterTrustBundle by object name. Mutually-exclusive + with signerName and labelSelector. type: string optional: + description: |- + If true, don't block pod startup if the referenced ClusterTrustBundle(s) + aren't available. If using name, then the named ClusterTrustBundle is + allowed not to exist. If using signerName, then the combination of + signerName and labelSelector is allowed to match zero + ClusterTrustBundles. type: boolean path: + description: Relative path from the + volume root to write the bundle. type: string signerName: + description: |- + Select all ClusterTrustBundles that match this signer name. + Mutually-exclusive with name. The contents of all selected + ClusterTrustBundles will be unified and deduplicated. type: string required: - path type: object configMap: + description: configMap information about + the configMap data to project properties: items: + description: |- + items 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 '..'. items: + description: Maps a string key to + a path within a volume. properties: key: + description: key is the key to + project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + description: |- + path is 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 required: - key @@ -23414,42 +37496,94 @@ spec: x-kubernetes-list-type: atomic name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: optional specify whether + the ConfigMap or its keys must be + defined type: boolean type: object x-kubernetes-map-type: atomic downwardAPI: + description: downwardAPI information about + the downwardAPI data to project properties: items: + description: Items is a list of DownwardAPIVolume + file items: + description: DownwardAPIVolumeFile + represents information to create + the file containing the pod field properties: fieldRef: + description: 'Required: Selects + a field of the pod: only annotations, + labels, name, namespace and + uid are supported.' properties: apiVersion: + description: Version of the + schema the FieldPath is + written in terms of, defaults + to "v1". type: string fieldPath: + description: Path of the field + to select in the specified + API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic mode: + description: |- + Optional: mode bits used to set permissions on this file, must be an octal value + between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + 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 resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. properties: containerName: + description: 'Container name: + required for volumes, optional + for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the + output format of the exposed + resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource + to select' type: string required: - resource @@ -23462,16 +37596,42 @@ spec: x-kubernetes-list-type: atomic type: object secret: + description: secret information about the + secret data to project properties: items: + description: |- + items 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 '..'. items: + description: Maps a string key to + a path within a volume. properties: key: + description: key is the key to + project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + description: |- + path is 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 required: - key @@ -23481,19 +37641,46 @@ spec: x-kubernetes-list-type: atomic name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: optional field specify + whether the Secret or its key must + be defined type: boolean type: object x-kubernetes-map-type: atomic serviceAccountToken: + description: serviceAccountToken is information + about the serviceAccountToken data to + project properties: audience: + 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. type: string expirationSeconds: + 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. format: int64 type: integer path: + description: |- + path is the path relative to the mount point of the file to project the + token into. type: string required: - path @@ -23503,84 +37690,184 @@ spec: x-kubernetes-list-type: atomic type: object quobyte: + description: |- + quobyte represents a Quobyte mount on the host that shares a pod's lifetime. + Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported. properties: group: + description: |- + group to map volume access to + Default is no group type: string readOnly: + description: |- + readOnly here will force the Quobyte volume to be mounted with read-only permissions. + Defaults to false. type: boolean registry: + 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 type: string tenant: + description: |- + tenant owning the given Quobyte volume in the Backend + Used with dynamically provisioned Quobyte volumes, value is set by the plugin type: string user: + description: |- + user to map volume access to + Defaults to serivceaccount user type: string volume: + description: volume is a string that references + an already created Quobyte volume by name. type: string required: - registry - volume type: object rbd: + description: |- + rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. + Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. + More info: https://examples.k8s.io/volumes/rbd/README.md properties: fsType: + description: |- + fsType is the 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 type: string image: + description: |- + image is the rados image name. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string keyring: default: /etc/ceph/keyring + 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 type: string monitors: + description: |- + monitors is a collection of Ceph monitors. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it items: type: string type: array x-kubernetes-list-type: atomic pool: default: rbd + description: |- + pool is the rados pool name. + Default is rbd. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string readOnly: + 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 type: boolean secretRef: + 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 properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic user: default: admin + description: |- + user is the rados user name. + Default is admin. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string required: - image - monitors type: object scaleIO: + description: |- + scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. + Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported. properties: fsType: default: xfs + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". + Default is "xfs". type: string gateway: + description: gateway is the host address of the + ScaleIO API Gateway. type: string protectionDomain: + description: protectionDomain is the name of the + ScaleIO Protection Domain for the configured + storage. type: string readOnly: + description: |- + readOnly Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef references to the secret for ScaleIO user and other + sensitive information. If this is not provided, Login operation will fail. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic sslEnabled: + description: sslEnabled Flag enable/disable SSL + communication with Gateway, default false type: boolean storageMode: default: ThinProvisioned + description: |- + storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. + Default is ThinProvisioned. type: string storagePool: + description: storagePool is the ScaleIO Storage + Pool associated with the protection domain. type: string system: + description: system is the name of the storage + system as configured in ScaleIO. type: string volumeName: + description: |- + volumeName is the name of a volume already created in the ScaleIO system + that is associated with this volume source. type: string required: - gateway @@ -23588,19 +37875,53 @@ spec: - system type: object secret: + description: |- + secret represents a secret that should populate this volume. + More info: https://kubernetes.io/docs/concepts/storage/volumes#secret properties: defaultMode: + description: |- + defaultMode is Optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values + for mode bits. 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. format: int32 type: integer items: + description: |- + items 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 '..'. items: + description: Maps a string key to a path within + a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + description: |- + path is 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 required: - key @@ -23609,37 +37930,86 @@ spec: type: array x-kubernetes-list-type: atomic optional: + description: optional field specify whether the + Secret or its keys must be defined type: boolean secretName: + description: |- + secretName is the name of the secret in the pod's namespace to use. + More info: https://kubernetes.io/docs/concepts/storage/volumes#secret type: string type: object storageos: + description: |- + storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. + Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. properties: fsType: + description: |- + fsType is the 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. type: string readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef specifies the secret to use for obtaining the StorageOS API + credentials. If not specified, default values will be attempted. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic volumeName: + description: |- + volumeName is the human-readable name of the StorageOS volume. Volume + names are only unique within a namespace. type: string volumeNamespace: + 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. type: string type: object vsphereVolume: + description: |- + vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. + Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type + are redirected to the csi.vsphere.vmware.com CSI driver. properties: fsType: + description: |- + fsType is 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. type: string storagePolicyID: + description: storagePolicyID is the storage Policy + Based Management (SPBM) profile ID associated + with the StoragePolicyName. type: string storagePolicyName: + description: storagePolicyName is the storage + Policy Based Management (SPBM) profile name. type: string volumePath: + description: volumePath is the path that identifies + vSphere volume vmdk type: string required: - volumePath @@ -23649,48 +38019,120 @@ spec: type: object type: array type: object + maxItems: 200 type: array + x-kubernetes-validations: + - message: template must have at most one template type + rule: 'self.all(t, (has(t.container) ? 1 : 0) + (has(t.script) + ? 1 : 0) + (has(t.dag) ? 1 : 0) + (has(t.steps) ? 1 : 0) + + (has(t.resource) ? 1 : 0) + (has(t.suspend) ? 1 : 0) + (has(t.containerSet) + ? 1 : 0) + (has(t.data) ? 1 : 0) + (has(t.http) ? 1 : 0) + + (has(t.plugin) ? 1 : 0) <= 1)' + - message: timeout cannot be applied to steps or dag templates + rule: self.all(t, !(has(t.timeout) && t.timeout != "" && (has(t.steps) + || has(t.dag)))) + - message: activeDeadlineSeconds is only valid for leaf templates + rule: self.all(t, !(has(t.activeDeadlineSeconds) && (has(t.steps) + || has(t.dag)))) tolerations: + description: Tolerations to apply to workflow pods. items: + description: |- + The pod this Toleration is attached to tolerates any taint that matches + the triple using the matching operator . properties: effect: + description: |- + Effect indicates the taint effect to match. Empty means match all taint effects. + When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. type: string key: + description: |- + Key is the taint key that the toleration applies to. Empty means match all taint keys. + If the key is empty, operator must be Exists; this combination means to match all values and all keys. type: string operator: + description: |- + Operator represents a key's relationship to the value. + Valid operators are Exists and Equal. Defaults to Equal. + Exists is equivalent to wildcard for value, so that a pod can + tolerate all taints of a particular category. type: string tolerationSeconds: + description: |- + TolerationSeconds represents the period of time the toleration (which must be + of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, + it is not set, which means tolerate the taint forever (do not evict). Zero and + negative values will be treated as 0 (evict immediately) by the system. format: int64 type: integer value: + description: |- + Value is the taint value the toleration matches to. + If the operator is Exists, the value should be empty, otherwise just a regular string. type: string type: object type: array ttlStrategy: + description: |- + TTLStrategy limits the lifetime of a Workflow that has finished execution depending on if it + Succeeded or Failed. If this struct is set, once the Workflow finishes, it will be + deleted after the time to live expires. If this field is unset, + the controller config map will hold the default values. properties: secondsAfterCompletion: + description: SecondsAfterCompletion is the number of seconds + to live after completion format: int32 type: integer secondsAfterFailure: + description: SecondsAfterFailure is the number of seconds + to live after failure format: int32 type: integer secondsAfterSuccess: + description: SecondsAfterSuccess is the number of seconds + to live after success format: int32 type: integer type: object volumeClaimGC: + description: VolumeClaimGC describes the strategy to use when + deleting volumes from completed workflows properties: strategy: + description: Strategy is the strategy to use. One of "OnWorkflowCompletion", + "OnWorkflowSuccess". Defaults to "OnWorkflowSuccess" type: string type: object volumeClaimTemplates: + description: |- + VolumeClaimTemplates is a list of claims that containers are allowed to reference. + The Workflow controller will create the claims at the beginning of the workflow + and delete the claims upon completion of the workflow items: + description: PersistentVolumeClaim is a user's request for and + claim to a persistent volume 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: + description: |- + Standard object's metadata. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata properties: annotations: additionalProperties: @@ -23712,19 +38154,42 @@ spec: type: string type: object spec: + description: |- + spec defines the desired characteristics of a volume requested by a pod author. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims properties: accessModes: + description: |- + accessModes contains the desired access modes the volume should have. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 items: type: string type: array x-kubernetes-list-type: atomic dataSource: + description: |- + dataSource field can be used to specify either: + * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) + * An existing PVC (PersistentVolumeClaim) + If the provisioner or an external controller can support the specified data source, + it will create a new volume based on the contents of the specified data source. + When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef, + and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified. + If the namespace is specified, then dataSourceRef will not be copied to dataSource. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource being + referenced type: string name: + description: Name is the name of resource being + referenced type: string required: - kind @@ -23732,20 +38197,62 @@ spec: type: object x-kubernetes-map-type: atomic dataSourceRef: + description: |- + dataSourceRef specifies the object from which to populate the volume with data, if a non-empty + volume is desired. This may be any object from a non-empty API group (non + core object) or a PersistentVolumeClaim object. + When this field is specified, volume binding will only succeed if the type of + the specified object matches some installed volume populator or dynamic + provisioner. + This field will replace the functionality of the dataSource field and as such + if both fields are non-empty, they must have the same value. For backwards + compatibility, when namespace isn't specified in dataSourceRef, + both fields (dataSource and dataSourceRef) will be set to the same + value automatically if one of them is empty and the other is non-empty. + When namespace is specified in dataSourceRef, + dataSource isn't set to the same value and must be empty. + There are three important differences between dataSource and dataSourceRef: + * While dataSource only allows two specific types of objects, dataSourceRef + allows any non-core object, as well as PersistentVolumeClaim objects. + * While dataSource ignores disallowed values (dropping them), dataSourceRef + preserves all values, and generates an error if a disallowed value is + specified. + * While dataSource only allows local objects, dataSourceRef allows objects + in any namespaces. + (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. + (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource being + referenced type: string name: + description: Name is the name of resource being + referenced type: string namespace: + description: |- + Namespace is the namespace of resource being referenced + Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. + (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. type: string required: - kind - name type: object resources: + description: |- + resources represents the minimum resources the volume should have. + If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements + that are lower than previous value but must still be higher than capacity recorded in the + status field of the claim. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources properties: limits: additionalProperties: @@ -23754,6 +38261,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -23762,18 +38272,40 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object type: object selector: + description: selector is a label query over volumes + to consider for binding. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the + selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -23787,28 +38319,102 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic storageClassName: + description: |- + storageClassName is the name of the StorageClass required by the claim. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 type: string volumeAttributesClassName: + description: |- + volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. + If specified, the CSI driver will create or update the volume with the attributes defined + in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, + it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass + will be applied to the claim but it's not allowed to reset this field to empty string once it is set. + If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass + will be set by the persistentvolume controller if it exists. + If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be + set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource + exists. + More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ + (Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default). type: string volumeMode: + description: |- + volumeMode defines what type of volume is required by the claim. + Value of Filesystem is implied when not included in claim spec. type: string volumeName: + description: volumeName is the binding reference to + the PersistentVolume backing this claim. type: string type: object status: + description: |- + status represents the current information/status of a persistent volume claim. + Read-only. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims properties: accessModes: + description: |- + accessModes contains the actual access modes the volume backing the PVC has. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 items: type: string type: array x-kubernetes-list-type: atomic allocatedResourceStatuses: additionalProperties: + description: |- + When a controller receives persistentvolume claim update with ClaimResourceStatus for a resource + that it does not recognizes, then it should ignore that update and let other controllers + handle it. type: string + description: "allocatedResourceStatuses stores status + of resource being resized for the given PVC.\nKey + names follow standard Kubernetes label syntax. Valid + values are either:\n\t* Un-prefixed keys:\n\t\t- storage + - the capacity of the volume.\n\t* Custom resources + must use implementation-defined prefixed names such + as \"example.com/my-custom-resource\"\nApart from + above values - keys that are unprefixed or have kubernetes.io + prefix are considered\nreserved and hence may not + be used.\n\nClaimResourceStatus can be in any of following + states:\n\t- ControllerResizeInProgress:\n\t\tState + set when resize controller starts resizing the volume + in control-plane.\n\t- ControllerResizeFailed:\n\t\tState + set when resize has failed in resize controller with + a terminal error.\n\t- NodeResizePending:\n\t\tState + set when resize controller has finished resizing the + volume but further resizing of\n\t\tvolume is needed + on the node.\n\t- NodeResizeInProgress:\n\t\tState + set when kubelet starts resizing the volume.\n\t- + NodeResizeFailed:\n\t\tState set when resizing has + failed in kubelet with a terminal error. Transient + errors don't set\n\t\tNodeResizeFailed.\nFor example: + if expanding a PVC for more capacity - this field + can be one of the following states:\n\t- pvc.status.allocatedResourceStatus['storage'] + = \"ControllerResizeInProgress\"\n - pvc.status.allocatedResourceStatus['storage'] + = \"ControllerResizeFailed\"\n - pvc.status.allocatedResourceStatus['storage'] + = \"NodeResizePending\"\n - pvc.status.allocatedResourceStatus['storage'] + = \"NodeResizeInProgress\"\n - pvc.status.allocatedResourceStatus['storage'] + = \"NodeResizeFailed\"\nWhen this field is not set, + it means that no resize operation is in progress for + the given PVC.\n\nA controller that receives PVC update + with previously unknown resourceName or ClaimResourceStatus\nshould + ignore the update for the purpose it was designed. + For example - a controller that\nonly is responsible + for resizing capacity of the volume, should ignore + PVC updates that change other valid\nresources associated + with PVC.\n\nThis is an alpha field and requires enabling + RecoverVolumeExpansionFailure feature." type: object x-kubernetes-map-type: granular allocatedResources: @@ -23818,6 +38424,32 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: "allocatedResources tracks the resources + allocated to a PVC including its capacity.\nKey names + follow standard Kubernetes label syntax. Valid values + are either:\n\t* Un-prefixed keys:\n\t\t- storage + - the capacity of the volume.\n\t* Custom resources + must use implementation-defined prefixed names such + as \"example.com/my-custom-resource\"\nApart from + above values - keys that are unprefixed or have kubernetes.io + prefix are considered\nreserved and hence may not + be used.\n\nCapacity reported here may be larger than + the actual capacity when a volume expansion operation\nis + requested.\nFor storage quota, the larger value from + allocatedResources and PVC.spec.resources is used.\nIf + allocatedResources is not set, PVC.spec.resources + alone is used for quota calculation.\nIf a volume + expansion capacity request is lowered, allocatedResources + is only\nlowered if there are no expansion operations + in progress and if the actual volume capacity\nis + equal or lower than the requested capacity.\n\nA controller + that receives PVC update with previously unknown resourceName\nshould + ignore the update for the purpose it was designed. + For example - a controller that\nonly is responsible + for resizing capacity of the volume, should ignore + PVC updates that change other valid\nresources associated + with PVC.\n\nThis is an alpha field and requires enabling + RecoverVolumeExpansionFailure feature." type: object capacity: additionalProperties: @@ -23826,23 +38458,47 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: capacity represents the actual resources + of the underlying volume. type: object conditions: + description: |- + conditions is the current Condition of persistent volume claim. If underlying persistent volume is being + resized then the Condition will be set to 'Resizing'. items: + description: PersistentVolumeClaimCondition contains + details about state of pvc properties: lastProbeTime: + description: lastProbeTime is the time we probed + the condition. format: date-time type: string lastTransitionTime: + description: lastTransitionTime is the time the + condition transitioned from one status to another. format: date-time type: string message: + description: message is the human-readable message + indicating details about last transition. type: string reason: + description: |- + reason is a unique, this should be a short, machine understandable string that gives the reason + for condition's last transition. If it reports "Resizing" that means the underlying + persistent volume is being resized. type: string status: + description: |- + Status is the status of the condition. + Can be True, False, Unknown. + More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=state%20of%20pvc-,conditions.status,-(string)%2C%20required type: string type: + description: |- + Type is the type of the condition. + More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=set%20to%20%27ResizeStarted%27.-,PersistentVolumeClaimCondition,-contains%20details%20about type: string required: - status @@ -23853,127 +38509,296 @@ spec: - type x-kubernetes-list-type: map currentVolumeAttributesClassName: + description: |- + currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. + When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim + This is a beta field and requires enabling VolumeAttributesClass feature (off by default). type: string modifyVolumeStatus: + description: |- + ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. + When this is unset, there is no ModifyVolume operation being attempted. + This is a beta field and requires enabling VolumeAttributesClass feature (off by default). properties: status: + description: "status is the status of the ControllerModifyVolume + operation. It can be in any of following states:\n + - Pending\n Pending indicates that the PersistentVolumeClaim + cannot be modified due to unmet requirements, + such as\n the specified VolumeAttributesClass + not existing.\n - InProgress\n InProgress indicates + that the volume is being modified.\n - Infeasible\n + \ Infeasible indicates that the request has been + rejected as invalid by the CSI driver. To\n\t + \ resolve the error, a valid VolumeAttributesClass + needs to be specified.\nNote: New statuses can + be added in the future. Consumers should check + for unknown statuses and fail appropriately." type: string targetVolumeAttributesClassName: + description: targetVolumeAttributesClassName is + the name of the VolumeAttributesClass the PVC + currently being reconciled type: string required: - status type: object phase: + description: phase represents the current phase of PersistentVolumeClaim. type: string type: object type: object type: array volumes: + description: Volumes is a list of volumes that can be mounted + by containers in a workflow. items: + description: Volume represents a named volume in a pod that + may be accessed by any container in the pod. properties: awsElasticBlockStore: + description: |- + awsElasticBlockStore represents an AWS Disk resource that is attached to a + kubelet's host machine and then exposed to the pod. + Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree + awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore properties: fsType: + description: |- + fsType is the 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#awselasticblockstore type: string partition: + description: |- + partition is 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). format: int32 type: integer readOnly: + description: |- + readOnly value true will force the readOnly setting in VolumeMounts. + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore type: boolean volumeID: + description: |- + volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore type: string required: - volumeID type: object azureDisk: + description: |- + azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. + Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type + are redirected to the disk.csi.azure.com CSI driver. properties: cachingMode: + description: 'cachingMode is the Host Caching mode: + None, Read Only, Read Write.' type: string diskName: + description: diskName is the Name of the data disk in + the blob storage type: string diskURI: + description: diskURI is the URI of data disk in the + blob storage type: string fsType: default: ext4 + description: |- + fsType is 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. type: string kind: + description: 'kind expected values are Shared: multiple + blob disks per storage account Dedicated: single + blob disk per storage account Managed: azure managed + data disk (only in managed availability set). defaults + to shared' type: string readOnly: default: false + description: |- + readOnly Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean required: - diskName - diskURI type: object azureFile: + description: |- + azureFile represents an Azure File Service mount on the host and bind mount to the pod. + Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type + are redirected to the file.csi.azure.com CSI driver. properties: readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretName: + description: secretName is the name of secret that + contains Azure Storage Account Name and Key type: string shareName: + description: shareName is the azure share Name type: string required: - secretName - shareName type: object cephfs: + description: |- + cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. + Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported. properties: monitors: + description: |- + monitors is Required: Monitors is a collection of Ceph monitors + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it items: type: string type: array x-kubernetes-list-type: atomic path: + description: 'path is Optional: Used as the mounted + root, rather than the full Ceph tree, default is /' type: string readOnly: + description: |- + readOnly is 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 type: boolean secretFile: + description: |- + secretFile is 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 type: string secretRef: + description: |- + secretRef is 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 properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic user: + description: |- + user is optional: User is the rados user name, default is admin + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it type: string required: - monitors type: object cinder: + description: |- + cinder represents a cinder volume attached and mounted on kubelets host machine. + Deprecated: Cinder is deprecated. All operations for the in-tree cinder type + are redirected to the cinder.csi.openstack.org CSI driver. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md properties: fsType: + description: |- + fsType is the 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 type: string readOnly: + description: |- + readOnly 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 type: boolean secretRef: + description: |- + secretRef is optional: points to a secret object containing parameters used to connect + to OpenStack. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic volumeID: + description: |- + volumeID used to identify the volume in cinder. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md type: string required: - volumeID type: object configMap: + description: configMap represents a configMap that should + populate this volume properties: defaultMode: + description: |- + defaultMode is optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer items: + description: |- + items 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 '..'. items: + description: Maps a string key to a path within a + volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + description: |- + path is 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 required: - key @@ -23983,67 +38808,145 @@ spec: x-kubernetes-list-type: atomic name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: optional specify whether the ConfigMap + or its keys must be defined type: boolean type: object x-kubernetes-map-type: atomic csi: + description: csi (Container Storage Interface) represents + ephemeral storage that is handled by certain external + CSI drivers. properties: driver: + 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. type: string fsType: + description: |- + fsType 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. type: string nodePublishSecretRef: + 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. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic readOnly: + description: |- + readOnly specifies a read-only configuration for the volume. + Defaults to false (read/write). type: boolean volumeAttributes: additionalProperties: type: string + description: |- + volumeAttributes stores driver-specific properties that are passed to the CSI + driver. Consult your driver's documentation for supported values. type: object required: - driver type: object downwardAPI: + description: downwardAPI represents downward API about the + pod that should populate this volume properties: defaultMode: + description: |- + Optional: mode bits to use on created files by default. Must be a + Optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer items: + description: Items is a list of downward API volume + file items: + description: DownwardAPIVolumeFile represents information + to create the file containing the pod field properties: fieldRef: + description: 'Required: Selects a field of the + pod: only annotations, labels, name, namespace + and uid are supported.' properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in + the specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic mode: + description: |- + Optional: mode bits used to set permissions on this file, must be an octal value + between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + 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 resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. properties: containerName: + description: 'Container name: required for + volumes, optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of + the exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource @@ -24056,21 +38959,87 @@ spec: x-kubernetes-list-type: atomic type: object emptyDir: + description: |- + emptyDir represents a temporary directory that shares a pod's lifetime. + More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir properties: medium: + description: |- + medium represents 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 type: string sizeLimit: anyOf: - type: integer - type: string + description: |- + sizeLimit is the 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: https://kubernetes.io/docs/concepts/storage/volumes#emptydir pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object ephemeral: + description: |- + ephemeral represents a volume that is handled by a cluster storage driver. + The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, + and deleted when the pod is removed. + + Use this if: + a) the volume is only needed while the pod runs, + b) features of normal volumes like restoring from snapshot or capacity + tracking are needed, + c) the storage driver is specified through a storage class, and + d) the storage driver supports dynamic volume provisioning through + a PersistentVolumeClaim (see EphemeralVolumeSource for more + information on the connection between this volume type + and PersistentVolumeClaim). + + Use PersistentVolumeClaim or one of the vendor-specific + APIs for volumes that persist for longer than the lifecycle + of an individual pod. + + Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to + be used that way - see the documentation of the driver for + more information. + + A pod can use both types of ephemeral volumes and + persistent volumes at the same time. properties: volumeClaimTemplate: + description: |- + Will be used to create a stand-alone PVC to provision the volume. + The pod in which this EphemeralVolumeSource is embedded will be the + owner of the PVC, i.e. the PVC will be deleted together with the + pod. The name of the PVC will be `-` where + `` is the name from the `PodSpec.Volumes` array + entry. Pod validation will reject the pod if the concatenated name + is not valid for a PVC (for example, too long). + + An existing PVC with that name that is not owned by the pod + will *not* be used for the pod to avoid using an unrelated + volume by mistake. Starting the pod is then blocked until + the unrelated PVC is removed. If such a pre-created PVC is + meant to be used by the pod, the PVC has to updated with an + owner reference to the pod once the pod exists. Normally + this should not be necessary, but it may be useful when + manually reconstructing a broken cluster. + + This field is read-only and no changes will be made by Kubernetes + to the PVC after it has been created. + + Required, must not be nil. properties: metadata: + description: |- + May contain labels and annotations that will be copied into the PVC + when creating it. No other fields are allowed and will be rejected during + validation. properties: annotations: additionalProperties: @@ -24092,19 +39061,44 @@ spec: type: string type: object spec: + description: |- + The specification for the PersistentVolumeClaim. The entire content is + copied unchanged into the PVC that gets created from this + template. The same fields as in a PersistentVolumeClaim + are also valid here. properties: accessModes: + description: |- + accessModes contains the desired access modes the volume should have. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 items: type: string type: array x-kubernetes-list-type: atomic dataSource: + description: |- + dataSource field can be used to specify either: + * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) + * An existing PVC (PersistentVolumeClaim) + If the provisioner or an external controller can support the specified data source, + it will create a new volume based on the contents of the specified data source. + When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef, + and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified. + If the namespace is specified, then dataSourceRef will not be copied to dataSource. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource + being referenced type: string name: + description: Name is the name of resource + being referenced type: string required: - kind @@ -24112,20 +39106,62 @@ spec: type: object x-kubernetes-map-type: atomic dataSourceRef: + description: |- + dataSourceRef specifies the object from which to populate the volume with data, if a non-empty + volume is desired. This may be any object from a non-empty API group (non + core object) or a PersistentVolumeClaim object. + When this field is specified, volume binding will only succeed if the type of + the specified object matches some installed volume populator or dynamic + provisioner. + This field will replace the functionality of the dataSource field and as such + if both fields are non-empty, they must have the same value. For backwards + compatibility, when namespace isn't specified in dataSourceRef, + both fields (dataSource and dataSourceRef) will be set to the same + value automatically if one of them is empty and the other is non-empty. + When namespace is specified in dataSourceRef, + dataSource isn't set to the same value and must be empty. + There are three important differences between dataSource and dataSourceRef: + * While dataSource only allows two specific types of objects, dataSourceRef + allows any non-core object, as well as PersistentVolumeClaim objects. + * While dataSource ignores disallowed values (dropping them), dataSourceRef + preserves all values, and generates an error if a disallowed value is + specified. + * While dataSource only allows local objects, dataSourceRef allows objects + in any namespaces. + (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. + (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource + being referenced type: string name: + description: Name is the name of resource + being referenced type: string namespace: + description: |- + Namespace is the namespace of resource being referenced + Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. + (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. type: string required: - kind - name type: object resources: + description: |- + resources represents the minimum resources the volume should have. + If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements + that are lower than previous value but must still be higher than capacity recorded in the + status field of the claim. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources properties: limits: additionalProperties: @@ -24134,6 +39170,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -24142,18 +39181,41 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object type: object selector: + description: selector is a label query over + volumes to consider for binding. properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The requirements + are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key + that the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -24167,16 +39229,41 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic storageClassName: + description: |- + storageClassName is the name of the StorageClass required by the claim. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 type: string volumeAttributesClassName: + description: |- + volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. + If specified, the CSI driver will create or update the volume with the attributes defined + in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, + it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass + will be applied to the claim but it's not allowed to reset this field to empty string once it is set. + If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass + will be set by the persistentvolume controller if it exists. + If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be + set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource + exists. + More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ + (Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default). type: string volumeMode: + description: |- + volumeMode defines what type of volume is required by the claim. + Value of Filesystem is implied when not included in claim spec. type: string volumeName: + description: volumeName is the binding reference + to the PersistentVolume backing this claim. type: string type: object required: @@ -24184,41 +39271,84 @@ spec: type: object type: object fc: + description: fc represents a Fibre Channel resource that + is attached to a kubelet's host machine and then exposed + to the pod. properties: fsType: + description: |- + fsType is the 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. type: string lun: + description: 'lun is Optional: FC target lun number' format: int32 type: integer readOnly: + description: |- + readOnly is Optional: Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean targetWWNs: + description: 'targetWWNs is Optional: FC target worldwide + names (WWNs)' items: type: string type: array x-kubernetes-list-type: atomic wwids: + description: |- + wwids Optional: FC volume world wide identifiers (wwids) + Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. items: type: string type: array x-kubernetes-list-type: atomic type: object flexVolume: + description: |- + flexVolume represents a generic volume resource that is + provisioned/attached using an exec based plugin. + Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead. properties: driver: + description: driver is the name of the driver to use + for this volume. type: string fsType: + description: |- + fsType is the 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. type: string options: additionalProperties: type: string + description: 'options is Optional: this field holds + extra command options if any.' type: object readOnly: + description: |- + readOnly is Optional: defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef is 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: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic @@ -24226,98 +39356,238 @@ spec: - driver type: object flocker: + description: |- + flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running. + Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported. properties: datasetName: + description: |- + datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker + should be considered as deprecated type: string datasetUUID: + description: datasetUUID is the UUID of the dataset. + This is unique identifier of a Flocker dataset type: string type: object gcePersistentDisk: + description: |- + gcePersistentDisk represents a GCE Disk resource that is attached to a + kubelet's host machine and then exposed to the pod. + Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree + gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. + More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk properties: fsType: + description: |- + fsType is 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 type: string partition: + description: |- + partition is 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 format: int32 type: integer pdName: + description: |- + pdName is 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 readOnly: + 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: - pdName type: object gitRepo: + 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. properties: directory: + description: |- + directory is the 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. type: string repository: + description: repository is the URL type: string revision: + description: revision is the commit hash for the specified + revision. type: string required: - repository type: object glusterfs: + description: |- + glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. + Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. + More info: https://examples.k8s.io/volumes/glusterfs/README.md properties: endpoints: + description: |- + endpoints is the endpoint name that details Glusterfs topology. + More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod type: string path: + description: |- + path is the Glusterfs volume path. + More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod type: string readOnly: + 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 type: boolean required: - endpoints - path type: object hostPath: + 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 properties: path: + 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 type: string type: + description: |- + type for HostPath Volume + Defaults to "" + More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath type: string required: - path type: object image: + description: |- + image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. + The volume is resolved at pod startup depending on which PullPolicy value is provided: + + - Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. + - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. + - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. + + The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. + A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. + The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. + The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. + The volume will be mounted read-only (ro) and non-executable files (noexec). + Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33. + The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type. properties: pullPolicy: + description: |- + Policy for pulling OCI objects. Possible values are: + Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. + Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. + IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. + Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. type: string reference: + description: |- + Required: Image or artifact reference to be used. + Behaves in the same way as pod.spec.containers[*].image. + Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets. + More info: https://kubernetes.io/docs/concepts/containers/images + This field is optional to allow higher level config management to default or override + container images in workload controllers like Deployments and StatefulSets. type: string type: object iscsi: + 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 properties: chapAuthDiscovery: + description: chapAuthDiscovery defines whether support + iSCSI Discovery CHAP authentication type: boolean chapAuthSession: + description: chapAuthSession defines whether support + iSCSI Session CHAP authentication type: boolean fsType: + description: |- + fsType is the 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 type: string initiatorName: + description: |- + initiatorName is the custom iSCSI Initiator Name. + If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface + : will be created for the connection. type: string iqn: + description: iqn is the target iSCSI Qualified Name. type: string iscsiInterface: default: default + description: |- + iscsiInterface is the interface Name that uses an iSCSI transport. + Defaults to 'default' (tcp). type: string lun: + description: lun represents iSCSI Target Lun number. format: int32 type: integer portals: + description: |- + portals is the 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). items: type: string type: array x-kubernetes-list-type: atomic readOnly: + description: |- + readOnly here will force the ReadOnly setting in VolumeMounts. + Defaults to false. type: boolean secretRef: + description: secretRef is the CHAP Secret for iSCSI + target and initiator authentication properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic targetPortal: + description: |- + targetPortal is 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 required: - iqn @@ -24325,68 +39595,168 @@ spec: - targetPortal type: object name: + description: |- + name of the volume. + Must be a DNS_LABEL and unique within the pod. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string nfs: + 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 properties: path: + description: |- + path that is exported by the NFS server. + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs type: string readOnly: + 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 type: boolean server: + description: |- + server is the hostname or IP address of the NFS server. + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs type: string required: - path - server type: object persistentVolumeClaim: + description: |- + persistentVolumeClaimVolumeSource represents a reference to a + PersistentVolumeClaim in the same namespace. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims properties: claimName: + 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 readOnly: + description: |- + readOnly Will force the ReadOnly setting in VolumeMounts. + Default false. type: boolean required: - claimName type: object photonPersistentDisk: + description: |- + photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. + Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported. properties: fsType: + description: |- + fsType is the 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. type: string pdID: + description: pdID is the ID that identifies Photon Controller + persistent disk type: string required: - pdID type: object portworxVolume: + description: |- + portworxVolume represents a portworx volume attached and mounted on kubelets host machine. + Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type + are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate + is on. properties: fsType: + 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. type: string readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean volumeID: + description: volumeID uniquely identifies a Portworx + volume type: string required: - volumeID type: object projected: + description: projected items for all in one resources secrets, + configmaps, and downward API properties: defaultMode: + description: |- + defaultMode are the mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer sources: + description: |- + sources is the list of volume projections. Each entry in this list + handles one source. items: + description: |- + Projection that may be projected along with other supported volume types. + Exactly one of these fields must be set. properties: clusterTrustBundle: + description: |- + ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field + of ClusterTrustBundle objects in an auto-updating file. + + Alpha, gated by the ClusterTrustBundleProjection feature gate. + + ClusterTrustBundle objects can either be selected by name, or by the + combination of signer name and a label selector. + + Kubelet performs aggressive normalization of the PEM contents written + into the pod filesystem. Esoteric PEM features such as inter-block + comments and block headers are stripped. Certificates are deduplicated. + The ordering of certificates within the file is arbitrary, and Kubelet + may change the order over time. properties: labelSelector: + description: |- + Select all ClusterTrustBundles that match this label selector. Only has + effect if signerName is set. Mutually-exclusive with name. If unset, + interpreted as "match nothing". If set but empty, interpreted as "match + everything". properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The + requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key + that the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -24400,31 +39770,75 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic name: + description: |- + Select a single ClusterTrustBundle by object name. Mutually-exclusive + with signerName and labelSelector. type: string optional: + description: |- + If true, don't block pod startup if the referenced ClusterTrustBundle(s) + aren't available. If using name, then the named ClusterTrustBundle is + allowed not to exist. If using signerName, then the combination of + signerName and labelSelector is allowed to match zero + ClusterTrustBundles. type: boolean path: + description: Relative path from the volume + root to write the bundle. type: string signerName: + description: |- + Select all ClusterTrustBundles that match this signer name. + Mutually-exclusive with name. The contents of all selected + ClusterTrustBundles will be unified and deduplicated. type: string required: - path type: object configMap: + description: configMap information about the configMap + data to project properties: items: + description: |- + items 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 '..'. items: + description: Maps a string key to a path + within a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + description: |- + path is 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 required: - key @@ -24434,42 +39848,89 @@ spec: x-kubernetes-list-type: atomic name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: optional specify whether the + ConfigMap or its keys must be defined type: boolean type: object x-kubernetes-map-type: atomic downwardAPI: + description: downwardAPI information about the + downwardAPI data to project properties: items: + description: Items is a list of DownwardAPIVolume + file items: + description: DownwardAPIVolumeFile represents + information to create the file containing + the pod field properties: fieldRef: + description: 'Required: Selects a field + of the pod: only annotations, labels, + name, namespace and uid are supported.' properties: apiVersion: + description: Version of the schema + the FieldPath is written in terms + of, defaults to "v1". type: string fieldPath: + description: Path of the field to + select in the specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic mode: + description: |- + Optional: mode bits used to set permissions on this file, must be an octal value + between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + 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 resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. properties: containerName: + description: 'Container name: required + for volumes, optional for env + vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output + format of the exposed resources, + defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource + to select' type: string required: - resource @@ -24482,16 +39943,41 @@ spec: x-kubernetes-list-type: atomic type: object secret: + description: secret information about the secret + data to project properties: items: + description: |- + items 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 '..'. items: + description: Maps a string key to a path + within a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + description: |- + path is 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 required: - key @@ -24501,19 +39987,44 @@ spec: x-kubernetes-list-type: atomic name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: optional field specify whether + the Secret or its key must be defined type: boolean type: object x-kubernetes-map-type: atomic serviceAccountToken: + description: serviceAccountToken is information + about the serviceAccountToken data to project properties: audience: + 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. type: string expirationSeconds: + 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. format: int64 type: integer path: + description: |- + path is the path relative to the mount point of the file to project the + token into. type: string required: - path @@ -24523,84 +40034,183 @@ spec: x-kubernetes-list-type: atomic type: object quobyte: + description: |- + quobyte represents a Quobyte mount on the host that shares a pod's lifetime. + Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported. properties: group: + description: |- + group to map volume access to + Default is no group type: string readOnly: + description: |- + readOnly here will force the Quobyte volume to be mounted with read-only permissions. + Defaults to false. type: boolean registry: + 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 type: string tenant: + description: |- + tenant owning the given Quobyte volume in the Backend + Used with dynamically provisioned Quobyte volumes, value is set by the plugin type: string user: + description: |- + user to map volume access to + Defaults to serivceaccount user type: string volume: + description: volume is a string that references an already + created Quobyte volume by name. type: string required: - registry - volume type: object rbd: + description: |- + rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. + Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. + More info: https://examples.k8s.io/volumes/rbd/README.md properties: fsType: + description: |- + fsType is the 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 type: string image: + description: |- + image is the rados image name. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string keyring: default: /etc/ceph/keyring + 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 type: string monitors: + description: |- + monitors is a collection of Ceph monitors. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it items: type: string type: array x-kubernetes-list-type: atomic pool: default: rbd + description: |- + pool is the rados pool name. + Default is rbd. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string readOnly: + 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 type: boolean secretRef: + 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 properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic user: default: admin + description: |- + user is the rados user name. + Default is admin. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string required: - image - monitors type: object scaleIO: + description: |- + scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. + Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported. properties: fsType: default: xfs + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". + Default is "xfs". type: string gateway: + description: gateway is the host address of the ScaleIO + API Gateway. type: string protectionDomain: + description: protectionDomain is the name of the ScaleIO + Protection Domain for the configured storage. type: string readOnly: + description: |- + readOnly Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef references to the secret for ScaleIO user and other + sensitive information. If this is not provided, Login operation will fail. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic sslEnabled: + description: sslEnabled Flag enable/disable SSL communication + with Gateway, default false type: boolean storageMode: default: ThinProvisioned + description: |- + storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. + Default is ThinProvisioned. type: string storagePool: + description: storagePool is the ScaleIO Storage Pool + associated with the protection domain. type: string system: + description: system is the name of the storage system + as configured in ScaleIO. type: string volumeName: + description: |- + volumeName is the name of a volume already created in the ScaleIO system + that is associated with this volume source. type: string required: - gateway @@ -24608,19 +40218,53 @@ spec: - system type: object secret: + description: |- + secret represents a secret that should populate this volume. + More info: https://kubernetes.io/docs/concepts/storage/volumes#secret properties: defaultMode: + description: |- + defaultMode is Optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values + for mode bits. 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. format: int32 type: integer items: + description: |- + items 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 '..'. items: + description: Maps a string key to a path within a + volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + description: |- + path is 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 required: - key @@ -24629,37 +40273,85 @@ spec: type: array x-kubernetes-list-type: atomic optional: + description: optional field specify whether the Secret + or its keys must be defined type: boolean secretName: + description: |- + secretName is the name of the secret in the pod's namespace to use. + More info: https://kubernetes.io/docs/concepts/storage/volumes#secret type: string type: object storageos: + description: |- + storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. + Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. properties: fsType: + description: |- + fsType is the 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. type: string readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef specifies the secret to use for obtaining the StorageOS API + credentials. If not specified, default values will be attempted. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic volumeName: + description: |- + volumeName is the human-readable name of the StorageOS volume. Volume + names are only unique within a namespace. type: string volumeNamespace: + 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. type: string type: object vsphereVolume: + description: |- + vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. + Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type + are redirected to the csi.vsphere.vmware.com CSI driver. properties: fsType: + description: |- + fsType is 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. type: string storagePolicyID: + description: storagePolicyID is the storage Policy Based + Management (SPBM) profile ID associated with the StoragePolicyName. type: string storagePolicyName: + description: storagePolicyName is the storage Policy + Based Management (SPBM) profile name. type: string volumePath: + description: volumePath is the path that identifies + vSphere volume vmdk type: string required: - volumePath @@ -24669,6 +40361,8 @@ spec: type: object type: array workflowMetadata: + description: WorkflowMetadata contains some metadata of the workflow + to refer to properties: annotations: additionalProperties: @@ -24689,17 +40383,26 @@ spec: type: object type: object workflowTemplateRef: + description: WorkflowTemplateRef holds a reference to a WorkflowTemplate + for execution properties: clusterScope: + description: ClusterScope indicates the referred template + is cluster scoped (i.e. a ClusterWorkflowTemplate). type: boolean name: + description: Name is the resource name of the workflow template. type: string type: object type: object required: + - schedules - workflowSpec type: object status: + description: |- + CronWorkflowStatus is the status of a CronWorkflow. + All nested field descriptions have been dropped due to Kubernetes size limitations. properties: active: items: diff --git a/charts/argo-workflows/files/crds/full/argoproj.io_workflowartifactgctasks.yaml b/charts/argo-workflows/files/crds/full/argoproj.io_workflowartifactgctasks.yaml index f2babc232..b3cff4128 100644 --- a/charts/argo-workflows/files/crds/full/argoproj.io_workflowartifactgctasks.yaml +++ b/charts/argo-workflows/files/crds/full/argoproj.io_workflowartifactgctasks.yaml @@ -18,14 +18,30 @@ spec: - name: v1alpha1 schema: openAPIV3Schema: + description: WorkflowArtifactGCTask specifies the Artifacts that need to be + deleted as well as the status of deletion 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: |- + ArtifactGCSpec specifies the Artifacts that need to be deleted. + All nested field descriptions have been dropped due to Kubernetes size limitations. properties: artifactsByNode: additionalProperties: @@ -433,6 +449,20 @@ spec: required: - key type: object + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -935,8 +965,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -994,6 +1027,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -1109,24 +1156,36 @@ spec: type: object type: object status: + description: ArtifactGCStatus describes the result of the deletion properties: artifactResultsByNode: additionalProperties: + description: ArtifactResultNodeStatus describes the result of the + deletion on a given node properties: artifactResults: additionalProperties: + description: ArtifactResult describes the result of attempting + to delete a given Artifact properties: error: + description: Error is an optional error message which + should be set if Success==false type: string name: + description: Name is the name of the Artifact type: string success: + description: Success describes whether the deletion succeeded type: boolean required: - name type: object + description: ArtifactResults maps Artifact name to result of + the deletion type: object type: object + description: ArtifactResultsByNode maps Node name to result type: object type: object required: diff --git a/charts/argo-workflows/files/crds/full/argoproj.io_workfloweventbindings.yaml b/charts/argo-workflows/files/crds/full/argoproj.io_workfloweventbindings.yaml index 1204abb9d..d973dfe39 100644 --- a/charts/argo-workflows/files/crds/full/argoproj.io_workfloweventbindings.yaml +++ b/charts/argo-workflows/files/crds/full/argoproj.io_workfloweventbindings.yaml @@ -18,47 +18,90 @@ spec: - name: v1alpha1 schema: openAPIV3Schema: + description: WorkflowEventBinding is the definition of an event resource 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: properties: event: + description: Event is the event to bind to properties: selector: + description: Selector (https://github.com/expr-lang/expr) that + we must must match the event. E.g. `payload.message == "test"` type: string required: - selector type: object submit: + description: Submit is the workflow template to submit properties: arguments: + description: Arguments extracted from the event and then set as + arguments to the workflow created. properties: artifacts: + description: Artifacts is the list of artifacts to pass to + the template or workflow items: + description: Artifact indicates an artifact to place at + a specified path properties: archive: + description: Archive controls how the artifact will + be saved to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and gzip the file + or directory when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip zipped input + artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the container + logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy to use + when to deleting an artifact from completed or deleted + workflows properties: podMetadata: + description: PodMetadata is an optional field for + specifying the Labels and Annotations that should + be assigned to the Pod doing the deletion properties: annotations: additionalProperties: @@ -70,8 +113,12 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an optional field + for specifying the Service Account that should + be assigned to the Pod doing the deletion type: string strategy: + description: Strategy is the strategy to use. enum: - "" - OnWorkflowCompletion @@ -80,30 +127,57 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory artifact + location details properties: passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key @@ -113,27 +187,49 @@ spec: - url type: object azure: + description: Azure contains Azure Storage artifact location + details properties: accountKeySecret: + description: AccountKeySecret is the secret selector + to the Azure Blob Storage account access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., path) + in the container where the artifact resides type: string container: + description: Container is the container where resources + will be stored type: string endpoint: + description: Endpoint is the service url associated + with an account. It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - blob @@ -141,25 +237,46 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to reference an + artifact from a previous step type: string fromExpression: + description: FromExpression, if defined, is evaluated + to specify the value for the artifact type: string gcs: + description: GCS contains GCS artifact location details properties: bucket: + description: Bucket is the name of the bucket type: string key: + description: Key is the path in the bucket where + the artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is the secret + selector to the bucket's service account key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key @@ -169,62 +286,117 @@ spec: - key type: object git: + description: Git contains git artifact location details properties: branch: + description: Branch is the branch to fetch when + `SingleBranch` is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables submodules + during git clone type: boolean fetch: + description: Fetch specifies a number of refs that + should be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables SSH + strict host key checking during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables server certificate + verification resulting in insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, tag, branch + to checkout type: string singleBranch: + description: SingleBranch enables single branch + clone, using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the secret selector + to the repository ssh private key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key @@ -234,96 +406,189 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact location details properties: addresses: + description: Addresses is accessible addresses of + HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly even if + it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location details properties: auth: + description: Auth contains information for client + authentication properties: basicAuth: + description: BasicAuth describes the secret + selectors required for basic authentication properties: passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -331,28 +596,57 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds necessary + information for client authentication via + certificates properties: clientCertSecret: + description: SecretKeySelector selects a + key of a Secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector selects a + key of a Secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -360,28 +654,56 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all information + for client authentication via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector selects a + key of a Secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector selects a + key of a Secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -389,10 +711,16 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is for requesting + optional fields that should be sent + in the oauth request properties: key: + description: Name is the header name type: string value: + description: Value is the literal + value to use for the header type: string required: - key @@ -403,13 +731,26 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector selects a + key of a Secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -418,11 +759,19 @@ spec: type: object type: object headers: + description: Headers are an optional list of headers + to send with HTTP requests for artifacts items: + description: Header indicate a key-value request + header to be used when fetching artifacts over + HTTP properties: name: + description: Name is the header name type: string value: + description: Value is the literal value to + use for the header type: string required: - name @@ -430,131 +779,277 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must be unique within + a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if Artifacts doesn't + generate or exist type: boolean oss: + description: OSS contains OSS artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the + driver to attempt to create the OSS bucket for + output artifacts, if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string key: + description: Key is the path in the bucket where + the artifact resides type: string lifecycleRule: + description: LifecycleRule specifies how to manage + bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays is the number + of days before we delete objects in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays is + the number of days before we convert the objects + in the bucket to Infrequent Access (IA) storage + type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s temporary + security token. For more details, check out: https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container path to the artifact type: string + plugin: + description: Plugin contains plugin artifact location + details + properties: + configuration: + description: Configuration is the plugin defined + configuration for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds is the timeout + for the artifact driver connection, overriding + the driver's timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact repository + where the artifact resides + type: string + name: + description: Name is the name of the artifact driver + plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location details properties: data: + description: Data is the string contents of the + artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission recursively + into the artifact if it is a folder type: boolean s3: + description: S3 contains S3 artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string caSecret: + description: CASecret specifies the secret that + contains the CA, used to verify the TLS connection properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the + driver to attempt to create the S3 bucket for + output artifacts, if it doesn't exist. Setting + Enabled Encryption will apply either SSE-S3 to + the bucket if KmsKeyId is not set or SSE-KMS if + it is. properties: objectLocking: + description: ObjectLocking Enable object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used to determine + encryption options during s3 operations properties: enableEncryption: + description: EnableEncryption tells the driver + to encrypt objects if set to true. If kmsKeyId + and serverSideCustomerKeySecret are not set, + SSE-S3 will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext is a json + blob that contains an encryption context. + See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver to encrypt + the object using the specified KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret tells + the driver to encrypt the output artifacts + using SSE-C with the specified secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -562,97 +1057,198 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string insecure: + description: Insecure will connect to the service + with TLS type: boolean key: + description: Key is the key in the bucket where + the artifact resides type: string region: + description: Region contains the optional bucket + region type: string roleARN: + description: RoleARN is the Amazon Resource Name + (ARN) of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used for ephemeral + credentials like an IAM assume role or S3 access + grant properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact to be sourced + from a subpath within the specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : 0) + + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array parameters: + description: Parameters is the list of parameters to pass + to the template or workflow items: + description: Parameter indicate a passed string parameter + to a service template with an optional default value properties: default: + description: Default is the default value to use for + an input parameter if a value was not supplied type: string description: + description: Description is the parameter description type: string enum: + description: Enum holds a list of string values to choose + from, for the actual value of the parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source for the output + parameter's value properties: configMapKeyRef: + description: ConfigMapKeyRef is configmap selector + for input parameter configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies a value to be used + if retrieving the value from the specified source + fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the event to get the + value of the parameter. E.g. `payload.message` type: string expression: + description: Expression, if defined, is evaluated + to specify the value for the parameter type: string jqFilter: + description: JQFilter expression against the resource + object in resource templates type: string jsonPath: + description: JSONPath of a resource to retrieve + an output parameter value from in resource templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container to retrieve an + output parameter value from in container templates type: string supplied: + description: Supplied value to be filled in directly, + either through the CLI, API, etc. type: object type: object required: @@ -661,6 +1257,8 @@ spec: type: array type: object metadata: + description: Metadata optional means to customize select fields + of the workflow metadata properties: annotations: additionalProperties: @@ -682,10 +1280,14 @@ spec: type: string type: object workflowTemplateRef: + description: WorkflowTemplateRef the workflow template to submit properties: clusterScope: + description: ClusterScope indicates the referred template + is cluster scoped (i.e. a ClusterWorkflowTemplate). type: boolean name: + description: Name is the resource name of the workflow template. type: string type: object required: diff --git a/charts/argo-workflows/files/crds/full/argoproj.io_workflows.yaml b/charts/argo-workflows/files/crds/full/argoproj.io_workflows.yaml index 2b40357d8..a8f440f93 100644 --- a/charts/argo-workflows/files/crds/full/argoproj.io_workflows.yaml +++ b/charts/argo-workflows/files/crds/full/argoproj.io_workflows.yaml @@ -33,35 +33,88 @@ spec: name: v1alpha1 schema: openAPIV3Schema: + description: Workflow is the definition of a workflow resource 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: WorkflowSpec is the specification of a Workflow. properties: activeDeadlineSeconds: + description: |- + Optional duration in seconds relative to the workflow start time which the workflow is + allowed to run before the controller terminates the workflow. A value of zero is used to + terminate a Running workflow format: int64 type: integer affinity: + description: |- + Affinity sets the scheduling constraints for all pods in the workflow. + Can be overridden by an affinity specified in the template properties: nodeAffinity: + description: Describes node affinity scheduling rules for the + pod. properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. The node that is + most preferred is the one with the greatest sum of weights, i.e. + for each node that meets all of the scheduling requirements (resource + request, requiredDuringScheduling affinity expressions, etc.), + compute a sum by iterating through the elements of this field and adding + "weight" to the sum if the node matches the corresponding matchExpressions; the + node(s) with the highest sum are the most preferred. items: + description: |- + An empty preferred scheduling term matches all objects with implicit weight 0 + (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). properties: preference: + description: A node selector term, associated with the + corresponding weight. properties: matchExpressions: + description: A list of node selector requirements + by node's labels. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. items: type: string type: array @@ -73,13 +126,29 @@ spec: type: array x-kubernetes-list-type: atomic matchFields: + description: A list of node selector requirements + by node's fields. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. items: type: string type: array @@ -93,6 +162,8 @@ spec: type: object x-kubernetes-map-type: atomic weight: + description: Weight associated with matching the corresponding + nodeSelectorTerm, in the range 1-100. format: int32 type: integer required: @@ -102,18 +173,46 @@ spec: type: array x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. + If the affinity requirements specified by this field cease to be met + at some point during pod execution (e.g. due to an update), the system + may or may not try to eventually evict the pod from its node. properties: nodeSelectorTerms: + description: Required. A list of node selector terms. + The terms are ORed. items: + description: |- + A null or empty node selector term matches no objects. The requirements of + them are ANDed. + The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. properties: matchExpressions: + description: A list of node selector requirements + by node's labels. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. items: type: string type: array @@ -125,13 +224,29 @@ spec: type: array x-kubernetes-list-type: atomic matchFields: + description: A list of node selector requirements + by node's fields. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. items: type: string type: array @@ -152,22 +267,57 @@ spec: x-kubernetes-map-type: atomic type: object podAffinity: + description: Describes pod affinity scheduling rules (e.g. co-locate + this pod in the same node, zone, etc. as some other pod(s)). properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. The node that is + most preferred is the one with the greatest sum of weights, i.e. + for each node that meets all of the scheduling requirements (resource + request, requiredDuringScheduling affinity expressions, etc.), + compute a sum by iterating through the elements of this field and adding + "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the + node(s) with the highest sum are the most preferred. items: + description: The weights of all of the matched WeightedPodAffinityTerm + fields are added per-node to find the most preferred node(s) properties: podAffinityTerm: + description: Required. A pod affinity term, associated + with the corresponding weight. properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -181,29 +331,73 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -217,20 +411,38 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". items: type: string type: array x-kubernetes-list-type: atomic topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. type: string required: - topologyKey type: object weight: + description: |- + weight associated with matching the corresponding podAffinityTerm, + in the range 1-100. format: int32 type: integer required: @@ -240,18 +452,51 @@ spec: type: array x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. + If the affinity requirements specified by this field cease to be met + at some point during pod execution (e.g. due to a pod label update), the + system may or may not try to eventually evict the pod from its node. + When there are multiple elements, the lists of nodes corresponding to each + podAffinityTerm are intersected, i.e. all terms must be satisfied. items: + description: |- + Defines a set of pods (namely those matching the labelSelector + relative to the given namespace(s)) that this pod should be + co-located (affinity) or not co-located (anti-affinity) with, + where co-located is defined as running on a node whose value of + the label with key matches that of any node on which + a pod of the set of pods is running properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the + selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -265,29 +510,72 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the + selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -301,15 +589,30 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". items: type: string type: array x-kubernetes-list-type: atomic topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. type: string required: - topologyKey @@ -318,22 +621,58 @@ spec: x-kubernetes-list-type: atomic type: object podAntiAffinity: + description: Describes pod anti-affinity scheduling rules (e.g. + avoid putting this pod in the same node, zone, etc. as some + other pod(s)). properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the anti-affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. The node that is + most preferred is the one with the greatest sum of weights, i.e. + for each node that meets all of the scheduling requirements (resource + request, requiredDuringScheduling anti-affinity expressions, etc.), + compute a sum by iterating through the elements of this field and adding + "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the + node(s) with the highest sum are the most preferred. items: + description: The weights of all of the matched WeightedPodAffinityTerm + fields are added per-node to find the most preferred node(s) properties: podAffinityTerm: + description: Required. A pod affinity term, associated + with the corresponding weight. properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -347,29 +686,73 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -383,20 +766,38 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". items: type: string type: array x-kubernetes-list-type: atomic topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. type: string required: - topologyKey type: object weight: + description: |- + weight associated with matching the corresponding podAffinityTerm, + in the range 1-100. format: int32 type: integer required: @@ -406,18 +807,51 @@ spec: type: array x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the anti-affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. + If the anti-affinity requirements specified by this field cease to be met + at some point during pod execution (e.g. due to a pod label update), the + system may or may not try to eventually evict the pod from its node. + When there are multiple elements, the lists of nodes corresponding to each + podAffinityTerm are intersected, i.e. all terms must be satisfied. items: + description: |- + Defines a set of pods (namely those matching the labelSelector + relative to the given namespace(s)) that this pod should be + co-located (affinity) or not co-located (anti-affinity) with, + where co-located is defined as running on a node whose value of + the label with key matches that of any node on which + a pod of the set of pods is running properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the + selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -431,29 +865,72 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the + selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -467,15 +944,30 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". items: type: string type: array x-kubernetes-list-type: atomic topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. type: string required: - topologyKey @@ -485,30 +977,59 @@ spec: type: object type: object archiveLogs: + description: ArchiveLogs indicates if the container logs should be + archived type: boolean arguments: + description: |- + Arguments contain the parameters and artifacts sent to the workflow entrypoint + Parameters are referencable globally using the 'workflow' variable prefix. + e.g. {{workflow.parameters.myparam}} properties: artifacts: + description: Artifacts is the list of artifacts to pass to the + template or workflow items: + description: Artifact indicates an artifact to place at a specified + path properties: archive: + description: Archive controls how the artifact will be saved + to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and gzip the file + or directory when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip zipped input artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the container logs + should be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy to use when + to deleting an artifact from completed or deleted workflows properties: podMetadata: + description: PodMetadata is an optional field for specifying + the Labels and Annotations that should be assigned + to the Pod doing the deletion properties: annotations: additionalProperties: @@ -520,8 +1041,12 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an optional field + for specifying the Service Account that should be + assigned to the Pod doing the deletion type: string strategy: + description: Strategy is the strategy to use. enum: - "" - OnWorkflowCompletion @@ -530,30 +1055,57 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory artifact location + details properties: passwordSecret: + description: PasswordSecret is the secret selector to + the repository password properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret selector to + the repository username properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -563,27 +1115,49 @@ spec: - url type: object azure: + description: Azure contains Azure Storage artifact location + details properties: accountKeySecret: + description: AccountKeySecret is the secret selector + to the Azure Blob Storage account access key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., path) in the + container where the artifact resides type: string container: + description: Container is the container where resources + will be stored type: string endpoint: + description: Endpoint is the service url associated + with an account. It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - blob @@ -591,25 +1165,46 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to reference an artifact + from a previous step type: string fromExpression: + description: FromExpression, if defined, is evaluated to + specify the value for the artifact type: string gcs: + description: GCS contains GCS artifact location details properties: bucket: + description: Bucket is the name of the bucket type: string key: + description: Key is the path in the bucket where the + artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is the secret selector + to the bucket's service account key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -619,62 +1214,117 @@ spec: - key type: object git: + description: Git contains git artifact location details properties: branch: + description: Branch is the branch to fetch when `SingleBranch` + is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables submodules during + git clone type: boolean fetch: + description: Fetch specifies a number of refs that should + be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables SSH strict + host key checking during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables server certificate + verification resulting in insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret selector to + the repository password properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, tag, branch + to checkout type: string singleBranch: + description: SingleBranch enables single branch clone, + using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the secret selector + to the repository ssh private key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector to + the repository username properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -684,96 +1334,186 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact location details properties: addresses: + description: Addresses is accessible addresses of HDFS + name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly even if it + exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location details properties: auth: + description: Auth contains information for client authentication properties: basicAuth: + description: BasicAuth describes the secret selectors + required for basic authentication properties: passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -781,28 +1521,54 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds necessary information + for client authentication via certificates properties: clientCertSecret: + description: SecretKeySelector selects a key + of a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector selects a key + of a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -810,28 +1576,54 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all information for + client authentication via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector selects a key + of a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector selects a key + of a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -839,10 +1631,16 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is for requesting + optional fields that should be sent in the + oauth request properties: key: + description: Name is the header name type: string value: + description: Value is the literal value + to use for the header type: string required: - key @@ -853,13 +1651,25 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector selects a key + of a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -868,11 +1678,18 @@ spec: type: object type: object headers: + description: Headers are an optional list of headers + to send with HTTP requests for artifacts items: + description: Header indicate a key-value request header + to be used when fetching artifacts over HTTP properties: name: + description: Name is the header name type: string value: + description: Value is the literal value to use + for the header type: string required: - name @@ -880,131 +1697,272 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must be unique within + a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if Artifacts doesn't + generate or exist type: boolean oss: + description: OSS contains OSS artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the driver + to attempt to create the OSS bucket for output artifacts, + if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string key: + description: Key is the path in the bucket where the + artifact resides type: string lifecycleRule: + description: LifecycleRule specifies how to manage bucket's + lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays is the number + of days before we delete objects in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays is the + number of days before we convert the objects in + the bucket to Infrequent Access (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s temporary + security token. For more details, check out: https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container path to the artifact type: string + plugin: + description: Plugin contains plugin artifact location details + properties: + configuration: + description: Configuration is the plugin defined configuration + for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds is the timeout + for the artifact driver connection, overriding the + driver's timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact repository + where the artifact resides + type: string + name: + description: Name is the name of the artifact driver + plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location details properties: data: + description: Data is the string contents of the artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission recursively + into the artifact if it is a folder type: boolean s3: + description: S3 contains S3 artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string caSecret: + description: CASecret specifies the secret that contains + the CA, used to verify the TLS connection properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the driver + to attempt to create the S3 bucket for output artifacts, + if it doesn't exist. Setting Enabled Encryption will + apply either SSE-S3 to the bucket if KmsKeyId is not + set or SSE-KMS if it is. properties: objectLocking: + description: ObjectLocking Enable object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used to determine encryption + options during s3 operations properties: enableEncryption: + description: EnableEncryption tells the driver to + encrypt objects if set to true. If kmsKeyId and + serverSideCustomerKeySecret are not set, SSE-S3 + will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext is a json blob + that contains an encryption context. See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver to encrypt + the object using the specified KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret tells the + driver to encrypt the output artifacts using SSE-C + with the specified secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key @@ -1012,97 +1970,194 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string insecure: + description: Insecure will connect to the service with + TLS type: boolean key: + description: Key is the key in the bucket where the + artifact resides type: string region: + description: Region contains the optional bucket region type: string roleARN: + description: RoleARN is the Amazon Resource Name (ARN) + of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used for ephemeral + credentials like an IAM assume role or S3 access grant properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact to be sourced from + a subpath within the specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : 0) + + (has(self.http) ? 1 : 0) + (has(self.artifactory) ? 1 : + 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) ? 1 : 0) + + (has(self.oss) ? 1 : 0) + (has(self.gcs) ? 1 : 0) + (has(self.azure) + ? 1 : 0) + (has(self.plugin) ? 1 : 0) <= 1' type: array parameters: + description: Parameters is the list of parameters to pass to the + template or workflow items: + description: Parameter indicate a passed string parameter to + a service template with an optional default value properties: default: + description: Default is the default value to use for an + input parameter if a value was not supplied type: string description: + description: Description is the parameter description type: string enum: + description: Enum holds a list of string values to choose + from, for the actual value of the parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source for the output parameter's + value properties: configMapKeyRef: + description: ConfigMapKeyRef is configmap selector for + input parameter configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies a value to be used if + retrieving the value from the specified source fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the event to get the value + of the parameter. E.g. `payload.message` type: string expression: + description: Expression, if defined, is evaluated to + specify the value for the parameter type: string jqFilter: + description: JQFilter expression against the resource + object in resource templates type: string jsonPath: + description: JSONPath of a resource to retrieve an output + parameter value from in resource templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container to retrieve an output + parameter value from in container templates type: string supplied: + description: Supplied value to be filled in directly, + either through the CLI, API, etc. type: object type: object required: @@ -1111,10 +2166,18 @@ spec: type: array type: object artifactGC: + description: |- + ArtifactGC describes the strategy to use when deleting artifacts from completed or deleted workflows (applies to all output Artifacts + unless Artifact.ArtifactGC is specified, which overrides this) properties: forceFinalizerRemoval: + description: 'ForceFinalizerRemoval: if set to true, the finalizer + will be removed in the case that Artifact GC fails' type: boolean podMetadata: + description: PodMetadata is an optional field for specifying the + Labels and Annotations that should be assigned to the Pod doing + the deletion properties: annotations: additionalProperties: @@ -1126,10 +2189,16 @@ spec: type: object type: object podSpecPatch: + description: PodSpecPatch holds strategic merge patch to apply + against the artgc pod spec. type: string serviceAccountName: + description: ServiceAccountName is an optional field for specifying + the Service Account that should be assigned to the Pod doing + the deletion type: string strategy: + description: Strategy is the strategy to use. enum: - "" - OnWorkflowCompletion @@ -1138,72 +2207,141 @@ spec: type: string type: object artifactRepositoryRef: + description: ArtifactRepositoryRef specifies the configMap name and + key containing the artifact repository config. properties: configMap: + description: The name of the config map. Defaults to "artifact-repositories". type: string key: + description: The config map key. Defaults to the value of the + "workflows.argoproj.io/default-artifact-repository" annotation. type: string type: object automountServiceAccountToken: + description: |- + AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in pods. + ServiceAccountName of ExecutorConfig must be specified if this value is false. type: boolean dnsConfig: + description: |- + PodDNSConfig defines the DNS parameters of a pod in addition to + those generated from DNSPolicy. properties: nameservers: + description: |- + A list of DNS name server IP addresses. + This will be appended to the base nameservers generated from DNSPolicy. + Duplicated nameservers will be removed. items: type: string type: array x-kubernetes-list-type: atomic options: + description: |- + A list of DNS resolver options. + This will be merged with the base options generated from DNSPolicy. + Duplicated entries will be removed. Resolution options given in Options + will override those that appear in the base DNSPolicy. items: + description: PodDNSConfigOption defines DNS resolver options + of a pod. properties: name: + description: |- + Name is this DNS resolver option's name. + Required. type: string value: + description: Value is this DNS resolver option's value. type: string type: object type: array x-kubernetes-list-type: atomic searches: + description: |- + A list of DNS search domains for host-name lookup. + This will be appended to the base search paths generated from DNSPolicy. + Duplicated search paths will be removed. items: type: string type: array x-kubernetes-list-type: atomic type: object dnsPolicy: + description: |- + Set DNS policy for workflow pods. + Defaults to "ClusterFirst". + Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. + DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. + To have DNS options set along with hostNetwork, you have to specify DNS policy + explicitly to 'ClusterFirstWithHostNet'. type: string entrypoint: + description: Entrypoint is a template reference to the starting point + of the workflow. type: string executor: + description: Executor holds configurations of executor containers + of the workflow. properties: serviceAccountName: + description: ServiceAccountName specifies the service account + name of the executor container. type: string type: object hooks: additionalProperties: properties: arguments: + description: Arguments hold arguments to the template properties: artifacts: + description: Artifacts is the list of artifacts to pass + to the template or workflow items: + description: Artifact indicates an artifact to place at + a specified path properties: archive: + description: Archive controls how the artifact will + be saved to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and gzip the + file or directory when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip zipped input + artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the container + logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy to + use when to deleting an artifact from completed + or deleted workflows properties: podMetadata: + description: PodMetadata is an optional field + for specifying the Labels and Annotations that + should be assigned to the Pod doing the deletion properties: annotations: additionalProperties: @@ -1215,8 +2353,12 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an optional + field for specifying the Service Account that + should be assigned to the Pod doing the deletion type: string strategy: + description: Strategy is the strategy to use. enum: - "" - OnWorkflowCompletion @@ -1225,30 +2367,57 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory artifact + location details properties: passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -1258,27 +2427,49 @@ spec: - url type: object azure: + description: Azure contains Azure Storage artifact + location details properties: accountKeySecret: + description: AccountKeySecret is the secret selector + to the Azure Blob Storage account access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., path) + in the container where the artifact resides type: string container: + description: Container is the container where + resources will be stored type: string endpoint: + description: Endpoint is the service url associated + with an account. It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - blob @@ -1286,25 +2477,46 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to reference + an artifact from a previous step type: string fromExpression: + description: FromExpression, if defined, is evaluated + to specify the value for the artifact type: string gcs: + description: GCS contains GCS artifact location details properties: bucket: + description: Bucket is the name of the bucket type: string key: + description: Key is the path in the bucket where + the artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is the secret + selector to the bucket's service account key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -1314,62 +2526,117 @@ spec: - key type: object git: + description: Git contains git artifact location details properties: branch: + description: Branch is the branch to fetch when + `SingleBranch` is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables submodules + during git clone type: boolean fetch: + description: Fetch specifies a number of refs + that should be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables SSH + strict host key checking during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables server certificate + verification resulting in insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, tag, + branch to checkout type: string singleBranch: + description: SingleBranch enables single branch + clone, using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the secret + selector to the repository ssh private key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -1379,96 +2646,191 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact location + details properties: addresses: + description: Addresses is accessible addresses + of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly even + if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location + details properties: auth: + description: Auth contains information for client + authentication properties: basicAuth: + description: BasicAuth describes the secret + selectors required for basic authentication properties: passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -1476,28 +2838,57 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds necessary + information for client authentication via + certificates properties: clientCertSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -1505,28 +2896,56 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all information + for client authentication via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -1534,10 +2953,17 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is for requesting + optional fields that should be sent + in the oauth request properties: key: + description: Name is the header + name type: string value: + description: Value is the literal + value to use for the header type: string required: - key @@ -1548,13 +2974,26 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -1563,11 +3002,19 @@ spec: type: object type: object headers: + description: Headers are an optional list of headers + to send with HTTP requests for artifacts items: + description: Header indicate a key-value request + header to be used when fetching artifacts + over HTTP properties: name: + description: Name is the header name type: string value: + description: Value is the literal value + to use for the header type: string required: - name @@ -1575,131 +3022,281 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must be unique + within a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if Artifacts + doesn't generate or exist type: boolean oss: + description: OSS contains OSS artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the + driver to attempt to create the OSS bucket for + output artifacts, if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string key: + description: Key is the path in the bucket where + the artifact resides type: string lifecycleRule: + description: LifecycleRule specifies how to manage + bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays is the + number of days before we delete objects + in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before we convert + the objects in the bucket to Infrequent + Access (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s temporary + security token. For more details, check out: + https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container path to the artifact type: string + plugin: + description: Plugin contains plugin artifact location + details + properties: + configuration: + description: Configuration is the plugin defined + configuration for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds is the timeout + for the artifact driver connection, overriding + the driver's timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact repository + where the artifact resides + type: string + name: + description: Name is the name of the artifact + driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location details properties: data: + description: Data is the string contents of the + artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission + recursively into the artifact if it is a folder type: boolean s3: + description: S3 contains S3 artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string caSecret: + description: CASecret specifies the secret that + contains the CA, used to verify the TLS connection properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the + driver to attempt to create the S3 bucket for + output artifacts, if it doesn't exist. Setting + Enabled Encryption will apply either SSE-S3 + to the bucket if KmsKeyId is not set or SSE-KMS + if it is. properties: objectLocking: + description: ObjectLocking Enable object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used to determine + encryption options during s3 operations properties: enableEncryption: + description: EnableEncryption tells the driver + to encrypt objects if set to true. If kmsKeyId + and serverSideCustomerKeySecret are not + set, SSE-S3 will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext is a json + blob that contains an encryption context. + See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver to + encrypt the object using the specified KMS + Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret tells + the driver to encrypt the output artifacts + using SSE-C with the specified secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -1707,97 +3304,199 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string insecure: + description: Insecure will connect to the service + with TLS type: boolean key: + description: Key is the key in the bucket where + the artifact resides type: string region: + description: Region contains the optional bucket + region type: string roleARN: + description: RoleARN is the Amazon Resource Name + (ARN) of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used for ephemeral + credentials like an IAM assume role or S3 access + grant properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact to be sourced + from a subpath within the specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : + 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array parameters: + description: Parameters is the list of parameters to pass + to the template or workflow items: + description: Parameter indicate a passed string parameter + to a service template with an optional default value properties: default: + description: Default is the default value to use for + an input parameter if a value was not supplied type: string description: + description: Description is the parameter description type: string enum: + description: Enum holds a list of string values to + choose from, for the actual value of the parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source for the output + parameter's value properties: configMapKeyRef: + description: ConfigMapKeyRef is configmap selector + for input parameter configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies a value to be used + if retrieving the value from the specified source + fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the event to get the + value of the parameter. E.g. `payload.message` type: string expression: + description: Expression, if defined, is evaluated + to specify the value for the parameter type: string jqFilter: + description: JQFilter expression against the resource + object in resource templates type: string jsonPath: + description: JSONPath of a resource to retrieve + an output parameter value from in resource templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container to retrieve + an output parameter value from in container + templates type: string supplied: + description: Supplied value to be filled in directly, + either through the CLI, API, etc. type: object type: object required: @@ -1806,87 +3505,161 @@ spec: type: array type: object expression: + description: |- + Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not + be retried and the retry strategy will be ignored type: string template: + description: Template is the name of the template to execute + by the hook type: string templateRef: + description: TemplateRef is the reference to the template resource + to execute by the hook properties: clusterScope: + description: ClusterScope indicates the referred template + is cluster scoped (i.e. a ClusterWorkflowTemplate). type: boolean name: + description: Name is the resource name of the template. type: string template: + description: Template is the name of referred template in + the resource. type: string type: object type: object + description: |- + Hooks holds the lifecycle hook which is invoked at lifecycle of + step, irrespective of the success, failure, or error status of the primary step type: object hostAliases: items: + description: |- + HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the + pod's hosts file. properties: hostnames: + description: Hostnames for the above IP address. items: type: string type: array x-kubernetes-list-type: atomic ip: + description: IP address of the host file entry. type: string required: - ip type: object type: array hostNetwork: + description: Host networking requested for this workflow pod. Default + to false. type: boolean imagePullSecrets: + description: |- + ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images + in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets + can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. + More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod items: + description: |- + LocalObjectReference contains enough information to let you locate the + referenced object inside the same namespace. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic type: array metrics: + description: Metrics are a list of metrics emitted from this Workflow properties: prometheus: + description: |- + Prometheus is a list of prometheus metrics to be emitted + MaxItems is an artificial limit to limit CEL validation costs - see note at top of file items: + description: Prometheus is a prometheus metric to be emitted properties: counter: + description: Counter is a counter metric properties: value: + description: Value is the value of the metric + minLength: 1 type: string required: - value type: object gauge: + description: Gauge is a gauge metric properties: operation: + description: Operation defines the operation to apply + with value and the metrics' current value + enum: + - Set + - Add + - Sub type: string realtime: + description: Realtime emits this metric in real time + if applicable type: boolean value: + description: |- + Value is the value to be used in the operation with the metric's current value. If no operation is set, + value is the value of the metric + MaxLength is an artificial limit to limit CEL validation costs - see note at top of file + maxLength: 256 + minLength: 1 type: string required: - realtime - value type: object + x-kubernetes-validations: + - message: '''resourcesDuration.*'' metrics cannot be used + in real-time gauges' + rule: '!has(self.realtime) || !self.realtime || !self.value.contains(''resourcesDuration.'')' help: + description: Help is a string that describes the metric + minLength: 1 type: string histogram: + description: Histogram is a histogram metric properties: buckets: + description: Buckets is a list of bucket divisors for + the histogram items: type: number type: array value: + description: Value is the value of the metric + minLength: 1 type: string required: - buckets - value type: object labels: + description: Labels is a list of metric labels items: + description: MetricLabel is a single label for a prometheus + metric properties: key: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ type: string value: type: string @@ -1896,13 +3669,18 @@ spec: type: object type: array name: + description: Name is the name of the metric + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ type: string when: + description: When is a conditional statement that decides + when to emit the metric type: string required: - help - name type: object + maxItems: 100 type: array required: - prometheus @@ -1910,34 +3688,79 @@ spec: nodeSelector: additionalProperties: type: string + description: |- + NodeSelector is a selector which will result in all pods of the workflow + to be scheduled on the selected node(s). This is able to be overridden by + a nodeSelector specified in the template. type: object onExit: + description: |- + OnExit is a template reference which is invoked at the end of the + workflow, irrespective of the success, failure, or error of the + primary workflow. type: string parallelism: + description: Parallelism limits the max total parallel pods that can + execute at the same time in a workflow format: int64 + minimum: 1 type: integer podDisruptionBudget: + description: |- + PodDisruptionBudget holds the number of concurrent disruptions that you allow for Workflow's Pods. + Controller will automatically add the selector with workflow name, if selector is empty. + Optional: Defaults to empty. properties: maxUnavailable: anyOf: - type: integer - type: string + description: |- + An eviction is allowed if at most "maxUnavailable" pods selected by + "selector" are unavailable after the eviction, i.e. even in absence of + the evicted pod. For example, one can prevent all voluntary evictions + by specifying 0. This is a mutually exclusive setting with "minAvailable". x-kubernetes-int-or-string: true minAvailable: anyOf: - type: integer - type: string + description: |- + An eviction is allowed if at least "minAvailable" pods selected by + "selector" will still be available after the eviction, i.e. even in the + absence of the evicted pod. So for example you can prevent all voluntary + evictions by specifying "100%". x-kubernetes-int-or-string: true selector: + description: |- + Label query over pods whose evictions are managed by the disruption + budget. + A null selector will match no pods, while an empty ({}) selector will select + all pods within the namespace. properties: matchExpressions: + description: matchExpressions is a list of label selector + requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the selector + applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -1951,26 +3774,74 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic unhealthyPodEvictionPolicy: + description: |- + UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods + should be considered for eviction. Current implementation considers healthy pods, + as pods that have status.conditions item with type="Ready",status="True". + + Valid policies are IfHealthyBudget and AlwaysAllow. + If no policy is specified, the default behavior will be used, + which corresponds to the IfHealthyBudget policy. + + IfHealthyBudget policy means that running pods (status.phase="Running"), + but not yet healthy can be evicted only if the guarded application is not + disrupted (status.currentHealthy is at least equal to status.desiredHealthy). + Healthy pods will be subject to the PDB for eviction. + + AlwaysAllow policy means that all running pods (status.phase="Running"), + but not yet healthy are considered disrupted and can be evicted regardless + of whether the criteria in a PDB is met. This means perspective running + pods of a disrupted application might not get a chance to become healthy. + Healthy pods will be subject to the PDB for eviction. + + Additional policies may be added in the future. + Clients making eviction decisions should disallow eviction of unhealthy pods + if they encounter an unrecognized policy in this field. type: string type: object podGC: + description: PodGC describes the strategy to use when deleting completed + pods properties: deleteDelayDuration: + description: DeleteDelayDuration specifies the duration before + pods in the GC queue get deleted. type: string labelSelector: + description: LabelSelector is the label selector to check if the + pods match the labels before being added to the pod GC queue. properties: matchExpressions: + description: matchExpressions is a list of label selector + requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the selector + applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -1984,13 +3855,28 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic strategy: + description: Strategy is the strategy to use. One of "OnPodCompletion", + "OnPodSuccess", "OnWorkflowCompletion", "OnWorkflowSuccess". + If unset, does not delete Pods + enum: + - "" + - OnPodCompletion + - OnPodSuccess + - OnWorkflowCompletion + - OnWorkflowSuccess type: string type: object podMetadata: + description: PodMetadata defines additional metadata that should be + applied to workflow pods properties: annotations: additionalProperties: @@ -2002,105 +3888,283 @@ spec: type: object type: object podPriorityClassName: + description: PriorityClassName to apply to workflow pods. type: string podSpecPatch: + description: |- + PodSpecPatch holds strategic merge patch to apply against the pod spec. Allows parameterization of + container fields which are not strings (e.g. resource limits). type: string priority: + description: Priority is used if controller is configured to process + limited number of workflows in parallel. Workflows with higher priority + are processed first. format: int32 type: integer retryStrategy: + description: RetryStrategy for all templates in the workflow. properties: affinity: + description: Affinity prevents running workflow's step on the + same host properties: nodeAntiAffinity: + description: |- + RetryNodeAntiAffinity is a placeholder for future expansion, only empty nodeAntiAffinity is allowed. + In order to prevent running steps on the same host, it uses "kubernetes.io/hostname". type: object type: object backoff: + description: Backoff is a backoff strategy properties: cap: + description: |- + Cap is a limit on revised values of the duration parameter. If a + multiplication by the factor parameter would make the duration + exceed the cap then the duration is set to the cap type: string duration: + description: Duration is the amount to back off. Default unit + is seconds, but could also be a duration (e.g. "2m", "1h") type: string factor: anyOf: - type: integer - type: string + description: Factor is a factor to multiply the base duration + after each failed retry x-kubernetes-int-or-string: true maxDuration: + description: |- + MaxDuration is the maximum amount of time allowed for a workflow in the backoff strategy. + It is important to note that if the workflow template includes activeDeadlineSeconds, the pod's deadline is initially set with activeDeadlineSeconds. + However, when the workflow fails, the pod's deadline is then overridden by maxDuration. + This ensures that the workflow does not exceed the specified maximum duration when retries are involved. type: string type: object expression: + description: |- + Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not + be retried and the retry strategy will be ignored type: string limit: anyOf: - type: integer - type: string + description: |- + Limit is the maximum number of retry attempts when retrying a container. It does not include the original + container; the maximum number of total attempts will be `limit + 1`. x-kubernetes-int-or-string: true retryPolicy: + description: RetryPolicy is a policy of NodePhase statuses that + will be retried + enum: + - Always + - OnFailure + - OnError + - OnTransientError type: string type: object schedulerName: + description: |- + Set scheduler name for all pods. + Will be overridden if container/script template's scheduler name is set. + Default scheduler will be used if neither specified. type: string securityContext: + description: |- + SecurityContext holds pod-level security attributes and common container settings. + Optional: Defaults to empty. See type description for default values of each field. properties: appArmorProfile: + description: |- + appArmorProfile is the AppArmor options to use by the containers in this pod. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile loaded on the node that should be used. + The profile must be preconfigured on the node to work. + Must match the loaded name of the profile. + Must be set if and only if type is "Localhost". type: string type: + description: |- + type indicates which kind of AppArmor profile will be applied. + Valid options are: + Localhost - a profile pre-loaded on the node. + RuntimeDefault - the container runtime's default profile. + Unconfined - no AppArmor enforcement. type: string required: - type type: object fsGroup: + description: |- + A special supplemental group that applies to all containers in a pod. + Some volume types allow the Kubelet to change the ownership of that volume + to be owned by the pod: + + 1. The owning GID will be the FSGroup + 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) + 3. The permission bits are OR'd with rw-rw---- + + If unset, the Kubelet will not modify the ownership and permissions of any volume. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer fsGroupChangePolicy: + description: |- + fsGroupChangePolicy defines behavior of changing ownership and permission of the volume + before being exposed inside Pod. This field will only apply to + volume types which support fsGroup based ownership(and permissions). + It will have no effect on ephemeral volume types such as: secret, configmaps + and emptydir. + Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used. + Note that this field cannot be set when spec.os.name is windows. type: string runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in SecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence + for that container. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer runAsNonRoot: + description: |- + Indicates that the container must run as a non-root user. + If true, the Kubelet will validate the image at runtime to ensure that it + does not run as UID 0 (root) and fail to start the container if it does. + If unset or false, no such validation will be performed. + May also be set in SecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in SecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence + for that container. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer seLinuxChangePolicy: + description: |- + seLinuxChangePolicy defines how the container's SELinux label is applied to all volumes used by the Pod. + It has no effect on nodes that do not support SELinux or to volumes does not support SELinux. + Valid values are "MountOption" and "Recursive". + + "Recursive" means relabeling of all files on all Pod volumes by the container runtime. + This may be slow for large volumes, but allows mixing privileged and unprivileged Pods sharing the same volume on the same node. + + "MountOption" mounts all eligible Pod volumes with `-o context` mount option. + This requires all Pods that share the same volume to use the same SELinux label. + It is not possible to share the same volume among privileged and unprivileged Pods. + Eligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes + whose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their + CSIDriver instance. Other volumes are always re-labelled recursively. + "MountOption" value is allowed only when SELinuxMount feature gate is enabled. + + If not specified and SELinuxMount feature gate is enabled, "MountOption" is used. + If not specified and SELinuxMount feature gate is disabled, "MountOption" is used for ReadWriteOncePod volumes + and "Recursive" for all other volumes. + + This field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers. + + All Pods that use the same volume should use the same seLinuxChangePolicy, otherwise some pods can get stuck in ContainerCreating state. + Note that this field cannot be set when spec.os.name is windows. type: string seLinuxOptions: + description: |- + The SELinux context to be applied to all containers. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in SecurityContext. If set in + both SecurityContext and PodSecurityContext, the value specified in SecurityContext + takes precedence for that container. + Note that this field cannot be set when spec.os.name is windows. properties: level: + description: Level is SELinux level label that applies to + the container. type: string role: + description: Role is a SELinux role label that applies to + the container. type: string type: + description: Type is a SELinux type label that applies to + the container. type: string user: + description: User is a SELinux user label that applies to + the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by the containers in this pod. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. + Must be a descending path, relative to the kubelet's configured seccomp profile location. + Must be set if type is "Localhost". Must NOT be set for any other type. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + Localhost - a profile defined in a file on the node should be used. + RuntimeDefault - the container runtime default profile should be used. + Unconfined - no profile should be applied. type: string required: - type type: object supplementalGroups: + description: |- + A list of groups applied to the first process run in each container, in + addition to the container's primary GID and fsGroup (if specified). If + the SupplementalGroupsPolicy feature is enabled, the + supplementalGroupsPolicy field determines whether these are in addition + to or instead of any group memberships defined in the container image. + If unspecified, no additional groups are added, though group memberships + defined in the container image may still be used, depending on the + supplementalGroupsPolicy field. + Note that this field cannot be set when spec.os.name is windows. items: format: int64 type: integer type: array x-kubernetes-list-type: atomic supplementalGroupsPolicy: + description: |- + Defines how supplemental groups of the first container processes are calculated. + Valid values are "Merge" and "Strict". If not specified, "Merge" is used. + (Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled + and the container runtime must implement support for this feature. + Note that this field cannot be set when spec.os.name is windows. type: string sysctls: + description: |- + Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported + sysctls (by the container runtime) might fail to launch. + Note that this field cannot be set when spec.os.name is windows. items: + description: Sysctl defines a kernel parameter to be set properties: name: + description: Name of a property to set type: string value: + description: Value of a property to set type: string required: - name @@ -2109,87 +4173,106 @@ spec: type: array x-kubernetes-list-type: atomic windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options within a container's SecurityContext will be used. + If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is linux. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name of the GMSA + credential spec to use. type: string hostProcess: + description: |- + HostProcess determines if a container should be run as a 'Host Process' container. + All of a Pod's containers must have the same effective HostProcess value + (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + In addition, if HostProcess is true then HostNetwork must also be set to true. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: string type: object type: object serviceAccountName: + description: ServiceAccountName is the name of the ServiceAccount + to run all pods of the workflow as. type: string shutdown: + description: Shutdown will shutdown the workflow according to its + ShutdownStrategy type: string suspend: + description: Suspend will suspend the workflow and prevent execution + of any future steps in the workflow type: boolean synchronization: + description: Synchronization holds synchronization lock configuration + for this Workflow properties: - mutex: - properties: - database: - type: boolean - name: - type: string - namespace: - type: string - type: object mutexes: + description: 'v3.6 and after: Mutexes holds the list of Mutex + lock details' items: + description: Mutex holds Mutex configuration properties: database: + description: Database specifies this is database controlled + if this is set true type: boolean name: + description: name of the mutex type: string namespace: + description: 'Namespace is the namespace of the mutex, default: + [namespace of workflow]' type: string type: object type: array - semaphore: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - database: - properties: - key: - type: string - required: - - key - type: object - namespace: - type: string - type: object semaphores: + description: 'v3.6 and after: Semaphores holds the list of Semaphores + configuration' items: + description: SemaphoreRef is a reference of Semaphore properties: configMapKeyRef: + description: ConfigMapKeyRef is a configmap selector for + Semaphore configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic database: + description: SyncDatabaseRef is a database reference for + Semaphore configuration properties: key: type: string @@ -2197,11 +4280,16 @@ spec: - key type: object namespace: + description: 'Namespace is the namespace of the configmap, + default: [namespace of workflow]' type: string type: object type: array type: object templateDefaults: + description: |- + TemplateDefaults holds default template values that will apply to all templates in the Workflow, unless overridden on the template-level. + All nested field descriptions have been dropped due to Kubernetes size limitations. properties: activeDeadlineSeconds: anyOf: @@ -3054,6 +5142,20 @@ spec: required: - key type: object + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -3158,6 +5260,13 @@ spec: type: boolean type: object type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : 0) + (has(self.http) + ? 1 : 0) + (has(self.artifactory) ? 1 : 0) + (has(self.hdfs) + ? 1 : 0) + (has(self.raw) ? 1 : 0) + (has(self.oss) ? 1 : + 0) + (has(self.gcs) ? 1 : 0) + (has(self.azure) ? 1 : 0) + + (has(self.plugin) ? 1 : 0) <= 1' automountServiceAccountToken: type: boolean container: @@ -4974,8 +7083,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -5033,6 +7145,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -5143,6 +7269,15 @@ spec: required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be + specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) + ? 1 : 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array parameters: items: @@ -5154,10 +7289,12 @@ spec: enum: items: type: string + minItems: 1 type: array globalName: type: string name: + pattern: ^[-a-zA-Z0-9_]+$ type: string value: type: string @@ -5614,8 +7751,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -5673,6 +7813,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -5783,6 +7937,17 @@ spec: required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location + can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) + ? 1 : 0) + (has(self.http) ? 1 : 0) + + (has(self.artifactory) ? 1 : 0) + + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + + (has(self.gcs) ? 1 : 0) + (has(self.azure) + ? 1 : 0) + (has(self.plugin) ? 1 : 0) + <= 1' type: array parameters: items: @@ -5794,10 +7959,12 @@ spec: enum: items: type: string + minItems: 1 type: array globalName: type: string name: + pattern: ^[-a-zA-Z0-9_]+$ type: string value: type: string @@ -5856,6 +8023,8 @@ spec: inline: x-kubernetes-preserve-unknown-fields: true name: + maxLength: 128 + pattern: ^[a-zA-Z0-9][-a-zA-Z0-9]*$ type: string onExit: type: string @@ -5896,9 +8065,23 @@ spec: - type: string x-kubernetes-int-or-string: true type: object + x-kubernetes-validations: + - message: only one of count or end can be defined + rule: '!(has(self.count) && has(self.end))' required: - name type: object + x-kubernetes-validations: + - message: cannot use both 'depends' and 'dependencies' + rule: '!has(self.depends) || !has(self.dependencies)' + - message: cannot use 'continueOn' when using 'depends' + rule: '!has(self.depends) || !has(self.continueOn)' + - message: task name cannot begin with a digit when using + 'depends' or 'dependencies' + rule: '!(has(self.depends) || has(self.dependencies)) + || !self.name.matches(''^[0-9]'')' + maxItems: 200 + minItems: 1 type: array required: - tasks @@ -6304,8 +8487,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -6363,6 +8549,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -6473,6 +8673,14 @@ spec: required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : + 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: object transformation: items: @@ -7643,8 +9851,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -7702,6 +9913,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -7812,6 +10037,14 @@ spec: required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : 0) + + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array parameters: items: @@ -7823,10 +10056,12 @@ spec: enum: items: type: string + minItems: 1 type: array globalName: type: string name: + pattern: ^[-a-zA-Z0-9_]+$ type: string value: type: string @@ -7865,6 +10100,7 @@ spec: required: - name type: object + maxItems: 500 type: array type: object memoize: @@ -7873,15 +10109,9 @@ spec: properties: configMap: properties: - key: - type: string name: default: "" type: string - optional: - type: boolean - required: - - key type: object x-kubernetes-map-type: atomic required: @@ -7915,6 +10145,7 @@ spec: counter: properties: value: + minLength: 1 type: string required: - value @@ -7922,16 +10153,27 @@ spec: gauge: properties: operation: + enum: + - Set + - Add + - Sub type: string realtime: type: boolean value: + maxLength: 256 + minLength: 1 type: string required: - realtime - value type: object + x-kubernetes-validations: + - message: '''resourcesDuration.*'' metrics cannot be + used in real-time gauges' + rule: '!has(self.realtime) || !self.realtime || !self.value.contains(''resourcesDuration.'')' help: + minLength: 1 type: string histogram: properties: @@ -7940,6 +10182,7 @@ spec: type: number type: array value: + minLength: 1 type: string required: - buckets @@ -7949,6 +10192,7 @@ spec: items: properties: key: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ type: string value: type: string @@ -7958,6 +10202,7 @@ spec: type: object type: array name: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ type: string when: type: string @@ -7965,11 +10210,14 @@ spec: - help - name type: object + maxItems: 100 type: array required: - prometheus type: object name: + maxLength: 128 + pattern: ^[a-zA-Z0-9][-a-zA-Z0-9]*$ type: string nodeSelector: additionalProperties: @@ -8375,8 +10623,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -8434,6 +10685,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -8544,6 +10809,14 @@ spec: required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : 0) + + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array exitCode: type: string @@ -8557,10 +10830,12 @@ spec: enum: items: type: string + minItems: 1 type: array globalName: type: string name: + pattern: ^[-a-zA-Z0-9_]+$ type: string value: type: string @@ -8605,6 +10880,7 @@ spec: type: object parallelism: format: int64 + minimum: 1 type: integer plugin: type: object @@ -8616,6 +10892,13 @@ spec: resource: properties: action: + enum: + - get + - create + - apply + - delete + - replace + - patch type: string failureCondition: type: string @@ -9024,8 +11307,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -9083,6 +11369,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -9193,10 +11493,22 @@ spec: required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : + 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' required: - artifact type: object mergeStrategy: + enum: + - strategic + - merge + - json type: string setOwnerReference: type: boolean @@ -9205,6 +11517,10 @@ spec: required: - action type: object + x-kubernetes-validations: + - message: only one of manifest or manifestFrom can be specified + rule: (has(self.manifest) && !has(self.manifestFrom)) || (!has(self.manifest) + && has(self.manifestFrom)) || (!has(self.manifest) && !has(self.manifestFrom)) retryStrategy: properties: affinity: @@ -9234,6 +11550,11 @@ spec: - type: string x-kubernetes-int-or-string: true retryPolicy: + enum: + - Always + - OnFailure + - OnError + - OnTransientError type: string type: object schedulerName: @@ -11087,8 +13408,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -11146,6 +13470,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -11256,6 +13594,15 @@ spec: required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be + specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) + ? 1 : 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array parameters: items: @@ -11267,10 +13614,12 @@ spec: enum: items: type: string + minItems: 1 type: array globalName: type: string name: + pattern: ^[-a-zA-Z0-9_]+$ type: string value: type: string @@ -11721,8 +14070,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -11780,6 +14132,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -11890,6 +14256,16 @@ spec: required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can + be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) + ? 1 : 0) + (has(self.http) ? 1 : 0) + + (has(self.artifactory) ? 1 : 0) + (has(self.hdfs) + ? 1 : 0) + (has(self.raw) ? 1 : 0) + (has(self.oss) + ? 1 : 0) + (has(self.gcs) ? 1 : 0) + (has(self.azure) + ? 1 : 0) + (has(self.plugin) ? 1 : 0) + <= 1' type: array parameters: items: @@ -11901,10 +14277,12 @@ spec: enum: items: type: string + minItems: 1 type: array globalName: type: string name: + pattern: ^[-a-zA-Z0-9_]+$ type: string value: type: string @@ -11963,6 +14341,8 @@ spec: inline: x-kubernetes-preserve-unknown-fields: true name: + maxLength: 128 + pattern: ^[a-zA-Z0-9][-a-zA-Z0-9]*$ type: string onExit: type: string @@ -12003,8 +14383,12 @@ spec: - type: string x-kubernetes-int-or-string: true type: object + x-kubernetes-validations: + - message: only one of count or end can be defined + rule: '!(has(self.count) && has(self.end))' type: object type: array + minItems: 1 type: array suspend: properties: @@ -12013,15 +14397,6 @@ spec: type: object synchronization: properties: - mutex: - properties: - database: - type: boolean - name: - type: string - namespace: - type: string - type: object mutexes: items: properties: @@ -12033,31 +14408,6 @@ spec: type: string type: object type: array - semaphore: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - database: - properties: - key: - type: string - required: - - key - type: object - namespace: - type: string - type: object semaphores: items: properties: @@ -12906,30 +15256,75 @@ spec: type: array type: object templates: + description: |- + Templates is a list of workflow templates used in a workflow + MaxItems is an artificial limit to limit CEL validation costs - see note at top of file items: + description: Template is a reusable and composable unit of execution + in a workflow properties: activeDeadlineSeconds: anyOf: - type: integer - type: string + description: |- + Optional duration in seconds relative to the StartTime that the pod may be active on a node + before the system actively tries to terminate the pod; value must be positive integer + This field is only applicable to container and script templates. x-kubernetes-int-or-string: true affinity: + description: |- + Affinity sets the pod's scheduling constraints + Overrides the affinity set at the workflow level (if any) properties: nodeAffinity: + description: Describes node affinity scheduling rules for + the pod. properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. The node that is + most preferred is the one with the greatest sum of weights, i.e. + for each node that meets all of the scheduling requirements (resource + request, requiredDuringScheduling affinity expressions, etc.), + compute a sum by iterating through the elements of this field and adding + "weight" to the sum if the node matches the corresponding matchExpressions; the + node(s) with the highest sum are the most preferred. items: + description: |- + An empty preferred scheduling term matches all objects with implicit weight 0 + (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). properties: preference: + description: A node selector term, associated + with the corresponding weight. properties: matchExpressions: + description: A list of node selector requirements + by node's labels. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the + selector applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. items: type: string type: array @@ -12941,13 +15336,29 @@ spec: type: array x-kubernetes-list-type: atomic matchFields: + description: A list of node selector requirements + by node's fields. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the + selector applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. items: type: string type: array @@ -12961,6 +15372,9 @@ spec: type: object x-kubernetes-map-type: atomic weight: + description: Weight associated with matching the + corresponding nodeSelectorTerm, in the range + 1-100. format: int32 type: integer required: @@ -12970,18 +15384,46 @@ spec: type: array x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. + If the affinity requirements specified by this field cease to be met + at some point during pod execution (e.g. due to an update), the system + may or may not try to eventually evict the pod from its node. properties: nodeSelectorTerms: + description: Required. A list of node selector terms. + The terms are ORed. items: + description: |- + A null or empty node selector term matches no objects. The requirements of + them are ANDed. + The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. properties: matchExpressions: + description: A list of node selector requirements + by node's labels. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the + selector applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. items: type: string type: array @@ -12993,13 +15435,29 @@ spec: type: array x-kubernetes-list-type: atomic matchFields: + description: A list of node selector requirements + by node's fields. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the + selector applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. items: type: string type: array @@ -13020,22 +15478,59 @@ spec: x-kubernetes-map-type: atomic type: object podAffinity: + description: Describes pod affinity scheduling rules (e.g. + co-locate this pod in the same node, zone, etc. as some + other pod(s)). properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. The node that is + most preferred is the one with the greatest sum of weights, i.e. + for each node that meets all of the scheduling requirements (resource + request, requiredDuringScheduling affinity expressions, etc.), + compute a sum by iterating through the elements of this field and adding + "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the + node(s) with the highest sum are the most preferred. items: + description: The weights of all of the matched WeightedPodAffinityTerm + fields are added per-node to find the most preferred + node(s) properties: podAffinityTerm: + description: Required. A pod affinity term, associated + with the corresponding weight. properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The + requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key + that the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -13049,29 +15544,73 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The + requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key + that the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -13085,20 +15624,38 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". items: type: string type: array x-kubernetes-list-type: atomic topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. type: string required: - topologyKey type: object weight: + description: |- + weight associated with matching the corresponding podAffinityTerm, + in the range 1-100. format: int32 type: integer required: @@ -13108,18 +15665,52 @@ spec: type: array x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. + If the affinity requirements specified by this field cease to be met + at some point during pod execution (e.g. due to a pod label update), the + system may or may not try to eventually evict the pod from its node. + When there are multiple elements, the lists of nodes corresponding to each + podAffinityTerm are intersected, i.e. all terms must be satisfied. items: + description: |- + Defines a set of pods (namely those matching the labelSelector + relative to the given namespace(s)) that this pod should be + co-located (affinity) or not co-located (anti-affinity) with, + where co-located is defined as running on a node whose value of + the label with key matches that of any node on which + a pod of the set of pods is running properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of + label selector requirements. The requirements + are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -13133,29 +15724,73 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. properties: matchExpressions: + description: matchExpressions is a list of + label selector requirements. The requirements + are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -13169,15 +15804,30 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". items: type: string type: array x-kubernetes-list-type: atomic topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. type: string required: - topologyKey @@ -13186,22 +15836,59 @@ spec: x-kubernetes-list-type: atomic type: object podAntiAffinity: + description: Describes pod anti-affinity scheduling rules + (e.g. avoid putting this pod in the same node, zone, etc. + as some other pod(s)). properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the anti-affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. The node that is + most preferred is the one with the greatest sum of weights, i.e. + for each node that meets all of the scheduling requirements (resource + request, requiredDuringScheduling anti-affinity expressions, etc.), + compute a sum by iterating through the elements of this field and adding + "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the + node(s) with the highest sum are the most preferred. items: + description: The weights of all of the matched WeightedPodAffinityTerm + fields are added per-node to find the most preferred + node(s) properties: podAffinityTerm: + description: Required. A pod affinity term, associated + with the corresponding weight. properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The + requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key + that the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -13215,29 +15902,73 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The + requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key + that the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -13251,20 +15982,38 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". items: type: string type: array x-kubernetes-list-type: atomic topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. type: string required: - topologyKey type: object weight: + description: |- + weight associated with matching the corresponding podAffinityTerm, + in the range 1-100. format: int32 type: integer required: @@ -13274,18 +16023,52 @@ spec: type: array x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the anti-affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. + If the anti-affinity requirements specified by this field cease to be met + at some point during pod execution (e.g. due to a pod label update), the + system may or may not try to eventually evict the pod from its node. + When there are multiple elements, the lists of nodes corresponding to each + podAffinityTerm are intersected, i.e. all terms must be satisfied. items: + description: |- + Defines a set of pods (namely those matching the labelSelector + relative to the given namespace(s)) that this pod should be + co-located (affinity) or not co-located (anti-affinity) with, + where co-located is defined as running on a node whose value of + the label with key matches that of any node on which + a pod of the set of pods is running properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of + label selector requirements. The requirements + are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -13299,29 +16082,73 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. properties: matchExpressions: + description: matchExpressions is a list of + label selector requirements. The requirements + are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -13335,15 +16162,30 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". items: type: string type: array x-kubernetes-list-type: atomic topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. type: string required: - topologyKey @@ -13355,36 +16197,72 @@ spec: annotations: additionalProperties: type: string + description: Annotations is a list of annotations to add to + the template at runtime type: object archiveLocation: + description: |- + Location in which all files related to the step will be stored (logs, artifacts, etc...). + Can be overridden by individual items in Outputs. If omitted, will use the default + artifact repository location configured in the controller, appended with the + / in the key. properties: archiveLogs: + description: ArchiveLogs indicates if the container logs + should be archived type: boolean artifactory: + description: Artifactory contains artifactory artifact location + details properties: passwordSecret: + description: PasswordSecret is the secret selector to + the repository password properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret selector to + the repository username properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -13394,27 +16272,49 @@ spec: - url type: object azure: + description: Azure contains Azure Storage artifact location + details properties: accountKeySecret: + description: AccountKeySecret is the secret selector + to the Azure Blob Storage account access key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., path) in the + container where the artifact resides type: string container: + description: Container is the container where resources + will be stored type: string endpoint: + description: Endpoint is the service url associated + with an account. It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - blob @@ -13422,19 +16322,35 @@ spec: - endpoint type: object gcs: + description: GCS contains GCS artifact location details properties: bucket: + description: Bucket is the name of the bucket type: string key: + description: Key is the path in the bucket where the + artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is the secret selector + to the bucket's service account key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -13444,62 +16360,117 @@ spec: - key type: object git: + description: Git contains git artifact location details properties: branch: + description: Branch is the branch to fetch when `SingleBranch` + is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables submodules during + git clone type: boolean fetch: + description: Fetch specifies a number of refs that should + be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables SSH strict + host key checking during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables server certificate + verification resulting in insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret selector to + the repository password properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, tag, branch + to checkout type: string singleBranch: + description: SingleBranch enables single branch clone, + using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the secret selector + to the repository ssh private key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector to + the repository username properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -13509,94 +16480,181 @@ spec: - repo type: object hdfs: + description: HDFS contains HDFS artifact location details properties: addresses: + description: Addresses is accessible addresses of HDFS + name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly even if it + exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location details properties: auth: + description: Auth contains information for client authentication properties: basicAuth: + description: BasicAuth describes the secret selectors + required for basic authentication properties: passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -13604,28 +16662,54 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds necessary information + for client authentication via certificates properties: clientCertSecret: + description: SecretKeySelector selects a key + of a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector selects a key + of a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -13633,28 +16717,54 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all information for + client authentication via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector selects a key + of a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector selects a key + of a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -13662,10 +16772,16 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is for requesting + optional fields that should be sent in the + oauth request properties: key: + description: Name is the header name type: string value: + description: Value is the literal value + to use for the header type: string required: - key @@ -13676,13 +16792,25 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector selects a key + of a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -13691,11 +16819,18 @@ spec: type: object type: object headers: + description: Headers are an optional list of headers + to send with HTTP requests for artifacts items: + description: Header indicate a key-value request header + to be used when fetching artifacts over HTTP properties: name: + description: Name is the header name type: string value: + description: Value is the literal value to use + for the header type: string required: - name @@ -13703,120 +16838,247 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object oss: + description: OSS contains OSS artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the driver + to attempt to create the OSS bucket for output artifacts, + if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string key: + description: Key is the path in the bucket where the + artifact resides type: string lifecycleRule: + description: LifecycleRule specifies how to manage bucket's + lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays is the number + of days before we delete objects in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays is the + number of days before we convert the objects in + the bucket to Infrequent Access (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s temporary + security token. For more details, check out: https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - key type: object + plugin: + description: Plugin contains plugin artifact location details + properties: + configuration: + description: Configuration is the plugin defined configuration + for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds is the timeout + for the artifact driver connection, overriding the + driver's timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact repository + where the artifact resides + type: string + name: + description: Name is the name of the artifact driver + plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location details properties: data: + description: Data is the string contents of the artifact type: string required: - data type: object s3: + description: S3 contains S3 artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string caSecret: + description: CASecret specifies the secret that contains + the CA, used to verify the TLS connection properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the driver + to attempt to create the S3 bucket for output artifacts, + if it doesn't exist. Setting Enabled Encryption will + apply either SSE-S3 to the bucket if KmsKeyId is not + set or SSE-KMS if it is. properties: objectLocking: + description: ObjectLocking Enable object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used to determine encryption + options during s3 operations properties: enableEncryption: + description: EnableEncryption tells the driver to + encrypt objects if set to true. If kmsKeyId and + serverSideCustomerKeySecret are not set, SSE-S3 + will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext is a json blob + that contains an encryption context. See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver to encrypt + the object using the specified KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret tells the + driver to encrypt the output artifacts using SSE-C + with the specified secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key @@ -13824,115 +17086,236 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string insecure: + description: Insecure will connect to the service with + TLS type: boolean key: + description: Key is the key in the bucket where the + artifact resides type: string region: + description: Region contains the optional bucket region type: string roleARN: + description: RoleARN is the Amazon Resource Name (ARN) + of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used for ephemeral + credentials like an IAM assume role or S3 access grant properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean type: object type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : 0) + + (has(self.http) ? 1 : 0) + (has(self.artifactory) ? 1 : + 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) ? 1 : 0) + + (has(self.oss) ? 1 : 0) + (has(self.gcs) ? 1 : 0) + (has(self.azure) + ? 1 : 0) + (has(self.plugin) ? 1 : 0) <= 1' automountServiceAccountToken: + description: |- + AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in pods. + ServiceAccountName of ExecutorConfig must be specified if this value is false. type: boolean container: + description: Container is the main container image to run in + the pod properties: args: + description: |- + Arguments to the entrypoint. + The container image's CMD is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic command: + description: |- + Entrypoint array. Not executed within a shell. + The container image's ENTRYPOINT is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic env: + description: |- + List of environment variables to set in the container. + Cannot be updated. items: + description: EnvVar represents an environment variable + present in a Container. properties: name: + description: Name of the environment variable. Must + be a C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. If a variable cannot be resolved, + the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. + "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". + Escaped references will never be expanded, regardless of whether the variable + exists or not. + Defaults to "". type: string valueFrom: + description: Source for the environment variable's + value. Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in + the specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. properties: containerName: + description: 'Container name: required for + volumes, optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of + the exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic 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: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -13947,25 +17330,54 @@ spec: - name x-kubernetes-list-type: map envFrom: + description: |- + List of sources to populate environment variables in the container. + The keys defined within a source must be a C_IDENTIFIER. All invalid keys + will be reported as an event when the container is starting. When a key exists in multiple + sources, the value associated with the last source will take precedence. + Values defined by an Env with a duplicate key will take precedence. + Cannot be updated. items: + description: EnvFromSource represents the source of a + set of ConfigMaps or Secrets properties: configMapRef: + description: The ConfigMap to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap must + be defined type: boolean type: object x-kubernetes-map-type: atomic prefix: + description: Optional text to prepend to the name + of each environment variable. Must be a C_IDENTIFIER. type: string secretRef: + description: The Secret to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret must be + defined type: boolean type: object x-kubernetes-map-type: atomic @@ -13973,31 +17385,71 @@ spec: type: array x-kubernetes-list-type: atomic image: + description: |- + Container image name. + More info: https://kubernetes.io/docs/concepts/containers/images + This field is optional to allow higher level config management to default or override + container images in workload controllers like Deployments and StatefulSets. type: string imagePullPolicy: + description: |- + Image pull policy. + One of Always, Never, IfNotPresent. + Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/containers/images#updating-images type: string lifecycle: + description: |- + Actions that the management system should take in response to container lifecycle events. + Cannot be updated. properties: postStart: + description: |- + PostStart is called immediately after a container is created. If the handler fails, + the container is terminated and restarted according to its restart policy. + Other management of the container blocks until the hook completes. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -14006,58 +17458,111 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that the + container should sleep. properties: seconds: + description: Seconds is the number of seconds + to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object preStop: + description: |- + PreStop is called immediately before a container is terminated due to an + API request or management event such as liveness/startup probe failure, + preemption, resource contention, etc. The handler is not called if the + container crashes or exits. The Pod's termination grace period countdown begins before the + PreStop hook is executed. Regardless of the outcome of the handler, the + container will eventually terminate within the Pod's termination grace + period (unless delayed by finalizers). Other management of the container blocks until the hook completes + or until the termination grace period is reached. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -14066,75 +17571,138 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that the + container should sleep. properties: seconds: + description: Seconds is the number of seconds + to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object stopSignal: + description: |- + StopSignal defines which signal will be sent to a container when it is being stopped. + If not specified, the default is defined by the container runtime in use. + StopSignal can only be set for Pods with a non-empty .spec.os.name type: string type: object livenessProbe: + description: |- + Periodic probe of container liveness. + Container will be restarted if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. Number + must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request to + perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -14143,62 +17711,133 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a TCP + port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object name: + description: |- + Name of the container specified as a DNS_LABEL. + Each container in a pod must have a unique name (DNS_LABEL). + Cannot be updated. type: string ports: + description: |- + List of ports to expose from the container. Not specifying a port here + DOES NOT prevent that port from being exposed. Any port which is + listening on the default "0.0.0.0" address inside a container will be + accessible from the network. + Modifying this array with strategic merge patch may corrupt the data. + For more information See https://github.com/kubernetes/kubernetes/issues/108255. + Cannot be updated. items: + description: ContainerPort represents a network port in + a single container. properties: containerPort: + description: |- + Number of port to expose on the pod's IP address. + This must be a valid port number, 0 < x < 65536. format: int32 type: integer hostIP: + description: What host IP to bind the external port + to. type: string hostPort: + description: |- + Number of port to expose on the host. + If specified, this must be a valid port number, 0 < x < 65536. + If HostNetwork is specified, this must match ContainerPort. + Most containers do not need this. format: int32 type: integer name: + description: |- + If specified, this must be an IANA_SVC_NAME and unique within the pod. Each + named port in a pod must have a unique name. Name for the port that can be + referred to by services. type: string protocol: default: TCP + description: |- + Protocol for port. Must be UDP, TCP, or SCTP. + Defaults to "TCP". type: string required: - containerPort @@ -14209,39 +17848,76 @@ spec: - protocol x-kubernetes-list-type: map readinessProbe: + description: |- + Periodic probe of container service readiness. + Container will be removed from service endpoints if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. Number + must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request to + perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -14250,51 +17926,100 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a TCP + port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object resizePolicy: + description: Resources resize policy for the container. items: + description: ContainerResizePolicy represents resource + resize policy for the container. properties: resourceName: + description: |- + Name of the resource to which this resource resize policy applies. + Supported values: cpu, memory. type: string restartPolicy: + description: |- + Restart policy to apply when specified resource is resized. + If not specified, it defaults to NotRequired. type: string required: - resourceName @@ -14303,13 +18028,35 @@ spec: type: array x-kubernetes-list-type: atomic resources: + description: |- + Compute Resources required by this container. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ properties: claims: + description: |- + Claims lists the names of resources, defined in spec.resourceClaims, + that are used by this container. + + This is an alpha field and requires enabling the + DynamicResourceAllocation feature gate. + + This field is immutable. It can only be set for containers. items: + description: ResourceClaim references one entry in + PodSpec.ResourceClaims. properties: name: + description: |- + Name must match the name of one entry in pod.spec.resourceClaims of + the Pod where this field is used. It makes that resource available + inside a container. type: string request: + description: |- + Request is the name chosen for a request in the referenced claim. + If empty, everything from the claim is made available, otherwise + only the result of this request. type: string required: - name @@ -14325,6 +18072,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -14333,116 +18083,300 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object type: object restartPolicy: + description: |- + RestartPolicy defines the restart behavior of individual containers in a pod. + This field may only be set for init containers, and the only allowed value is "Always". + For non-init containers or when this field is not specified, + the restart behavior is defined by the Pod's restart policy and the container type. + Setting the RestartPolicy as "Always" for the init container will have the following effect: + this init container will be continually restarted on + exit until all regular containers have terminated. Once all regular + containers have completed, all init containers with restartPolicy "Always" + will be shut down. This lifecycle differs from normal init containers and + is often referred to as a "sidecar" container. Although this init + container still starts in the init container sequence, it does not wait + for the container to complete before proceeding to the next init + container. Instead, the next init container starts immediately after this + init container is started, or after any startupProbe has successfully + completed. type: string securityContext: + description: |- + SecurityContext defines the security options the container should be run with. + If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. + More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ properties: allowPrivilegeEscalation: + description: |- + AllowPrivilegeEscalation controls whether a process can gain more + privileges than its parent process. This bool directly controls if + the no_new_privs flag will be set on the container process. + AllowPrivilegeEscalation is true always when the container is: + 1) run as Privileged + 2) has CAP_SYS_ADMIN + Note that this field cannot be set when spec.os.name is windows. type: boolean appArmorProfile: + description: |- + appArmorProfile is the AppArmor options to use by this container. If set, this profile + overrides the pod's appArmorProfile. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile loaded on the node that should be used. + The profile must be preconfigured on the node to work. + Must match the loaded name of the profile. + Must be set if and only if type is "Localhost". type: string type: + description: |- + type indicates which kind of AppArmor profile will be applied. + Valid options are: + Localhost - a profile pre-loaded on the node. + RuntimeDefault - the container runtime's default profile. + Unconfined - no AppArmor enforcement. type: string required: - type type: object capabilities: + description: |- + The capabilities to add/drop when running containers. + Defaults to the default set of capabilities granted by the container runtime. + Note that this field cannot be set when spec.os.name is windows. properties: add: + description: Added capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array x-kubernetes-list-type: atomic drop: + description: Removed capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array x-kubernetes-list-type: atomic type: object privileged: + description: |- + Run container in privileged mode. + Processes in privileged containers are essentially equivalent to root on the host. + Defaults to false. + Note that this field cannot be set when spec.os.name is windows. type: boolean procMount: + description: |- + procMount denotes the type of proc mount to use for the containers. + The default value is Default which uses the container runtime defaults for + readonly paths and masked paths. + This requires the ProcMountType feature flag to be enabled. + Note that this field cannot be set when spec.os.name is windows. type: string readOnlyRootFilesystem: + description: |- + Whether this container has a read-only root filesystem. + Default is false. + Note that this field cannot be set when spec.os.name is windows. type: boolean runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer runAsNonRoot: + description: |- + Indicates that the container must run as a non-root user. + If true, the Kubelet will validate the image at runtime to ensure that it + does not run as UID 0 (root) and fail to start the container if it does. + If unset or false, no such validation will be performed. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to the container. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. properties: level: + description: Level is SELinux level label that applies + to the container. type: string role: + description: Role is a SELinux role label that applies + to the container. type: string type: + description: Type is a SELinux type label that applies + to the container. type: string user: + description: User is a SELinux user label that applies + to the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by this container. If seccomp options are + provided at both the pod & container level, the container options + override the pod options. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. + Must be a descending path, relative to the kubelet's configured seccomp profile location. + Must be set if type is "Localhost". Must NOT be set for any other type. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + Localhost - a profile defined in a file on the node should be used. + RuntimeDefault - the container runtime default profile should be used. + Unconfined - no profile should be applied. type: string required: - type type: object windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options from the PodSecurityContext will be used. + If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is linux. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name + of the GMSA credential spec to use. type: string hostProcess: + description: |- + HostProcess determines if a container should be run as a 'Host Process' container. + All of a Pod's containers must have the same effective HostProcess value + (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + In addition, if HostProcess is true then HostNetwork must also be set to true. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: string type: object type: object startupProbe: + description: |- + StartupProbe indicates that the Pod has successfully initialized. + If specified, no other probes are executed until this completes successfully. + If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. + This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, + when it might take a long time to load data or warm a cache, than during steady-state operation. + This cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. Number + must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request to + perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -14451,61 +18385,140 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a TCP + port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object stdin: + description: |- + Whether this container should allocate a buffer for stdin in the container runtime. If this + is not set, reads from stdin in the container will always result in EOF. + Default is false. type: boolean stdinOnce: + description: |- + Whether the container runtime should close the stdin channel after it has been opened by + a single attach. When stdin is true the stdin stream will remain open across multiple attach + sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the + first client attaches to stdin, and then remains open and accepts data until the client disconnects, + at which time stdin is closed and remains closed until the container is restarted. If this + flag is false, a container processes that reads from stdin will never receive an EOF. + Default is false type: boolean terminationMessagePath: + description: |- + Optional: Path at which the file to which the container's termination message + will be written is mounted into the container's filesystem. + Message written is intended to be brief final status, such as an assertion failure message. + Will be truncated by the node if greater than 4096 bytes. The total message length across + all containers will be limited to 12kb. + Defaults to /dev/termination-log. + Cannot be updated. type: string terminationMessagePolicy: + description: |- + Indicate how the termination message should be populated. File will use the contents of + terminationMessagePath to populate the container status message on both success and failure. + FallbackToLogsOnError will use the last chunk of container log output if the termination + message file is empty and the container exited with an error. + The log output is limited to 2048 bytes or 80 lines, whichever is smaller. + Defaults to File. + Cannot be updated. type: string tty: + description: |- + Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. + Default is false. type: boolean volumeDevices: + description: volumeDevices is the list of block devices + to be used by the container. items: + description: volumeDevice describes a mapping of a raw + block device within a container. properties: devicePath: + description: devicePath is the path inside of the + container that the device will be mapped to. type: string name: + description: name must match the name of a persistentVolumeClaim + in the pod type: string required: - devicePath @@ -14516,21 +18529,65 @@ spec: - devicePath x-kubernetes-list-type: map volumeMounts: + description: |- + Pod volumes to mount into the container's filesystem. + Cannot be updated. items: + description: VolumeMount describes a mounting of a Volume + within a container. properties: mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. type: string mountPropagation: + description: |- + mountPropagation determines how mounts are propagated from the host + to container and the other way around. + When not set, MountPropagationNone is used. + This field is beta in 1.10. + When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + (which defaults to None). type: string name: + description: This must match the Name of a Volume. type: string readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. type: boolean recursiveReadOnly: + description: |- + RecursiveReadOnly specifies whether read-only mounts should be handled + recursively. + + If ReadOnly is false, this field has no meaning and must be unspecified. + + If ReadOnly is true, and this field is set to Disabled, the mount is not made + recursively read-only. If this field is set to IfPossible, the mount is made + recursively read-only, if it is supported by the container runtime. If this + field is set to Enabled, the mount is made recursively read-only if it is + supported by the container runtime, otherwise the pod will not be started and + an error will be generated to indicate the reason. + + If this field is set to IfPossible or Enabled, MountPropagation must be set to + None (or be unspecified, which defaults to None). + + If this field is not specified, it is treated as an equivalent of Disabled. type: string subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). type: string subPathExpr: + description: |- + Expanded path within the volume from which the container's volume should be mounted. + Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. + Defaults to "" (volume's root). + SubPathExpr and SubPath are mutually exclusive. type: string required: - mountPath @@ -14541,19 +18598,44 @@ spec: - mountPath x-kubernetes-list-type: map workingDir: + description: |- + Container's working directory. + If not specified, the container runtime's default will be used, which + might be configured in the container image. + Cannot be updated. type: string type: object containerSet: + description: ContainerSet groups multiple containers within + a single pod. properties: containers: items: properties: args: + description: |- + Arguments to the entrypoint. + The container image's CMD is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic command: + description: |- + Entrypoint array. Not executed within a shell. + The container image's ENTRYPOINT is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array @@ -14563,61 +18645,121 @@ spec: type: string type: array env: + description: |- + List of environment variables to set in the container. + Cannot be updated. items: + description: EnvVar represents an environment variable + present in a Container. properties: name: + description: Name of the environment variable. + Must be a C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. If a variable cannot be resolved, + the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. + "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". + Escaped references will never be expanded, regardless of whether the variable + exists or not. + Defaults to "". type: string valueFrom: + description: Source for the environment variable's + value. Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. properties: apiVersion: + description: Version of the schema the + FieldPath is written in terms of, + defaults to "v1". type: string fieldPath: + description: Path of the field to select + in the specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. properties: containerName: + description: 'Container name: required + for volumes, optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format + of the exposed resources, defaults + to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to + select' type: string required: - resource type: object x-kubernetes-map-type: atomic 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: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -14632,25 +18774,55 @@ spec: - name x-kubernetes-list-type: map envFrom: + description: |- + List of sources to populate environment variables in the container. + The keys defined within a source must be a C_IDENTIFIER. All invalid keys + will be reported as an event when the container is starting. When a key exists in multiple + sources, the value associated with the last source will take precedence. + Values defined by an Env with a duplicate key will take precedence. + Cannot be updated. items: + description: EnvFromSource represents the source + of a set of ConfigMaps or Secrets properties: configMapRef: + description: The ConfigMap to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + must be defined type: boolean type: object x-kubernetes-map-type: atomic prefix: + description: Optional text to prepend to the + name of each environment variable. Must be + a C_IDENTIFIER. type: string secretRef: + description: The Secret to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + must be defined type: boolean type: object x-kubernetes-map-type: atomic @@ -14658,31 +18830,71 @@ spec: type: array x-kubernetes-list-type: atomic image: + description: |- + Container image name. + More info: https://kubernetes.io/docs/concepts/containers/images + This field is optional to allow higher level config management to default or override + container images in workload controllers like Deployments and StatefulSets. type: string imagePullPolicy: + description: |- + Image pull policy. + One of Always, Never, IfNotPresent. + Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/containers/images#updating-images type: string lifecycle: + description: |- + Actions that the management system should take in response to container lifecycle events. + Cannot be updated. properties: postStart: + description: |- + PostStart is called immediately after a container is created. If the handler fails, + the container is terminated and restarted according to its restart policy. + Other management of the container blocks until the hook completes. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET + request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in + the request. HTTP allows repeated headers. items: + description: HTTPHeader describes a + custom header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -14691,58 +18903,112 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP + server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that + the container should sleep. properties: seconds: + description: Seconds is the number of + seconds to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object preStop: + description: |- + PreStop is called immediately before a container is terminated due to an + API request or management event such as liveness/startup probe failure, + preemption, resource contention, etc. The handler is not called if the + container crashes or exits. The Pod's termination grace period countdown begins before the + PreStop hook is executed. Regardless of the outcome of the handler, the + container will eventually terminate within the Pod's termination grace + period (unless delayed by finalizers). Other management of the container blocks until the hook completes + or until the termination grace period is reached. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET + request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in + the request. HTTP allows repeated headers. items: + description: HTTPHeader describes a + custom header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -14751,75 +19017,139 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP + server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that + the container should sleep. properties: seconds: + description: Seconds is the number of + seconds to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object stopSignal: + description: |- + StopSignal defines which signal will be sent to a container when it is being stopped. + If not specified, the default is defined by the container runtime in use. + StopSignal can only be set for Pods with a non-empty .spec.os.name type: string type: object livenessProbe: + description: |- + Periodic probe of container liveness. + Container will be restarted if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the + request. HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -14828,62 +19158,133 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection + to a TCP port. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object name: + description: |- + Name of the container specified as a DNS_LABEL. + Each container in a pod must have a unique name (DNS_LABEL). + Cannot be updated. type: string ports: + description: |- + List of ports to expose from the container. Not specifying a port here + DOES NOT prevent that port from being exposed. Any port which is + listening on the default "0.0.0.0" address inside a container will be + accessible from the network. + Modifying this array with strategic merge patch may corrupt the data. + For more information See https://github.com/kubernetes/kubernetes/issues/108255. + Cannot be updated. items: + description: ContainerPort represents a network + port in a single container. properties: containerPort: + description: |- + Number of port to expose on the pod's IP address. + This must be a valid port number, 0 < x < 65536. format: int32 type: integer hostIP: + description: What host IP to bind the external + port to. type: string hostPort: + description: |- + Number of port to expose on the host. + If specified, this must be a valid port number, 0 < x < 65536. + If HostNetwork is specified, this must match ContainerPort. + Most containers do not need this. format: int32 type: integer name: + description: |- + If specified, this must be an IANA_SVC_NAME and unique within the pod. Each + named port in a pod must have a unique name. Name for the port that can be + referred to by services. type: string protocol: default: TCP + description: |- + Protocol for port. Must be UDP, TCP, or SCTP. + Defaults to "TCP". type: string required: - containerPort @@ -14894,39 +19295,76 @@ spec: - protocol x-kubernetes-list-type: map readinessProbe: + description: |- + Periodic probe of container service readiness. + Container will be removed from service endpoints if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the + request. HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -14935,51 +19373,100 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection + to a TCP port. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object resizePolicy: + description: Resources resize policy for the container. items: + description: ContainerResizePolicy represents resource + resize policy for the container. properties: resourceName: + description: |- + Name of the resource to which this resource resize policy applies. + Supported values: cpu, memory. type: string restartPolicy: + description: |- + Restart policy to apply when specified resource is resized. + If not specified, it defaults to NotRequired. type: string required: - resourceName @@ -14988,13 +19475,35 @@ spec: type: array x-kubernetes-list-type: atomic resources: + description: |- + Compute Resources required by this container. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ properties: claims: + description: |- + Claims lists the names of resources, defined in spec.resourceClaims, + that are used by this container. + + This is an alpha field and requires enabling the + DynamicResourceAllocation feature gate. + + This field is immutable. It can only be set for containers. items: + description: ResourceClaim references one entry + in PodSpec.ResourceClaims. properties: name: + description: |- + Name must match the name of one entry in pod.spec.resourceClaims of + the Pod where this field is used. It makes that resource available + inside a container. type: string request: + description: |- + Request is the name chosen for a request in the referenced claim. + If empty, everything from the claim is made available, otherwise + only the result of this request. type: string required: - name @@ -15010,6 +19519,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -15018,116 +19530,300 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object type: object restartPolicy: + description: |- + RestartPolicy defines the restart behavior of individual containers in a pod. + This field may only be set for init containers, and the only allowed value is "Always". + For non-init containers or when this field is not specified, + the restart behavior is defined by the Pod's restart policy and the container type. + Setting the RestartPolicy as "Always" for the init container will have the following effect: + this init container will be continually restarted on + exit until all regular containers have terminated. Once all regular + containers have completed, all init containers with restartPolicy "Always" + will be shut down. This lifecycle differs from normal init containers and + is often referred to as a "sidecar" container. Although this init + container still starts in the init container sequence, it does not wait + for the container to complete before proceeding to the next init + container. Instead, the next init container starts immediately after this + init container is started, or after any startupProbe has successfully + completed. type: string securityContext: + description: |- + SecurityContext defines the security options the container should be run with. + If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. + More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ properties: allowPrivilegeEscalation: + description: |- + AllowPrivilegeEscalation controls whether a process can gain more + privileges than its parent process. This bool directly controls if + the no_new_privs flag will be set on the container process. + AllowPrivilegeEscalation is true always when the container is: + 1) run as Privileged + 2) has CAP_SYS_ADMIN + Note that this field cannot be set when spec.os.name is windows. type: boolean appArmorProfile: + description: |- + appArmorProfile is the AppArmor options to use by this container. If set, this profile + overrides the pod's appArmorProfile. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile loaded on the node that should be used. + The profile must be preconfigured on the node to work. + Must match the loaded name of the profile. + Must be set if and only if type is "Localhost". type: string type: + description: |- + type indicates which kind of AppArmor profile will be applied. + Valid options are: + Localhost - a profile pre-loaded on the node. + RuntimeDefault - the container runtime's default profile. + Unconfined - no AppArmor enforcement. type: string required: - type type: object capabilities: + description: |- + The capabilities to add/drop when running containers. + Defaults to the default set of capabilities granted by the container runtime. + Note that this field cannot be set when spec.os.name is windows. properties: add: + description: Added capabilities items: + description: Capability represent POSIX + capabilities type type: string type: array x-kubernetes-list-type: atomic drop: + description: Removed capabilities items: + description: Capability represent POSIX + capabilities type type: string type: array x-kubernetes-list-type: atomic type: object privileged: + description: |- + Run container in privileged mode. + Processes in privileged containers are essentially equivalent to root on the host. + Defaults to false. + Note that this field cannot be set when spec.os.name is windows. type: boolean procMount: + description: |- + procMount denotes the type of proc mount to use for the containers. + The default value is Default which uses the container runtime defaults for + readonly paths and masked paths. + This requires the ProcMountType feature flag to be enabled. + Note that this field cannot be set when spec.os.name is windows. type: string readOnlyRootFilesystem: + description: |- + Whether this container has a read-only root filesystem. + Default is false. + Note that this field cannot be set when spec.os.name is windows. type: boolean runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer runAsNonRoot: + description: |- + Indicates that the container must run as a non-root user. + If true, the Kubelet will validate the image at runtime to ensure that it + does not run as UID 0 (root) and fail to start the container if it does. + If unset or false, no such validation will be performed. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to the container. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. properties: level: + description: Level is SELinux level label + that applies to the container. type: string role: + description: Role is a SELinux role label + that applies to the container. type: string type: + description: Type is a SELinux type label + that applies to the container. type: string user: + description: User is a SELinux user label + that applies to the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by this container. If seccomp options are + provided at both the pod & container level, the container options + override the pod options. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. + Must be a descending path, relative to the kubelet's configured seccomp profile location. + Must be set if type is "Localhost". Must NOT be set for any other type. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + Localhost - a profile defined in a file on the node should be used. + RuntimeDefault - the container runtime default profile should be used. + Unconfined - no profile should be applied. type: string required: - type type: object windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options from the PodSecurityContext will be used. + If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is linux. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the + name of the GMSA credential spec to use. type: string hostProcess: + description: |- + HostProcess determines if a container should be run as a 'Host Process' container. + All of a Pod's containers must have the same effective HostProcess value + (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + In addition, if HostProcess is true then HostNetwork must also be set to true. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: string type: object type: object startupProbe: + description: |- + StartupProbe indicates that the Pod has successfully initialized. + If specified, no other probes are executed until this completes successfully. + If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. + This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, + when it might take a long time to load data or warm a cache, than during steady-state operation. + This cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the + request. HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -15136,61 +19832,141 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection + to a TCP port. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object stdin: + description: |- + Whether this container should allocate a buffer for stdin in the container runtime. If this + is not set, reads from stdin in the container will always result in EOF. + Default is false. type: boolean stdinOnce: + description: |- + Whether the container runtime should close the stdin channel after it has been opened by + a single attach. When stdin is true the stdin stream will remain open across multiple attach + sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the + first client attaches to stdin, and then remains open and accepts data until the client disconnects, + at which time stdin is closed and remains closed until the container is restarted. If this + flag is false, a container processes that reads from stdin will never receive an EOF. + Default is false type: boolean terminationMessagePath: + description: |- + Optional: Path at which the file to which the container's termination message + will be written is mounted into the container's filesystem. + Message written is intended to be brief final status, such as an assertion failure message. + Will be truncated by the node if greater than 4096 bytes. The total message length across + all containers will be limited to 12kb. + Defaults to /dev/termination-log. + Cannot be updated. type: string terminationMessagePolicy: + description: |- + Indicate how the termination message should be populated. File will use the contents of + terminationMessagePath to populate the container status message on both success and failure. + FallbackToLogsOnError will use the last chunk of container log output if the termination + message file is empty and the container exited with an error. + The log output is limited to 2048 bytes or 80 lines, whichever is smaller. + Defaults to File. + Cannot be updated. type: string tty: + description: |- + Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. + Default is false. type: boolean volumeDevices: + description: volumeDevices is the list of block devices + to be used by the container. items: + description: volumeDevice describes a mapping of + a raw block device within a container. properties: devicePath: + description: devicePath is the path inside of + the container that the device will be mapped + to. type: string name: + description: name must match the name of a persistentVolumeClaim + in the pod type: string required: - devicePath @@ -15201,21 +19977,65 @@ spec: - devicePath x-kubernetes-list-type: map volumeMounts: + description: |- + Pod volumes to mount into the container's filesystem. + Cannot be updated. items: + description: VolumeMount describes a mounting of + a Volume within a container. properties: mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. type: string mountPropagation: + description: |- + mountPropagation determines how mounts are propagated from the host + to container and the other way around. + When not set, MountPropagationNone is used. + This field is beta in 1.10. + When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + (which defaults to None). type: string name: + description: This must match the Name of a Volume. type: string readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. type: boolean recursiveReadOnly: + description: |- + RecursiveReadOnly specifies whether read-only mounts should be handled + recursively. + + If ReadOnly is false, this field has no meaning and must be unspecified. + + If ReadOnly is true, and this field is set to Disabled, the mount is not made + recursively read-only. If this field is set to IfPossible, the mount is made + recursively read-only, if it is supported by the container runtime. If this + field is set to Enabled, the mount is made recursively read-only if it is + supported by the container runtime, otherwise the pod will not be started and + an error will be generated to indicate the reason. + + If this field is set to IfPossible or Enabled, MountPropagation must be set to + None (or be unspecified, which defaults to None). + + If this field is not specified, it is treated as an equivalent of Disabled. type: string subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). type: string subPathExpr: + description: |- + Expanded path within the volume from which the container's volume should be mounted. + Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. + Defaults to "" (volume's root). + SubPathExpr and SubPath are mutually exclusive. type: string required: - mountPath @@ -15226,39 +20046,94 @@ spec: - mountPath x-kubernetes-list-type: map workingDir: + description: |- + Container's working directory. + If not specified, the container runtime's default will be used, which + might be configured in the container image. + Cannot be updated. type: string required: - name type: object type: array retryStrategy: + description: |- + RetryStrategy describes how to retry container nodes if the container set fails. + Note that this works differently from the template-level `retryStrategy` as it is a process-level retry that does not create new Pods or containers. properties: duration: + description: |- + Duration is the time between each retry, examples values are "300ms", "1s" or "5m". + Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". type: string retries: anyOf: - type: integer - type: string + description: |- + Retries is the maximum number of retry attempts for each container. It does not include the + first, original attempt; the maximum number of total attempts will be `retries + 1`. x-kubernetes-int-or-string: true required: - retries type: object volumeMounts: items: + description: VolumeMount describes a mounting of a Volume + within a container. properties: mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. type: string mountPropagation: + description: |- + mountPropagation determines how mounts are propagated from the host + to container and the other way around. + When not set, MountPropagationNone is used. + This field is beta in 1.10. + When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + (which defaults to None). type: string name: + description: This must match the Name of a Volume. type: string readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. type: boolean recursiveReadOnly: + description: |- + RecursiveReadOnly specifies whether read-only mounts should be handled + recursively. + + If ReadOnly is false, this field has no meaning and must be unspecified. + + If ReadOnly is true, and this field is set to Disabled, the mount is not made + recursively read-only. If this field is set to IfPossible, the mount is made + recursively read-only, if it is supported by the container runtime. If this + field is set to Enabled, the mount is made recursively read-only if it is + supported by the container runtime, otherwise the pod will not be started and + an error will be generated to indicate the reason. + + If this field is set to IfPossible or Enabled, MountPropagation must be set to + None (or be unspecified, which defaults to None). + + If this field is not specified, it is treated as an equivalent of Disabled. type: string subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). type: string subPathExpr: + description: |- + Expanded path within the volume from which the container's volume should be mounted. + Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. + Defaults to "" (volume's root). + SubPathExpr and SubPath are mutually exclusive. type: string required: - mountPath @@ -15269,39 +20144,85 @@ spec: - containers type: object daemon: + description: Daemon will allow a workflow to proceed to the + next step so long as the container reaches readiness type: boolean dag: + description: DAG template subtype which runs a DAG properties: failFast: + description: |- + This flag is for DAG logic. The DAG logic has a built-in "fail fast" feature to stop scheduling new steps, + as soon as it detects that one of the DAG nodes is failed. Then it waits until all DAG nodes are completed + before failing the DAG itself. + The FailFast flag default is true, if set to false, it will allow a DAG to run all branches of the DAG to + completion (either success or failure), regardless of the failed outcomes of branches in the DAG. + More info and example about this feature at https://github.com/argoproj/argo-workflows/issues/1442 type: boolean target: + description: Target are one or more names of targets to + execute in a DAG type: string tasks: + description: |- + Tasks are a list of DAG tasks + MaxItems is an artificial limit to limit CEL validation costs - see note at top of file items: + description: |- + DAGTask represents a node in the graph during DAG execution + Note: CEL validation cannot check withItems (Schemaless) or inline (PreserveUnknownFields) fields. properties: arguments: + description: Arguments are the parameter and artifact + arguments to the template properties: artifacts: + description: Artifacts is the list of artifacts + to pass to the template or workflow items: + description: Artifact indicates an artifact + to place at a specified path properties: archive: + description: Archive controls how the artifact + will be saved to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and + gzip the file or directory when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip + zipped input artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the + container logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy + to use when to deleting an artifact from + completed or deleted workflows properties: podMetadata: + description: PodMetadata is an optional + field for specifying the Labels and + Annotations that should be assigned + to the Pod doing the deletion properties: annotations: additionalProperties: @@ -15313,8 +20234,14 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an + optional field for specifying the + Service Account that should be assigned + to the Pod doing the deletion type: string strategy: + description: Strategy is the strategy + to use. enum: - "" - OnWorkflowCompletion @@ -15323,30 +20250,59 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory + artifact location details properties: passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -15356,27 +20312,54 @@ spec: - url type: object azure: + description: Azure contains Azure Storage + artifact location details properties: accountKeySecret: + description: AccountKeySecret is the + secret selector to the Azure Blob + Storage account access key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., + path) in the container where the artifact + resides type: string container: + description: Container is the container + where resources will be stored type: string endpoint: + description: Endpoint is the service + url associated with an account. It + is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver + to figure out credentials based on + sdk defaults. type: boolean required: - blob @@ -15384,25 +20367,52 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to + reference an artifact from a previous + step type: string fromExpression: + description: FromExpression, if defined, + is evaluated to specify the value for + the artifact type: string gcs: + description: GCS contains GCS artifact location + details properties: bucket: + description: Bucket is the name of the + bucket type: string key: + description: Key is the path in the + bucket where the artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret + is the secret selector to the bucket's + service account key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -15412,62 +20422,125 @@ spec: - key type: object git: + description: Git contains git artifact location + details properties: branch: + description: Branch is the branch to + fetch when `SingleBranch` is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables + submodules during git clone type: boolean fetch: + description: Fetch specifies a number + of refs that should be fetched before + checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables + SSH strict host key checking during + git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables + server certificate verification resulting + in insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, + tag, branch to checkout type: string singleBranch: + description: SingleBranch enables single + branch clone, using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is + the secret selector to the repository + ssh private key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -15477,96 +20550,199 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact + location details properties: addresses: + description: Addresses is accessible + addresses of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly + even if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + ConfigMap or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in + HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact + location details properties: auth: + description: Auth contains information + for client authentication properties: basicAuth: + description: BasicAuth describes + the secret selectors required + for basic authentication properties: passwordSecret: + description: PasswordSecret + is the secret selector to + the repository password properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret + is the secret selector to + the repository username properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key @@ -15574,28 +20750,59 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds + necessary information for client + authentication via certificates properties: clientCertSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key @@ -15603,28 +20810,59 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all + information for client authentication + via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key @@ -15632,10 +20870,19 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam + is for requesting optional + fields that should be sent + in the oauth request properties: key: + description: Name is the + header name type: string value: + description: Value is + the literal value to + use for the header type: string required: - key @@ -15646,13 +20893,27 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key @@ -15661,11 +20922,21 @@ spec: type: object type: object headers: + description: Headers are an optional + list of headers to send with HTTP + requests for artifacts items: + description: Header indicate a key-value + request header to be used when fetching + artifacts over HTTP properties: name: + description: Name is the header + name type: string value: + description: Value is the literal + value to use for the header type: string required: - name @@ -15673,131 +20944,308 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must + be unique within a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if + Artifacts doesn't generate or exist type: boolean oss: + description: OSS contains OSS artifact location + details properties: accessKeySecret: + description: AccessKeySecret is the + secret selector to the bucket's access + key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the + bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent + tells the driver to attempt to create + the OSS bucket for output artifacts, + if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname + of the bucket endpoint type: string key: + description: Key is the path in the + bucket where the artifact resides type: string lifecycleRule: + description: LifecycleRule specifies + how to manage bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays + is the number of days before we + delete objects in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before we + convert the objects in the bucket + to Infrequent Access (IA) storage + type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the + secret selector to the bucket's secret + key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s + temporary security token. For more + details, check out: https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver + to figure out credentials based on + sdk defaults. type: boolean required: - key type: object path: - type: string + description: Path is the container path + to the artifact + type: string + plugin: + description: Plugin contains plugin artifact + location details + properties: + configuration: + description: Configuration is the plugin + defined configuration for the artifact + driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds + is the timeout for the artifact driver + connection, overriding the driver's + timeout + format: int32 + type: integer + key: + description: Key is the path in the + artifact repository where the artifact + resides + type: string + name: + description: Name is the name of the + artifact driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location + details properties: data: + description: Data is the string contents + of the artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission + recursively into the artifact if it is + a folder type: boolean s3: + description: S3 contains S3 artifact location + details properties: accessKeySecret: + description: AccessKeySecret is the + secret selector to the bucket's access + key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the + bucket type: string caSecret: + description: CASecret specifies the + secret that contains the CA, used + to verify the TLS connection properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent + tells the driver to attempt to create + the S3 bucket for output artifacts, + if it doesn't exist. Setting Enabled + Encryption will apply either SSE-S3 + to the bucket if KmsKeyId is not set + or SSE-KMS if it is. properties: objectLocking: + description: ObjectLocking Enable + object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used + to determine encryption options during + s3 operations properties: enableEncryption: + description: EnableEncryption tells + the driver to encrypt objects + if set to true. If kmsKeyId and + serverSideCustomerKeySecret are + not set, SSE-S3 will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext + is a json blob that contains an + encryption context. See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the + driver to encrypt the object using + the specified KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret + tells the driver to encrypt the + output artifacts using SSE-C with + the specified secret. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -15805,97 +21253,213 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname + of the bucket endpoint type: string insecure: + description: Insecure will connect to + the service with TLS type: boolean key: + description: Key is the key in the bucket + where the artifact resides type: string region: + description: Region contains the optional + bucket region type: string roleARN: + description: RoleARN is the Amazon Resource + Name (ARN) of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the + secret selector to the bucket's secret + key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used + for ephemeral credentials like an + IAM assume role or S3 access grant properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver + to figure out credentials based on + sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact + to be sourced from a subpath within the + specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can + be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) + ? 1 : 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array parameters: + description: Parameters is the list of parameters + to pass to the template or workflow items: + description: Parameter indicate a passed string + parameter to a service template with an optional + default value properties: default: + description: Default is the default value + to use for an input parameter if a value + was not supplied type: string description: + description: Description is the parameter + description type: string enum: + description: Enum holds a list of string + values to choose from, for the actual + value of the parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source for + the output parameter's value properties: configMapKeyRef: + description: ConfigMapKeyRef is configmap + selector for input parameter configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + ConfigMap or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies a value + to be used if retrieving the value + from the specified source fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the event + to get the value of the parameter. + E.g. `payload.message` type: string expression: + description: Expression, if defined, + is evaluated to specify the value + for the parameter type: string jqFilter: + description: JQFilter expression against + the resource object in resource templates type: string jsonPath: + description: JSONPath of a resource + to retrieve an output parameter value + from in resource templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container to + retrieve an output parameter value + from in container templates type: string supplied: + description: Supplied value to be filled + in directly, either through the CLI, + API, etc. type: object type: object required: @@ -15904,6 +21468,9 @@ spec: type: array type: object continueOn: + description: |- + ContinueOn makes argo to proceed with the following step even if this step fails. + Errors and Failed states can be specified properties: error: type: boolean @@ -15911,37 +21478,74 @@ spec: type: boolean type: object dependencies: + description: Dependencies are name of other targets + which this depends on items: type: string type: array depends: + description: Depends are name of other targets which + this depends on type: string hooks: additionalProperties: properties: arguments: + description: Arguments hold arguments to the + template properties: artifacts: + description: Artifacts is the list of artifacts + to pass to the template or workflow items: + description: Artifact indicates an artifact + to place at a specified path properties: archive: + description: Archive controls how + the artifact will be saved to the + artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will + tar and gzip the file or directory + when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will + unzip zipped input artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates + if the container logs should be + archived type: boolean artifactGC: + description: ArtifactGC describes + the strategy to use when to deleting + an artifact from completed or deleted + workflows properties: podMetadata: + description: PodMetadata is an + optional field for specifying + the Labels and Annotations that + should be assigned to the Pod + doing the deletion properties: annotations: additionalProperties: @@ -15953,8 +21557,15 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName + is an optional field for specifying + the Service Account that should + be assigned to the Pod doing + the deletion type: string strategy: + description: Strategy is the strategy + to use. enum: - "" - OnWorkflowCompletion @@ -15963,30 +21574,63 @@ spec: type: string type: object artifactory: + description: Artifactory contains + artifactory artifact location details properties: passwordSecret: + description: PasswordSecret is + the secret selector to the repository + password properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is + the secret selector to the repository + username properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -15996,27 +21640,57 @@ spec: - url type: object azure: + description: Azure contains Azure + Storage artifact location details properties: accountKeySecret: + description: AccountKeySecret + is the secret selector to the + Azure Blob Storage account access + key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob + name (i.e., path) in the container + where the artifact resides type: string container: + description: Container is the + container where resources will + be stored type: string endpoint: + description: Endpoint is the service + url associated with an account. + It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells + the driver to figure out credentials + based on sdk defaults. type: boolean required: - blob @@ -16024,25 +21698,54 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact + to reference an artifact from a + previous step type: string fromExpression: + description: FromExpression, if defined, + is evaluated to specify the value + for the artifact type: string gcs: + description: GCS contains GCS artifact + location details properties: bucket: + description: Bucket is the name + of the bucket type: string key: + description: Key is the path in + the bucket where the artifact + resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret + is the secret selector to the + bucket's service account key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -16052,62 +21755,134 @@ spec: - key type: object git: + description: Git contains git artifact + location details properties: branch: + description: Branch is the branch + to fetch when `SingleBranch` + is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules + disables submodules during git + clone type: boolean fetch: + description: Fetch specifies a + number of refs that should be + fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey + disables SSH strict host key + checking during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables + server certificate verification + resulting in insecure HTTPS + connections type: boolean passwordSecret: + description: PasswordSecret is + the secret selector to the repository + password properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git + commit, tag, branch to checkout type: string singleBranch: + description: SingleBranch enables + single branch clone, using the + `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret + is the secret selector to the + repository ssh private key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is + the secret selector to the repository + username properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -16117,96 +21892,208 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact + location details properties: addresses: + description: Addresses is accessible + addresses of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file + forcibly even if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the ConfigMap or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path + in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact + location details properties: auth: + description: Auth contains information + for client authentication properties: basicAuth: + description: BasicAuth describes + the secret selectors required + for basic authentication properties: passwordSecret: + description: PasswordSecret + is the secret selector + to the repository password properties: key: + description: The key + of the secret to + select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret + is the secret selector + to the repository username properties: key: + description: The key + of the secret to + select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must + be defined type: boolean required: - key @@ -16214,28 +22101,66 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth + holds necessary information + for client authentication + via certificates properties: clientCertSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to + select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to + select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must + be defined type: boolean required: - key @@ -16243,28 +22168,66 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds + all information for client + authentication via OAuth2 + tokens properties: clientIDSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to + select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to + select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must + be defined type: boolean required: - key @@ -16272,10 +22235,22 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam + is for requesting + optional fields that + should be sent in + the oauth request properties: key: + description: Name + is the header + name type: string value: + description: Value + is the literal + value to use for + the header type: string required: - key @@ -16286,13 +22261,30 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to + select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must + be defined type: boolean required: - key @@ -16301,11 +22293,23 @@ spec: type: object type: object headers: + description: Headers are an optional + list of headers to send with + HTTP requests for artifacts items: + description: Header indicate + a key-value request header + to be used when fetching artifacts + over HTTP properties: name: + description: Name is the + header name type: string value: + description: Value is the + literal value to use for + the header type: string required: - name @@ -16313,131 +22317,324 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. + must be unique within a template's + inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, + if Artifacts doesn't generate or + exist type: boolean oss: + description: OSS contains OSS artifact + location details properties: accessKeySecret: + description: AccessKeySecret is + the secret selector to the bucket's + access key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name + of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent + tells the driver to attempt + to create the OSS bucket for + output artifacts, if it doesn't + exist type: boolean endpoint: + description: Endpoint is the hostname + of the bucket endpoint type: string key: + description: Key is the path in + the bucket where the artifact + resides type: string lifecycleRule: + description: LifecycleRule specifies + how to manage bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays + is the number of days before + we delete objects in the + bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before + we convert the objects in + the bucket to Infrequent + Access (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is + the secret selector to the bucket's + secret key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is + the user''s temporary security + token. For more details, check + out: https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells + the driver to figure out credentials + based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container + path to the artifact type: string + plugin: + description: Plugin contains plugin + artifact location details + properties: + configuration: + description: Configuration is + the plugin defined configuration + for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds + is the timeout for the artifact + driver connection, overriding + the driver's timeout + format: int32 + type: integer + key: + description: Key is the path in + the artifact repository where + the artifact resides + type: string + name: + description: Name is the name + of the artifact driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact + location details properties: data: + description: Data is the string + contents of the artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply + the permission recursively into + the artifact if it is a folder type: boolean s3: + description: S3 contains S3 artifact + location details properties: accessKeySecret: + description: AccessKeySecret is + the secret selector to the bucket's + access key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name + of the bucket type: string caSecret: + description: CASecret specifies + the secret that contains the + CA, used to verify the TLS connection properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent + tells the driver to attempt + to create the S3 bucket for + output artifacts, if it doesn't + exist. Setting Enabled Encryption + will apply either SSE-S3 to + the bucket if KmsKeyId is not + set or SSE-KMS if it is. properties: objectLocking: + description: ObjectLocking + Enable object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions + used to determine encryption + options during s3 operations properties: enableEncryption: + description: EnableEncryption + tells the driver to encrypt + objects if set to true. + If kmsKeyId and serverSideCustomerKeySecret + are not set, SSE-S3 will + be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext + is a json blob that contains + an encryption context. See + https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells + the driver to encrypt the + object using the specified + KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret + tells the driver to encrypt + the output artifacts using + SSE-C with the specified + secret. properties: key: + description: The key of + the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key @@ -16445,97 +22642,225 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname + of the bucket endpoint type: string insecure: + description: Insecure will connect + to the service with TLS type: boolean key: + description: Key is the key in + the bucket where the artifact + resides type: string region: + description: Region contains the + optional bucket region type: string roleARN: + description: RoleARN is the Amazon + Resource Name (ARN) of the role + to assume. type: string secretKeySecret: + description: SecretKeySecret is + the secret selector to the bucket's + secret key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret + is used for ephemeral credentials + like an IAM assume role or S3 + access grant properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells + the driver to figure out credentials + based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact + to be sourced from a subpath within + the specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location + can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) + ? 1 : 0) + (has(self.http) ? 1 : 0) + + (has(self.artifactory) ? 1 : 0) + + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + + (has(self.gcs) ? 1 : 0) + (has(self.azure) + ? 1 : 0) + (has(self.plugin) ? 1 : + 0) <= 1' type: array parameters: + description: Parameters is the list of parameters + to pass to the template or workflow items: + description: Parameter indicate a passed + string parameter to a service template + with an optional default value properties: default: + description: Default is the default + value to use for an input parameter + if a value was not supplied type: string description: + description: Description is the parameter + description type: string enum: + description: Enum holds a list of + string values to choose from, for + the actual value of the parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter + name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source + for the output parameter's value properties: configMapKeyRef: + description: ConfigMapKeyRef is + configmap selector for input + parameter configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the ConfigMap or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies + a value to be used if retrieving + the value from the specified + source fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the + event to get the value of the + parameter. E.g. `payload.message` type: string expression: + description: Expression, if defined, + is evaluated to specify the + value for the parameter type: string jqFilter: + description: JQFilter expression + against the resource object + in resource templates type: string jsonPath: + description: JSONPath of a resource + to retrieve an output parameter + value from in resource templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container + to retrieve an output parameter + value from in container templates type: string supplied: + description: Supplied value to + be filled in directly, either + through the CLI, API, etc. type: object type: object required: @@ -16544,94 +22869,191 @@ spec: type: array type: object expression: + description: |- + Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not + be retried and the retry strategy will be ignored type: string template: + description: Template is the name of the template + to execute by the hook type: string templateRef: + description: TemplateRef is the reference to + the template resource to execute by the hook properties: clusterScope: + description: ClusterScope indicates the + referred template is cluster scoped (i.e. + a ClusterWorkflowTemplate). type: boolean name: + description: Name is the resource name of + the template. type: string template: + description: Template is the name of referred + template in the resource. type: string type: object type: object + description: |- + Hooks hold the lifecycle hook which is invoked at lifecycle of + task, irrespective of the success, failure, or error status of the primary task type: object inline: + description: |- + Inline is the template. Template must be empty if this is declared (and vice-versa). + Note: As mentioned in the corresponding definition in WorkflowStep, this struct is defined recursively, + so we need "x-kubernetes-preserve-unknown-fields: true" in the validation schema. x-kubernetes-preserve-unknown-fields: true name: + description: Name is the name of the target + maxLength: 128 + pattern: ^[a-zA-Z0-9][-a-zA-Z0-9]*$ type: string onExit: + description: |- + OnExit is a template reference which is invoked at the end of the + template, irrespective of the success, failure, or error of the + primary template. + DEPRECATED: Use Hooks[exit].Template instead. type: string template: + description: Name of template to execute type: string templateRef: + description: TemplateRef is the reference to the template + resource to execute. properties: clusterScope: + description: ClusterScope indicates the referred + template is cluster scoped (i.e. a ClusterWorkflowTemplate). type: boolean name: + description: Name is the resource name of the + template. type: string template: + description: Template is the name of referred + template in the resource. type: string type: object when: + description: When is an expression in which the task + should conditionally execute type: string withItems: + description: |- + WithItems expands a task into multiple parallel tasks from the items in the list + Note: The structure of WithItems is free-form, so we need + "x-kubernetes-preserve-unknown-fields: true" in the validation schema. x-kubernetes-preserve-unknown-fields: true withParam: + description: |- + WithParam expands a task into multiple parallel tasks from the value in the parameter, + which is expected to be a JSON list. type: string withSequence: + description: WithSequence expands a task into a numeric + sequence properties: count: anyOf: - type: integer - type: string + description: 'Count is number of elements in the + sequence (default: 0). Not to be used with end' x-kubernetes-int-or-string: true end: anyOf: - type: integer - type: string + description: 'Number at which to end the sequence + (default: 0). Not to be used with Count' x-kubernetes-int-or-string: true format: + description: Format is a printf format string + to format the value in the sequence type: string start: anyOf: - type: integer - type: string + description: 'Number at which to start the sequence + (default: 0)' x-kubernetes-int-or-string: true type: object + x-kubernetes-validations: + - message: only one of count or end can be defined + rule: '!(has(self.count) && has(self.end))' required: - name type: object + x-kubernetes-validations: + - message: cannot use both 'depends' and 'dependencies' + rule: '!has(self.depends) || !has(self.dependencies)' + - message: cannot use 'continueOn' when using 'depends' + rule: '!has(self.depends) || !has(self.continueOn)' + - message: task name cannot begin with a digit when using + 'depends' or 'dependencies' + rule: '!(has(self.depends) || has(self.dependencies)) + || !self.name.matches(''^[0-9]'')' + maxItems: 200 + minItems: 1 type: array required: - tasks type: object data: + description: Data is a data template properties: source: + description: Source sources external data into a data template properties: artifactPaths: + description: ArtifactPaths is a data transformation + that collects a list of artifact paths properties: archive: + description: Archive controls how the artifact will + be saved to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and gzip the + file or directory when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip zipped input + artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the container + logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy to + use when to deleting an artifact from completed + or deleted workflows properties: podMetadata: + description: PodMetadata is an optional field + for specifying the Labels and Annotations + that should be assigned to the Pod doing the + deletion properties: annotations: additionalProperties: @@ -16643,8 +23065,12 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an optional + field for specifying the Service Account that + should be assigned to the Pod doing the deletion type: string strategy: + description: Strategy is the strategy to use. enum: - "" - OnWorkflowCompletion @@ -16653,30 +23079,57 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory artifact + location details properties: passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -16686,27 +23139,50 @@ spec: - url type: object azure: + description: Azure contains Azure Storage artifact + location details properties: accountKeySecret: + description: AccountKeySecret is the secret + selector to the Azure Blob Storage account + access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., path) + in the container where the artifact resides type: string container: + description: Container is the container where + resources will be stored type: string endpoint: + description: Endpoint is the service url associated + with an account. It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver to + figure out credentials based on sdk defaults. type: boolean required: - blob @@ -16714,25 +23190,48 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to reference + an artifact from a previous step type: string fromExpression: + description: FromExpression, if defined, is evaluated + to specify the value for the artifact type: string gcs: + description: GCS contains GCS artifact location + details properties: bucket: + description: Bucket is the name of the bucket type: string key: + description: Key is the path in the bucket where + the artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is the + secret selector to the bucket's service account + key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -16742,62 +23241,119 @@ spec: - key type: object git: + description: Git contains git artifact location + details properties: branch: + description: Branch is the branch to fetch when + `SingleBranch` is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables submodules + during git clone type: boolean fetch: + description: Fetch specifies a number of refs + that should be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables + SSH strict host key checking during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables server + certificate verification resulting in insecure + HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, tag, + branch to checkout type: string singleBranch: + description: SingleBranch enables single branch + clone, using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the secret + selector to the repository ssh private key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -16807,96 +23363,191 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact location + details properties: addresses: + description: Addresses is accessible addresses + of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly even + if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location + details properties: auth: + description: Auth contains information for client + authentication properties: basicAuth: + description: BasicAuth describes the secret + selectors required for basic authentication properties: passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -16904,28 +23555,57 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds necessary + information for client authentication + via certificates properties: clientCertSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -16933,28 +23613,56 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all information + for client authentication via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -16962,10 +23670,17 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is for + requesting optional fields that + should be sent in the oauth request properties: key: + description: Name is the header + name type: string value: + description: Value is the literal + value to use for the header type: string required: - key @@ -16976,13 +23691,26 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -16991,11 +23719,19 @@ spec: type: object type: object headers: + description: Headers are an optional list of + headers to send with HTTP requests for artifacts items: + description: Header indicate a key-value request + header to be used when fetching artifacts + over HTTP properties: name: + description: Name is the header name type: string value: + description: Value is the literal value + to use for the header type: string required: - name @@ -17003,131 +23739,285 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must be unique + within a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if Artifacts + doesn't generate or exist type: boolean oss: + description: OSS contains OSS artifact location + details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells + the driver to attempt to create the OSS bucket + for output artifacts, if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname of the + bucket endpoint type: string key: + description: Key is the path in the bucket where + the artifact resides type: string lifecycleRule: + description: LifecycleRule specifies how to + manage bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays is the + number of days before we delete objects + in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before we convert + the objects in the bucket to Infrequent + Access (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s temporary + security token. For more details, check out: + https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver to + figure out credentials based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container path to the artifact type: string + plugin: + description: Plugin contains plugin artifact location + details + properties: + configuration: + description: Configuration is the plugin defined + configuration for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds is the + timeout for the artifact driver connection, + overriding the driver's timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact + repository where the artifact resides + type: string + name: + description: Name is the name of the artifact + driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location + details properties: data: + description: Data is the string contents of + the artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission + recursively into the artifact if it is a folder type: boolean s3: + description: S3 contains S3 artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string caSecret: + description: CASecret specifies the secret that + contains the CA, used to verify the TLS connection properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells + the driver to attempt to create the S3 bucket + for output artifacts, if it doesn't exist. + Setting Enabled Encryption will apply either + SSE-S3 to the bucket if KmsKeyId is not set + or SSE-KMS if it is. properties: objectLocking: + description: ObjectLocking Enable object + locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used to determine + encryption options during s3 operations properties: enableEncryption: + description: EnableEncryption tells the + driver to encrypt objects if set to true. + If kmsKeyId and serverSideCustomerKeySecret + are not set, SSE-S3 will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext is a json + blob that contains an encryption context. + See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver to + encrypt the object using the specified + KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret + tells the driver to encrypt the output + artifacts using SSE-C with the specified + secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -17135,54 +24025,104 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname of the + bucket endpoint type: string insecure: + description: Insecure will connect to the service + with TLS type: boolean key: + description: Key is the key in the bucket where + the artifact resides type: string region: + description: Region contains the optional bucket + region type: string roleARN: + description: RoleARN is the Amazon Resource + Name (ARN) of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used for + ephemeral credentials like an IAM assume role + or S3 access grant properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver to + figure out credentials based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact to be sourced + from a subpath within the specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 + : 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: object transformation: + description: Transformation applies a set of transformations items: properties: expression: + description: Expression defines an expr expression + to apply type: string required: - expression @@ -17193,37 +24133,56 @@ spec: - transformation type: object executor: + description: Executor holds configurations of the executor container. properties: serviceAccountName: + description: ServiceAccountName specifies the service account + name of the executor container. type: string type: object failFast: + description: |- + FailFast, if specified, will fail this template if any of its child pods has failed. This is useful for when this + template is expanded with `withItems`, etc. type: boolean hostAliases: + description: HostAliases is an optional list of hosts and IPs + that will be injected into the pod spec items: + description: |- + HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the + pod's hosts file. properties: hostnames: + description: Hostnames for the above IP address. items: type: string type: array x-kubernetes-list-type: atomic ip: + description: IP address of the host file entry. type: string required: - ip type: object type: array http: + description: HTTP makes a HTTP request properties: body: + description: Body is content of the HTTP Request type: string bodyFrom: + description: BodyFrom is content of the HTTP Request as + Bytes properties: bytes: format: byte type: string type: object headers: + description: Headers are an optional list of headers to + send with HTTP requests items: properties: name: @@ -17233,13 +24192,25 @@ spec: valueFrom: properties: secretKeyRef: + description: SecretKeySelector selects a key of + a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -17251,88 +24222,174 @@ spec: type: object type: array insecureSkipVerify: + description: InsecureSkipVerify is a bool when if set to + true will skip TLS verification for the HTTP client type: boolean method: + description: Method is HTTP methods for HTTP Request type: string successCondition: + description: SuccessCondition is an expression if evaluated + to true is considered successful type: string timeoutSeconds: + description: TimeoutSeconds is request timeout for HTTP + Request. Default is 30 seconds format: int64 type: integer url: + description: URL of the HTTP Request type: string required: - url type: object initContainers: + description: InitContainers is a list of containers which run + before the main container. items: + description: UserContainer is a container specified by a user. properties: args: + description: |- + Arguments to the entrypoint. + The container image's CMD is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic command: + description: |- + Entrypoint array. Not executed within a shell. + The container image's ENTRYPOINT is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic env: + description: |- + List of environment variables to set in the container. + Cannot be updated. items: + description: EnvVar represents an environment variable + present in a Container. properties: name: + description: Name of the environment variable. Must + be a C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. If a variable cannot be resolved, + the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. + "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". + Escaped references will never be expanded, regardless of whether the variable + exists or not. + Defaults to "". type: string valueFrom: + description: Source for the environment variable's + value. Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select + in the specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. properties: containerName: + description: 'Container name: required for + volumes, optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format + of the exposed resources, defaults to + "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic 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: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -17347,25 +24404,54 @@ spec: - name x-kubernetes-list-type: map envFrom: + description: |- + List of sources to populate environment variables in the container. + The keys defined within a source must be a C_IDENTIFIER. All invalid keys + will be reported as an event when the container is starting. When a key exists in multiple + sources, the value associated with the last source will take precedence. + Values defined by an Env with a duplicate key will take precedence. + Cannot be updated. items: + description: EnvFromSource represents the source of + a set of ConfigMaps or Secrets properties: configMapRef: + description: The ConfigMap to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap must + be defined type: boolean type: object x-kubernetes-map-type: atomic prefix: + description: Optional text to prepend to the name + of each environment variable. Must be a C_IDENTIFIER. type: string secretRef: + description: The Secret to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret must + be defined type: boolean type: object x-kubernetes-map-type: atomic @@ -17373,31 +24459,71 @@ spec: type: array x-kubernetes-list-type: atomic image: + description: |- + Container image name. + More info: https://kubernetes.io/docs/concepts/containers/images + This field is optional to allow higher level config management to default or override + container images in workload controllers like Deployments and StatefulSets. type: string imagePullPolicy: + description: |- + Image pull policy. + One of Always, Never, IfNotPresent. + Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/containers/images#updating-images type: string lifecycle: + description: |- + Actions that the management system should take in response to container lifecycle events. + Cannot be updated. properties: postStart: + description: |- + PostStart is called immediately after a container is created. If the handler fails, + the container is terminated and restarted according to its restart policy. + Other management of the container blocks until the hook completes. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the + request. HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -17406,58 +24532,111 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that + the container should sleep. properties: seconds: + description: Seconds is the number of seconds + to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object preStop: + description: |- + PreStop is called immediately before a container is terminated due to an + API request or management event such as liveness/startup probe failure, + preemption, resource contention, etc. The handler is not called if the + container crashes or exits. The Pod's termination grace period countdown begins before the + PreStop hook is executed. Regardless of the outcome of the handler, the + container will eventually terminate within the Pod's termination grace + period (unless delayed by finalizers). Other management of the container blocks until the hook completes + or until the termination grace period is reached. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the + request. HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -17466,75 +24645,138 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that + the container should sleep. properties: seconds: + description: Seconds is the number of seconds + to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object stopSignal: + description: |- + StopSignal defines which signal will be sent to a container when it is being stopped. + If not specified, the default is defined by the container runtime in use. + StopSignal can only be set for Pods with a non-empty .spec.os.name type: string type: object livenessProbe: + description: |- + Periodic probe of container liveness. + Container will be restarted if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -17543,64 +24785,140 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a + TCP port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object mirrorVolumeMounts: + description: |- + MirrorVolumeMounts will mount the same volumes specified in the main container + to the container (including artifacts), at the same mountPaths. This enables + dind daemon to partially see the same filesystem as the main container in + order to use features such as docker volume binding type: boolean name: + description: |- + Name of the container specified as a DNS_LABEL. + Each container in a pod must have a unique name (DNS_LABEL). + Cannot be updated. type: string ports: + description: |- + List of ports to expose from the container. Not specifying a port here + DOES NOT prevent that port from being exposed. Any port which is + listening on the default "0.0.0.0" address inside a container will be + accessible from the network. + Modifying this array with strategic merge patch may corrupt the data. + For more information See https://github.com/kubernetes/kubernetes/issues/108255. + Cannot be updated. items: + description: ContainerPort represents a network port + in a single container. properties: containerPort: + description: |- + Number of port to expose on the pod's IP address. + This must be a valid port number, 0 < x < 65536. format: int32 type: integer hostIP: + description: What host IP to bind the external port + to. type: string hostPort: + description: |- + Number of port to expose on the host. + If specified, this must be a valid port number, 0 < x < 65536. + If HostNetwork is specified, this must match ContainerPort. + Most containers do not need this. format: int32 type: integer name: + description: |- + If specified, this must be an IANA_SVC_NAME and unique within the pod. Each + named port in a pod must have a unique name. Name for the port that can be + referred to by services. type: string protocol: default: TCP + description: |- + Protocol for port. Must be UDP, TCP, or SCTP. + Defaults to "TCP". type: string required: - containerPort @@ -17611,39 +24929,76 @@ spec: - protocol x-kubernetes-list-type: map readinessProbe: + description: |- + Periodic probe of container service readiness. + Container will be removed from service endpoints if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -17652,51 +25007,100 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a + TCP port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object resizePolicy: + description: Resources resize policy for the container. items: + description: ContainerResizePolicy represents resource + resize policy for the container. properties: resourceName: + description: |- + Name of the resource to which this resource resize policy applies. + Supported values: cpu, memory. type: string restartPolicy: + description: |- + Restart policy to apply when specified resource is resized. + If not specified, it defaults to NotRequired. type: string required: - resourceName @@ -17705,13 +25109,35 @@ spec: type: array x-kubernetes-list-type: atomic resources: + description: |- + Compute Resources required by this container. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ properties: claims: + description: |- + Claims lists the names of resources, defined in spec.resourceClaims, + that are used by this container. + + This is an alpha field and requires enabling the + DynamicResourceAllocation feature gate. + + This field is immutable. It can only be set for containers. items: + description: ResourceClaim references one entry + in PodSpec.ResourceClaims. properties: name: + description: |- + Name must match the name of one entry in pod.spec.resourceClaims of + the Pod where this field is used. It makes that resource available + inside a container. type: string request: + description: |- + Request is the name chosen for a request in the referenced claim. + If empty, everything from the claim is made available, otherwise + only the result of this request. type: string required: - name @@ -17727,6 +25153,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -17735,116 +25164,300 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object type: object restartPolicy: + description: |- + RestartPolicy defines the restart behavior of individual containers in a pod. + This field may only be set for init containers, and the only allowed value is "Always". + For non-init containers or when this field is not specified, + the restart behavior is defined by the Pod's restart policy and the container type. + Setting the RestartPolicy as "Always" for the init container will have the following effect: + this init container will be continually restarted on + exit until all regular containers have terminated. Once all regular + containers have completed, all init containers with restartPolicy "Always" + will be shut down. This lifecycle differs from normal init containers and + is often referred to as a "sidecar" container. Although this init + container still starts in the init container sequence, it does not wait + for the container to complete before proceeding to the next init + container. Instead, the next init container starts immediately after this + init container is started, or after any startupProbe has successfully + completed. type: string securityContext: + description: |- + SecurityContext defines the security options the container should be run with. + If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. + More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ properties: allowPrivilegeEscalation: + description: |- + AllowPrivilegeEscalation controls whether a process can gain more + privileges than its parent process. This bool directly controls if + the no_new_privs flag will be set on the container process. + AllowPrivilegeEscalation is true always when the container is: + 1) run as Privileged + 2) has CAP_SYS_ADMIN + Note that this field cannot be set when spec.os.name is windows. type: boolean appArmorProfile: + description: |- + appArmorProfile is the AppArmor options to use by this container. If set, this profile + overrides the pod's appArmorProfile. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile loaded on the node that should be used. + The profile must be preconfigured on the node to work. + Must match the loaded name of the profile. + Must be set if and only if type is "Localhost". type: string type: + description: |- + type indicates which kind of AppArmor profile will be applied. + Valid options are: + Localhost - a profile pre-loaded on the node. + RuntimeDefault - the container runtime's default profile. + Unconfined - no AppArmor enforcement. type: string required: - type type: object capabilities: + description: |- + The capabilities to add/drop when running containers. + Defaults to the default set of capabilities granted by the container runtime. + Note that this field cannot be set when spec.os.name is windows. properties: add: + description: Added capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array x-kubernetes-list-type: atomic drop: + description: Removed capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array x-kubernetes-list-type: atomic type: object privileged: + description: |- + Run container in privileged mode. + Processes in privileged containers are essentially equivalent to root on the host. + Defaults to false. + Note that this field cannot be set when spec.os.name is windows. type: boolean procMount: + description: |- + procMount denotes the type of proc mount to use for the containers. + The default value is Default which uses the container runtime defaults for + readonly paths and masked paths. + This requires the ProcMountType feature flag to be enabled. + Note that this field cannot be set when spec.os.name is windows. type: string readOnlyRootFilesystem: + description: |- + Whether this container has a read-only root filesystem. + Default is false. + Note that this field cannot be set when spec.os.name is windows. type: boolean runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer runAsNonRoot: + description: |- + Indicates that the container must run as a non-root user. + If true, the Kubelet will validate the image at runtime to ensure that it + does not run as UID 0 (root) and fail to start the container if it does. + If unset or false, no such validation will be performed. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to the container. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. properties: level: + description: Level is SELinux level label that + applies to the container. type: string role: + description: Role is a SELinux role label that + applies to the container. type: string type: + description: Type is a SELinux type label that + applies to the container. type: string user: + description: User is a SELinux user label that + applies to the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by this container. If seccomp options are + provided at both the pod & container level, the container options + override the pod options. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. + Must be a descending path, relative to the kubelet's configured seccomp profile location. + Must be set if type is "Localhost". Must NOT be set for any other type. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + Localhost - a profile defined in a file on the node should be used. + RuntimeDefault - the container runtime default profile should be used. + Unconfined - no profile should be applied. type: string required: - type type: object windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options from the PodSecurityContext will be used. + If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is linux. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name + of the GMSA credential spec to use. type: string hostProcess: + description: |- + HostProcess determines if a container should be run as a 'Host Process' container. + All of a Pod's containers must have the same effective HostProcess value + (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + In addition, if HostProcess is true then HostNetwork must also be set to true. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: string type: object type: object startupProbe: + description: |- + StartupProbe indicates that the Pod has successfully initialized. + If specified, no other probes are executed until this completes successfully. + If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. + This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, + when it might take a long time to load data or warm a cache, than during steady-state operation. + This cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -17853,61 +25466,140 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a + TCP port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object stdin: + description: |- + Whether this container should allocate a buffer for stdin in the container runtime. If this + is not set, reads from stdin in the container will always result in EOF. + Default is false. type: boolean stdinOnce: + description: |- + Whether the container runtime should close the stdin channel after it has been opened by + a single attach. When stdin is true the stdin stream will remain open across multiple attach + sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the + first client attaches to stdin, and then remains open and accepts data until the client disconnects, + at which time stdin is closed and remains closed until the container is restarted. If this + flag is false, a container processes that reads from stdin will never receive an EOF. + Default is false type: boolean terminationMessagePath: + description: |- + Optional: Path at which the file to which the container's termination message + will be written is mounted into the container's filesystem. + Message written is intended to be brief final status, such as an assertion failure message. + Will be truncated by the node if greater than 4096 bytes. The total message length across + all containers will be limited to 12kb. + Defaults to /dev/termination-log. + Cannot be updated. type: string terminationMessagePolicy: + description: |- + Indicate how the termination message should be populated. File will use the contents of + terminationMessagePath to populate the container status message on both success and failure. + FallbackToLogsOnError will use the last chunk of container log output if the termination + message file is empty and the container exited with an error. + The log output is limited to 2048 bytes or 80 lines, whichever is smaller. + Defaults to File. + Cannot be updated. type: string tty: + description: |- + Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. + Default is false. type: boolean volumeDevices: + description: volumeDevices is the list of block devices + to be used by the container. items: + description: volumeDevice describes a mapping of a raw + block device within a container. properties: devicePath: + description: devicePath is the path inside of the + container that the device will be mapped to. type: string name: + description: name must match the name of a persistentVolumeClaim + in the pod type: string required: - devicePath @@ -17918,21 +25610,65 @@ spec: - devicePath x-kubernetes-list-type: map volumeMounts: + description: |- + Pod volumes to mount into the container's filesystem. + Cannot be updated. items: + description: VolumeMount describes a mounting of a Volume + within a container. properties: mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. type: string mountPropagation: + description: |- + mountPropagation determines how mounts are propagated from the host + to container and the other way around. + When not set, MountPropagationNone is used. + This field is beta in 1.10. + When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + (which defaults to None). type: string name: + description: This must match the Name of a Volume. type: string readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. type: boolean recursiveReadOnly: + description: |- + RecursiveReadOnly specifies whether read-only mounts should be handled + recursively. + + If ReadOnly is false, this field has no meaning and must be unspecified. + + If ReadOnly is true, and this field is set to Disabled, the mount is not made + recursively read-only. If this field is set to IfPossible, the mount is made + recursively read-only, if it is supported by the container runtime. If this + field is set to Enabled, the mount is made recursively read-only if it is + supported by the container runtime, otherwise the pod will not be started and + an error will be generated to indicate the reason. + + If this field is set to IfPossible or Enabled, MountPropagation must be set to + None (or be unspecified, which defaults to None). + + If this field is not specified, it is treated as an equivalent of Disabled. type: string subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). type: string subPathExpr: + description: |- + Expanded path within the volume from which the container's volume should be mounted. + Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. + Defaults to "" (volume's root). + SubPathExpr and SubPath are mutually exclusive. type: string required: - mountPath @@ -17943,34 +25679,66 @@ spec: - mountPath x-kubernetes-list-type: map workingDir: + description: |- + Container's working directory. + If not specified, the container runtime's default will be used, which + might be configured in the container image. + Cannot be updated. type: string required: - name type: object type: array inputs: + description: Inputs describe what inputs parameters and artifacts + are supplied to this template properties: artifacts: + description: Artifact are a list of artifacts passed as + inputs items: + description: Artifact indicates an artifact to place at + a specified path properties: archive: + description: Archive controls how the artifact will + be saved to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and gzip the + file or directory when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip zipped input + artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the container + logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy to + use when to deleting an artifact from completed + or deleted workflows properties: podMetadata: + description: PodMetadata is an optional field + for specifying the Labels and Annotations that + should be assigned to the Pod doing the deletion properties: annotations: additionalProperties: @@ -17982,8 +25750,12 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an optional + field for specifying the Service Account that + should be assigned to the Pod doing the deletion type: string strategy: + description: Strategy is the strategy to use. enum: - "" - OnWorkflowCompletion @@ -17992,30 +25764,57 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory artifact + location details properties: passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -18025,27 +25824,49 @@ spec: - url type: object azure: + description: Azure contains Azure Storage artifact + location details properties: accountKeySecret: + description: AccountKeySecret is the secret selector + to the Azure Blob Storage account access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., path) + in the container where the artifact resides type: string container: + description: Container is the container where + resources will be stored type: string endpoint: + description: Endpoint is the service url associated + with an account. It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - blob @@ -18053,25 +25874,46 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to reference + an artifact from a previous step type: string fromExpression: + description: FromExpression, if defined, is evaluated + to specify the value for the artifact type: string gcs: + description: GCS contains GCS artifact location details properties: bucket: + description: Bucket is the name of the bucket type: string key: + description: Key is the path in the bucket where + the artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is the secret + selector to the bucket's service account key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -18081,62 +25923,117 @@ spec: - key type: object git: + description: Git contains git artifact location details properties: branch: + description: Branch is the branch to fetch when + `SingleBranch` is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables submodules + during git clone type: boolean fetch: + description: Fetch specifies a number of refs + that should be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables SSH + strict host key checking during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables server certificate + verification resulting in insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, tag, + branch to checkout type: string singleBranch: + description: SingleBranch enables single branch + clone, using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the secret + selector to the repository ssh private key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -18146,96 +26043,191 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact location + details properties: addresses: + description: Addresses is accessible addresses + of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly even + if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location + details properties: auth: + description: Auth contains information for client + authentication properties: basicAuth: + description: BasicAuth describes the secret + selectors required for basic authentication properties: passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -18243,28 +26235,57 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds necessary + information for client authentication via + certificates properties: clientCertSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -18272,28 +26293,56 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all information + for client authentication via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -18301,10 +26350,17 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is for requesting + optional fields that should be sent + in the oauth request properties: key: + description: Name is the header + name type: string value: + description: Value is the literal + value to use for the header type: string required: - key @@ -18315,13 +26371,26 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -18330,11 +26399,19 @@ spec: type: object type: object headers: + description: Headers are an optional list of headers + to send with HTTP requests for artifacts items: + description: Header indicate a key-value request + header to be used when fetching artifacts + over HTTP properties: name: + description: Name is the header name type: string value: + description: Value is the literal value + to use for the header type: string required: - name @@ -18342,131 +26419,281 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must be unique + within a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if Artifacts + doesn't generate or exist type: boolean oss: + description: OSS contains OSS artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the + driver to attempt to create the OSS bucket for + output artifacts, if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string key: + description: Key is the path in the bucket where + the artifact resides type: string lifecycleRule: + description: LifecycleRule specifies how to manage + bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays is the + number of days before we delete objects + in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before we convert + the objects in the bucket to Infrequent + Access (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s temporary + security token. For more details, check out: + https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container path to the artifact type: string + plugin: + description: Plugin contains plugin artifact location + details + properties: + configuration: + description: Configuration is the plugin defined + configuration for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds is the timeout + for the artifact driver connection, overriding + the driver's timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact repository + where the artifact resides + type: string + name: + description: Name is the name of the artifact + driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location details properties: data: + description: Data is the string contents of the + artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission + recursively into the artifact if it is a folder type: boolean s3: + description: S3 contains S3 artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string caSecret: + description: CASecret specifies the secret that + contains the CA, used to verify the TLS connection properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the + driver to attempt to create the S3 bucket for + output artifacts, if it doesn't exist. Setting + Enabled Encryption will apply either SSE-S3 + to the bucket if KmsKeyId is not set or SSE-KMS + if it is. properties: objectLocking: + description: ObjectLocking Enable object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used to determine + encryption options during s3 operations properties: enableEncryption: + description: EnableEncryption tells the driver + to encrypt objects if set to true. If kmsKeyId + and serverSideCustomerKeySecret are not + set, SSE-S3 will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext is a json + blob that contains an encryption context. + See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver to + encrypt the object using the specified KMS + Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret tells + the driver to encrypt the output artifacts + using SSE-C with the specified secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -18474,127 +26701,239 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string insecure: + description: Insecure will connect to the service + with TLS type: boolean key: + description: Key is the key in the bucket where + the artifact resides type: string region: + description: Region contains the optional bucket + region type: string roleARN: + description: RoleARN is the Amazon Resource Name + (ARN) of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used for ephemeral + credentials like an IAM assume role or S3 access + grant properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact to be sourced + from a subpath within the specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : + 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array parameters: + description: |- + Parameters are a list of parameters passed as inputs + MaxItems is an artificial limit to limit CEL validation costs - see note at top of file items: + description: Parameter indicate a passed string parameter + to a service template with an optional default value properties: default: + description: Default is the default value to use for + an input parameter if a value was not supplied type: string description: + description: Description is the parameter description type: string enum: + description: Enum holds a list of string values to + choose from, for the actual value of the parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source for the output + parameter's value properties: configMapKeyRef: + description: ConfigMapKeyRef is configmap selector + for input parameter configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies a value to be used + if retrieving the value from the specified source + fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the event to get the + value of the parameter. E.g. `payload.message` type: string expression: + description: Expression, if defined, is evaluated + to specify the value for the parameter type: string jqFilter: + description: JQFilter expression against the resource + object in resource templates type: string jsonPath: + description: JSONPath of a resource to retrieve + an output parameter value from in resource templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container to retrieve + an output parameter value from in container + templates type: string supplied: + description: Supplied value to be filled in directly, + either through the CLI, API, etc. type: object type: object required: - name type: object + maxItems: 500 type: array type: object memoize: + description: Memoize allows templates to use outputs generated + from already executed templates properties: cache: + description: Cache sets and configures the kind of cache properties: configMap: + description: ConfigMap sets a ConfigMap-based cache properties: - key: - type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string - optional: - type: boolean - required: - - key type: object x-kubernetes-map-type: atomic required: - configMap type: object key: + description: Key is the key to use as the caching key type: string maxAge: + description: |- + MaxAge is the maximum age (e.g. "180s", "24h") of an entry that is still considered valid. If an entry is older + than the MaxAge, it will be ignored. type: string required: - cache @@ -18602,6 +26941,8 @@ spec: - maxAge type: object metadata: + description: Metadata sets the pods's metadata, i.e. annotations + and labels properties: annotations: additionalProperties: @@ -18613,47 +26954,87 @@ spec: type: object type: object metrics: + description: Metrics are a list of metrics emitted from this + template properties: prometheus: + description: |- + Prometheus is a list of prometheus metrics to be emitted + MaxItems is an artificial limit to limit CEL validation costs - see note at top of file items: + description: Prometheus is a prometheus metric to be emitted properties: counter: + description: Counter is a counter metric properties: value: + description: Value is the value of the metric + minLength: 1 type: string required: - value type: object gauge: + description: Gauge is a gauge metric properties: operation: + description: Operation defines the operation to + apply with value and the metrics' current value + enum: + - Set + - Add + - Sub type: string realtime: + description: Realtime emits this metric in real + time if applicable type: boolean value: + description: |- + Value is the value to be used in the operation with the metric's current value. If no operation is set, + value is the value of the metric + MaxLength is an artificial limit to limit CEL validation costs - see note at top of file + maxLength: 256 + minLength: 1 type: string required: - realtime - value type: object + x-kubernetes-validations: + - message: '''resourcesDuration.*'' metrics cannot + be used in real-time gauges' + rule: '!has(self.realtime) || !self.realtime || + !self.value.contains(''resourcesDuration.'')' help: + description: Help is a string that describes the metric + minLength: 1 type: string histogram: + description: Histogram is a histogram metric properties: buckets: + description: Buckets is a list of bucket divisors + for the histogram items: type: number type: array value: + description: Value is the value of the metric + minLength: 1 type: string required: - buckets - value type: object labels: + description: Labels is a list of metric labels items: + description: MetricLabel is a single label for a + prometheus metric properties: key: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ type: string value: type: string @@ -18663,46 +27044,84 @@ spec: type: object type: array name: + description: Name is the name of the metric + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ type: string when: + description: When is a conditional statement that + decides when to emit the metric type: string required: - help - name type: object + maxItems: 100 type: array required: - prometheus type: object name: + description: Name is the name of the template + maxLength: 128 + pattern: ^[a-zA-Z0-9][-a-zA-Z0-9]*$ type: string nodeSelector: additionalProperties: type: string + description: |- + NodeSelector is a selector to schedule this step of the workflow to be + run on the selected node(s). Overrides the selector set at the workflow level. type: object outputs: + description: Outputs describe the parameters and artifacts that + this template produces properties: artifacts: + description: Artifacts holds the list of output artifacts + produced by a step items: + description: Artifact indicates an artifact to place at + a specified path properties: archive: + description: Archive controls how the artifact will + be saved to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and gzip the + file or directory when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip zipped input + artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the container + logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy to + use when to deleting an artifact from completed + or deleted workflows properties: podMetadata: + description: PodMetadata is an optional field + for specifying the Labels and Annotations that + should be assigned to the Pod doing the deletion properties: annotations: additionalProperties: @@ -18714,8 +27133,12 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an optional + field for specifying the Service Account that + should be assigned to the Pod doing the deletion type: string strategy: + description: Strategy is the strategy to use. enum: - "" - OnWorkflowCompletion @@ -18724,30 +27147,57 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory artifact + location details properties: passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -18757,27 +27207,49 @@ spec: - url type: object azure: + description: Azure contains Azure Storage artifact + location details properties: accountKeySecret: + description: AccountKeySecret is the secret selector + to the Azure Blob Storage account access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., path) + in the container where the artifact resides type: string container: + description: Container is the container where + resources will be stored type: string endpoint: + description: Endpoint is the service url associated + with an account. It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - blob @@ -18785,25 +27257,46 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to reference + an artifact from a previous step type: string fromExpression: + description: FromExpression, if defined, is evaluated + to specify the value for the artifact type: string gcs: + description: GCS contains GCS artifact location details properties: bucket: + description: Bucket is the name of the bucket type: string key: + description: Key is the path in the bucket where + the artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is the secret + selector to the bucket's service account key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -18813,62 +27306,117 @@ spec: - key type: object git: + description: Git contains git artifact location details properties: branch: + description: Branch is the branch to fetch when + `SingleBranch` is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables submodules + during git clone type: boolean fetch: + description: Fetch specifies a number of refs + that should be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables SSH + strict host key checking during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables server certificate + verification resulting in insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, tag, + branch to checkout type: string singleBranch: + description: SingleBranch enables single branch + clone, using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the secret + selector to the repository ssh private key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -18878,96 +27426,191 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact location + details properties: addresses: + description: Addresses is accessible addresses + of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly even + if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location + details properties: auth: + description: Auth contains information for client + authentication properties: basicAuth: + description: BasicAuth describes the secret + selectors required for basic authentication properties: passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -18975,28 +27618,57 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds necessary + information for client authentication via + certificates properties: clientCertSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -19004,28 +27676,56 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all information + for client authentication via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -19033,10 +27733,17 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is for requesting + optional fields that should be sent + in the oauth request properties: key: + description: Name is the header + name type: string value: + description: Value is the literal + value to use for the header type: string required: - key @@ -19047,13 +27754,26 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -19062,11 +27782,19 @@ spec: type: object type: object headers: + description: Headers are an optional list of headers + to send with HTTP requests for artifacts items: + description: Header indicate a key-value request + header to be used when fetching artifacts + over HTTP properties: name: + description: Name is the header name type: string value: + description: Value is the literal value + to use for the header type: string required: - name @@ -19074,131 +27802,281 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must be unique + within a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if Artifacts + doesn't generate or exist type: boolean oss: + description: OSS contains OSS artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the + driver to attempt to create the OSS bucket for + output artifacts, if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string key: + description: Key is the path in the bucket where + the artifact resides type: string lifecycleRule: + description: LifecycleRule specifies how to manage + bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays is the + number of days before we delete objects + in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before we convert + the objects in the bucket to Infrequent + Access (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s temporary + security token. For more details, check out: + https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container path to the artifact type: string + plugin: + description: Plugin contains plugin artifact location + details + properties: + configuration: + description: Configuration is the plugin defined + configuration for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds is the timeout + for the artifact driver connection, overriding + the driver's timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact repository + where the artifact resides + type: string + name: + description: Name is the name of the artifact + driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location details properties: data: + description: Data is the string contents of the + artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission + recursively into the artifact if it is a folder type: boolean s3: + description: S3 contains S3 artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string caSecret: + description: CASecret specifies the secret that + contains the CA, used to verify the TLS connection properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the + driver to attempt to create the S3 bucket for + output artifacts, if it doesn't exist. Setting + Enabled Encryption will apply either SSE-S3 + to the bucket if KmsKeyId is not set or SSE-KMS + if it is. properties: objectLocking: + description: ObjectLocking Enable object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used to determine + encryption options during s3 operations properties: enableEncryption: + description: EnableEncryption tells the driver + to encrypt objects if set to true. If kmsKeyId + and serverSideCustomerKeySecret are not + set, SSE-S3 will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext is a json + blob that contains an encryption context. + See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver to + encrypt the object using the specified KMS + Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret tells + the driver to encrypt the output artifacts + using SSE-C with the specified secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -19206,99 +28084,202 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string insecure: + description: Insecure will connect to the service + with TLS type: boolean key: + description: Key is the key in the bucket where + the artifact resides type: string region: + description: Region contains the optional bucket + region type: string roleARN: + description: RoleARN is the Amazon Resource Name + (ARN) of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used for ephemeral + credentials like an IAM assume role or S3 access + grant properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact to be sourced + from a subpath within the specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : + 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array exitCode: + description: ExitCode holds the exit code of a script template type: string parameters: + description: Parameters holds the list of output parameters + produced by a step items: + description: Parameter indicate a passed string parameter + to a service template with an optional default value properties: default: + description: Default is the default value to use for + an input parameter if a value was not supplied type: string description: + description: Description is the parameter description type: string enum: + description: Enum holds a list of string values to + choose from, for the actual value of the parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source for the output + parameter's value properties: configMapKeyRef: + description: ConfigMapKeyRef is configmap selector + for input parameter configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies a value to be used + if retrieving the value from the specified source + fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the event to get the + value of the parameter. E.g. `payload.message` type: string expression: + description: Expression, if defined, is evaluated + to specify the value for the parameter type: string jqFilter: + description: JQFilter expression against the resource + object in resource templates type: string jsonPath: + description: JSONPath of a resource to retrieve + an output parameter value from in resource templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container to retrieve + an output parameter value from in container + templates type: string supplied: + description: Supplied value to be filled in directly, + either through the CLI, API, etc. type: object type: object required: @@ -19306,52 +28287,112 @@ spec: type: object type: array result: + description: Result holds the result (stdout) of a script + or container template, or the response body of an HTTP + template type: string type: object parallelism: + description: |- + Parallelism limits the max total parallel pods that can execute at the same time within the + boundaries of this template invocation. If additional steps/dag templates are invoked, the + pods created by those templates will not be counted towards this total. format: int64 + minimum: 1 type: integer plugin: + description: |- + Plugin is a plugin template + Note: the structure of a plugin template is free-form, so we need to have + "x-kubernetes-preserve-unknown-fields: true" in the validation schema. type: object x-kubernetes-preserve-unknown-fields: true podSpecPatch: + description: |- + PodSpecPatch holds strategic merge patch to apply against the pod spec. Allows parameterization of + container fields which are not strings (e.g. resource limits). type: string priorityClassName: + description: PriorityClassName to apply to workflow pods. type: string resource: + description: Resource template subtype which can run k8s resources properties: action: + description: |- + Action is the action to perform to the resource. + Must be one of: get, create, apply, delete, replace, patch + enum: + - get + - create + - apply + - delete + - replace + - patch type: string failureCondition: + description: |- + FailureCondition is a label selector expression which describes the conditions + of the k8s resource in which the step was considered failed type: string flags: + description: "Flags is a set of additional options passed + to kubectl before submitting a resource\nI.e. to disable + resource validation:\nflags: [\n\t\"--validate=false\" + \ # disable resource validation\n]" items: type: string type: array manifest: + description: Manifest contains the kubernetes manifest type: string manifestFrom: + description: ManifestFrom is the source for a single kubernetes + manifest properties: artifact: + description: Artifact contains the artifact to use properties: archive: + description: Archive controls how the artifact will + be saved to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and gzip the + file or directory when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip zipped input + artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the container + logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy to + use when to deleting an artifact from completed + or deleted workflows properties: podMetadata: + description: PodMetadata is an optional field + for specifying the Labels and Annotations + that should be assigned to the Pod doing the + deletion properties: annotations: additionalProperties: @@ -19363,8 +28404,12 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an optional + field for specifying the Service Account that + should be assigned to the Pod doing the deletion type: string strategy: + description: Strategy is the strategy to use. enum: - "" - OnWorkflowCompletion @@ -19373,30 +28418,57 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory artifact + location details properties: passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -19406,27 +28478,50 @@ spec: - url type: object azure: + description: Azure contains Azure Storage artifact + location details properties: accountKeySecret: + description: AccountKeySecret is the secret + selector to the Azure Blob Storage account + access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., path) + in the container where the artifact resides type: string container: + description: Container is the container where + resources will be stored type: string endpoint: + description: Endpoint is the service url associated + with an account. It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver to + figure out credentials based on sdk defaults. type: boolean required: - blob @@ -19434,25 +28529,48 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to reference + an artifact from a previous step type: string fromExpression: + description: FromExpression, if defined, is evaluated + to specify the value for the artifact type: string gcs: + description: GCS contains GCS artifact location + details properties: bucket: + description: Bucket is the name of the bucket type: string key: + description: Key is the path in the bucket where + the artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is the + secret selector to the bucket's service account + key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -19462,62 +28580,119 @@ spec: - key type: object git: + description: Git contains git artifact location + details properties: branch: + description: Branch is the branch to fetch when + `SingleBranch` is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables submodules + during git clone type: boolean fetch: + description: Fetch specifies a number of refs + that should be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables + SSH strict host key checking during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables server + certificate verification resulting in insecure + HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, tag, + branch to checkout type: string singleBranch: + description: SingleBranch enables single branch + clone, using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the secret + selector to the repository ssh private key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -19527,96 +28702,191 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact location + details properties: addresses: + description: Addresses is accessible addresses + of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly even + if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location + details properties: auth: + description: Auth contains information for client + authentication properties: basicAuth: + description: BasicAuth describes the secret + selectors required for basic authentication properties: passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -19624,28 +28894,57 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds necessary + information for client authentication + via certificates properties: clientCertSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -19653,28 +28952,56 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all information + for client authentication via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -19682,10 +29009,17 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is for + requesting optional fields that + should be sent in the oauth request properties: key: + description: Name is the header + name type: string value: + description: Value is the literal + value to use for the header type: string required: - key @@ -19696,13 +29030,26 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -19711,11 +29058,19 @@ spec: type: object type: object headers: + description: Headers are an optional list of + headers to send with HTTP requests for artifacts items: + description: Header indicate a key-value request + header to be used when fetching artifacts + over HTTP properties: name: + description: Name is the header name type: string value: + description: Value is the literal value + to use for the header type: string required: - name @@ -19723,131 +29078,285 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must be unique + within a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if Artifacts + doesn't generate or exist type: boolean oss: + description: OSS contains OSS artifact location + details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells + the driver to attempt to create the OSS bucket + for output artifacts, if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname of the + bucket endpoint type: string key: + description: Key is the path in the bucket where + the artifact resides type: string lifecycleRule: + description: LifecycleRule specifies how to + manage bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays is the + number of days before we delete objects + in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before we convert + the objects in the bucket to Infrequent + Access (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s temporary + security token. For more details, check out: + https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver to + figure out credentials based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container path to the artifact type: string + plugin: + description: Plugin contains plugin artifact location + details + properties: + configuration: + description: Configuration is the plugin defined + configuration for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds is the + timeout for the artifact driver connection, + overriding the driver's timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact + repository where the artifact resides + type: string + name: + description: Name is the name of the artifact + driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location + details properties: data: + description: Data is the string contents of + the artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission + recursively into the artifact if it is a folder type: boolean s3: + description: S3 contains S3 artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string caSecret: + description: CASecret specifies the secret that + contains the CA, used to verify the TLS connection properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells + the driver to attempt to create the S3 bucket + for output artifacts, if it doesn't exist. + Setting Enabled Encryption will apply either + SSE-S3 to the bucket if KmsKeyId is not set + or SSE-KMS if it is. properties: objectLocking: + description: ObjectLocking Enable object + locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used to determine + encryption options during s3 operations properties: enableEncryption: + description: EnableEncryption tells the + driver to encrypt objects if set to true. + If kmsKeyId and serverSideCustomerKeySecret + are not set, SSE-S3 will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext is a json + blob that contains an encryption context. + See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver to + encrypt the object using the specified + KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret + tells the driver to encrypt the output + artifacts using SSE-C with the specified + secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -19855,162 +29364,339 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname of the + bucket endpoint type: string insecure: + description: Insecure will connect to the service + with TLS type: boolean key: + description: Key is the key in the bucket where + the artifact resides type: string region: + description: Region contains the optional bucket + region type: string roleARN: + description: RoleARN is the Amazon Resource + Name (ARN) of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used for + ephemeral credentials like an IAM assume role + or S3 access grant properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver to + figure out credentials based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact to be sourced + from a subpath within the specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 + : 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' required: - artifact type: object mergeStrategy: + description: |- + MergeStrategy is the strategy used to merge a patch. It defaults to "strategic" + Must be one of: strategic, merge, json + enum: + - strategic + - merge + - json type: string setOwnerReference: + description: SetOwnerReference sets the reference to the + workflow on the OwnerReference of generated resource. type: boolean successCondition: + description: |- + SuccessCondition is a label selector expression which describes the conditions + of the k8s resource in which it is acceptable to proceed to the following step type: string required: - action type: object + x-kubernetes-validations: + - message: only one of manifest or manifestFrom can be specified + rule: (has(self.manifest) && !has(self.manifestFrom)) || (!has(self.manifest) + && has(self.manifestFrom)) || (!has(self.manifest) && !has(self.manifestFrom)) retryStrategy: + description: RetryStrategy describes how to retry a template + when it fails properties: affinity: + description: Affinity prevents running workflow's step on + the same host properties: nodeAntiAffinity: + description: |- + RetryNodeAntiAffinity is a placeholder for future expansion, only empty nodeAntiAffinity is allowed. + In order to prevent running steps on the same host, it uses "kubernetes.io/hostname". type: object type: object backoff: + description: Backoff is a backoff strategy properties: cap: + description: |- + Cap is a limit on revised values of the duration parameter. If a + multiplication by the factor parameter would make the duration + exceed the cap then the duration is set to the cap type: string duration: + description: Duration is the amount to back off. Default + unit is seconds, but could also be a duration (e.g. + "2m", "1h") type: string factor: anyOf: - type: integer - type: string + description: Factor is a factor to multiply the base + duration after each failed retry x-kubernetes-int-or-string: true maxDuration: + description: |- + MaxDuration is the maximum amount of time allowed for a workflow in the backoff strategy. + It is important to note that if the workflow template includes activeDeadlineSeconds, the pod's deadline is initially set with activeDeadlineSeconds. + However, when the workflow fails, the pod's deadline is then overridden by maxDuration. + This ensures that the workflow does not exceed the specified maximum duration when retries are involved. type: string type: object expression: + description: |- + Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not + be retried and the retry strategy will be ignored type: string limit: anyOf: - type: integer - type: string + description: |- + Limit is the maximum number of retry attempts when retrying a container. It does not include the original + container; the maximum number of total attempts will be `limit + 1`. x-kubernetes-int-or-string: true retryPolicy: + description: RetryPolicy is a policy of NodePhase statuses + that will be retried + enum: + - Always + - OnFailure + - OnError + - OnTransientError type: string type: object schedulerName: + description: |- + If specified, the pod will be dispatched by specified scheduler. + Or it will be dispatched by workflow scope scheduler if specified. + If neither specified, the pod will be dispatched by default scheduler. type: string script: + description: Script runs a portion of code against an interpreter properties: args: + description: |- + Arguments to the entrypoint. + The container image's CMD is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic command: + description: |- + Entrypoint array. Not executed within a shell. + The container image's ENTRYPOINT is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic env: + description: |- + List of environment variables to set in the container. + Cannot be updated. items: + description: EnvVar represents an environment variable + present in a Container. properties: name: + description: Name of the environment variable. Must + be a C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. If a variable cannot be resolved, + the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. + "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". + Escaped references will never be expanded, regardless of whether the variable + exists or not. + Defaults to "". type: string valueFrom: + description: Source for the environment variable's + value. Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in + the specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. properties: containerName: + description: 'Container name: required for + volumes, optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of + the exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic 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: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -20025,25 +29711,54 @@ spec: - name x-kubernetes-list-type: map envFrom: + description: |- + List of sources to populate environment variables in the container. + The keys defined within a source must be a C_IDENTIFIER. All invalid keys + will be reported as an event when the container is starting. When a key exists in multiple + sources, the value associated with the last source will take precedence. + Values defined by an Env with a duplicate key will take precedence. + Cannot be updated. items: + description: EnvFromSource represents the source of a + set of ConfigMaps or Secrets properties: configMapRef: + description: The ConfigMap to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap must + be defined type: boolean type: object x-kubernetes-map-type: atomic prefix: + description: Optional text to prepend to the name + of each environment variable. Must be a C_IDENTIFIER. type: string secretRef: + description: The Secret to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret must be + defined type: boolean type: object x-kubernetes-map-type: atomic @@ -20051,31 +29766,71 @@ spec: type: array x-kubernetes-list-type: atomic image: + description: |- + Container image name. + More info: https://kubernetes.io/docs/concepts/containers/images + This field is optional to allow higher level config management to default or override + container images in workload controllers like Deployments and StatefulSets. type: string imagePullPolicy: + description: |- + Image pull policy. + One of Always, Never, IfNotPresent. + Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/containers/images#updating-images type: string lifecycle: + description: |- + Actions that the management system should take in response to container lifecycle events. + Cannot be updated. properties: postStart: + description: |- + PostStart is called immediately after a container is created. If the handler fails, + the container is terminated and restarted according to its restart policy. + Other management of the container blocks until the hook completes. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -20084,58 +29839,111 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that the + container should sleep. properties: seconds: + description: Seconds is the number of seconds + to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object preStop: + description: |- + PreStop is called immediately before a container is terminated due to an + API request or management event such as liveness/startup probe failure, + preemption, resource contention, etc. The handler is not called if the + container crashes or exits. The Pod's termination grace period countdown begins before the + PreStop hook is executed. Regardless of the outcome of the handler, the + container will eventually terminate within the Pod's termination grace + period (unless delayed by finalizers). Other management of the container blocks until the hook completes + or until the termination grace period is reached. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -20144,75 +29952,138 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that the + container should sleep. properties: seconds: + description: Seconds is the number of seconds + to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object stopSignal: + description: |- + StopSignal defines which signal will be sent to a container when it is being stopped. + If not specified, the default is defined by the container runtime in use. + StopSignal can only be set for Pods with a non-empty .spec.os.name type: string type: object livenessProbe: + description: |- + Periodic probe of container liveness. + Container will be restarted if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. Number + must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request to + perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -20221,62 +30092,133 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a TCP + port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object name: + description: |- + Name of the container specified as a DNS_LABEL. + Each container in a pod must have a unique name (DNS_LABEL). + Cannot be updated. type: string ports: + description: |- + List of ports to expose from the container. Not specifying a port here + DOES NOT prevent that port from being exposed. Any port which is + listening on the default "0.0.0.0" address inside a container will be + accessible from the network. + Modifying this array with strategic merge patch may corrupt the data. + For more information See https://github.com/kubernetes/kubernetes/issues/108255. + Cannot be updated. items: + description: ContainerPort represents a network port in + a single container. properties: containerPort: + description: |- + Number of port to expose on the pod's IP address. + This must be a valid port number, 0 < x < 65536. format: int32 type: integer hostIP: + description: What host IP to bind the external port + to. type: string hostPort: + description: |- + Number of port to expose on the host. + If specified, this must be a valid port number, 0 < x < 65536. + If HostNetwork is specified, this must match ContainerPort. + Most containers do not need this. format: int32 type: integer name: + description: |- + If specified, this must be an IANA_SVC_NAME and unique within the pod. Each + named port in a pod must have a unique name. Name for the port that can be + referred to by services. type: string protocol: default: TCP + description: |- + Protocol for port. Must be UDP, TCP, or SCTP. + Defaults to "TCP". type: string required: - containerPort @@ -20287,39 +30229,76 @@ spec: - protocol x-kubernetes-list-type: map readinessProbe: + description: |- + Periodic probe of container service readiness. + Container will be removed from service endpoints if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. Number + must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request to + perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -20328,51 +30307,100 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a TCP + port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object resizePolicy: + description: Resources resize policy for the container. items: + description: ContainerResizePolicy represents resource + resize policy for the container. properties: resourceName: + description: |- + Name of the resource to which this resource resize policy applies. + Supported values: cpu, memory. type: string restartPolicy: + description: |- + Restart policy to apply when specified resource is resized. + If not specified, it defaults to NotRequired. type: string required: - resourceName @@ -20381,13 +30409,35 @@ spec: type: array x-kubernetes-list-type: atomic resources: + description: |- + Compute Resources required by this container. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ properties: claims: + description: |- + Claims lists the names of resources, defined in spec.resourceClaims, + that are used by this container. + + This is an alpha field and requires enabling the + DynamicResourceAllocation feature gate. + + This field is immutable. It can only be set for containers. items: + description: ResourceClaim references one entry in + PodSpec.ResourceClaims. properties: name: + description: |- + Name must match the name of one entry in pod.spec.resourceClaims of + the Pod where this field is used. It makes that resource available + inside a container. type: string request: + description: |- + Request is the name chosen for a request in the referenced claim. + If empty, everything from the claim is made available, otherwise + only the result of this request. type: string required: - name @@ -20403,6 +30453,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -20411,118 +30464,304 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object type: object restartPolicy: + description: |- + RestartPolicy defines the restart behavior of individual containers in a pod. + This field may only be set for init containers, and the only allowed value is "Always". + For non-init containers or when this field is not specified, + the restart behavior is defined by the Pod's restart policy and the container type. + Setting the RestartPolicy as "Always" for the init container will have the following effect: + this init container will be continually restarted on + exit until all regular containers have terminated. Once all regular + containers have completed, all init containers with restartPolicy "Always" + will be shut down. This lifecycle differs from normal init containers and + is often referred to as a "sidecar" container. Although this init + container still starts in the init container sequence, it does not wait + for the container to complete before proceeding to the next init + container. Instead, the next init container starts immediately after this + init container is started, or after any startupProbe has successfully + completed. type: string securityContext: + description: |- + SecurityContext defines the security options the container should be run with. + If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. + More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ properties: allowPrivilegeEscalation: + description: |- + AllowPrivilegeEscalation controls whether a process can gain more + privileges than its parent process. This bool directly controls if + the no_new_privs flag will be set on the container process. + AllowPrivilegeEscalation is true always when the container is: + 1) run as Privileged + 2) has CAP_SYS_ADMIN + Note that this field cannot be set when spec.os.name is windows. type: boolean appArmorProfile: + description: |- + appArmorProfile is the AppArmor options to use by this container. If set, this profile + overrides the pod's appArmorProfile. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile loaded on the node that should be used. + The profile must be preconfigured on the node to work. + Must match the loaded name of the profile. + Must be set if and only if type is "Localhost". type: string type: + description: |- + type indicates which kind of AppArmor profile will be applied. + Valid options are: + Localhost - a profile pre-loaded on the node. + RuntimeDefault - the container runtime's default profile. + Unconfined - no AppArmor enforcement. type: string required: - type type: object capabilities: + description: |- + The capabilities to add/drop when running containers. + Defaults to the default set of capabilities granted by the container runtime. + Note that this field cannot be set when spec.os.name is windows. properties: add: + description: Added capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array x-kubernetes-list-type: atomic drop: + description: Removed capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array x-kubernetes-list-type: atomic type: object privileged: + description: |- + Run container in privileged mode. + Processes in privileged containers are essentially equivalent to root on the host. + Defaults to false. + Note that this field cannot be set when spec.os.name is windows. type: boolean procMount: + description: |- + procMount denotes the type of proc mount to use for the containers. + The default value is Default which uses the container runtime defaults for + readonly paths and masked paths. + This requires the ProcMountType feature flag to be enabled. + Note that this field cannot be set when spec.os.name is windows. type: string readOnlyRootFilesystem: + description: |- + Whether this container has a read-only root filesystem. + Default is false. + Note that this field cannot be set when spec.os.name is windows. type: boolean runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer runAsNonRoot: + description: |- + Indicates that the container must run as a non-root user. + If true, the Kubelet will validate the image at runtime to ensure that it + does not run as UID 0 (root) and fail to start the container if it does. + If unset or false, no such validation will be performed. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to the container. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. properties: level: + description: Level is SELinux level label that applies + to the container. type: string role: + description: Role is a SELinux role label that applies + to the container. type: string type: + description: Type is a SELinux type label that applies + to the container. type: string user: + description: User is a SELinux user label that applies + to the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by this container. If seccomp options are + provided at both the pod & container level, the container options + override the pod options. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. + Must be a descending path, relative to the kubelet's configured seccomp profile location. + Must be set if type is "Localhost". Must NOT be set for any other type. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + Localhost - a profile defined in a file on the node should be used. + RuntimeDefault - the container runtime default profile should be used. + Unconfined - no profile should be applied. type: string required: - type type: object windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options from the PodSecurityContext will be used. + If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is linux. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name + of the GMSA credential spec to use. type: string hostProcess: + description: |- + HostProcess determines if a container should be run as a 'Host Process' container. + All of a Pod's containers must have the same effective HostProcess value + (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + In addition, if HostProcess is true then HostNetwork must also be set to true. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: string type: object type: object source: + description: Source contains the source code of the script + to execute type: string startupProbe: + description: |- + StartupProbe indicates that the Pod has successfully initialized. + If specified, no other probes are executed until this completes successfully. + If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. + This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, + when it might take a long time to load data or warm a cache, than during steady-state operation. + This cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. Number + must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request to + perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -20531,61 +30770,140 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a TCP + port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object stdin: + description: |- + Whether this container should allocate a buffer for stdin in the container runtime. If this + is not set, reads from stdin in the container will always result in EOF. + Default is false. type: boolean stdinOnce: + description: |- + Whether the container runtime should close the stdin channel after it has been opened by + a single attach. When stdin is true the stdin stream will remain open across multiple attach + sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the + first client attaches to stdin, and then remains open and accepts data until the client disconnects, + at which time stdin is closed and remains closed until the container is restarted. If this + flag is false, a container processes that reads from stdin will never receive an EOF. + Default is false type: boolean terminationMessagePath: + description: |- + Optional: Path at which the file to which the container's termination message + will be written is mounted into the container's filesystem. + Message written is intended to be brief final status, such as an assertion failure message. + Will be truncated by the node if greater than 4096 bytes. The total message length across + all containers will be limited to 12kb. + Defaults to /dev/termination-log. + Cannot be updated. type: string terminationMessagePolicy: + description: |- + Indicate how the termination message should be populated. File will use the contents of + terminationMessagePath to populate the container status message on both success and failure. + FallbackToLogsOnError will use the last chunk of container log output if the termination + message file is empty and the container exited with an error. + The log output is limited to 2048 bytes or 80 lines, whichever is smaller. + Defaults to File. + Cannot be updated. type: string tty: + description: |- + Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. + Default is false. type: boolean volumeDevices: + description: volumeDevices is the list of block devices + to be used by the container. items: + description: volumeDevice describes a mapping of a raw + block device within a container. properties: devicePath: + description: devicePath is the path inside of the + container that the device will be mapped to. type: string name: + description: name must match the name of a persistentVolumeClaim + in the pod type: string required: - devicePath @@ -20596,21 +30914,65 @@ spec: - devicePath x-kubernetes-list-type: map volumeMounts: + description: |- + Pod volumes to mount into the container's filesystem. + Cannot be updated. items: + description: VolumeMount describes a mounting of a Volume + within a container. properties: mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. type: string mountPropagation: + description: |- + mountPropagation determines how mounts are propagated from the host + to container and the other way around. + When not set, MountPropagationNone is used. + This field is beta in 1.10. + When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + (which defaults to None). type: string name: + description: This must match the Name of a Volume. type: string readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. type: boolean recursiveReadOnly: + description: |- + RecursiveReadOnly specifies whether read-only mounts should be handled + recursively. + + If ReadOnly is false, this field has no meaning and must be unspecified. + + If ReadOnly is true, and this field is set to Disabled, the mount is not made + recursively read-only. If this field is set to IfPossible, the mount is made + recursively read-only, if it is supported by the container runtime. If this + field is set to Enabled, the mount is made recursively read-only if it is + supported by the container runtime, otherwise the pod will not be started and + an error will be generated to indicate the reason. + + If this field is set to IfPossible or Enabled, MountPropagation must be set to + None (or be unspecified, which defaults to None). + + If this field is not specified, it is treated as an equivalent of Disabled. type: string subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). type: string subPathExpr: + description: |- + Expanded path within the volume from which the container's volume should be mounted. + Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. + Defaults to "" (volume's root). + SubPathExpr and SubPath are mutually exclusive. type: string required: - mountPath @@ -20621,68 +30983,207 @@ spec: - mountPath x-kubernetes-list-type: map workingDir: + description: |- + Container's working directory. + If not specified, the container runtime's default will be used, which + might be configured in the container image. + Cannot be updated. type: string type: object securityContext: + description: |- + SecurityContext holds pod-level security attributes and common container settings. + Optional: Defaults to empty. See type description for default values of each field. properties: appArmorProfile: + description: |- + appArmorProfile is the AppArmor options to use by the containers in this pod. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile loaded on the node that should be used. + The profile must be preconfigured on the node to work. + Must match the loaded name of the profile. + Must be set if and only if type is "Localhost". type: string type: + description: |- + type indicates which kind of AppArmor profile will be applied. + Valid options are: + Localhost - a profile pre-loaded on the node. + RuntimeDefault - the container runtime's default profile. + Unconfined - no AppArmor enforcement. type: string required: - type type: object fsGroup: + description: |- + A special supplemental group that applies to all containers in a pod. + Some volume types allow the Kubelet to change the ownership of that volume + to be owned by the pod: + + 1. The owning GID will be the FSGroup + 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) + 3. The permission bits are OR'd with rw-rw---- + + If unset, the Kubelet will not modify the ownership and permissions of any volume. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer fsGroupChangePolicy: + description: |- + fsGroupChangePolicy defines behavior of changing ownership and permission of the volume + before being exposed inside Pod. This field will only apply to + volume types which support fsGroup based ownership(and permissions). + It will have no effect on ephemeral volume types such as: secret, configmaps + and emptydir. + Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used. + Note that this field cannot be set when spec.os.name is windows. type: string runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in SecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence + for that container. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer runAsNonRoot: + description: |- + Indicates that the container must run as a non-root user. + If true, the Kubelet will validate the image at runtime to ensure that it + does not run as UID 0 (root) and fail to start the container if it does. + If unset or false, no such validation will be performed. + May also be set in SecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in SecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence + for that container. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer seLinuxChangePolicy: + description: |- + seLinuxChangePolicy defines how the container's SELinux label is applied to all volumes used by the Pod. + It has no effect on nodes that do not support SELinux or to volumes does not support SELinux. + Valid values are "MountOption" and "Recursive". + + "Recursive" means relabeling of all files on all Pod volumes by the container runtime. + This may be slow for large volumes, but allows mixing privileged and unprivileged Pods sharing the same volume on the same node. + + "MountOption" mounts all eligible Pod volumes with `-o context` mount option. + This requires all Pods that share the same volume to use the same SELinux label. + It is not possible to share the same volume among privileged and unprivileged Pods. + Eligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes + whose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their + CSIDriver instance. Other volumes are always re-labelled recursively. + "MountOption" value is allowed only when SELinuxMount feature gate is enabled. + + If not specified and SELinuxMount feature gate is enabled, "MountOption" is used. + If not specified and SELinuxMount feature gate is disabled, "MountOption" is used for ReadWriteOncePod volumes + and "Recursive" for all other volumes. + + This field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers. + + All Pods that use the same volume should use the same seLinuxChangePolicy, otherwise some pods can get stuck in ContainerCreating state. + Note that this field cannot be set when spec.os.name is windows. type: string seLinuxOptions: + description: |- + The SELinux context to be applied to all containers. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in SecurityContext. If set in + both SecurityContext and PodSecurityContext, the value specified in SecurityContext + takes precedence for that container. + Note that this field cannot be set when spec.os.name is windows. properties: level: + description: Level is SELinux level label that applies + to the container. type: string role: + description: Role is a SELinux role label that applies + to the container. type: string type: + description: Type is a SELinux type label that applies + to the container. type: string user: + description: User is a SELinux user label that applies + to the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by the containers in this pod. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. + Must be a descending path, relative to the kubelet's configured seccomp profile location. + Must be set if type is "Localhost". Must NOT be set for any other type. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + Localhost - a profile defined in a file on the node should be used. + RuntimeDefault - the container runtime default profile should be used. + Unconfined - no profile should be applied. type: string required: - type type: object supplementalGroups: + description: |- + A list of groups applied to the first process run in each container, in + addition to the container's primary GID and fsGroup (if specified). If + the SupplementalGroupsPolicy feature is enabled, the + supplementalGroupsPolicy field determines whether these are in addition + to or instead of any group memberships defined in the container image. + If unspecified, no additional groups are added, though group memberships + defined in the container image may still be used, depending on the + supplementalGroupsPolicy field. + Note that this field cannot be set when spec.os.name is windows. items: format: int64 type: integer type: array x-kubernetes-list-type: atomic supplementalGroupsPolicy: + description: |- + Defines how supplemental groups of the first container processes are calculated. + Valid values are "Merge" and "Strict". If not specified, "Merge" is used. + (Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled + and the container runtime must implement support for this feature. + Note that this field cannot be set when spec.os.name is windows. type: string sysctls: + description: |- + Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported + sysctls (by the container runtime) might fail to launch. + Note that this field cannot be set when spec.os.name is windows. items: + description: Sysctl defines a kernel parameter to be set properties: name: + description: Name of a property to set type: string value: + description: Value of a property to set type: string required: - name @@ -20691,88 +31192,189 @@ spec: type: array x-kubernetes-list-type: atomic windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options within a container's SecurityContext will be used. + If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is linux. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name of the + GMSA credential spec to use. type: string hostProcess: + description: |- + HostProcess determines if a container should be run as a 'Host Process' container. + All of a Pod's containers must have the same effective HostProcess value + (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + In addition, if HostProcess is true then HostNetwork must also be set to true. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: string type: object type: object serviceAccountName: + description: ServiceAccountName to apply to workflow pods type: string sidecars: + description: |- + Sidecars is a list of containers which run alongside the main container + Sidecars are automatically killed when the main container completes items: + description: UserContainer is a container specified by a user. properties: args: + description: |- + Arguments to the entrypoint. + The container image's CMD is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic command: + description: |- + Entrypoint array. Not executed within a shell. + The container image's ENTRYPOINT is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic env: + description: |- + List of environment variables to set in the container. + Cannot be updated. items: + description: EnvVar represents an environment variable + present in a Container. properties: name: + description: Name of the environment variable. Must + be a C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. If a variable cannot be resolved, + the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. + "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". + Escaped references will never be expanded, regardless of whether the variable + exists or not. + Defaults to "". type: string valueFrom: + description: Source for the environment variable's + value. Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select + in the specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. properties: containerName: + description: 'Container name: required for + volumes, optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format + of the exposed resources, defaults to + "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic 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: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -20787,25 +31389,54 @@ spec: - name x-kubernetes-list-type: map envFrom: + description: |- + List of sources to populate environment variables in the container. + The keys defined within a source must be a C_IDENTIFIER. All invalid keys + will be reported as an event when the container is starting. When a key exists in multiple + sources, the value associated with the last source will take precedence. + Values defined by an Env with a duplicate key will take precedence. + Cannot be updated. items: + description: EnvFromSource represents the source of + a set of ConfigMaps or Secrets properties: configMapRef: + description: The ConfigMap to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap must + be defined type: boolean type: object x-kubernetes-map-type: atomic prefix: + description: Optional text to prepend to the name + of each environment variable. Must be a C_IDENTIFIER. type: string secretRef: + description: The Secret to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret must + be defined type: boolean type: object x-kubernetes-map-type: atomic @@ -20813,31 +31444,71 @@ spec: type: array x-kubernetes-list-type: atomic image: + description: |- + Container image name. + More info: https://kubernetes.io/docs/concepts/containers/images + This field is optional to allow higher level config management to default or override + container images in workload controllers like Deployments and StatefulSets. type: string imagePullPolicy: + description: |- + Image pull policy. + One of Always, Never, IfNotPresent. + Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/containers/images#updating-images type: string lifecycle: + description: |- + Actions that the management system should take in response to container lifecycle events. + Cannot be updated. properties: postStart: + description: |- + PostStart is called immediately after a container is created. If the handler fails, + the container is terminated and restarted according to its restart policy. + Other management of the container blocks until the hook completes. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the + request. HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -20846,58 +31517,111 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that + the container should sleep. properties: seconds: + description: Seconds is the number of seconds + to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object preStop: + description: |- + PreStop is called immediately before a container is terminated due to an + API request or management event such as liveness/startup probe failure, + preemption, resource contention, etc. The handler is not called if the + container crashes or exits. The Pod's termination grace period countdown begins before the + PreStop hook is executed. Regardless of the outcome of the handler, the + container will eventually terminate within the Pod's termination grace + period (unless delayed by finalizers). Other management of the container blocks until the hook completes + or until the termination grace period is reached. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the + request. HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -20906,75 +31630,138 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that + the container should sleep. properties: seconds: + description: Seconds is the number of seconds + to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object stopSignal: + description: |- + StopSignal defines which signal will be sent to a container when it is being stopped. + If not specified, the default is defined by the container runtime in use. + StopSignal can only be set for Pods with a non-empty .spec.os.name type: string type: object livenessProbe: + description: |- + Periodic probe of container liveness. + Container will be restarted if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -20983,64 +31770,140 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a + TCP port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object mirrorVolumeMounts: + description: |- + MirrorVolumeMounts will mount the same volumes specified in the main container + to the container (including artifacts), at the same mountPaths. This enables + dind daemon to partially see the same filesystem as the main container in + order to use features such as docker volume binding type: boolean name: + description: |- + Name of the container specified as a DNS_LABEL. + Each container in a pod must have a unique name (DNS_LABEL). + Cannot be updated. type: string ports: + description: |- + List of ports to expose from the container. Not specifying a port here + DOES NOT prevent that port from being exposed. Any port which is + listening on the default "0.0.0.0" address inside a container will be + accessible from the network. + Modifying this array with strategic merge patch may corrupt the data. + For more information See https://github.com/kubernetes/kubernetes/issues/108255. + Cannot be updated. items: + description: ContainerPort represents a network port + in a single container. properties: containerPort: + description: |- + Number of port to expose on the pod's IP address. + This must be a valid port number, 0 < x < 65536. format: int32 type: integer hostIP: + description: What host IP to bind the external port + to. type: string hostPort: + description: |- + Number of port to expose on the host. + If specified, this must be a valid port number, 0 < x < 65536. + If HostNetwork is specified, this must match ContainerPort. + Most containers do not need this. format: int32 type: integer name: + description: |- + If specified, this must be an IANA_SVC_NAME and unique within the pod. Each + named port in a pod must have a unique name. Name for the port that can be + referred to by services. type: string protocol: default: TCP + description: |- + Protocol for port. Must be UDP, TCP, or SCTP. + Defaults to "TCP". type: string required: - containerPort @@ -21051,39 +31914,76 @@ spec: - protocol x-kubernetes-list-type: map readinessProbe: + description: |- + Periodic probe of container service readiness. + Container will be removed from service endpoints if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -21092,51 +31992,100 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a + TCP port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object resizePolicy: + description: Resources resize policy for the container. items: + description: ContainerResizePolicy represents resource + resize policy for the container. properties: resourceName: + description: |- + Name of the resource to which this resource resize policy applies. + Supported values: cpu, memory. type: string restartPolicy: + description: |- + Restart policy to apply when specified resource is resized. + If not specified, it defaults to NotRequired. type: string required: - resourceName @@ -21145,13 +32094,35 @@ spec: type: array x-kubernetes-list-type: atomic resources: + description: |- + Compute Resources required by this container. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ properties: claims: + description: |- + Claims lists the names of resources, defined in spec.resourceClaims, + that are used by this container. + + This is an alpha field and requires enabling the + DynamicResourceAllocation feature gate. + + This field is immutable. It can only be set for containers. items: + description: ResourceClaim references one entry + in PodSpec.ResourceClaims. properties: name: + description: |- + Name must match the name of one entry in pod.spec.resourceClaims of + the Pod where this field is used. It makes that resource available + inside a container. type: string request: + description: |- + Request is the name chosen for a request in the referenced claim. + If empty, everything from the claim is made available, otherwise + only the result of this request. type: string required: - name @@ -21167,6 +32138,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -21175,116 +32149,300 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object type: object restartPolicy: + description: |- + RestartPolicy defines the restart behavior of individual containers in a pod. + This field may only be set for init containers, and the only allowed value is "Always". + For non-init containers or when this field is not specified, + the restart behavior is defined by the Pod's restart policy and the container type. + Setting the RestartPolicy as "Always" for the init container will have the following effect: + this init container will be continually restarted on + exit until all regular containers have terminated. Once all regular + containers have completed, all init containers with restartPolicy "Always" + will be shut down. This lifecycle differs from normal init containers and + is often referred to as a "sidecar" container. Although this init + container still starts in the init container sequence, it does not wait + for the container to complete before proceeding to the next init + container. Instead, the next init container starts immediately after this + init container is started, or after any startupProbe has successfully + completed. type: string securityContext: + description: |- + SecurityContext defines the security options the container should be run with. + If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. + More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ properties: allowPrivilegeEscalation: + description: |- + AllowPrivilegeEscalation controls whether a process can gain more + privileges than its parent process. This bool directly controls if + the no_new_privs flag will be set on the container process. + AllowPrivilegeEscalation is true always when the container is: + 1) run as Privileged + 2) has CAP_SYS_ADMIN + Note that this field cannot be set when spec.os.name is windows. type: boolean appArmorProfile: + description: |- + appArmorProfile is the AppArmor options to use by this container. If set, this profile + overrides the pod's appArmorProfile. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile loaded on the node that should be used. + The profile must be preconfigured on the node to work. + Must match the loaded name of the profile. + Must be set if and only if type is "Localhost". type: string type: + description: |- + type indicates which kind of AppArmor profile will be applied. + Valid options are: + Localhost - a profile pre-loaded on the node. + RuntimeDefault - the container runtime's default profile. + Unconfined - no AppArmor enforcement. type: string required: - type type: object capabilities: + description: |- + The capabilities to add/drop when running containers. + Defaults to the default set of capabilities granted by the container runtime. + Note that this field cannot be set when spec.os.name is windows. properties: add: + description: Added capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array x-kubernetes-list-type: atomic drop: + description: Removed capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array x-kubernetes-list-type: atomic type: object privileged: + description: |- + Run container in privileged mode. + Processes in privileged containers are essentially equivalent to root on the host. + Defaults to false. + Note that this field cannot be set when spec.os.name is windows. type: boolean procMount: + description: |- + procMount denotes the type of proc mount to use for the containers. + The default value is Default which uses the container runtime defaults for + readonly paths and masked paths. + This requires the ProcMountType feature flag to be enabled. + Note that this field cannot be set when spec.os.name is windows. type: string readOnlyRootFilesystem: + description: |- + Whether this container has a read-only root filesystem. + Default is false. + Note that this field cannot be set when spec.os.name is windows. type: boolean runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer runAsNonRoot: + description: |- + Indicates that the container must run as a non-root user. + If true, the Kubelet will validate the image at runtime to ensure that it + does not run as UID 0 (root) and fail to start the container if it does. + If unset or false, no such validation will be performed. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to the container. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. properties: level: + description: Level is SELinux level label that + applies to the container. type: string role: + description: Role is a SELinux role label that + applies to the container. type: string type: + description: Type is a SELinux type label that + applies to the container. type: string user: + description: User is a SELinux user label that + applies to the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by this container. If seccomp options are + provided at both the pod & container level, the container options + override the pod options. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. + Must be a descending path, relative to the kubelet's configured seccomp profile location. + Must be set if type is "Localhost". Must NOT be set for any other type. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + Localhost - a profile defined in a file on the node should be used. + RuntimeDefault - the container runtime default profile should be used. + Unconfined - no profile should be applied. type: string required: - type type: object windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options from the PodSecurityContext will be used. + If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is linux. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name + of the GMSA credential spec to use. type: string hostProcess: + description: |- + HostProcess determines if a container should be run as a 'Host Process' container. + All of a Pod's containers must have the same effective HostProcess value + (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + In addition, if HostProcess is true then HostNetwork must also be set to true. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: string type: object type: object startupProbe: + description: |- + StartupProbe indicates that the Pod has successfully initialized. + If specified, no other probes are executed until this completes successfully. + If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. + This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, + when it might take a long time to load data or warm a cache, than during steady-state operation. + This cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -21293,61 +32451,140 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a + TCP port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object stdin: + description: |- + Whether this container should allocate a buffer for stdin in the container runtime. If this + is not set, reads from stdin in the container will always result in EOF. + Default is false. type: boolean stdinOnce: + description: |- + Whether the container runtime should close the stdin channel after it has been opened by + a single attach. When stdin is true the stdin stream will remain open across multiple attach + sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the + first client attaches to stdin, and then remains open and accepts data until the client disconnects, + at which time stdin is closed and remains closed until the container is restarted. If this + flag is false, a container processes that reads from stdin will never receive an EOF. + Default is false type: boolean terminationMessagePath: + description: |- + Optional: Path at which the file to which the container's termination message + will be written is mounted into the container's filesystem. + Message written is intended to be brief final status, such as an assertion failure message. + Will be truncated by the node if greater than 4096 bytes. The total message length across + all containers will be limited to 12kb. + Defaults to /dev/termination-log. + Cannot be updated. type: string terminationMessagePolicy: + description: |- + Indicate how the termination message should be populated. File will use the contents of + terminationMessagePath to populate the container status message on both success and failure. + FallbackToLogsOnError will use the last chunk of container log output if the termination + message file is empty and the container exited with an error. + The log output is limited to 2048 bytes or 80 lines, whichever is smaller. + Defaults to File. + Cannot be updated. type: string tty: + description: |- + Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. + Default is false. type: boolean volumeDevices: + description: volumeDevices is the list of block devices + to be used by the container. items: + description: volumeDevice describes a mapping of a raw + block device within a container. properties: devicePath: + description: devicePath is the path inside of the + container that the device will be mapped to. type: string name: + description: name must match the name of a persistentVolumeClaim + in the pod type: string required: - devicePath @@ -21358,21 +32595,65 @@ spec: - devicePath x-kubernetes-list-type: map volumeMounts: + description: |- + Pod volumes to mount into the container's filesystem. + Cannot be updated. items: + description: VolumeMount describes a mounting of a Volume + within a container. properties: mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. type: string mountPropagation: + description: |- + mountPropagation determines how mounts are propagated from the host + to container and the other way around. + When not set, MountPropagationNone is used. + This field is beta in 1.10. + When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + (which defaults to None). type: string name: + description: This must match the Name of a Volume. type: string readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. type: boolean recursiveReadOnly: + description: |- + RecursiveReadOnly specifies whether read-only mounts should be handled + recursively. + + If ReadOnly is false, this field has no meaning and must be unspecified. + + If ReadOnly is true, and this field is set to Disabled, the mount is not made + recursively read-only. If this field is set to IfPossible, the mount is made + recursively read-only, if it is supported by the container runtime. If this + field is set to Enabled, the mount is made recursively read-only if it is + supported by the container runtime, otherwise the pod will not be started and + an error will be generated to indicate the reason. + + If this field is set to IfPossible or Enabled, MountPropagation must be set to + None (or be unspecified, which defaults to None). + + If this field is not specified, it is treated as an equivalent of Disabled. type: string subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). type: string subPathExpr: + description: |- + Expanded path within the volume from which the container's volume should be mounted. + Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. + Defaults to "" (volume's root). + SubPathExpr and SubPath are mutually exclusive. type: string required: - mountPath @@ -21383,38 +32664,79 @@ spec: - mountPath x-kubernetes-list-type: map workingDir: + description: |- + Container's working directory. + If not specified, the container runtime's default will be used, which + might be configured in the container image. + Cannot be updated. type: string required: - name type: object type: array steps: + description: Steps define a series of sequential/parallel workflow + steps items: + description: |- + Note: the `json:"steps"` part exists to workaround kubebuilder limitations. + There isn't actually a "steps" key in the JSON serialization; this is an anonymous list. + See the custom Unmarshaller below and ./hack/manifests/crd.go items: + description: |- + WorkflowStep is a reference to a template to execute in a series of step + Note: CEL validation cannot check withItems (Schemaless) or inline (PreserveUnknownFields) fields. properties: arguments: + description: Arguments hold arguments to the template properties: artifacts: + description: Artifacts is the list of artifacts + to pass to the template or workflow items: + description: Artifact indicates an artifact to + place at a specified path properties: archive: + description: Archive controls how the artifact + will be saved to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and + gzip the file or directory when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip zipped + input artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the + container logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy + to use when to deleting an artifact from + completed or deleted workflows properties: podMetadata: + description: PodMetadata is an optional + field for specifying the Labels and + Annotations that should be assigned + to the Pod doing the deletion properties: annotations: additionalProperties: @@ -21426,8 +32748,14 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an + optional field for specifying the Service + Account that should be assigned to the + Pod doing the deletion type: string strategy: + description: Strategy is the strategy + to use. enum: - "" - OnWorkflowCompletion @@ -21436,30 +32764,59 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory + artifact location details properties: passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -21469,27 +32826,54 @@ spec: - url type: object azure: + description: Azure contains Azure Storage + artifact location details properties: accountKeySecret: + description: AccountKeySecret is the secret + selector to the Azure Blob Storage account + access key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., + path) in the container where the artifact + resides type: string container: + description: Container is the container + where resources will be stored type: string endpoint: + description: Endpoint is the service url + associated with an account. It is most + likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver + to figure out credentials based on sdk + defaults. type: boolean required: - blob @@ -21497,25 +32881,50 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to reference + an artifact from a previous step type: string fromExpression: + description: FromExpression, if defined, is + evaluated to specify the value for the artifact type: string gcs: + description: GCS contains GCS artifact location + details properties: bucket: + description: Bucket is the name of the + bucket type: string key: + description: Key is the path in the bucket + where the artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is + the secret selector to the bucket's + service account key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -21525,62 +32934,125 @@ spec: - key type: object git: + description: Git contains git artifact location + details properties: branch: + description: Branch is the branch to fetch + when `SingleBranch` is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables + submodules during git clone type: boolean fetch: + description: Fetch specifies a number + of refs that should be fetched before + checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables + SSH strict host key checking during + git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables + server certificate verification resulting + in insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, + tag, branch to checkout type: string singleBranch: + description: SingleBranch enables single + branch clone, using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the + secret selector to the repository ssh + private key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -21590,96 +33062,198 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact location + details properties: addresses: + description: Addresses is accessible addresses + of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly + even if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location + details properties: auth: + description: Auth contains information + for client authentication properties: basicAuth: + description: BasicAuth describes the + secret selectors required for basic + authentication properties: passwordSecret: + description: PasswordSecret is + the secret selector to the repository + password properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is + the secret selector to the repository + username properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -21687,28 +33261,59 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds + necessary information for client + authentication via certificates properties: clientCertSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -21716,28 +33321,59 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all + information for client authentication + via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -21745,10 +33381,19 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is + for requesting optional fields + that should be sent in the + oauth request properties: key: + description: Name is the + header name type: string value: + description: Value is the + literal value to use for + the header type: string required: - key @@ -21759,13 +33404,27 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -21774,11 +33433,21 @@ spec: type: object type: object headers: + description: Headers are an optional list + of headers to send with HTTP requests + for artifacts items: + description: Header indicate a key-value + request header to be used when fetching + artifacts over HTTP properties: name: + description: Name is the header + name type: string value: + description: Value is the literal + value to use for the header type: string required: - name @@ -21786,131 +33455,302 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must be + unique within a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if Artifacts + doesn't generate or exist type: boolean oss: + description: OSS contains OSS artifact location + details properties: accessKeySecret: + description: AccessKeySecret is the secret + selector to the bucket's access key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the + bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent + tells the driver to attempt to create + the OSS bucket for output artifacts, + if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname + of the bucket endpoint type: string key: + description: Key is the path in the bucket + where the artifact resides type: string lifecycleRule: + description: LifecycleRule specifies how + to manage bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays + is the number of days before we + delete objects in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before we + convert the objects in the bucket + to Infrequent Access (IA) storage + type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret + selector to the bucket's secret key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s + temporary security token. For more details, + check out: https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver + to figure out credentials based on sdk + defaults. type: boolean required: - key type: object path: - type: string + description: Path is the container path to + the artifact + type: string + plugin: + description: Plugin contains plugin artifact + location details + properties: + configuration: + description: Configuration is the plugin + defined configuration for the artifact + driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds + is the timeout for the artifact driver + connection, overriding the driver's + timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact + repository where the artifact resides + type: string + name: + description: Name is the name of the artifact + driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location + details properties: data: + description: Data is the string contents + of the artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission + recursively into the artifact if it is a + folder type: boolean s3: + description: S3 contains S3 artifact location + details properties: accessKeySecret: + description: AccessKeySecret is the secret + selector to the bucket's access key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the + bucket type: string caSecret: + description: CASecret specifies the secret + that contains the CA, used to verify + the TLS connection properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent + tells the driver to attempt to create + the S3 bucket for output artifacts, + if it doesn't exist. Setting Enabled + Encryption will apply either SSE-S3 + to the bucket if KmsKeyId is not set + or SSE-KMS if it is. properties: objectLocking: + description: ObjectLocking Enable + object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used + to determine encryption options during + s3 operations properties: enableEncryption: + description: EnableEncryption tells + the driver to encrypt objects if + set to true. If kmsKeyId and serverSideCustomerKeySecret + are not set, SSE-S3 will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext + is a json blob that contains an + encryption context. See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver + to encrypt the object using the + specified KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret + tells the driver to encrypt the + output artifacts using SSE-C with + the specified secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -21918,97 +33758,212 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname + of the bucket endpoint type: string insecure: + description: Insecure will connect to + the service with TLS type: boolean key: + description: Key is the key in the bucket + where the artifact resides type: string region: + description: Region contains the optional + bucket region type: string roleARN: + description: RoleARN is the Amazon Resource + Name (ARN) of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret + selector to the bucket's secret key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used + for ephemeral credentials like an IAM + assume role or S3 access grant properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver + to figure out credentials based on sdk + defaults. type: boolean type: object subPath: + description: SubPath allows an artifact to + be sourced from a subpath within the specified + source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be + specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) + ? 1 : 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array parameters: + description: Parameters is the list of parameters + to pass to the template or workflow items: + description: Parameter indicate a passed string + parameter to a service template with an optional + default value properties: default: + description: Default is the default value + to use for an input parameter if a value + was not supplied type: string description: + description: Description is the parameter + description type: string enum: + description: Enum holds a list of string values + to choose from, for the actual value of + the parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source for the + output parameter's value properties: configMapKeyRef: + description: ConfigMapKeyRef is configmap + selector for input parameter configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies a value + to be used if retrieving the value from + the specified source fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the event + to get the value of the parameter. E.g. + `payload.message` type: string expression: + description: Expression, if defined, is + evaluated to specify the value for the + parameter type: string jqFilter: + description: JQFilter expression against + the resource object in resource templates type: string jsonPath: + description: JSONPath of a resource to + retrieve an output parameter value from + in resource templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container to + retrieve an output parameter value from + in container templates type: string supplied: + description: Supplied value to be filled + in directly, either through the CLI, + API, etc. type: object type: object required: @@ -22017,6 +33972,9 @@ spec: type: array type: object continueOn: + description: |- + ContinueOn makes argo to proceed with the following step even if this step fails. + Errors and Failed states can be specified properties: error: type: boolean @@ -22027,28 +33985,59 @@ spec: additionalProperties: properties: arguments: + description: Arguments hold arguments to the template properties: artifacts: + description: Artifacts is the list of artifacts + to pass to the template or workflow items: + description: Artifact indicates an artifact + to place at a specified path properties: archive: + description: Archive controls how the + artifact will be saved to the artifact + repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar + and gzip the file or directory + when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip + zipped input artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if + the container logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the + strategy to use when to deleting an + artifact from completed or deleted + workflows properties: podMetadata: + description: PodMetadata is an optional + field for specifying the Labels + and Annotations that should be + assigned to the Pod doing the + deletion properties: annotations: additionalProperties: @@ -22060,8 +34049,15 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName + is an optional field for specifying + the Service Account that should + be assigned to the Pod doing the + deletion type: string strategy: + description: Strategy is the strategy + to use. enum: - "" - OnWorkflowCompletion @@ -22070,30 +34066,63 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory + artifact location details properties: passwordSecret: + description: PasswordSecret is the + secret selector to the repository + password properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the + secret selector to the repository + username properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -22103,27 +34132,55 @@ spec: - url type: object azure: + description: Azure contains Azure Storage + artifact location details properties: accountKeySecret: + description: AccountKeySecret is + the secret selector to the Azure + Blob Storage account access key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name + (i.e., path) in the container + where the artifact resides type: string container: + description: Container is the container + where resources will be stored type: string endpoint: + description: Endpoint is the service + url associated with an account. + It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the + driver to figure out credentials + based on sdk defaults. type: boolean required: - blob @@ -22131,25 +34188,54 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact + to reference an artifact from a previous + step type: string fromExpression: + description: FromExpression, if defined, + is evaluated to specify the value + for the artifact type: string gcs: + description: GCS contains GCS artifact + location details properties: bucket: + description: Bucket is the name + of the bucket type: string key: + description: Key is the path in + the bucket where the artifact + resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret + is the secret selector to the + bucket's service account key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -22159,62 +34245,132 @@ spec: - key type: object git: + description: Git contains git artifact + location details properties: branch: + description: Branch is the branch + to fetch when `SingleBranch` is + enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables + submodules during git clone type: boolean fetch: + description: Fetch specifies a number + of refs that should be fetched + before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey + disables SSH strict host key checking + during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables + server certificate verification + resulting in insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the + secret selector to the repository + password properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git + commit, tag, branch to checkout type: string singleBranch: + description: SingleBranch enables + single branch clone, using the + `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret + is the secret selector to the + repository ssh private key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the + secret selector to the repository + username properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -22224,96 +34380,206 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact + location details properties: addresses: + description: Addresses is accessible + addresses of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file + forcibly even if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the ConfigMap or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path + in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact + location details properties: auth: + description: Auth contains information + for client authentication properties: basicAuth: + description: BasicAuth describes + the secret selectors required + for basic authentication properties: passwordSecret: + description: PasswordSecret + is the secret selector + to the repository password properties: key: + description: The key + of the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must be + defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret + is the secret selector + to the repository username properties: key: + description: The key + of the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must be + defined type: boolean required: - key @@ -22321,28 +34587,64 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth + holds necessary information + for client authentication + via certificates properties: clientCertSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must be + defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must be + defined type: boolean required: - key @@ -22350,28 +34652,64 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds + all information for client + authentication via OAuth2 + tokens properties: clientIDSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must be + defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must be + defined type: boolean required: - key @@ -22379,10 +34717,19 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam + is for requesting optional + fields that should be + sent in the oauth request properties: key: + description: Name + is the header name type: string value: + description: Value + is the literal value + to use for the header type: string required: - key @@ -22393,13 +34740,29 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must be + defined type: boolean required: - key @@ -22408,11 +34771,23 @@ spec: type: object type: object headers: + description: Headers are an optional + list of headers to send with HTTP + requests for artifacts items: + description: Header indicate a + key-value request header to + be used when fetching artifacts + over HTTP properties: name: + description: Name is the header + name type: string value: + description: Value is the + literal value to use for + the header type: string required: - name @@ -22420,131 +34795,317 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must + be unique within a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, + if Artifacts doesn't generate or exist type: boolean oss: + description: OSS contains OSS artifact + location details properties: accessKeySecret: + description: AccessKeySecret is + the secret selector to the bucket's + access key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name + of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent + tells the driver to attempt to + create the OSS bucket for output + artifacts, if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname + of the bucket endpoint type: string key: + description: Key is the path in + the bucket where the artifact + resides type: string lifecycleRule: + description: LifecycleRule specifies + how to manage bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays + is the number of days before + we delete objects in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before + we convert the objects in + the bucket to Infrequent Access + (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is + the secret selector to the bucket's + secret key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the + user''s temporary security token. + For more details, check out: https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the + driver to figure out credentials + based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container path + to the artifact type: string + plugin: + description: Plugin contains plugin + artifact location details + properties: + configuration: + description: Configuration is the + plugin defined configuration for + the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds + is the timeout for the artifact + driver connection, overriding + the driver's timeout + format: int32 + type: integer + key: + description: Key is the path in + the artifact repository where + the artifact resides + type: string + name: + description: Name is the name of + the artifact driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact + location details properties: data: + description: Data is the string + contents of the artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the + permission recursively into the artifact + if it is a folder type: boolean s3: + description: S3 contains S3 artifact + location details properties: accessKeySecret: + description: AccessKeySecret is + the secret selector to the bucket's + access key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name + of the bucket type: string caSecret: + description: CASecret specifies + the secret that contains the CA, + used to verify the TLS connection properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent + tells the driver to attempt to + create the S3 bucket for output + artifacts, if it doesn't exist. + Setting Enabled Encryption will + apply either SSE-S3 to the bucket + if KmsKeyId is not set or SSE-KMS + if it is. properties: objectLocking: + description: ObjectLocking Enable + object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions + used to determine encryption options + during s3 operations properties: enableEncryption: + description: EnableEncryption + tells the driver to encrypt + objects if set to true. If + kmsKeyId and serverSideCustomerKeySecret + are not set, SSE-S3 will be + used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext + is a json blob that contains + an encryption context. See + https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells + the driver to encrypt the + object using the specified + KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret + tells the driver to encrypt + the output artifacts using + SSE-C with the specified secret. properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key @@ -22552,97 +35113,223 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname + of the bucket endpoint type: string insecure: + description: Insecure will connect + to the service with TLS type: boolean key: + description: Key is the key in the + bucket where the artifact resides type: string region: + description: Region contains the + optional bucket region type: string roleARN: + description: RoleARN is the Amazon + Resource Name (ARN) of the role + to assume. type: string secretKeySecret: + description: SecretKeySecret is + the secret selector to the bucket's + secret key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret + is used for ephemeral credentials + like an IAM assume role or S3 + access grant properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the + driver to figure out credentials + based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact + to be sourced from a subpath within + the specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location + can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) + ? 1 : 0) + (has(self.http) ? 1 : 0) + + (has(self.artifactory) ? 1 : 0) + + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + + (has(self.gcs) ? 1 : 0) + (has(self.azure) + ? 1 : 0) + (has(self.plugin) ? 1 : 0) + <= 1' type: array parameters: + description: Parameters is the list of parameters + to pass to the template or workflow items: + description: Parameter indicate a passed + string parameter to a service template + with an optional default value properties: default: + description: Default is the default + value to use for an input parameter + if a value was not supplied type: string description: + description: Description is the parameter + description type: string enum: + description: Enum holds a list of string + values to choose from, for the actual + value of the parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source + for the output parameter's value properties: configMapKeyRef: + description: ConfigMapKeyRef is + configmap selector for input parameter + configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the ConfigMap or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies a + value to be used if retrieving + the value from the specified source + fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the + event to get the value of the + parameter. E.g. `payload.message` type: string expression: + description: Expression, if defined, + is evaluated to specify the value + for the parameter type: string jqFilter: + description: JQFilter expression + against the resource object in + resource templates type: string jsonPath: + description: JSONPath of a resource + to retrieve an output parameter + value from in resource templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container + to retrieve an output parameter + value from in container templates type: string supplied: + description: Supplied value to be + filled in directly, either through + the CLI, API, etc. type: object type: object required: @@ -22651,135 +35338,193 @@ spec: type: array type: object expression: + description: |- + Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not + be retried and the retry strategy will be ignored type: string template: + description: Template is the name of the template + to execute by the hook type: string templateRef: + description: TemplateRef is the reference to the + template resource to execute by the hook properties: clusterScope: + description: ClusterScope indicates the referred + template is cluster scoped (i.e. a ClusterWorkflowTemplate). type: boolean name: + description: Name is the resource name of + the template. type: string template: + description: Template is the name of referred + template in the resource. type: string type: object type: object + description: |- + Hooks holds the lifecycle hook which is invoked at lifecycle of + step, irrespective of the success, failure, or error status of the primary step type: object inline: + description: |- + Inline is the template. Template must be empty if this is declared (and vice-versa). + Note: This struct is defined recursively, since the inline template can potentially contain + steps/DAGs that also has an "inline" field. Kubernetes doesn't allow recursive types, so we + need "x-kubernetes-preserve-unknown-fields: true" in the validation schema. x-kubernetes-preserve-unknown-fields: true name: + description: Name of the step + maxLength: 128 + pattern: ^[a-zA-Z0-9][-a-zA-Z0-9]*$ type: string onExit: + description: |- + OnExit is a template reference which is invoked at the end of the + template, irrespective of the success, failure, or error of the + primary template. + DEPRECATED: Use Hooks[exit].Template instead. type: string template: + description: Template is the name of the template to + execute as the step type: string templateRef: + description: TemplateRef is the reference to the template + resource to execute as the step. properties: clusterScope: + description: ClusterScope indicates the referred + template is cluster scoped (i.e. a ClusterWorkflowTemplate). type: boolean name: + description: Name is the resource name of the template. type: string template: + description: Template is the name of referred template + in the resource. type: string type: object when: + description: When is an expression in which the step + should conditionally execute type: string withItems: + description: |- + WithItems expands a step into multiple parallel steps from the items in the list + Note: The structure of WithItems is free-form, so we need + "x-kubernetes-preserve-unknown-fields: true" in the validation schema. x-kubernetes-preserve-unknown-fields: true withParam: + description: |- + WithParam expands a step into multiple parallel steps from the value in the parameter, + which is expected to be a JSON list. type: string withSequence: + description: WithSequence expands a step into a numeric + sequence properties: count: anyOf: - type: integer - type: string + description: 'Count is number of elements in the + sequence (default: 0). Not to be used with end' x-kubernetes-int-or-string: true end: anyOf: - type: integer - type: string + description: 'Number at which to end the sequence + (default: 0). Not to be used with Count' x-kubernetes-int-or-string: true format: + description: Format is a printf format string to + format the value in the sequence type: string start: anyOf: - type: integer - type: string + description: 'Number at which to start the sequence + (default: 0)' x-kubernetes-int-or-string: true type: object + x-kubernetes-validations: + - message: only one of count or end can be defined + rule: '!(has(self.count) && has(self.end))' type: object type: array + minItems: 1 type: array suspend: + description: Suspend template subtype which can suspend a workflow + when reaching the step properties: duration: + description: |- + Duration is the seconds to wait before automatically resuming a template. Must be a string. Default unit is seconds. + Could also be a Duration, e.g.: "2m", "6h" type: string type: object synchronization: + description: Synchronization holds synchronization lock configuration + for this template properties: - mutex: - properties: - database: - type: boolean - name: - type: string - namespace: - type: string - type: object mutexes: + description: 'v3.6 and after: Mutexes holds the list of + Mutex lock details' items: + description: Mutex holds Mutex configuration properties: database: + description: Database specifies this is database controlled + if this is set true type: boolean name: + description: name of the mutex type: string namespace: + description: 'Namespace is the namespace of the mutex, + default: [namespace of workflow]' type: string type: object type: array - semaphore: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - database: - properties: - key: - type: string - required: - - key - type: object - namespace: - type: string - type: object semaphores: + description: 'v3.6 and after: Semaphores holds the list + of Semaphores configuration' items: + description: SemaphoreRef is a reference of Semaphore properties: configMapKeyRef: + description: ConfigMapKeyRef is a configmap selector + for Semaphore configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic database: + description: SyncDatabaseRef is a database reference + for Semaphore configuration properties: key: type: string @@ -22787,134 +35532,307 @@ spec: - key type: object namespace: + description: 'Namespace is the namespace of the configmap, + default: [namespace of workflow]' type: string type: object type: array type: object timeout: + description: |- + Timeout allows to set the total node execution timeout duration counting from the node's start time. + This duration also includes time in which the node spends in Pending state. This duration may not be applied to Step or DAG templates. type: string tolerations: + description: Tolerations to apply to workflow pods. items: + description: |- + The pod this Toleration is attached to tolerates any taint that matches + the triple using the matching operator . properties: effect: + description: |- + Effect indicates the taint effect to match. Empty means match all taint effects. + When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. type: string key: + description: |- + Key is the taint key that the toleration applies to. Empty means match all taint keys. + If the key is empty, operator must be Exists; this combination means to match all values and all keys. type: string operator: + description: |- + Operator represents a key's relationship to the value. + Valid operators are Exists and Equal. Defaults to Equal. + Exists is equivalent to wildcard for value, so that a pod can + tolerate all taints of a particular category. type: string tolerationSeconds: + description: |- + TolerationSeconds represents the period of time the toleration (which must be + of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, + it is not set, which means tolerate the taint forever (do not evict). Zero and + negative values will be treated as 0 (evict immediately) by the system. format: int64 type: integer value: + description: |- + Value is the taint value the toleration matches to. + If the operator is Exists, the value should be empty, otherwise just a regular string. type: string type: object type: array volumes: + description: Volumes is a list of volumes that can be mounted + by containers in a template. items: + description: Volume represents a named volume in a pod that + may be accessed by any container in the pod. properties: awsElasticBlockStore: + description: |- + awsElasticBlockStore represents an AWS Disk resource that is attached to a + kubelet's host machine and then exposed to the pod. + Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree + awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore properties: fsType: + description: |- + fsType is the 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#awselasticblockstore type: string partition: + description: |- + partition is 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). format: int32 type: integer readOnly: + description: |- + readOnly value true will force the readOnly setting in VolumeMounts. + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore type: boolean volumeID: + description: |- + volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore type: string required: - volumeID type: object azureDisk: + description: |- + azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. + Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type + are redirected to the disk.csi.azure.com CSI driver. properties: cachingMode: + description: 'cachingMode is the Host Caching mode: + None, Read Only, Read Write.' type: string diskName: + description: diskName is the Name of the data disk + in the blob storage type: string diskURI: + description: diskURI is the URI of data disk in the + blob storage type: string fsType: default: ext4 + description: |- + fsType is 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. type: string kind: + description: 'kind expected values are Shared: multiple + blob disks per storage account Dedicated: single + blob disk per storage account Managed: azure managed + data disk (only in managed availability set). defaults + to shared' type: string readOnly: default: false + description: |- + readOnly Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean required: - diskName - diskURI type: object azureFile: + description: |- + azureFile represents an Azure File Service mount on the host and bind mount to the pod. + Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type + are redirected to the file.csi.azure.com CSI driver. properties: readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretName: + description: secretName is the name of secret that + contains Azure Storage Account Name and Key type: string shareName: + description: shareName is the azure share Name type: string required: - secretName - shareName type: object cephfs: + description: |- + cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. + Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported. properties: monitors: + description: |- + monitors is Required: Monitors is a collection of Ceph monitors + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it items: type: string type: array x-kubernetes-list-type: atomic path: + description: 'path is Optional: Used as the mounted + root, rather than the full Ceph tree, default is + /' type: string readOnly: + description: |- + readOnly is 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 type: boolean secretFile: + description: |- + secretFile is 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 type: string secretRef: + description: |- + secretRef is 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 properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic user: + description: |- + user is optional: User is the rados user name, default is admin + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it type: string required: - monitors type: object cinder: + description: |- + cinder represents a cinder volume attached and mounted on kubelets host machine. + Deprecated: Cinder is deprecated. All operations for the in-tree cinder type + are redirected to the cinder.csi.openstack.org CSI driver. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md properties: fsType: + description: |- + fsType is the 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 type: string readOnly: + description: |- + readOnly 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 type: boolean secretRef: + description: |- + secretRef is optional: points to a secret object containing parameters used to connect + to OpenStack. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic volumeID: + description: |- + volumeID used to identify the volume in cinder. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md type: string required: - volumeID type: object configMap: + description: configMap represents a configMap that should + populate this volume properties: defaultMode: + description: |- + defaultMode is optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer items: + description: |- + items 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 '..'. items: + description: Maps a string key to a path within + a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + description: |- + path is 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 required: - key @@ -22924,67 +35842,146 @@ spec: x-kubernetes-list-type: atomic name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: optional specify whether the ConfigMap + or its keys must be defined type: boolean type: object x-kubernetes-map-type: atomic csi: + description: csi (Container Storage Interface) represents + ephemeral storage that is handled by certain external + CSI drivers. properties: driver: + 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. type: string fsType: + description: |- + fsType 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. type: string nodePublishSecretRef: + 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. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic readOnly: + description: |- + readOnly specifies a read-only configuration for the volume. + Defaults to false (read/write). type: boolean volumeAttributes: additionalProperties: type: string + description: |- + volumeAttributes stores driver-specific properties that are passed to the CSI + driver. Consult your driver's documentation for supported values. type: object required: - driver type: object downwardAPI: + description: downwardAPI represents downward API about + the pod that should populate this volume properties: defaultMode: + description: |- + Optional: mode bits to use on created files by default. Must be a + Optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer items: + description: Items is a list of downward API volume + file items: + description: DownwardAPIVolumeFile represents information + to create the file containing the pod field properties: fieldRef: + description: 'Required: Selects a field of the + pod: only annotations, labels, name, namespace + and uid are supported.' properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select + in the specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic mode: + description: |- + Optional: mode bits used to set permissions on this file, must be an octal value + between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + 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 resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. properties: containerName: + description: 'Container name: required for + volumes, optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format + of the exposed resources, defaults to + "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource @@ -22997,21 +35994,87 @@ spec: x-kubernetes-list-type: atomic type: object emptyDir: + description: |- + emptyDir represents a temporary directory that shares a pod's lifetime. + More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir properties: medium: + description: |- + medium represents 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 type: string sizeLimit: anyOf: - type: integer - type: string + description: |- + sizeLimit is the 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: https://kubernetes.io/docs/concepts/storage/volumes#emptydir pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object ephemeral: + description: |- + ephemeral represents a volume that is handled by a cluster storage driver. + The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, + and deleted when the pod is removed. + + Use this if: + a) the volume is only needed while the pod runs, + b) features of normal volumes like restoring from snapshot or capacity + tracking are needed, + c) the storage driver is specified through a storage class, and + d) the storage driver supports dynamic volume provisioning through + a PersistentVolumeClaim (see EphemeralVolumeSource for more + information on the connection between this volume type + and PersistentVolumeClaim). + + Use PersistentVolumeClaim or one of the vendor-specific + APIs for volumes that persist for longer than the lifecycle + of an individual pod. + + Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to + be used that way - see the documentation of the driver for + more information. + + A pod can use both types of ephemeral volumes and + persistent volumes at the same time. properties: volumeClaimTemplate: + description: |- + Will be used to create a stand-alone PVC to provision the volume. + The pod in which this EphemeralVolumeSource is embedded will be the + owner of the PVC, i.e. the PVC will be deleted together with the + pod. The name of the PVC will be `-` where + `` is the name from the `PodSpec.Volumes` array + entry. Pod validation will reject the pod if the concatenated name + is not valid for a PVC (for example, too long). + + An existing PVC with that name that is not owned by the pod + will *not* be used for the pod to avoid using an unrelated + volume by mistake. Starting the pod is then blocked until + the unrelated PVC is removed. If such a pre-created PVC is + meant to be used by the pod, the PVC has to updated with an + owner reference to the pod once the pod exists. Normally + this should not be necessary, but it may be useful when + manually reconstructing a broken cluster. + + This field is read-only and no changes will be made by Kubernetes + to the PVC after it has been created. + + Required, must not be nil. properties: metadata: + description: |- + May contain labels and annotations that will be copied into the PVC + when creating it. No other fields are allowed and will be rejected during + validation. properties: annotations: additionalProperties: @@ -23033,19 +36096,44 @@ spec: type: string type: object spec: + description: |- + The specification for the PersistentVolumeClaim. The entire content is + copied unchanged into the PVC that gets created from this + template. The same fields as in a PersistentVolumeClaim + are also valid here. properties: accessModes: + description: |- + accessModes contains the desired access modes the volume should have. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 items: type: string type: array x-kubernetes-list-type: atomic dataSource: + description: |- + dataSource field can be used to specify either: + * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) + * An existing PVC (PersistentVolumeClaim) + If the provisioner or an external controller can support the specified data source, + it will create a new volume based on the contents of the specified data source. + When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef, + and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified. + If the namespace is specified, then dataSourceRef will not be copied to dataSource. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource + being referenced type: string name: + description: Name is the name of resource + being referenced type: string required: - kind @@ -23053,20 +36141,62 @@ spec: type: object x-kubernetes-map-type: atomic dataSourceRef: + description: |- + dataSourceRef specifies the object from which to populate the volume with data, if a non-empty + volume is desired. This may be any object from a non-empty API group (non + core object) or a PersistentVolumeClaim object. + When this field is specified, volume binding will only succeed if the type of + the specified object matches some installed volume populator or dynamic + provisioner. + This field will replace the functionality of the dataSource field and as such + if both fields are non-empty, they must have the same value. For backwards + compatibility, when namespace isn't specified in dataSourceRef, + both fields (dataSource and dataSourceRef) will be set to the same + value automatically if one of them is empty and the other is non-empty. + When namespace is specified in dataSourceRef, + dataSource isn't set to the same value and must be empty. + There are three important differences between dataSource and dataSourceRef: + * While dataSource only allows two specific types of objects, dataSourceRef + allows any non-core object, as well as PersistentVolumeClaim objects. + * While dataSource ignores disallowed values (dropping them), dataSourceRef + preserves all values, and generates an error if a disallowed value is + specified. + * While dataSource only allows local objects, dataSourceRef allows objects + in any namespaces. + (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. + (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource + being referenced type: string name: + description: Name is the name of resource + being referenced type: string namespace: + description: |- + Namespace is the namespace of resource being referenced + Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. + (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. type: string required: - kind - name type: object resources: + description: |- + resources represents the minimum resources the volume should have. + If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements + that are lower than previous value but must still be higher than capacity recorded in the + status field of the claim. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources properties: limits: additionalProperties: @@ -23075,6 +36205,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -23083,18 +36216,41 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object type: object selector: + description: selector is a label query over + volumes to consider for binding. properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The + requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key + that the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -23108,16 +36264,41 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic storageClassName: + description: |- + storageClassName is the name of the StorageClass required by the claim. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 type: string volumeAttributesClassName: + description: |- + volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. + If specified, the CSI driver will create or update the volume with the attributes defined + in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, + it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass + will be applied to the claim but it's not allowed to reset this field to empty string once it is set. + If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass + will be set by the persistentvolume controller if it exists. + If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be + set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource + exists. + More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ + (Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default). type: string volumeMode: + description: |- + volumeMode defines what type of volume is required by the claim. + Value of Filesystem is implied when not included in claim spec. type: string volumeName: + description: volumeName is the binding reference + to the PersistentVolume backing this claim. type: string type: object required: @@ -23125,41 +36306,84 @@ spec: type: object type: object fc: + description: fc represents a Fibre Channel resource that + is attached to a kubelet's host machine and then exposed + to the pod. properties: fsType: + description: |- + fsType is the 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. type: string lun: + description: 'lun is Optional: FC target lun number' format: int32 type: integer readOnly: + description: |- + readOnly is Optional: Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean targetWWNs: + description: 'targetWWNs is Optional: FC target worldwide + names (WWNs)' items: type: string type: array x-kubernetes-list-type: atomic wwids: + description: |- + wwids Optional: FC volume world wide identifiers (wwids) + Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. items: type: string type: array x-kubernetes-list-type: atomic type: object flexVolume: + description: |- + flexVolume represents a generic volume resource that is + provisioned/attached using an exec based plugin. + Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead. properties: driver: + description: driver is the name of the driver to use + for this volume. type: string fsType: + description: |- + fsType is the 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. type: string options: additionalProperties: type: string + description: 'options is Optional: this field holds + extra command options if any.' type: object readOnly: + description: |- + readOnly is Optional: defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef is 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: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic @@ -23167,98 +36391,238 @@ spec: - driver type: object flocker: + description: |- + flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running. + Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported. properties: datasetName: + description: |- + datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker + should be considered as deprecated type: string datasetUUID: + description: datasetUUID is the UUID of the dataset. + This is unique identifier of a Flocker dataset type: string type: object gcePersistentDisk: + description: |- + gcePersistentDisk represents a GCE Disk resource that is attached to a + kubelet's host machine and then exposed to the pod. + Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree + gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. + More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk properties: fsType: + description: |- + fsType is 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 type: string partition: + description: |- + partition is 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 format: int32 type: integer pdName: + description: |- + pdName is 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 readOnly: + 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: - pdName type: object gitRepo: + 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. properties: directory: + description: |- + directory is the 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. type: string repository: + description: repository is the URL type: string revision: + description: revision is the commit hash for the specified + revision. type: string required: - repository type: object glusterfs: + description: |- + glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. + Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. + More info: https://examples.k8s.io/volumes/glusterfs/README.md properties: endpoints: + description: |- + endpoints is the endpoint name that details Glusterfs topology. + More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod type: string path: + description: |- + path is the Glusterfs volume path. + More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod type: string readOnly: + 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 type: boolean required: - endpoints - path type: object hostPath: + 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 properties: path: + 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 type: string type: + description: |- + type for HostPath Volume + Defaults to "" + More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath type: string required: - path type: object image: + description: |- + image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. + The volume is resolved at pod startup depending on which PullPolicy value is provided: + + - Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. + - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. + - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. + + The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. + A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. + The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. + The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. + The volume will be mounted read-only (ro) and non-executable files (noexec). + Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33. + The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type. properties: pullPolicy: + description: |- + Policy for pulling OCI objects. Possible values are: + Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. + Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. + IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. + Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. type: string reference: + description: |- + Required: Image or artifact reference to be used. + Behaves in the same way as pod.spec.containers[*].image. + Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets. + More info: https://kubernetes.io/docs/concepts/containers/images + This field is optional to allow higher level config management to default or override + container images in workload controllers like Deployments and StatefulSets. type: string type: object iscsi: + 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 properties: chapAuthDiscovery: + description: chapAuthDiscovery defines whether support + iSCSI Discovery CHAP authentication type: boolean chapAuthSession: + description: chapAuthSession defines whether support + iSCSI Session CHAP authentication type: boolean fsType: + description: |- + fsType is the 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 type: string initiatorName: + description: |- + initiatorName is the custom iSCSI Initiator Name. + If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface + : will be created for the connection. type: string iqn: + description: iqn is the target iSCSI Qualified Name. type: string iscsiInterface: default: default + description: |- + iscsiInterface is the interface Name that uses an iSCSI transport. + Defaults to 'default' (tcp). type: string lun: + description: lun represents iSCSI Target Lun number. format: int32 type: integer portals: + description: |- + portals is the 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). items: type: string type: array x-kubernetes-list-type: atomic readOnly: + description: |- + readOnly here will force the ReadOnly setting in VolumeMounts. + Defaults to false. type: boolean secretRef: + description: secretRef is the CHAP Secret for iSCSI + target and initiator authentication properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic targetPortal: + description: |- + targetPortal is 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 required: - iqn @@ -23266,68 +36630,169 @@ spec: - targetPortal type: object name: + description: |- + name of the volume. + Must be a DNS_LABEL and unique within the pod. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string nfs: + 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 properties: path: + description: |- + path that is exported by the NFS server. + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs type: string readOnly: + 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 type: boolean server: + description: |- + server is the hostname or IP address of the NFS server. + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs type: string required: - path - server type: object persistentVolumeClaim: + description: |- + persistentVolumeClaimVolumeSource represents a reference to a + PersistentVolumeClaim in the same namespace. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims properties: claimName: + 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 readOnly: + description: |- + readOnly Will force the ReadOnly setting in VolumeMounts. + Default false. type: boolean required: - claimName type: object photonPersistentDisk: + description: |- + photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. + Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported. properties: fsType: + description: |- + fsType is the 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. type: string pdID: + description: pdID is the ID that identifies Photon + Controller persistent disk type: string required: - pdID type: object portworxVolume: + description: |- + portworxVolume represents a portworx volume attached and mounted on kubelets host machine. + Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type + are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate + is on. properties: fsType: + 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. type: string readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean volumeID: + description: volumeID uniquely identifies a Portworx + volume type: string required: - volumeID type: object projected: + description: projected items for all in one resources + secrets, configmaps, and downward API properties: defaultMode: + description: |- + defaultMode are the mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer sources: + description: |- + sources is the list of volume projections. Each entry in this list + handles one source. items: + description: |- + Projection that may be projected along with other supported volume types. + Exactly one of these fields must be set. properties: clusterTrustBundle: + description: |- + ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field + of ClusterTrustBundle objects in an auto-updating file. + + Alpha, gated by the ClusterTrustBundleProjection feature gate. + + ClusterTrustBundle objects can either be selected by name, or by the + combination of signer name and a label selector. + + Kubelet performs aggressive normalization of the PEM contents written + into the pod filesystem. Esoteric PEM features such as inter-block + comments and block headers are stripped. Certificates are deduplicated. + The ordering of certificates within the file is arbitrary, and Kubelet + may change the order over time. properties: labelSelector: + description: |- + Select all ClusterTrustBundles that match this label selector. Only has + effect if signerName is set. Mutually-exclusive with name. If unset, + interpreted as "match nothing". If set but empty, interpreted as "match + everything". properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The + requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label + key that the selector applies + to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -23341,31 +36806,75 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic name: + description: |- + Select a single ClusterTrustBundle by object name. Mutually-exclusive + with signerName and labelSelector. type: string optional: + description: |- + If true, don't block pod startup if the referenced ClusterTrustBundle(s) + aren't available. If using name, then the named ClusterTrustBundle is + allowed not to exist. If using signerName, then the combination of + signerName and labelSelector is allowed to match zero + ClusterTrustBundles. type: boolean path: + description: Relative path from the volume + root to write the bundle. type: string signerName: + description: |- + Select all ClusterTrustBundles that match this signer name. + Mutually-exclusive with name. The contents of all selected + ClusterTrustBundles will be unified and deduplicated. type: string required: - path type: object configMap: + description: configMap information about the + configMap data to project properties: items: + description: |- + items 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 '..'. items: + description: Maps a string key to a path + within a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + description: |- + path is 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 required: - key @@ -23375,42 +36884,92 @@ spec: x-kubernetes-list-type: atomic name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: optional specify whether the + ConfigMap or its keys must be defined type: boolean type: object x-kubernetes-map-type: atomic downwardAPI: + description: downwardAPI information about the + downwardAPI data to project properties: items: + description: Items is a list of DownwardAPIVolume + file items: + description: DownwardAPIVolumeFile represents + information to create the file containing + the pod field properties: fieldRef: + description: 'Required: Selects a + field of the pod: only annotations, + labels, name, namespace and uid + are supported.' properties: apiVersion: + description: Version of the schema + the FieldPath is written in + terms of, defaults to "v1". type: string fieldPath: + description: Path of the field + to select in the specified API + version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic mode: + description: |- + Optional: mode bits used to set permissions on this file, must be an octal value + between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + 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 resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. properties: containerName: + description: 'Container name: + required for volumes, optional + for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output + format of the exposed resources, + defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource + to select' type: string required: - resource @@ -23423,16 +36982,41 @@ spec: x-kubernetes-list-type: atomic type: object secret: + description: secret information about the secret + data to project properties: items: + description: |- + items 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 '..'. items: + description: Maps a string key to a path + within a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + description: |- + path is 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 required: - key @@ -23442,19 +37026,44 @@ spec: x-kubernetes-list-type: atomic name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: optional field specify whether + the Secret or its key must be defined type: boolean type: object x-kubernetes-map-type: atomic serviceAccountToken: + description: serviceAccountToken is information + about the serviceAccountToken data to project properties: audience: + 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. type: string expirationSeconds: + 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. format: int64 type: integer path: + description: |- + path is the path relative to the mount point of the file to project the + token into. type: string required: - path @@ -23464,84 +37073,183 @@ spec: x-kubernetes-list-type: atomic type: object quobyte: + description: |- + quobyte represents a Quobyte mount on the host that shares a pod's lifetime. + Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported. properties: group: + description: |- + group to map volume access to + Default is no group type: string readOnly: + description: |- + readOnly here will force the Quobyte volume to be mounted with read-only permissions. + Defaults to false. type: boolean registry: + 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 type: string tenant: + description: |- + tenant owning the given Quobyte volume in the Backend + Used with dynamically provisioned Quobyte volumes, value is set by the plugin type: string user: + description: |- + user to map volume access to + Defaults to serivceaccount user type: string volume: + description: volume is a string that references an + already created Quobyte volume by name. type: string required: - registry - volume type: object rbd: + description: |- + rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. + Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. + More info: https://examples.k8s.io/volumes/rbd/README.md properties: fsType: + description: |- + fsType is the 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 type: string image: + description: |- + image is the rados image name. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string keyring: default: /etc/ceph/keyring + 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 type: string monitors: + description: |- + monitors is a collection of Ceph monitors. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it items: type: string type: array x-kubernetes-list-type: atomic pool: default: rbd + description: |- + pool is the rados pool name. + Default is rbd. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string readOnly: + 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 type: boolean secretRef: + 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 properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic user: default: admin + description: |- + user is the rados user name. + Default is admin. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string required: - image - monitors type: object scaleIO: + description: |- + scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. + Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported. properties: fsType: default: xfs + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". + Default is "xfs". type: string gateway: + description: gateway is the host address of the ScaleIO + API Gateway. type: string protectionDomain: + description: protectionDomain is the name of the ScaleIO + Protection Domain for the configured storage. type: string readOnly: + description: |- + readOnly Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef references to the secret for ScaleIO user and other + sensitive information. If this is not provided, Login operation will fail. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic sslEnabled: + description: sslEnabled Flag enable/disable SSL communication + with Gateway, default false type: boolean storageMode: default: ThinProvisioned + description: |- + storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. + Default is ThinProvisioned. type: string storagePool: + description: storagePool is the ScaleIO Storage Pool + associated with the protection domain. type: string system: + description: system is the name of the storage system + as configured in ScaleIO. type: string volumeName: + description: |- + volumeName is the name of a volume already created in the ScaleIO system + that is associated with this volume source. type: string required: - gateway @@ -23549,19 +37257,53 @@ spec: - system type: object secret: + description: |- + secret represents a secret that should populate this volume. + More info: https://kubernetes.io/docs/concepts/storage/volumes#secret properties: defaultMode: + description: |- + defaultMode is Optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values + for mode bits. 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. format: int32 type: integer items: + description: |- + items 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 '..'. items: + description: Maps a string key to a path within + a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + description: |- + path is 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 required: - key @@ -23570,37 +37312,86 @@ spec: type: array x-kubernetes-list-type: atomic optional: + description: optional field specify whether the Secret + or its keys must be defined type: boolean secretName: + description: |- + secretName is the name of the secret in the pod's namespace to use. + More info: https://kubernetes.io/docs/concepts/storage/volumes#secret type: string type: object storageos: + description: |- + storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. + Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. properties: fsType: + description: |- + fsType is the 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. type: string readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef specifies the secret to use for obtaining the StorageOS API + credentials. If not specified, default values will be attempted. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic volumeName: + description: |- + volumeName is the human-readable name of the StorageOS volume. Volume + names are only unique within a namespace. type: string volumeNamespace: + 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. type: string type: object vsphereVolume: + description: |- + vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. + Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type + are redirected to the csi.vsphere.vmware.com CSI driver. properties: fsType: + description: |- + fsType is 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. type: string storagePolicyID: + description: storagePolicyID is the storage Policy + Based Management (SPBM) profile ID associated with + the StoragePolicyName. type: string storagePolicyName: + description: storagePolicyName is the storage Policy + Based Management (SPBM) profile name. type: string volumePath: + description: volumePath is the path that identifies + vSphere volume vmdk type: string required: - volumePath @@ -23610,48 +37401,120 @@ spec: type: object type: array type: object + maxItems: 200 type: array + x-kubernetes-validations: + - message: template must have at most one template type + rule: 'self.all(t, (has(t.container) ? 1 : 0) + (has(t.script) ? + 1 : 0) + (has(t.dag) ? 1 : 0) + (has(t.steps) ? 1 : 0) + (has(t.resource) + ? 1 : 0) + (has(t.suspend) ? 1 : 0) + (has(t.containerSet) ? 1 + : 0) + (has(t.data) ? 1 : 0) + (has(t.http) ? 1 : 0) + (has(t.plugin) + ? 1 : 0) <= 1)' + - message: timeout cannot be applied to steps or dag templates + rule: self.all(t, !(has(t.timeout) && t.timeout != "" && (has(t.steps) + || has(t.dag)))) + - message: activeDeadlineSeconds is only valid for leaf templates + rule: self.all(t, !(has(t.activeDeadlineSeconds) && (has(t.steps) + || has(t.dag)))) tolerations: + description: Tolerations to apply to workflow pods. items: + description: |- + The pod this Toleration is attached to tolerates any taint that matches + the triple using the matching operator . properties: effect: + description: |- + Effect indicates the taint effect to match. Empty means match all taint effects. + When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. type: string key: + description: |- + Key is the taint key that the toleration applies to. Empty means match all taint keys. + If the key is empty, operator must be Exists; this combination means to match all values and all keys. type: string operator: + description: |- + Operator represents a key's relationship to the value. + Valid operators are Exists and Equal. Defaults to Equal. + Exists is equivalent to wildcard for value, so that a pod can + tolerate all taints of a particular category. type: string tolerationSeconds: + description: |- + TolerationSeconds represents the period of time the toleration (which must be + of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, + it is not set, which means tolerate the taint forever (do not evict). Zero and + negative values will be treated as 0 (evict immediately) by the system. format: int64 type: integer value: + description: |- + Value is the taint value the toleration matches to. + If the operator is Exists, the value should be empty, otherwise just a regular string. type: string type: object type: array ttlStrategy: + description: |- + TTLStrategy limits the lifetime of a Workflow that has finished execution depending on if it + Succeeded or Failed. If this struct is set, once the Workflow finishes, it will be + deleted after the time to live expires. If this field is unset, + the controller config map will hold the default values. properties: secondsAfterCompletion: + description: SecondsAfterCompletion is the number of seconds to + live after completion format: int32 type: integer secondsAfterFailure: + description: SecondsAfterFailure is the number of seconds to live + after failure format: int32 type: integer secondsAfterSuccess: + description: SecondsAfterSuccess is the number of seconds to live + after success format: int32 type: integer type: object volumeClaimGC: + description: VolumeClaimGC describes the strategy to use when deleting + volumes from completed workflows properties: strategy: + description: Strategy is the strategy to use. One of "OnWorkflowCompletion", + "OnWorkflowSuccess". Defaults to "OnWorkflowSuccess" type: string type: object volumeClaimTemplates: + description: |- + VolumeClaimTemplates is a list of claims that containers are allowed to reference. + The Workflow controller will create the claims at the beginning of the workflow + and delete the claims upon completion of the workflow items: + description: PersistentVolumeClaim is a user's request for and claim + to a persistent volume 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: + description: |- + Standard object's metadata. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata properties: annotations: additionalProperties: @@ -23673,19 +37536,40 @@ spec: type: string type: object spec: + description: |- + spec defines the desired characteristics of a volume requested by a pod author. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims properties: accessModes: + description: |- + accessModes contains the desired access modes the volume should have. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 items: type: string type: array x-kubernetes-list-type: atomic dataSource: + description: |- + dataSource field can be used to specify either: + * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) + * An existing PVC (PersistentVolumeClaim) + If the provisioner or an external controller can support the specified data source, + it will create a new volume based on the contents of the specified data source. + When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef, + and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified. + If the namespace is specified, then dataSourceRef will not be copied to dataSource. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource being referenced type: string name: + description: Name is the name of resource being referenced type: string required: - kind @@ -23693,20 +37577,60 @@ spec: type: object x-kubernetes-map-type: atomic dataSourceRef: + description: |- + dataSourceRef specifies the object from which to populate the volume with data, if a non-empty + volume is desired. This may be any object from a non-empty API group (non + core object) or a PersistentVolumeClaim object. + When this field is specified, volume binding will only succeed if the type of + the specified object matches some installed volume populator or dynamic + provisioner. + This field will replace the functionality of the dataSource field and as such + if both fields are non-empty, they must have the same value. For backwards + compatibility, when namespace isn't specified in dataSourceRef, + both fields (dataSource and dataSourceRef) will be set to the same + value automatically if one of them is empty and the other is non-empty. + When namespace is specified in dataSourceRef, + dataSource isn't set to the same value and must be empty. + There are three important differences between dataSource and dataSourceRef: + * While dataSource only allows two specific types of objects, dataSourceRef + allows any non-core object, as well as PersistentVolumeClaim objects. + * While dataSource ignores disallowed values (dropping them), dataSourceRef + preserves all values, and generates an error if a disallowed value is + specified. + * While dataSource only allows local objects, dataSourceRef allows objects + in any namespaces. + (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. + (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource being referenced type: string name: + description: Name is the name of resource being referenced type: string namespace: + description: |- + Namespace is the namespace of resource being referenced + Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. + (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. type: string required: - kind - name type: object resources: + description: |- + resources represents the minimum resources the volume should have. + If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements + that are lower than previous value but must still be higher than capacity recorded in the + status field of the claim. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources properties: limits: additionalProperties: @@ -23715,6 +37639,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -23723,18 +37650,40 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object type: object selector: + description: selector is a label query over volumes to consider + for binding. properties: matchExpressions: + description: matchExpressions is a list of label selector + requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the selector + applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -23748,28 +37697,99 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic storageClassName: + description: |- + storageClassName is the name of the StorageClass required by the claim. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 type: string volumeAttributesClassName: + description: |- + volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. + If specified, the CSI driver will create or update the volume with the attributes defined + in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, + it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass + will be applied to the claim but it's not allowed to reset this field to empty string once it is set. + If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass + will be set by the persistentvolume controller if it exists. + If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be + set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource + exists. + More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ + (Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default). type: string volumeMode: + description: |- + volumeMode defines what type of volume is required by the claim. + Value of Filesystem is implied when not included in claim spec. type: string volumeName: + description: volumeName is the binding reference to the + PersistentVolume backing this claim. type: string type: object status: + description: |- + status represents the current information/status of a persistent volume claim. + Read-only. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims properties: accessModes: + description: |- + accessModes contains the actual access modes the volume backing the PVC has. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 items: type: string type: array x-kubernetes-list-type: atomic allocatedResourceStatuses: additionalProperties: + description: |- + When a controller receives persistentvolume claim update with ClaimResourceStatus for a resource + that it does not recognizes, then it should ignore that update and let other controllers + handle it. type: string + description: "allocatedResourceStatuses stores status of + resource being resized for the given PVC.\nKey names follow + standard Kubernetes label syntax. Valid values are either:\n\t* + Un-prefixed keys:\n\t\t- storage - the capacity of the + volume.\n\t* Custom resources must use implementation-defined + prefixed names such as \"example.com/my-custom-resource\"\nApart + from above values - keys that are unprefixed or have kubernetes.io + prefix are considered\nreserved and hence may not be used.\n\nClaimResourceStatus + can be in any of following states:\n\t- ControllerResizeInProgress:\n\t\tState + set when resize controller starts resizing the volume + in control-plane.\n\t- ControllerResizeFailed:\n\t\tState + set when resize has failed in resize controller with a + terminal error.\n\t- NodeResizePending:\n\t\tState set + when resize controller has finished resizing the volume + but further resizing of\n\t\tvolume is needed on the node.\n\t- + NodeResizeInProgress:\n\t\tState set when kubelet starts + resizing the volume.\n\t- NodeResizeFailed:\n\t\tState + set when resizing has failed in kubelet with a terminal + error. Transient errors don't set\n\t\tNodeResizeFailed.\nFor + example: if expanding a PVC for more capacity - this field + can be one of the following states:\n\t- pvc.status.allocatedResourceStatus['storage'] + = \"ControllerResizeInProgress\"\n - pvc.status.allocatedResourceStatus['storage'] + = \"ControllerResizeFailed\"\n - pvc.status.allocatedResourceStatus['storage'] + = \"NodeResizePending\"\n - pvc.status.allocatedResourceStatus['storage'] + = \"NodeResizeInProgress\"\n - pvc.status.allocatedResourceStatus['storage'] + = \"NodeResizeFailed\"\nWhen this field is not set, it + means that no resize operation is in progress for the + given PVC.\n\nA controller that receives PVC update with + previously unknown resourceName or ClaimResourceStatus\nshould + ignore the update for the purpose it was designed. For + example - a controller that\nonly is responsible for resizing + capacity of the volume, should ignore PVC updates that + change other valid\nresources associated with PVC.\n\nThis + is an alpha field and requires enabling RecoverVolumeExpansionFailure + feature." type: object x-kubernetes-map-type: granular allocatedResources: @@ -23779,6 +37799,30 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: "allocatedResources tracks the resources allocated + to a PVC including its capacity.\nKey names follow standard + Kubernetes label syntax. Valid values are either:\n\t* + Un-prefixed keys:\n\t\t- storage - the capacity of the + volume.\n\t* Custom resources must use implementation-defined + prefixed names such as \"example.com/my-custom-resource\"\nApart + from above values - keys that are unprefixed or have kubernetes.io + prefix are considered\nreserved and hence may not be used.\n\nCapacity + reported here may be larger than the actual capacity when + a volume expansion operation\nis requested.\nFor storage + quota, the larger value from allocatedResources and PVC.spec.resources + is used.\nIf allocatedResources is not set, PVC.spec.resources + alone is used for quota calculation.\nIf a volume expansion + capacity request is lowered, allocatedResources is only\nlowered + if there are no expansion operations in progress and if + the actual volume capacity\nis equal or lower than the + requested capacity.\n\nA controller that receives PVC + update with previously unknown resourceName\nshould ignore + the update for the purpose it was designed. For example + - a controller that\nonly is responsible for resizing + capacity of the volume, should ignore PVC updates that + change other valid\nresources associated with PVC.\n\nThis + is an alpha field and requires enabling RecoverVolumeExpansionFailure + feature." type: object capacity: additionalProperties: @@ -23787,23 +37831,47 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: capacity represents the actual resources of + the underlying volume. type: object conditions: + description: |- + conditions is the current Condition of persistent volume claim. If underlying persistent volume is being + resized then the Condition will be set to 'Resizing'. items: + description: PersistentVolumeClaimCondition contains details + about state of pvc properties: lastProbeTime: + description: lastProbeTime is the time we probed the + condition. format: date-time type: string lastTransitionTime: + description: lastTransitionTime is the time the condition + transitioned from one status to another. format: date-time type: string message: + description: message is the human-readable message + indicating details about last transition. type: string reason: + description: |- + reason is a unique, this should be a short, machine understandable string that gives the reason + for condition's last transition. If it reports "Resizing" that means the underlying + persistent volume is being resized. type: string status: + description: |- + Status is the status of the condition. + Can be True, False, Unknown. + More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=state%20of%20pvc-,conditions.status,-(string)%2C%20required type: string type: + description: |- + Type is the type of the condition. + More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=set%20to%20%27ResizeStarted%27.-,PersistentVolumeClaimCondition,-contains%20details%20about type: string required: - status @@ -23814,127 +37882,293 @@ spec: - type x-kubernetes-list-type: map currentVolumeAttributesClassName: + description: |- + currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. + When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim + This is a beta field and requires enabling VolumeAttributesClass feature (off by default). type: string modifyVolumeStatus: + description: |- + ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. + When this is unset, there is no ModifyVolume operation being attempted. + This is a beta field and requires enabling VolumeAttributesClass feature (off by default). properties: status: + description: "status is the status of the ControllerModifyVolume + operation. It can be in any of following states:\n + - Pending\n Pending indicates that the PersistentVolumeClaim + cannot be modified due to unmet requirements, such + as\n the specified VolumeAttributesClass not existing.\n + - InProgress\n InProgress indicates that the volume + is being modified.\n - Infeasible\n Infeasible indicates + that the request has been rejected as invalid by the + CSI driver. To\n\t resolve the error, a valid VolumeAttributesClass + needs to be specified.\nNote: New statuses can be + added in the future. Consumers should check for unknown + statuses and fail appropriately." type: string targetVolumeAttributesClassName: + description: targetVolumeAttributesClassName is the + name of the VolumeAttributesClass the PVC currently + being reconciled type: string required: - status type: object phase: + description: phase represents the current phase of PersistentVolumeClaim. type: string type: object type: object type: array volumes: + description: Volumes is a list of volumes that can be mounted by containers + in a workflow. items: + description: Volume represents a named volume in a pod that may + be accessed by any container in the pod. properties: awsElasticBlockStore: + description: |- + awsElasticBlockStore represents an AWS Disk resource that is attached to a + kubelet's host machine and then exposed to the pod. + Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree + awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore properties: fsType: + description: |- + fsType is the 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#awselasticblockstore type: string partition: + description: |- + partition is 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). format: int32 type: integer readOnly: + description: |- + readOnly value true will force the readOnly setting in VolumeMounts. + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore type: boolean volumeID: + description: |- + volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore type: string required: - volumeID type: object azureDisk: + description: |- + azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. + Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type + are redirected to the disk.csi.azure.com CSI driver. properties: cachingMode: + description: 'cachingMode is the Host Caching mode: None, + Read Only, Read Write.' type: string diskName: + description: diskName is the Name of the data disk in the + blob storage type: string diskURI: + description: diskURI is the URI of data disk in the blob + storage type: string fsType: default: ext4 + description: |- + fsType is 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. type: string kind: + description: 'kind expected values are Shared: multiple + blob disks per storage account Dedicated: single blob + disk per storage account Managed: azure managed data + disk (only in managed availability set). defaults to shared' type: string readOnly: default: false + description: |- + readOnly Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean required: - diskName - diskURI type: object azureFile: + description: |- + azureFile represents an Azure File Service mount on the host and bind mount to the pod. + Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type + are redirected to the file.csi.azure.com CSI driver. properties: readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretName: + description: secretName is the name of secret that contains + Azure Storage Account Name and Key type: string shareName: + description: shareName is the azure share Name type: string required: - secretName - shareName type: object cephfs: + description: |- + cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. + Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported. properties: monitors: + description: |- + monitors is Required: Monitors is a collection of Ceph monitors + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it items: type: string type: array x-kubernetes-list-type: atomic path: + description: 'path is Optional: Used as the mounted root, + rather than the full Ceph tree, default is /' type: string readOnly: + description: |- + readOnly is 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 type: boolean secretFile: + description: |- + secretFile is 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 type: string secretRef: + description: |- + secretRef is 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 properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic user: + description: |- + user is optional: User is the rados user name, default is admin + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it type: string required: - monitors type: object cinder: + description: |- + cinder represents a cinder volume attached and mounted on kubelets host machine. + Deprecated: Cinder is deprecated. All operations for the in-tree cinder type + are redirected to the cinder.csi.openstack.org CSI driver. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md properties: fsType: + description: |- + fsType is the 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 type: string readOnly: + description: |- + readOnly 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 type: boolean secretRef: + description: |- + secretRef is optional: points to a secret object containing parameters used to connect + to OpenStack. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic volumeID: + description: |- + volumeID used to identify the volume in cinder. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md type: string required: - volumeID type: object configMap: + description: configMap represents a configMap that should populate + this volume properties: defaultMode: + description: |- + defaultMode is optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer items: + description: |- + items 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 '..'. items: + description: Maps a string key to a path within a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + description: |- + path is 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 required: - key @@ -23944,67 +38178,143 @@ spec: x-kubernetes-list-type: atomic name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: optional specify whether the ConfigMap or its + keys must be defined type: boolean type: object x-kubernetes-map-type: atomic csi: + description: csi (Container Storage Interface) represents ephemeral + storage that is handled by certain external CSI drivers. properties: driver: + 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. type: string fsType: + description: |- + fsType 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. type: string nodePublishSecretRef: + 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. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic readOnly: + description: |- + readOnly specifies a read-only configuration for the volume. + Defaults to false (read/write). type: boolean volumeAttributes: additionalProperties: type: string + description: |- + volumeAttributes stores driver-specific properties that are passed to the CSI + driver. Consult your driver's documentation for supported values. type: object required: - driver type: object downwardAPI: + description: downwardAPI represents downward API about the pod + that should populate this volume properties: defaultMode: + description: |- + Optional: mode bits to use on created files by default. Must be a + Optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer items: + description: Items is a list of downward API volume file items: + description: DownwardAPIVolumeFile represents information + to create the file containing the pod field properties: fieldRef: + description: 'Required: Selects a field of the pod: + only annotations, labels, name, namespace and uid + are supported.' properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the + specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic mode: + description: |- + Optional: mode bits used to set permissions on this file, must be an octal value + between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + 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 resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the + exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource @@ -24017,21 +38327,87 @@ spec: x-kubernetes-list-type: atomic type: object emptyDir: + description: |- + emptyDir represents a temporary directory that shares a pod's lifetime. + More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir properties: medium: + description: |- + medium represents 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 type: string sizeLimit: anyOf: - type: integer - type: string + description: |- + sizeLimit is the 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: https://kubernetes.io/docs/concepts/storage/volumes#emptydir pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object ephemeral: + description: |- + ephemeral represents a volume that is handled by a cluster storage driver. + The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, + and deleted when the pod is removed. + + Use this if: + a) the volume is only needed while the pod runs, + b) features of normal volumes like restoring from snapshot or capacity + tracking are needed, + c) the storage driver is specified through a storage class, and + d) the storage driver supports dynamic volume provisioning through + a PersistentVolumeClaim (see EphemeralVolumeSource for more + information on the connection between this volume type + and PersistentVolumeClaim). + + Use PersistentVolumeClaim or one of the vendor-specific + APIs for volumes that persist for longer than the lifecycle + of an individual pod. + + Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to + be used that way - see the documentation of the driver for + more information. + + A pod can use both types of ephemeral volumes and + persistent volumes at the same time. properties: volumeClaimTemplate: + description: |- + Will be used to create a stand-alone PVC to provision the volume. + The pod in which this EphemeralVolumeSource is embedded will be the + owner of the PVC, i.e. the PVC will be deleted together with the + pod. The name of the PVC will be `-` where + `` is the name from the `PodSpec.Volumes` array + entry. Pod validation will reject the pod if the concatenated name + is not valid for a PVC (for example, too long). + + An existing PVC with that name that is not owned by the pod + will *not* be used for the pod to avoid using an unrelated + volume by mistake. Starting the pod is then blocked until + the unrelated PVC is removed. If such a pre-created PVC is + meant to be used by the pod, the PVC has to updated with an + owner reference to the pod once the pod exists. Normally + this should not be necessary, but it may be useful when + manually reconstructing a broken cluster. + + This field is read-only and no changes will be made by Kubernetes + to the PVC after it has been created. + + Required, must not be nil. properties: metadata: + description: |- + May contain labels and annotations that will be copied into the PVC + when creating it. No other fields are allowed and will be rejected during + validation. properties: annotations: additionalProperties: @@ -24053,19 +38429,44 @@ spec: type: string type: object spec: + description: |- + The specification for the PersistentVolumeClaim. The entire content is + copied unchanged into the PVC that gets created from this + template. The same fields as in a PersistentVolumeClaim + are also valid here. properties: accessModes: + description: |- + accessModes contains the desired access modes the volume should have. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 items: type: string type: array x-kubernetes-list-type: atomic dataSource: + description: |- + dataSource field can be used to specify either: + * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) + * An existing PVC (PersistentVolumeClaim) + If the provisioner or an external controller can support the specified data source, + it will create a new volume based on the contents of the specified data source. + When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef, + and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified. + If the namespace is specified, then dataSourceRef will not be copied to dataSource. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource being + referenced type: string name: + description: Name is the name of resource being + referenced type: string required: - kind @@ -24073,20 +38474,62 @@ spec: type: object x-kubernetes-map-type: atomic dataSourceRef: + description: |- + dataSourceRef specifies the object from which to populate the volume with data, if a non-empty + volume is desired. This may be any object from a non-empty API group (non + core object) or a PersistentVolumeClaim object. + When this field is specified, volume binding will only succeed if the type of + the specified object matches some installed volume populator or dynamic + provisioner. + This field will replace the functionality of the dataSource field and as such + if both fields are non-empty, they must have the same value. For backwards + compatibility, when namespace isn't specified in dataSourceRef, + both fields (dataSource and dataSourceRef) will be set to the same + value automatically if one of them is empty and the other is non-empty. + When namespace is specified in dataSourceRef, + dataSource isn't set to the same value and must be empty. + There are three important differences between dataSource and dataSourceRef: + * While dataSource only allows two specific types of objects, dataSourceRef + allows any non-core object, as well as PersistentVolumeClaim objects. + * While dataSource ignores disallowed values (dropping them), dataSourceRef + preserves all values, and generates an error if a disallowed value is + specified. + * While dataSource only allows local objects, dataSourceRef allows objects + in any namespaces. + (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. + (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource being + referenced type: string name: + description: Name is the name of resource being + referenced type: string namespace: + description: |- + Namespace is the namespace of resource being referenced + Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. + (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. type: string required: - kind - name type: object resources: + description: |- + resources represents the minimum resources the volume should have. + If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements + that are lower than previous value but must still be higher than capacity recorded in the + status field of the claim. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources properties: limits: additionalProperties: @@ -24095,6 +38538,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -24103,18 +38549,41 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object type: object selector: + description: selector is a label query over volumes + to consider for binding. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -24128,16 +38597,41 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic storageClassName: + description: |- + storageClassName is the name of the StorageClass required by the claim. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 type: string volumeAttributesClassName: + description: |- + volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. + If specified, the CSI driver will create or update the volume with the attributes defined + in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, + it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass + will be applied to the claim but it's not allowed to reset this field to empty string once it is set. + If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass + will be set by the persistentvolume controller if it exists. + If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be + set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource + exists. + More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ + (Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default). type: string volumeMode: + description: |- + volumeMode defines what type of volume is required by the claim. + Value of Filesystem is implied when not included in claim spec. type: string volumeName: + description: volumeName is the binding reference + to the PersistentVolume backing this claim. type: string type: object required: @@ -24145,41 +38639,84 @@ spec: type: object type: object fc: + description: fc represents a Fibre Channel resource that is + attached to a kubelet's host machine and then exposed to the + pod. properties: fsType: + description: |- + fsType is the 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. type: string lun: + description: 'lun is Optional: FC target lun number' format: int32 type: integer readOnly: + description: |- + readOnly is Optional: Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean targetWWNs: + description: 'targetWWNs is Optional: FC target worldwide + names (WWNs)' items: type: string type: array x-kubernetes-list-type: atomic wwids: + description: |- + wwids Optional: FC volume world wide identifiers (wwids) + Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. items: type: string type: array x-kubernetes-list-type: atomic type: object flexVolume: + description: |- + flexVolume represents a generic volume resource that is + provisioned/attached using an exec based plugin. + Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead. properties: driver: + description: driver is the name of the driver to use for + this volume. type: string fsType: + description: |- + fsType is the 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. type: string options: additionalProperties: type: string + description: 'options is Optional: this field holds extra + command options if any.' type: object readOnly: + description: |- + readOnly is Optional: defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef is 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: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic @@ -24187,98 +38724,238 @@ spec: - driver type: object flocker: + description: |- + flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running. + Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported. properties: datasetName: + description: |- + datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker + should be considered as deprecated type: string datasetUUID: + description: datasetUUID is the UUID of the dataset. This + is unique identifier of a Flocker dataset type: string type: object gcePersistentDisk: + description: |- + gcePersistentDisk represents a GCE Disk resource that is attached to a + kubelet's host machine and then exposed to the pod. + Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree + gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. + More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk properties: fsType: + description: |- + fsType is 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 type: string partition: + description: |- + partition is 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 format: int32 type: integer pdName: + description: |- + pdName is 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 readOnly: + 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: - pdName type: object gitRepo: + 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. properties: directory: + description: |- + directory is the 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. type: string repository: + description: repository is the URL type: string revision: + description: revision is the commit hash for the specified + revision. type: string required: - repository type: object glusterfs: + description: |- + glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. + Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. + More info: https://examples.k8s.io/volumes/glusterfs/README.md properties: endpoints: + description: |- + endpoints is the endpoint name that details Glusterfs topology. + More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod type: string path: + description: |- + path is the Glusterfs volume path. + More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod type: string readOnly: + 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 type: boolean required: - endpoints - path type: object hostPath: + 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 properties: path: + 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 type: string type: + description: |- + type for HostPath Volume + Defaults to "" + More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath type: string required: - path type: object image: + description: |- + image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. + The volume is resolved at pod startup depending on which PullPolicy value is provided: + + - Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. + - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. + - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. + + The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. + A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. + The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. + The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. + The volume will be mounted read-only (ro) and non-executable files (noexec). + Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33. + The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type. properties: pullPolicy: + description: |- + Policy for pulling OCI objects. Possible values are: + Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. + Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. + IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. + Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. type: string reference: + description: |- + Required: Image or artifact reference to be used. + Behaves in the same way as pod.spec.containers[*].image. + Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets. + More info: https://kubernetes.io/docs/concepts/containers/images + This field is optional to allow higher level config management to default or override + container images in workload controllers like Deployments and StatefulSets. type: string type: object iscsi: + 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 properties: chapAuthDiscovery: + description: chapAuthDiscovery defines whether support iSCSI + Discovery CHAP authentication type: boolean chapAuthSession: + description: chapAuthSession defines whether support iSCSI + Session CHAP authentication type: boolean fsType: + description: |- + fsType is the 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 type: string initiatorName: + description: |- + initiatorName is the custom iSCSI Initiator Name. + If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface + : will be created for the connection. type: string iqn: + description: iqn is the target iSCSI Qualified Name. type: string iscsiInterface: default: default + description: |- + iscsiInterface is the interface Name that uses an iSCSI transport. + Defaults to 'default' (tcp). type: string lun: + description: lun represents iSCSI Target Lun number. format: int32 type: integer portals: + description: |- + portals is the 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). items: type: string type: array x-kubernetes-list-type: atomic readOnly: + description: |- + readOnly here will force the ReadOnly setting in VolumeMounts. + Defaults to false. type: boolean secretRef: + description: secretRef is the CHAP Secret for iSCSI target + and initiator authentication properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic targetPortal: + description: |- + targetPortal is 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 required: - iqn @@ -24286,68 +38963,167 @@ spec: - targetPortal type: object name: + description: |- + name of the volume. + Must be a DNS_LABEL and unique within the pod. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string nfs: + 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 properties: path: + description: |- + path that is exported by the NFS server. + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs type: string readOnly: + 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 type: boolean server: + description: |- + server is the hostname or IP address of the NFS server. + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs type: string required: - path - server type: object persistentVolumeClaim: + description: |- + persistentVolumeClaimVolumeSource represents a reference to a + PersistentVolumeClaim in the same namespace. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims properties: claimName: + 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 readOnly: + description: |- + readOnly Will force the ReadOnly setting in VolumeMounts. + Default false. type: boolean required: - claimName type: object photonPersistentDisk: + description: |- + photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. + Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported. properties: fsType: + description: |- + fsType is the 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. type: string pdID: + description: pdID is the ID that identifies Photon Controller + persistent disk type: string required: - pdID type: object portworxVolume: + description: |- + portworxVolume represents a portworx volume attached and mounted on kubelets host machine. + Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type + are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate + is on. properties: fsType: + 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. type: string readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean volumeID: + description: volumeID uniquely identifies a Portworx volume type: string required: - volumeID type: object projected: + description: projected items for all in one resources secrets, + configmaps, and downward API properties: defaultMode: + description: |- + defaultMode are the mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer sources: + description: |- + sources is the list of volume projections. Each entry in this list + handles one source. items: + description: |- + Projection that may be projected along with other supported volume types. + Exactly one of these fields must be set. properties: clusterTrustBundle: + description: |- + ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field + of ClusterTrustBundle objects in an auto-updating file. + + Alpha, gated by the ClusterTrustBundleProjection feature gate. + + ClusterTrustBundle objects can either be selected by name, or by the + combination of signer name and a label selector. + + Kubelet performs aggressive normalization of the PEM contents written + into the pod filesystem. Esoteric PEM features such as inter-block + comments and block headers are stripped. Certificates are deduplicated. + The ordering of certificates within the file is arbitrary, and Kubelet + may change the order over time. properties: labelSelector: + description: |- + Select all ClusterTrustBundles that match this label selector. Only has + effect if signerName is set. Mutually-exclusive with name. If unset, + interpreted as "match nothing". If set but empty, interpreted as "match + everything". properties: matchExpressions: + description: matchExpressions is a list of + label selector requirements. The requirements + are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -24361,31 +39137,75 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic name: + description: |- + Select a single ClusterTrustBundle by object name. Mutually-exclusive + with signerName and labelSelector. type: string optional: + description: |- + If true, don't block pod startup if the referenced ClusterTrustBundle(s) + aren't available. If using name, then the named ClusterTrustBundle is + allowed not to exist. If using signerName, then the combination of + signerName and labelSelector is allowed to match zero + ClusterTrustBundles. type: boolean path: + description: Relative path from the volume root + to write the bundle. type: string signerName: + description: |- + Select all ClusterTrustBundles that match this signer name. + Mutually-exclusive with name. The contents of all selected + ClusterTrustBundles will be unified and deduplicated. type: string required: - path type: object configMap: + description: configMap information about the configMap + data to project properties: items: + description: |- + items 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 '..'. items: + description: Maps a string key to a path within + a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + description: |- + path is 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 required: - key @@ -24395,42 +39215,88 @@ spec: x-kubernetes-list-type: atomic name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: optional specify whether the ConfigMap + or its keys must be defined type: boolean type: object x-kubernetes-map-type: atomic downwardAPI: + description: downwardAPI information about the downwardAPI + data to project properties: items: + description: Items is a list of DownwardAPIVolume + file items: + description: DownwardAPIVolumeFile represents + information to create the file containing + the pod field properties: fieldRef: + description: 'Required: Selects a field + of the pod: only annotations, labels, + name, namespace and uid are supported.' properties: apiVersion: + description: Version of the schema the + FieldPath is written in terms of, + defaults to "v1". type: string fieldPath: + description: Path of the field to select + in the specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic mode: + description: |- + Optional: mode bits used to set permissions on this file, must be an octal value + between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + 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 resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. properties: containerName: + description: 'Container name: required + for volumes, optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format + of the exposed resources, defaults + to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to + select' type: string required: - resource @@ -24443,16 +39309,41 @@ spec: x-kubernetes-list-type: atomic type: object secret: + description: secret information about the secret data + to project properties: items: + description: |- + items 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 '..'. items: + description: Maps a string key to a path within + a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + description: |- + path is 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 required: - key @@ -24462,19 +39353,44 @@ spec: x-kubernetes-list-type: atomic name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: optional field specify whether the + Secret or its key must be defined type: boolean type: object x-kubernetes-map-type: atomic serviceAccountToken: + description: serviceAccountToken is information about + the serviceAccountToken data to project properties: audience: + 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. type: string expirationSeconds: + 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. format: int64 type: integer path: + description: |- + path is the path relative to the mount point of the file to project the + token into. type: string required: - path @@ -24484,84 +39400,183 @@ spec: x-kubernetes-list-type: atomic type: object quobyte: + description: |- + quobyte represents a Quobyte mount on the host that shares a pod's lifetime. + Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported. properties: group: + description: |- + group to map volume access to + Default is no group type: string readOnly: + description: |- + readOnly here will force the Quobyte volume to be mounted with read-only permissions. + Defaults to false. type: boolean registry: + 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 type: string tenant: + description: |- + tenant owning the given Quobyte volume in the Backend + Used with dynamically provisioned Quobyte volumes, value is set by the plugin type: string user: + description: |- + user to map volume access to + Defaults to serivceaccount user type: string volume: + description: volume is a string that references an already + created Quobyte volume by name. type: string required: - registry - volume type: object rbd: + description: |- + rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. + Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. + More info: https://examples.k8s.io/volumes/rbd/README.md properties: fsType: + description: |- + fsType is the 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 type: string image: + description: |- + image is the rados image name. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string keyring: default: /etc/ceph/keyring + 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 type: string monitors: + description: |- + monitors is a collection of Ceph monitors. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it items: type: string type: array x-kubernetes-list-type: atomic pool: default: rbd + description: |- + pool is the rados pool name. + Default is rbd. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string readOnly: + 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 type: boolean secretRef: + 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 properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic user: default: admin + description: |- + user is the rados user name. + Default is admin. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string required: - image - monitors type: object scaleIO: + description: |- + scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. + Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported. properties: fsType: default: xfs + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". + Default is "xfs". type: string gateway: + description: gateway is the host address of the ScaleIO + API Gateway. type: string protectionDomain: + description: protectionDomain is the name of the ScaleIO + Protection Domain for the configured storage. type: string readOnly: + description: |- + readOnly Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef references to the secret for ScaleIO user and other + sensitive information. If this is not provided, Login operation will fail. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic sslEnabled: + description: sslEnabled Flag enable/disable SSL communication + with Gateway, default false type: boolean storageMode: default: ThinProvisioned + description: |- + storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. + Default is ThinProvisioned. type: string storagePool: + description: storagePool is the ScaleIO Storage Pool associated + with the protection domain. type: string system: + description: system is the name of the storage system as + configured in ScaleIO. type: string volumeName: + description: |- + volumeName is the name of a volume already created in the ScaleIO system + that is associated with this volume source. type: string required: - gateway @@ -24569,19 +39584,52 @@ spec: - system type: object secret: + description: |- + secret represents a secret that should populate this volume. + More info: https://kubernetes.io/docs/concepts/storage/volumes#secret properties: defaultMode: + description: |- + defaultMode is Optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values + for mode bits. 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. format: int32 type: integer items: + description: |- + items 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 '..'. items: + description: Maps a string key to a path within a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + description: |- + path is 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 required: - key @@ -24590,37 +39638,85 @@ spec: type: array x-kubernetes-list-type: atomic optional: + description: optional field specify whether the Secret or + its keys must be defined type: boolean secretName: + description: |- + secretName is the name of the secret in the pod's namespace to use. + More info: https://kubernetes.io/docs/concepts/storage/volumes#secret type: string type: object storageos: + description: |- + storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. + Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. properties: fsType: + description: |- + fsType is the 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. type: string readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef specifies the secret to use for obtaining the StorageOS API + credentials. If not specified, default values will be attempted. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic volumeName: + description: |- + volumeName is the human-readable name of the StorageOS volume. Volume + names are only unique within a namespace. type: string volumeNamespace: + 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. type: string type: object vsphereVolume: + description: |- + vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. + Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type + are redirected to the csi.vsphere.vmware.com CSI driver. properties: fsType: + description: |- + fsType is 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. type: string storagePolicyID: + description: storagePolicyID is the storage Policy Based + Management (SPBM) profile ID associated with the StoragePolicyName. type: string storagePolicyName: + description: storagePolicyName is the storage Policy Based + Management (SPBM) profile name. type: string volumePath: + description: volumePath is the path that identifies vSphere + volume vmdk type: string required: - volumePath @@ -24630,6 +39726,8 @@ spec: type: object type: array workflowMetadata: + description: WorkflowMetadata contains some metadata of the workflow + to refer to properties: annotations: additionalProperties: @@ -24650,14 +39748,22 @@ spec: type: object type: object workflowTemplateRef: + description: WorkflowTemplateRef holds a reference to a WorkflowTemplate + for execution properties: clusterScope: + description: ClusterScope indicates the referred template is cluster + scoped (i.e. a ClusterWorkflowTemplate). type: boolean name: + description: Name is the resource name of the workflow template. type: string type: object type: object status: + description: |- + WorkflowStatus contains overall status information about a workflow. + All nested field descriptions have been dropped due to Kubernetes size limitations. properties: artifactGCStatus: properties: @@ -24868,6 +39974,18 @@ spec: useSDKCreds: type: boolean type: object + plugin: + properties: + configuration: + type: string + keyFormat: + type: string + name: + type: string + required: + - configuration + - name + type: object s3: properties: accessKeySecret: @@ -25011,6 +40129,9 @@ spec: type: string estimatedDuration: type: integer + failedPodRestarts: + format: int32 + type: integer finishedAt: format: date-time type: string @@ -25418,8 +40539,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -25477,6 +40601,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -25598,10 +40736,12 @@ spec: enum: items: type: string + minItems: 1 type: array globalName: type: string name: + pattern: ^[-a-zA-Z0-9_]+$ type: string value: type: string @@ -25640,6 +40780,7 @@ spec: required: - name type: object + maxItems: 500 type: array type: object memoizationStatus: @@ -26070,8 +41211,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -26129,6 +41273,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -26252,10 +41410,12 @@ spec: enum: items: type: string + minItems: 1 type: array globalName: type: string name: + pattern: ^[-a-zA-Z0-9_]+$ type: string value: type: string @@ -26309,6 +41469,8 @@ spec: format: int64 type: integer type: object + restartingPodUID: + type: string startedAt: format: date-time type: string @@ -26742,8 +41904,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -26801,6 +41966,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -26924,10 +42103,12 @@ spec: enum: items: type: string + minItems: 1 type: array globalName: type: string name: + pattern: ^[-a-zA-Z0-9_]+$ type: string value: type: string @@ -27783,35328 +42964,13 @@ spec: format: date-time type: string storedTemplates: - additionalProperties: - properties: - activeDeadlineSeconds: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - preference: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - type: object - x-kubernetes-map-type: atomic - weight: - format: int32 - type: integer - required: - - preference - - weight - type: object - type: array - x-kubernetes-list-type: atomic - requiredDuringSchedulingIgnoredDuringExecution: - properties: - nodeSelectorTerms: - items: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - type: object - x-kubernetes-map-type: atomic - type: array - x-kubernetes-list-type: atomic - required: - - nodeSelectorTerms - type: object - x-kubernetes-map-type: atomic - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - x-kubernetes-list-type: atomic - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - x-kubernetes-list-type: atomic - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - x-kubernetes-list-type: atomic - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - x-kubernetes-list-type: atomic - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - x-kubernetes-list-type: atomic - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - x-kubernetes-list-type: atomic - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - x-kubernetes-list-type: atomic - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - x-kubernetes-list-type: atomic - type: object - type: object - annotations: - additionalProperties: - type: string - type: object - archiveLocation: - properties: - archiveLogs: - type: boolean - artifactory: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - url: - type: string - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - url - type: object - azure: - properties: - accountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - blob: - type: string - container: - type: string - endpoint: - type: string - useSDKCreds: - type: boolean - required: - - blob - - container - - endpoint - type: object - gcs: - properties: - bucket: - type: string - key: - type: string - serviceAccountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - key - type: object - git: - properties: - branch: - type: string - depth: - format: int64 - type: integer - disableSubmodules: - type: boolean - fetch: - items: - type: string - type: array - insecureIgnoreHostKey: - type: boolean - insecureSkipTLS: - type: boolean - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - repo: - type: string - revision: - type: string - singleBranch: - type: boolean - sshPrivateKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - repo - type: object - hdfs: - properties: - addresses: - items: - type: string - type: array - dataTransferProtection: - type: string - force: - type: boolean - hdfsUser: - type: string - krbCCacheSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbConfigConfigMap: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbKeytabSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbRealm: - type: string - krbServicePrincipalName: - type: string - krbUsername: - type: string - path: - type: string - required: - - path - type: object - http: - properties: - auth: - properties: - basicAuth: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - clientCert: - properties: - clientCertSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - oauth2: - properties: - clientIDSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientSecretSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - endpointParams: - items: - properties: - key: - type: string - value: - type: string - required: - - key - type: object - type: array - scopes: - items: - type: string - type: array - tokenURLSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - type: object - headers: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - url: - type: string - required: - - url - type: object - oss: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - createBucketIfNotPresent: - type: boolean - endpoint: - type: string - key: - type: string - lifecycleRule: - properties: - markDeletionAfterDays: - format: int32 - type: integer - markInfrequentAccessAfterDays: - format: int32 - type: integer - type: object - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - securityToken: - type: string - useSDKCreds: - type: boolean - required: - - key - type: object - raw: - properties: - data: - type: string - required: - - data - type: object - s3: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - caSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - createBucketIfNotPresent: - properties: - objectLocking: - type: boolean - type: object - encryptionOptions: - properties: - enableEncryption: - type: boolean - kmsEncryptionContext: - type: string - kmsKeyId: - type: string - serverSideCustomerKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - endpoint: - type: string - insecure: - type: boolean - key: - type: string - region: - type: string - roleARN: - type: string - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - sessionTokenSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - useSDKCreds: - type: boolean - type: object - type: object - automountServiceAccountToken: - type: boolean - container: - properties: - args: - items: - type: string - type: array - x-kubernetes-list-type: atomic - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - envFrom: - items: - properties: - configMapRef: - properties: - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: - properties: - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - type: object - type: array - x-kubernetes-list-type: atomic - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - stopSignal: - type: string - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - name: - type: string - ports: - items: - properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: - type: string - protocol: - default: TCP - type: string - required: - - containerPort - type: object - type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resizePolicy: - items: - properties: - resourceName: - type: string - restartPolicy: - type: string - required: - - resourceName - - restartPolicy - type: object - type: array - x-kubernetes-list-type: atomic - resources: - properties: - claims: - items: - properties: - name: - type: string - request: - type: string - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - restartPolicy: - type: string - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - appArmorProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - capabilities: - properties: - add: - items: - type: string - type: array - x-kubernetes-list-type: atomic - drop: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - startupProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - stdin: - type: boolean - stdinOnce: - type: boolean - terminationMessagePath: - type: string - terminationMessagePolicy: - type: string - tty: - type: boolean - volumeDevices: - items: - properties: - devicePath: - type: string - name: - type: string - required: - - devicePath - - name - type: object - type: array - x-kubernetes-list-map-keys: - - devicePath - x-kubernetes-list-type: map - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - recursiveReadOnly: - type: string - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - x-kubernetes-list-map-keys: - - mountPath - x-kubernetes-list-type: map - workingDir: - type: string - type: object - containerSet: - properties: - containers: - items: - properties: - args: - items: - type: string - type: array - x-kubernetes-list-type: atomic - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - dependencies: - items: - type: string - type: array - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - envFrom: - items: - properties: - configMapRef: - properties: - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: - properties: - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - type: object - type: array - x-kubernetes-list-type: atomic - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - stopSignal: - type: string - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - name: - type: string - ports: - items: - properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: - type: string - protocol: - default: TCP - type: string - required: - - containerPort - type: object - type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resizePolicy: - items: - properties: - resourceName: - type: string - restartPolicy: - type: string - required: - - resourceName - - restartPolicy - type: object - type: array - x-kubernetes-list-type: atomic - resources: - properties: - claims: - items: - properties: - name: - type: string - request: - type: string - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - restartPolicy: - type: string - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - appArmorProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - capabilities: - properties: - add: - items: - type: string - type: array - x-kubernetes-list-type: atomic - drop: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - startupProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - stdin: - type: boolean - stdinOnce: - type: boolean - terminationMessagePath: - type: string - terminationMessagePolicy: - type: string - tty: - type: boolean - volumeDevices: - items: - properties: - devicePath: - type: string - name: - type: string - required: - - devicePath - - name - type: object - type: array - x-kubernetes-list-map-keys: - - devicePath - x-kubernetes-list-type: map - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - recursiveReadOnly: - type: string - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - x-kubernetes-list-map-keys: - - mountPath - x-kubernetes-list-type: map - workingDir: - type: string - required: - - name - type: object - type: array - retryStrategy: - properties: - duration: - type: string - retries: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - retries - type: object - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - recursiveReadOnly: - type: string - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - required: - - containers - type: object - daemon: - type: boolean - dag: - properties: - failFast: - type: boolean - target: - type: string - tasks: - items: - properties: - arguments: - properties: - artifacts: - items: - properties: - archive: - properties: - none: - type: object - tar: - properties: - compressionLevel: - format: int32 - type: integer - type: object - zip: - type: object - type: object - archiveLogs: - type: boolean - artifactGC: - properties: - podMetadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - serviceAccountName: - type: string - strategy: - enum: - - "" - - OnWorkflowCompletion - - OnWorkflowDeletion - - Never - type: string - type: object - artifactory: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - url: - type: string - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - url - type: object - azure: - properties: - accountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - blob: - type: string - container: - type: string - endpoint: - type: string - useSDKCreds: - type: boolean - required: - - blob - - container - - endpoint - type: object - deleted: - type: boolean - from: - type: string - fromExpression: - type: string - gcs: - properties: - bucket: - type: string - key: - type: string - serviceAccountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - key - type: object - git: - properties: - branch: - type: string - depth: - format: int64 - type: integer - disableSubmodules: - type: boolean - fetch: - items: - type: string - type: array - insecureIgnoreHostKey: - type: boolean - insecureSkipTLS: - type: boolean - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - repo: - type: string - revision: - type: string - singleBranch: - type: boolean - sshPrivateKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - repo - type: object - globalName: - type: string - hdfs: - properties: - addresses: - items: - type: string - type: array - dataTransferProtection: - type: string - force: - type: boolean - hdfsUser: - type: string - krbCCacheSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbConfigConfigMap: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbKeytabSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbRealm: - type: string - krbServicePrincipalName: - type: string - krbUsername: - type: string - path: - type: string - required: - - path - type: object - http: - properties: - auth: - properties: - basicAuth: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - clientCert: - properties: - clientCertSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - oauth2: - properties: - clientIDSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientSecretSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - endpointParams: - items: - properties: - key: - type: string - value: - type: string - required: - - key - type: object - type: array - scopes: - items: - type: string - type: array - tokenURLSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - type: object - headers: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - url: - type: string - required: - - url - type: object - mode: - format: int32 - type: integer - name: - type: string - optional: - type: boolean - oss: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - createBucketIfNotPresent: - type: boolean - endpoint: - type: string - key: - type: string - lifecycleRule: - properties: - markDeletionAfterDays: - format: int32 - type: integer - markInfrequentAccessAfterDays: - format: int32 - type: integer - type: object - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - securityToken: - type: string - useSDKCreds: - type: boolean - required: - - key - type: object - path: - type: string - raw: - properties: - data: - type: string - required: - - data - type: object - recurseMode: - type: boolean - s3: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - caSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - createBucketIfNotPresent: - properties: - objectLocking: - type: boolean - type: object - encryptionOptions: - properties: - enableEncryption: - type: boolean - kmsEncryptionContext: - type: string - kmsKeyId: - type: string - serverSideCustomerKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - endpoint: - type: string - insecure: - type: boolean - key: - type: string - region: - type: string - roleARN: - type: string - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - sessionTokenSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - useSDKCreds: - type: boolean - type: object - subPath: - type: string - required: - - name - type: object - type: array - parameters: - items: - properties: - default: - type: string - description: - type: string - enum: - items: - type: string - type: array - globalName: - type: string - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - default: - type: string - event: - type: string - expression: - type: string - jqFilter: - type: string - jsonPath: - type: string - parameter: - type: string - path: - type: string - supplied: - type: object - type: object - required: - - name - type: object - type: array - type: object - continueOn: - properties: - error: - type: boolean - failed: - type: boolean - type: object - dependencies: - items: - type: string - type: array - depends: - type: string - hooks: - additionalProperties: - properties: - arguments: - properties: - artifacts: - items: - properties: - archive: - properties: - none: - type: object - tar: - properties: - compressionLevel: - format: int32 - type: integer - type: object - zip: - type: object - type: object - archiveLogs: - type: boolean - artifactGC: - properties: - podMetadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - serviceAccountName: - type: string - strategy: - enum: - - "" - - OnWorkflowCompletion - - OnWorkflowDeletion - - Never - type: string - type: object - artifactory: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - url: - type: string - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - url - type: object - azure: - properties: - accountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - blob: - type: string - container: - type: string - endpoint: - type: string - useSDKCreds: - type: boolean - required: - - blob - - container - - endpoint - type: object - deleted: - type: boolean - from: - type: string - fromExpression: - type: string - gcs: - properties: - bucket: - type: string - key: - type: string - serviceAccountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - key - type: object - git: - properties: - branch: - type: string - depth: - format: int64 - type: integer - disableSubmodules: - type: boolean - fetch: - items: - type: string - type: array - insecureIgnoreHostKey: - type: boolean - insecureSkipTLS: - type: boolean - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - repo: - type: string - revision: - type: string - singleBranch: - type: boolean - sshPrivateKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - repo - type: object - globalName: - type: string - hdfs: - properties: - addresses: - items: - type: string - type: array - dataTransferProtection: - type: string - force: - type: boolean - hdfsUser: - type: string - krbCCacheSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbConfigConfigMap: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbKeytabSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbRealm: - type: string - krbServicePrincipalName: - type: string - krbUsername: - type: string - path: - type: string - required: - - path - type: object - http: - properties: - auth: - properties: - basicAuth: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - clientCert: - properties: - clientCertSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - oauth2: - properties: - clientIDSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientSecretSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - endpointParams: - items: - properties: - key: - type: string - value: - type: string - required: - - key - type: object - type: array - scopes: - items: - type: string - type: array - tokenURLSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - type: object - headers: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - url: - type: string - required: - - url - type: object - mode: - format: int32 - type: integer - name: - type: string - optional: - type: boolean - oss: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - createBucketIfNotPresent: - type: boolean - endpoint: - type: string - key: - type: string - lifecycleRule: - properties: - markDeletionAfterDays: - format: int32 - type: integer - markInfrequentAccessAfterDays: - format: int32 - type: integer - type: object - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - securityToken: - type: string - useSDKCreds: - type: boolean - required: - - key - type: object - path: - type: string - raw: - properties: - data: - type: string - required: - - data - type: object - recurseMode: - type: boolean - s3: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - caSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - createBucketIfNotPresent: - properties: - objectLocking: - type: boolean - type: object - encryptionOptions: - properties: - enableEncryption: - type: boolean - kmsEncryptionContext: - type: string - kmsKeyId: - type: string - serverSideCustomerKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - endpoint: - type: string - insecure: - type: boolean - key: - type: string - region: - type: string - roleARN: - type: string - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - sessionTokenSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - useSDKCreds: - type: boolean - type: object - subPath: - type: string - required: - - name - type: object - type: array - parameters: - items: - properties: - default: - type: string - description: - type: string - enum: - items: - type: string - type: array - globalName: - type: string - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - default: - type: string - event: - type: string - expression: - type: string - jqFilter: - type: string - jsonPath: - type: string - parameter: - type: string - path: - type: string - supplied: - type: object - type: object - required: - - name - type: object - type: array - type: object - expression: - type: string - template: - type: string - templateRef: - properties: - clusterScope: - type: boolean - name: - type: string - template: - type: string - type: object - type: object - type: object - inline: - x-kubernetes-preserve-unknown-fields: true - name: - type: string - onExit: - type: string - template: - type: string - templateRef: - properties: - clusterScope: - type: boolean - name: - type: string - template: - type: string - type: object - when: - type: string - withItems: - x-kubernetes-preserve-unknown-fields: true - withParam: - type: string - withSequence: - properties: - count: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - end: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - format: - type: string - start: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - type: object - required: - - name - type: object - type: array - required: - - tasks - type: object - data: - properties: - source: - properties: - artifactPaths: - properties: - archive: - properties: - none: - type: object - tar: - properties: - compressionLevel: - format: int32 - type: integer - type: object - zip: - type: object - type: object - archiveLogs: - type: boolean - artifactGC: - properties: - podMetadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - serviceAccountName: - type: string - strategy: - enum: - - "" - - OnWorkflowCompletion - - OnWorkflowDeletion - - Never - type: string - type: object - artifactory: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - url: - type: string - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - url - type: object - azure: - properties: - accountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - blob: - type: string - container: - type: string - endpoint: - type: string - useSDKCreds: - type: boolean - required: - - blob - - container - - endpoint - type: object - deleted: - type: boolean - from: - type: string - fromExpression: - type: string - gcs: - properties: - bucket: - type: string - key: - type: string - serviceAccountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - key - type: object - git: - properties: - branch: - type: string - depth: - format: int64 - type: integer - disableSubmodules: - type: boolean - fetch: - items: - type: string - type: array - insecureIgnoreHostKey: - type: boolean - insecureSkipTLS: - type: boolean - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - repo: - type: string - revision: - type: string - singleBranch: - type: boolean - sshPrivateKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - repo - type: object - globalName: - type: string - hdfs: - properties: - addresses: - items: - type: string - type: array - dataTransferProtection: - type: string - force: - type: boolean - hdfsUser: - type: string - krbCCacheSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbConfigConfigMap: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbKeytabSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbRealm: - type: string - krbServicePrincipalName: - type: string - krbUsername: - type: string - path: - type: string - required: - - path - type: object - http: - properties: - auth: - properties: - basicAuth: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - clientCert: - properties: - clientCertSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - oauth2: - properties: - clientIDSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientSecretSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - endpointParams: - items: - properties: - key: - type: string - value: - type: string - required: - - key - type: object - type: array - scopes: - items: - type: string - type: array - tokenURLSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - type: object - headers: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - url: - type: string - required: - - url - type: object - mode: - format: int32 - type: integer - name: - type: string - optional: - type: boolean - oss: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - createBucketIfNotPresent: - type: boolean - endpoint: - type: string - key: - type: string - lifecycleRule: - properties: - markDeletionAfterDays: - format: int32 - type: integer - markInfrequentAccessAfterDays: - format: int32 - type: integer - type: object - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - securityToken: - type: string - useSDKCreds: - type: boolean - required: - - key - type: object - path: - type: string - raw: - properties: - data: - type: string - required: - - data - type: object - recurseMode: - type: boolean - s3: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - caSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - createBucketIfNotPresent: - properties: - objectLocking: - type: boolean - type: object - encryptionOptions: - properties: - enableEncryption: - type: boolean - kmsEncryptionContext: - type: string - kmsKeyId: - type: string - serverSideCustomerKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - endpoint: - type: string - insecure: - type: boolean - key: - type: string - region: - type: string - roleARN: - type: string - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - sessionTokenSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - useSDKCreds: - type: boolean - type: object - subPath: - type: string - required: - - name - type: object - type: object - transformation: - items: - properties: - expression: - type: string - required: - - expression - type: object - type: array - required: - - source - - transformation - type: object - executor: - properties: - serviceAccountName: - type: string - type: object - failFast: - type: boolean - hostAliases: - items: - properties: - hostnames: - items: - type: string - type: array - x-kubernetes-list-type: atomic - ip: - type: string - required: - - ip - type: object - type: array - http: - properties: - body: - type: string - bodyFrom: - properties: - bytes: - format: byte - type: string - type: object - headers: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - secretKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - insecureSkipVerify: - type: boolean - method: - type: string - successCondition: - type: string - timeoutSeconds: - format: int64 - type: integer - url: - type: string - required: - - url - type: object - initContainers: - items: - properties: - args: - items: - type: string - type: array - x-kubernetes-list-type: atomic - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - envFrom: - items: - properties: - configMapRef: - properties: - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: - properties: - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - type: object - type: array - x-kubernetes-list-type: atomic - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - stopSignal: - type: string - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - mirrorVolumeMounts: - type: boolean - name: - type: string - ports: - items: - properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: - type: string - protocol: - default: TCP - type: string - required: - - containerPort - type: object - type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resizePolicy: - items: - properties: - resourceName: - type: string - restartPolicy: - type: string - required: - - resourceName - - restartPolicy - type: object - type: array - x-kubernetes-list-type: atomic - resources: - properties: - claims: - items: - properties: - name: - type: string - request: - type: string - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - restartPolicy: - type: string - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - appArmorProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - capabilities: - properties: - add: - items: - type: string - type: array - x-kubernetes-list-type: atomic - drop: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - startupProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - stdin: - type: boolean - stdinOnce: - type: boolean - terminationMessagePath: - type: string - terminationMessagePolicy: - type: string - tty: - type: boolean - volumeDevices: - items: - properties: - devicePath: - type: string - name: - type: string - required: - - devicePath - - name - type: object - type: array - x-kubernetes-list-map-keys: - - devicePath - x-kubernetes-list-type: map - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - recursiveReadOnly: - type: string - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - x-kubernetes-list-map-keys: - - mountPath - x-kubernetes-list-type: map - workingDir: - type: string - required: - - name - type: object - type: array - inputs: - properties: - artifacts: - items: - properties: - archive: - properties: - none: - type: object - tar: - properties: - compressionLevel: - format: int32 - type: integer - type: object - zip: - type: object - type: object - archiveLogs: - type: boolean - artifactGC: - properties: - podMetadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - serviceAccountName: - type: string - strategy: - enum: - - "" - - OnWorkflowCompletion - - OnWorkflowDeletion - - Never - type: string - type: object - artifactory: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - url: - type: string - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - url - type: object - azure: - properties: - accountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - blob: - type: string - container: - type: string - endpoint: - type: string - useSDKCreds: - type: boolean - required: - - blob - - container - - endpoint - type: object - deleted: - type: boolean - from: - type: string - fromExpression: - type: string - gcs: - properties: - bucket: - type: string - key: - type: string - serviceAccountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - key - type: object - git: - properties: - branch: - type: string - depth: - format: int64 - type: integer - disableSubmodules: - type: boolean - fetch: - items: - type: string - type: array - insecureIgnoreHostKey: - type: boolean - insecureSkipTLS: - type: boolean - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - repo: - type: string - revision: - type: string - singleBranch: - type: boolean - sshPrivateKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - repo - type: object - globalName: - type: string - hdfs: - properties: - addresses: - items: - type: string - type: array - dataTransferProtection: - type: string - force: - type: boolean - hdfsUser: - type: string - krbCCacheSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbConfigConfigMap: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbKeytabSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbRealm: - type: string - krbServicePrincipalName: - type: string - krbUsername: - type: string - path: - type: string - required: - - path - type: object - http: - properties: - auth: - properties: - basicAuth: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - clientCert: - properties: - clientCertSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - oauth2: - properties: - clientIDSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientSecretSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - endpointParams: - items: - properties: - key: - type: string - value: - type: string - required: - - key - type: object - type: array - scopes: - items: - type: string - type: array - tokenURLSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - type: object - headers: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - url: - type: string - required: - - url - type: object - mode: - format: int32 - type: integer - name: - type: string - optional: - type: boolean - oss: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - createBucketIfNotPresent: - type: boolean - endpoint: - type: string - key: - type: string - lifecycleRule: - properties: - markDeletionAfterDays: - format: int32 - type: integer - markInfrequentAccessAfterDays: - format: int32 - type: integer - type: object - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - securityToken: - type: string - useSDKCreds: - type: boolean - required: - - key - type: object - path: - type: string - raw: - properties: - data: - type: string - required: - - data - type: object - recurseMode: - type: boolean - s3: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - caSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - createBucketIfNotPresent: - properties: - objectLocking: - type: boolean - type: object - encryptionOptions: - properties: - enableEncryption: - type: boolean - kmsEncryptionContext: - type: string - kmsKeyId: - type: string - serverSideCustomerKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - endpoint: - type: string - insecure: - type: boolean - key: - type: string - region: - type: string - roleARN: - type: string - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - sessionTokenSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - useSDKCreds: - type: boolean - type: object - subPath: - type: string - required: - - name - type: object - type: array - parameters: - items: - properties: - default: - type: string - description: - type: string - enum: - items: - type: string - type: array - globalName: - type: string - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - default: - type: string - event: - type: string - expression: - type: string - jqFilter: - type: string - jsonPath: - type: string - parameter: - type: string - path: - type: string - supplied: - type: object - type: object - required: - - name - type: object - type: array - type: object - memoize: - properties: - cache: - properties: - configMap: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - configMap - type: object - key: - type: string - maxAge: - type: string - required: - - cache - - key - - maxAge - type: object - metadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - metrics: - properties: - prometheus: - items: - properties: - counter: - properties: - value: - type: string - required: - - value - type: object - gauge: - properties: - operation: - type: string - realtime: - type: boolean - value: - type: string - required: - - realtime - - value - type: object - help: - type: string - histogram: - properties: - buckets: - items: - type: number - type: array - value: - type: string - required: - - buckets - - value - type: object - labels: - items: - properties: - key: - type: string - value: - type: string - required: - - key - - value - type: object - type: array - name: - type: string - when: - type: string - required: - - help - - name - type: object - type: array - required: - - prometheus - type: object - name: - type: string - nodeSelector: - additionalProperties: - type: string - type: object - outputs: - properties: - artifacts: - items: - properties: - archive: - properties: - none: - type: object - tar: - properties: - compressionLevel: - format: int32 - type: integer - type: object - zip: - type: object - type: object - archiveLogs: - type: boolean - artifactGC: - properties: - podMetadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - serviceAccountName: - type: string - strategy: - enum: - - "" - - OnWorkflowCompletion - - OnWorkflowDeletion - - Never - type: string - type: object - artifactory: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - url: - type: string - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - url - type: object - azure: - properties: - accountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - blob: - type: string - container: - type: string - endpoint: - type: string - useSDKCreds: - type: boolean - required: - - blob - - container - - endpoint - type: object - deleted: - type: boolean - from: - type: string - fromExpression: - type: string - gcs: - properties: - bucket: - type: string - key: - type: string - serviceAccountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - key - type: object - git: - properties: - branch: - type: string - depth: - format: int64 - type: integer - disableSubmodules: - type: boolean - fetch: - items: - type: string - type: array - insecureIgnoreHostKey: - type: boolean - insecureSkipTLS: - type: boolean - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - repo: - type: string - revision: - type: string - singleBranch: - type: boolean - sshPrivateKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - repo - type: object - globalName: - type: string - hdfs: - properties: - addresses: - items: - type: string - type: array - dataTransferProtection: - type: string - force: - type: boolean - hdfsUser: - type: string - krbCCacheSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbConfigConfigMap: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbKeytabSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbRealm: - type: string - krbServicePrincipalName: - type: string - krbUsername: - type: string - path: - type: string - required: - - path - type: object - http: - properties: - auth: - properties: - basicAuth: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - clientCert: - properties: - clientCertSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - oauth2: - properties: - clientIDSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientSecretSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - endpointParams: - items: - properties: - key: - type: string - value: - type: string - required: - - key - type: object - type: array - scopes: - items: - type: string - type: array - tokenURLSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - type: object - headers: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - url: - type: string - required: - - url - type: object - mode: - format: int32 - type: integer - name: - type: string - optional: - type: boolean - oss: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - createBucketIfNotPresent: - type: boolean - endpoint: - type: string - key: - type: string - lifecycleRule: - properties: - markDeletionAfterDays: - format: int32 - type: integer - markInfrequentAccessAfterDays: - format: int32 - type: integer - type: object - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - securityToken: - type: string - useSDKCreds: - type: boolean - required: - - key - type: object - path: - type: string - raw: - properties: - data: - type: string - required: - - data - type: object - recurseMode: - type: boolean - s3: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - caSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - createBucketIfNotPresent: - properties: - objectLocking: - type: boolean - type: object - encryptionOptions: - properties: - enableEncryption: - type: boolean - kmsEncryptionContext: - type: string - kmsKeyId: - type: string - serverSideCustomerKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - endpoint: - type: string - insecure: - type: boolean - key: - type: string - region: - type: string - roleARN: - type: string - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - sessionTokenSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - useSDKCreds: - type: boolean - type: object - subPath: - type: string - required: - - name - type: object - type: array - exitCode: - type: string - parameters: - items: - properties: - default: - type: string - description: - type: string - enum: - items: - type: string - type: array - globalName: - type: string - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - default: - type: string - event: - type: string - expression: - type: string - jqFilter: - type: string - jsonPath: - type: string - parameter: - type: string - path: - type: string - supplied: - type: object - type: object - required: - - name - type: object - type: array - result: - type: string - type: object - parallelism: - format: int64 - type: integer - plugin: - type: object - x-kubernetes-preserve-unknown-fields: true - podSpecPatch: - type: string - priorityClassName: - type: string - resource: - properties: - action: - type: string - failureCondition: - type: string - flags: - items: - type: string - type: array - manifest: - type: string - manifestFrom: - properties: - artifact: - properties: - archive: - properties: - none: - type: object - tar: - properties: - compressionLevel: - format: int32 - type: integer - type: object - zip: - type: object - type: object - archiveLogs: - type: boolean - artifactGC: - properties: - podMetadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - serviceAccountName: - type: string - strategy: - enum: - - "" - - OnWorkflowCompletion - - OnWorkflowDeletion - - Never - type: string - type: object - artifactory: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - url: - type: string - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - url - type: object - azure: - properties: - accountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - blob: - type: string - container: - type: string - endpoint: - type: string - useSDKCreds: - type: boolean - required: - - blob - - container - - endpoint - type: object - deleted: - type: boolean - from: - type: string - fromExpression: - type: string - gcs: - properties: - bucket: - type: string - key: - type: string - serviceAccountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - key - type: object - git: - properties: - branch: - type: string - depth: - format: int64 - type: integer - disableSubmodules: - type: boolean - fetch: - items: - type: string - type: array - insecureIgnoreHostKey: - type: boolean - insecureSkipTLS: - type: boolean - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - repo: - type: string - revision: - type: string - singleBranch: - type: boolean - sshPrivateKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - repo - type: object - globalName: - type: string - hdfs: - properties: - addresses: - items: - type: string - type: array - dataTransferProtection: - type: string - force: - type: boolean - hdfsUser: - type: string - krbCCacheSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbConfigConfigMap: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbKeytabSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbRealm: - type: string - krbServicePrincipalName: - type: string - krbUsername: - type: string - path: - type: string - required: - - path - type: object - http: - properties: - auth: - properties: - basicAuth: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - clientCert: - properties: - clientCertSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - oauth2: - properties: - clientIDSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientSecretSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - endpointParams: - items: - properties: - key: - type: string - value: - type: string - required: - - key - type: object - type: array - scopes: - items: - type: string - type: array - tokenURLSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - type: object - headers: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - url: - type: string - required: - - url - type: object - mode: - format: int32 - type: integer - name: - type: string - optional: - type: boolean - oss: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - createBucketIfNotPresent: - type: boolean - endpoint: - type: string - key: - type: string - lifecycleRule: - properties: - markDeletionAfterDays: - format: int32 - type: integer - markInfrequentAccessAfterDays: - format: int32 - type: integer - type: object - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - securityToken: - type: string - useSDKCreds: - type: boolean - required: - - key - type: object - path: - type: string - raw: - properties: - data: - type: string - required: - - data - type: object - recurseMode: - type: boolean - s3: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - caSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - createBucketIfNotPresent: - properties: - objectLocking: - type: boolean - type: object - encryptionOptions: - properties: - enableEncryption: - type: boolean - kmsEncryptionContext: - type: string - kmsKeyId: - type: string - serverSideCustomerKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - endpoint: - type: string - insecure: - type: boolean - key: - type: string - region: - type: string - roleARN: - type: string - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - sessionTokenSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - useSDKCreds: - type: boolean - type: object - subPath: - type: string - required: - - name - type: object - required: - - artifact - type: object - mergeStrategy: - type: string - setOwnerReference: - type: boolean - successCondition: - type: string - required: - - action - type: object - retryStrategy: - properties: - affinity: - properties: - nodeAntiAffinity: - type: object - type: object - backoff: - properties: - cap: - type: string - duration: - type: string - factor: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - maxDuration: - type: string - type: object - expression: - type: string - limit: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - retryPolicy: - type: string - type: object - schedulerName: - type: string - script: - properties: - args: - items: - type: string - type: array - x-kubernetes-list-type: atomic - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - envFrom: - items: - properties: - configMapRef: - properties: - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: - properties: - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - type: object - type: array - x-kubernetes-list-type: atomic - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - stopSignal: - type: string - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - name: - type: string - ports: - items: - properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: - type: string - protocol: - default: TCP - type: string - required: - - containerPort - type: object - type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resizePolicy: - items: - properties: - resourceName: - type: string - restartPolicy: - type: string - required: - - resourceName - - restartPolicy - type: object - type: array - x-kubernetes-list-type: atomic - resources: - properties: - claims: - items: - properties: - name: - type: string - request: - type: string - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - restartPolicy: - type: string - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - appArmorProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - capabilities: - properties: - add: - items: - type: string - type: array - x-kubernetes-list-type: atomic - drop: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - source: - type: string - startupProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - stdin: - type: boolean - stdinOnce: - type: boolean - terminationMessagePath: - type: string - terminationMessagePolicy: - type: string - tty: - type: boolean - volumeDevices: - items: - properties: - devicePath: - type: string - name: - type: string - required: - - devicePath - - name - type: object - type: array - x-kubernetes-list-map-keys: - - devicePath - x-kubernetes-list-type: map - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - recursiveReadOnly: - type: string - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - x-kubernetes-list-map-keys: - - mountPath - x-kubernetes-list-type: map - workingDir: - type: string - type: object - securityContext: - properties: - appArmorProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - fsGroup: - format: int64 - type: integer - fsGroupChangePolicy: - type: string - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxChangePolicy: - type: string - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - supplementalGroups: - items: - format: int64 - type: integer - type: array - x-kubernetes-list-type: atomic - supplementalGroupsPolicy: - type: string - sysctls: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - serviceAccountName: - type: string - sidecars: - items: - properties: - args: - items: - type: string - type: array - x-kubernetes-list-type: atomic - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - envFrom: - items: - properties: - configMapRef: - properties: - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: - properties: - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - type: object - type: array - x-kubernetes-list-type: atomic - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - stopSignal: - type: string - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - mirrorVolumeMounts: - type: boolean - name: - type: string - ports: - items: - properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: - type: string - protocol: - default: TCP - type: string - required: - - containerPort - type: object - type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resizePolicy: - items: - properties: - resourceName: - type: string - restartPolicy: - type: string - required: - - resourceName - - restartPolicy - type: object - type: array - x-kubernetes-list-type: atomic - resources: - properties: - claims: - items: - properties: - name: - type: string - request: - type: string - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - restartPolicy: - type: string - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - appArmorProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - capabilities: - properties: - add: - items: - type: string - type: array - x-kubernetes-list-type: atomic - drop: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - startupProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - stdin: - type: boolean - stdinOnce: - type: boolean - terminationMessagePath: - type: string - terminationMessagePolicy: - type: string - tty: - type: boolean - volumeDevices: - items: - properties: - devicePath: - type: string - name: - type: string - required: - - devicePath - - name - type: object - type: array - x-kubernetes-list-map-keys: - - devicePath - x-kubernetes-list-type: map - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - recursiveReadOnly: - type: string - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - x-kubernetes-list-map-keys: - - mountPath - x-kubernetes-list-type: map - workingDir: - type: string - required: - - name - type: object - type: array - steps: - items: - items: - properties: - arguments: - properties: - artifacts: - items: - properties: - archive: - properties: - none: - type: object - tar: - properties: - compressionLevel: - format: int32 - type: integer - type: object - zip: - type: object - type: object - archiveLogs: - type: boolean - artifactGC: - properties: - podMetadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - serviceAccountName: - type: string - strategy: - enum: - - "" - - OnWorkflowCompletion - - OnWorkflowDeletion - - Never - type: string - type: object - artifactory: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - url: - type: string - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - url - type: object - azure: - properties: - accountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - blob: - type: string - container: - type: string - endpoint: - type: string - useSDKCreds: - type: boolean - required: - - blob - - container - - endpoint - type: object - deleted: - type: boolean - from: - type: string - fromExpression: - type: string - gcs: - properties: - bucket: - type: string - key: - type: string - serviceAccountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - key - type: object - git: - properties: - branch: - type: string - depth: - format: int64 - type: integer - disableSubmodules: - type: boolean - fetch: - items: - type: string - type: array - insecureIgnoreHostKey: - type: boolean - insecureSkipTLS: - type: boolean - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - repo: - type: string - revision: - type: string - singleBranch: - type: boolean - sshPrivateKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - repo - type: object - globalName: - type: string - hdfs: - properties: - addresses: - items: - type: string - type: array - dataTransferProtection: - type: string - force: - type: boolean - hdfsUser: - type: string - krbCCacheSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbConfigConfigMap: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbKeytabSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbRealm: - type: string - krbServicePrincipalName: - type: string - krbUsername: - type: string - path: - type: string - required: - - path - type: object - http: - properties: - auth: - properties: - basicAuth: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - clientCert: - properties: - clientCertSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - oauth2: - properties: - clientIDSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientSecretSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - endpointParams: - items: - properties: - key: - type: string - value: - type: string - required: - - key - type: object - type: array - scopes: - items: - type: string - type: array - tokenURLSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - type: object - headers: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - url: - type: string - required: - - url - type: object - mode: - format: int32 - type: integer - name: - type: string - optional: - type: boolean - oss: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - createBucketIfNotPresent: - type: boolean - endpoint: - type: string - key: - type: string - lifecycleRule: - properties: - markDeletionAfterDays: - format: int32 - type: integer - markInfrequentAccessAfterDays: - format: int32 - type: integer - type: object - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - securityToken: - type: string - useSDKCreds: - type: boolean - required: - - key - type: object - path: - type: string - raw: - properties: - data: - type: string - required: - - data - type: object - recurseMode: - type: boolean - s3: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - caSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - createBucketIfNotPresent: - properties: - objectLocking: - type: boolean - type: object - encryptionOptions: - properties: - enableEncryption: - type: boolean - kmsEncryptionContext: - type: string - kmsKeyId: - type: string - serverSideCustomerKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - endpoint: - type: string - insecure: - type: boolean - key: - type: string - region: - type: string - roleARN: - type: string - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - sessionTokenSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - useSDKCreds: - type: boolean - type: object - subPath: - type: string - required: - - name - type: object - type: array - parameters: - items: - properties: - default: - type: string - description: - type: string - enum: - items: - type: string - type: array - globalName: - type: string - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - default: - type: string - event: - type: string - expression: - type: string - jqFilter: - type: string - jsonPath: - type: string - parameter: - type: string - path: - type: string - supplied: - type: object - type: object - required: - - name - type: object - type: array - type: object - continueOn: - properties: - error: - type: boolean - failed: - type: boolean - type: object - hooks: - additionalProperties: - properties: - arguments: - properties: - artifacts: - items: - properties: - archive: - properties: - none: - type: object - tar: - properties: - compressionLevel: - format: int32 - type: integer - type: object - zip: - type: object - type: object - archiveLogs: - type: boolean - artifactGC: - properties: - podMetadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - serviceAccountName: - type: string - strategy: - enum: - - "" - - OnWorkflowCompletion - - OnWorkflowDeletion - - Never - type: string - type: object - artifactory: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - url: - type: string - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - url - type: object - azure: - properties: - accountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - blob: - type: string - container: - type: string - endpoint: - type: string - useSDKCreds: - type: boolean - required: - - blob - - container - - endpoint - type: object - deleted: - type: boolean - from: - type: string - fromExpression: - type: string - gcs: - properties: - bucket: - type: string - key: - type: string - serviceAccountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - key - type: object - git: - properties: - branch: - type: string - depth: - format: int64 - type: integer - disableSubmodules: - type: boolean - fetch: - items: - type: string - type: array - insecureIgnoreHostKey: - type: boolean - insecureSkipTLS: - type: boolean - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - repo: - type: string - revision: - type: string - singleBranch: - type: boolean - sshPrivateKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - repo - type: object - globalName: - type: string - hdfs: - properties: - addresses: - items: - type: string - type: array - dataTransferProtection: - type: string - force: - type: boolean - hdfsUser: - type: string - krbCCacheSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbConfigConfigMap: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbKeytabSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbRealm: - type: string - krbServicePrincipalName: - type: string - krbUsername: - type: string - path: - type: string - required: - - path - type: object - http: - properties: - auth: - properties: - basicAuth: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - clientCert: - properties: - clientCertSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - oauth2: - properties: - clientIDSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientSecretSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - endpointParams: - items: - properties: - key: - type: string - value: - type: string - required: - - key - type: object - type: array - scopes: - items: - type: string - type: array - tokenURLSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - type: object - headers: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - url: - type: string - required: - - url - type: object - mode: - format: int32 - type: integer - name: - type: string - optional: - type: boolean - oss: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - createBucketIfNotPresent: - type: boolean - endpoint: - type: string - key: - type: string - lifecycleRule: - properties: - markDeletionAfterDays: - format: int32 - type: integer - markInfrequentAccessAfterDays: - format: int32 - type: integer - type: object - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - securityToken: - type: string - useSDKCreds: - type: boolean - required: - - key - type: object - path: - type: string - raw: - properties: - data: - type: string - required: - - data - type: object - recurseMode: - type: boolean - s3: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - caSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - createBucketIfNotPresent: - properties: - objectLocking: - type: boolean - type: object - encryptionOptions: - properties: - enableEncryption: - type: boolean - kmsEncryptionContext: - type: string - kmsKeyId: - type: string - serverSideCustomerKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - endpoint: - type: string - insecure: - type: boolean - key: - type: string - region: - type: string - roleARN: - type: string - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - sessionTokenSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - useSDKCreds: - type: boolean - type: object - subPath: - type: string - required: - - name - type: object - type: array - parameters: - items: - properties: - default: - type: string - description: - type: string - enum: - items: - type: string - type: array - globalName: - type: string - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - default: - type: string - event: - type: string - expression: - type: string - jqFilter: - type: string - jsonPath: - type: string - parameter: - type: string - path: - type: string - supplied: - type: object - type: object - required: - - name - type: object - type: array - type: object - expression: - type: string - template: - type: string - templateRef: - properties: - clusterScope: - type: boolean - name: - type: string - template: - type: string - type: object - type: object - type: object - inline: - x-kubernetes-preserve-unknown-fields: true - name: - type: string - onExit: - type: string - template: - type: string - templateRef: - properties: - clusterScope: - type: boolean - name: - type: string - template: - type: string - type: object - when: - type: string - withItems: - x-kubernetes-preserve-unknown-fields: true - withParam: - type: string - withSequence: - properties: - count: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - end: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - format: - type: string - start: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - type: object - type: object - type: array - type: array - suspend: - properties: - duration: - type: string - type: object - synchronization: - properties: - mutex: - properties: - database: - type: boolean - name: - type: string - namespace: - type: string - type: object - mutexes: - items: - properties: - database: - type: boolean - name: - type: string - namespace: - type: string - type: object - type: array - semaphore: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - database: - properties: - key: - type: string - required: - - key - type: object - namespace: - type: string - type: object - semaphores: - items: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - database: - properties: - key: - type: string - required: - - key - type: object - namespace: - type: string - type: object - type: array - type: object - timeout: - type: string - tolerations: - items: - properties: - effect: - type: string - key: - type: string - operator: - type: string - tolerationSeconds: - format: int64 - type: integer - value: - type: string - type: object - type: array - volumes: - items: - properties: - awsElasticBlockStore: - properties: - fsType: - type: string - partition: - format: int32 - type: integer - readOnly: - type: boolean - volumeID: - type: string - required: - - volumeID - type: object - azureDisk: - properties: - cachingMode: - type: string - diskName: - type: string - diskURI: - type: string - fsType: - default: ext4 - type: string - kind: - type: string - readOnly: - default: false - type: boolean - required: - - diskName - - diskURI - type: object - azureFile: - properties: - readOnly: - type: boolean - secretName: - type: string - shareName: - type: string - required: - - secretName - - shareName - type: object - cephfs: - properties: - monitors: - items: - type: string - type: array - x-kubernetes-list-type: atomic - path: - type: string - readOnly: - type: boolean - secretFile: - type: string - secretRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic - user: - type: string - required: - - monitors - type: object - cinder: - properties: - fsType: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic - volumeID: - type: string - required: - - volumeID - type: object - configMap: - properties: - defaultMode: - format: int32 - type: integer - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - x-kubernetes-list-type: atomic - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - csi: - properties: - driver: - type: string - fsType: - type: string - nodePublishSecretRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic - readOnly: - type: boolean - volumeAttributes: - additionalProperties: - type: string - type: object - required: - - driver - type: object - downwardAPI: - properties: - defaultMode: - format: int32 - type: integer - items: - items: - properties: - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - mode: - format: int32 - type: integer - path: - type: string - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - required: - - path - type: object - type: array - x-kubernetes-list-type: atomic - type: object - emptyDir: - properties: - medium: - type: string - sizeLimit: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - ephemeral: - properties: - volumeClaimTemplate: - properties: - metadata: - properties: - annotations: - additionalProperties: - type: string - type: object - finalizers: - items: - type: string - type: array - generateName: - type: string - labels: - additionalProperties: - type: string - type: object - name: - type: string - namespace: - type: string - type: object - spec: - properties: - accessModes: - items: - type: string - type: array - x-kubernetes-list-type: atomic - dataSource: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - required: - - kind - - name - type: object - x-kubernetes-map-type: atomic - dataSourceRef: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - namespace: - type: string - required: - - kind - - name - type: object - resources: - properties: - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - selector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - storageClassName: - type: string - volumeAttributesClassName: - type: string - volumeMode: - type: string - volumeName: - type: string - type: object - required: - - spec - type: object - type: object - fc: - properties: - fsType: - type: string - lun: - format: int32 - type: integer - readOnly: - type: boolean - targetWWNs: - items: - type: string - type: array - x-kubernetes-list-type: atomic - wwids: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - flexVolume: - properties: - driver: - type: string - fsType: - type: string - options: - additionalProperties: - type: string - type: object - readOnly: - type: boolean - secretRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic - required: - - driver - type: object - flocker: - properties: - datasetName: - type: string - datasetUUID: - type: string - type: object - gcePersistentDisk: - properties: - fsType: - type: string - partition: - format: int32 - type: integer - pdName: - type: string - readOnly: - type: boolean - required: - - pdName - type: object - gitRepo: - properties: - directory: - type: string - repository: - type: string - revision: - type: string - required: - - repository - type: object - glusterfs: - properties: - endpoints: - type: string - path: - type: string - readOnly: - type: boolean - required: - - endpoints - - path - type: object - hostPath: - properties: - path: - type: string - type: - type: string - required: - - path - type: object - image: - properties: - pullPolicy: - type: string - reference: - type: string - type: object - iscsi: - properties: - chapAuthDiscovery: - type: boolean - chapAuthSession: - type: boolean - fsType: - type: string - initiatorName: - type: string - iqn: - type: string - iscsiInterface: - default: default - type: string - lun: - format: int32 - type: integer - portals: - items: - type: string - type: array - x-kubernetes-list-type: atomic - readOnly: - type: boolean - secretRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic - targetPortal: - type: string - required: - - iqn - - lun - - targetPortal - type: object - name: - type: string - nfs: - properties: - path: - type: string - readOnly: - type: boolean - server: - type: string - required: - - path - - server - type: object - persistentVolumeClaim: - properties: - claimName: - type: string - readOnly: - type: boolean - required: - - claimName - type: object - photonPersistentDisk: - properties: - fsType: - type: string - pdID: - type: string - required: - - pdID - type: object - portworxVolume: - properties: - fsType: - type: string - readOnly: - type: boolean - volumeID: - type: string - required: - - volumeID - type: object - projected: - properties: - defaultMode: - format: int32 - type: integer - sources: - items: - properties: - clusterTrustBundle: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - name: - type: string - optional: - type: boolean - path: - type: string - signerName: - type: string - required: - - path - type: object - configMap: - properties: - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - x-kubernetes-list-type: atomic - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - downwardAPI: - properties: - items: - items: - properties: - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - mode: - format: int32 - type: integer - path: - type: string - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - required: - - path - type: object - type: array - x-kubernetes-list-type: atomic - type: object - secret: - properties: - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - x-kubernetes-list-type: atomic - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - serviceAccountToken: - properties: - audience: - type: string - expirationSeconds: - format: int64 - type: integer - path: - type: string - required: - - path - type: object - type: object - type: array - x-kubernetes-list-type: atomic - type: object - quobyte: - properties: - group: - type: string - readOnly: - type: boolean - registry: - type: string - tenant: - type: string - user: - type: string - volume: - type: string - required: - - registry - - volume - type: object - rbd: - properties: - fsType: - type: string - image: - type: string - keyring: - default: /etc/ceph/keyring - type: string - monitors: - items: - type: string - type: array - x-kubernetes-list-type: atomic - pool: - default: rbd - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic - user: - default: admin - type: string - required: - - image - - monitors - type: object - scaleIO: - properties: - fsType: - default: xfs - type: string - gateway: - type: string - protectionDomain: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic - sslEnabled: - type: boolean - storageMode: - default: ThinProvisioned - type: string - storagePool: - type: string - system: - type: string - volumeName: - type: string - required: - - gateway - - secretRef - - system - type: object - secret: - properties: - defaultMode: - format: int32 - type: integer - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - x-kubernetes-list-type: atomic - optional: - type: boolean - secretName: - type: string - type: object - storageos: - properties: - fsType: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic - volumeName: - type: string - volumeNamespace: - type: string - type: object - vsphereVolume: - properties: - fsType: - type: string - storagePolicyID: - type: string - storagePolicyName: - type: string - volumePath: - type: string - required: - - volumePath - type: object - required: - - name - type: object - type: array - type: object - type: object - storedWorkflowTemplateSpec: - properties: - activeDeadlineSeconds: - format: int64 - type: integer - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - preference: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - type: object - x-kubernetes-map-type: atomic - weight: - format: int32 - type: integer - required: - - preference - - weight - type: object - type: array - x-kubernetes-list-type: atomic - requiredDuringSchedulingIgnoredDuringExecution: - properties: - nodeSelectorTerms: - items: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - type: object - x-kubernetes-map-type: atomic - type: array - x-kubernetes-list-type: atomic - required: - - nodeSelectorTerms - type: object - x-kubernetes-map-type: atomic - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - x-kubernetes-list-type: atomic - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - x-kubernetes-list-type: atomic - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - x-kubernetes-list-type: atomic - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - x-kubernetes-list-type: atomic - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - x-kubernetes-list-type: atomic - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - x-kubernetes-list-type: atomic - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - x-kubernetes-list-type: atomic - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - x-kubernetes-list-type: atomic - type: object - type: object - archiveLogs: - type: boolean - arguments: - properties: - artifacts: - items: - properties: - archive: - properties: - none: - type: object - tar: - properties: - compressionLevel: - format: int32 - type: integer - type: object - zip: - type: object - type: object - archiveLogs: - type: boolean - artifactGC: - properties: - podMetadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - serviceAccountName: - type: string - strategy: - enum: - - "" - - OnWorkflowCompletion - - OnWorkflowDeletion - - Never - type: string - type: object - artifactory: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - url: - type: string - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - url - type: object - azure: - properties: - accountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - blob: - type: string - container: - type: string - endpoint: - type: string - useSDKCreds: - type: boolean - required: - - blob - - container - - endpoint - type: object - deleted: - type: boolean - from: - type: string - fromExpression: - type: string - gcs: - properties: - bucket: - type: string - key: - type: string - serviceAccountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - key - type: object - git: - properties: - branch: - type: string - depth: - format: int64 - type: integer - disableSubmodules: - type: boolean - fetch: - items: - type: string - type: array - insecureIgnoreHostKey: - type: boolean - insecureSkipTLS: - type: boolean - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - repo: - type: string - revision: - type: string - singleBranch: - type: boolean - sshPrivateKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - repo - type: object - globalName: - type: string - hdfs: - properties: - addresses: - items: - type: string - type: array - dataTransferProtection: - type: string - force: - type: boolean - hdfsUser: - type: string - krbCCacheSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbConfigConfigMap: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbKeytabSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbRealm: - type: string - krbServicePrincipalName: - type: string - krbUsername: - type: string - path: - type: string - required: - - path - type: object - http: - properties: - auth: - properties: - basicAuth: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - clientCert: - properties: - clientCertSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - oauth2: - properties: - clientIDSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientSecretSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - endpointParams: - items: - properties: - key: - type: string - value: - type: string - required: - - key - type: object - type: array - scopes: - items: - type: string - type: array - tokenURLSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - type: object - headers: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - url: - type: string - required: - - url - type: object - mode: - format: int32 - type: integer - name: - type: string - optional: - type: boolean - oss: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - createBucketIfNotPresent: - type: boolean - endpoint: - type: string - key: - type: string - lifecycleRule: - properties: - markDeletionAfterDays: - format: int32 - type: integer - markInfrequentAccessAfterDays: - format: int32 - type: integer - type: object - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - securityToken: - type: string - useSDKCreds: - type: boolean - required: - - key - type: object - path: - type: string - raw: - properties: - data: - type: string - required: - - data - type: object - recurseMode: - type: boolean - s3: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - caSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - createBucketIfNotPresent: - properties: - objectLocking: - type: boolean - type: object - encryptionOptions: - properties: - enableEncryption: - type: boolean - kmsEncryptionContext: - type: string - kmsKeyId: - type: string - serverSideCustomerKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - endpoint: - type: string - insecure: - type: boolean - key: - type: string - region: - type: string - roleARN: - type: string - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - sessionTokenSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - useSDKCreds: - type: boolean - type: object - subPath: - type: string - required: - - name - type: object - type: array - parameters: - items: - properties: - default: - type: string - description: - type: string - enum: - items: - type: string - type: array - globalName: - type: string - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - default: - type: string - event: - type: string - expression: - type: string - jqFilter: - type: string - jsonPath: - type: string - parameter: - type: string - path: - type: string - supplied: - type: object - type: object - required: - - name - type: object - type: array - type: object - artifactGC: - properties: - forceFinalizerRemoval: - type: boolean - podMetadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - podSpecPatch: - type: string - serviceAccountName: - type: string - strategy: - enum: - - "" - - OnWorkflowCompletion - - OnWorkflowDeletion - - Never - type: string - type: object - artifactRepositoryRef: - properties: - configMap: - type: string - key: - type: string - type: object - automountServiceAccountToken: - type: boolean - dnsConfig: - properties: - nameservers: - items: - type: string - type: array - x-kubernetes-list-type: atomic - options: - items: - properties: - name: - type: string - value: - type: string - type: object - type: array - x-kubernetes-list-type: atomic - searches: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - dnsPolicy: - type: string - entrypoint: - type: string - executor: - properties: - serviceAccountName: - type: string - type: object - hooks: - additionalProperties: - properties: - arguments: - properties: - artifacts: - items: - properties: - archive: - properties: - none: - type: object - tar: - properties: - compressionLevel: - format: int32 - type: integer - type: object - zip: - type: object - type: object - archiveLogs: - type: boolean - artifactGC: - properties: - podMetadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - serviceAccountName: - type: string - strategy: - enum: - - "" - - OnWorkflowCompletion - - OnWorkflowDeletion - - Never - type: string - type: object - artifactory: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - url: - type: string - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - url - type: object - azure: - properties: - accountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - blob: - type: string - container: - type: string - endpoint: - type: string - useSDKCreds: - type: boolean - required: - - blob - - container - - endpoint - type: object - deleted: - type: boolean - from: - type: string - fromExpression: - type: string - gcs: - properties: - bucket: - type: string - key: - type: string - serviceAccountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - key - type: object - git: - properties: - branch: - type: string - depth: - format: int64 - type: integer - disableSubmodules: - type: boolean - fetch: - items: - type: string - type: array - insecureIgnoreHostKey: - type: boolean - insecureSkipTLS: - type: boolean - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - repo: - type: string - revision: - type: string - singleBranch: - type: boolean - sshPrivateKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - repo - type: object - globalName: - type: string - hdfs: - properties: - addresses: - items: - type: string - type: array - dataTransferProtection: - type: string - force: - type: boolean - hdfsUser: - type: string - krbCCacheSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbConfigConfigMap: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbKeytabSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbRealm: - type: string - krbServicePrincipalName: - type: string - krbUsername: - type: string - path: - type: string - required: - - path - type: object - http: - properties: - auth: - properties: - basicAuth: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - clientCert: - properties: - clientCertSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - oauth2: - properties: - clientIDSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientSecretSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - endpointParams: - items: - properties: - key: - type: string - value: - type: string - required: - - key - type: object - type: array - scopes: - items: - type: string - type: array - tokenURLSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - type: object - headers: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - url: - type: string - required: - - url - type: object - mode: - format: int32 - type: integer - name: - type: string - optional: - type: boolean - oss: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - createBucketIfNotPresent: - type: boolean - endpoint: - type: string - key: - type: string - lifecycleRule: - properties: - markDeletionAfterDays: - format: int32 - type: integer - markInfrequentAccessAfterDays: - format: int32 - type: integer - type: object - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - securityToken: - type: string - useSDKCreds: - type: boolean - required: - - key - type: object - path: - type: string - raw: - properties: - data: - type: string - required: - - data - type: object - recurseMode: - type: boolean - s3: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - caSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - createBucketIfNotPresent: - properties: - objectLocking: - type: boolean - type: object - encryptionOptions: - properties: - enableEncryption: - type: boolean - kmsEncryptionContext: - type: string - kmsKeyId: - type: string - serverSideCustomerKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - endpoint: - type: string - insecure: - type: boolean - key: - type: string - region: - type: string - roleARN: - type: string - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - sessionTokenSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - useSDKCreds: - type: boolean - type: object - subPath: - type: string - required: - - name - type: object - type: array - parameters: - items: - properties: - default: - type: string - description: - type: string - enum: - items: - type: string - type: array - globalName: - type: string - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - default: - type: string - event: - type: string - expression: - type: string - jqFilter: - type: string - jsonPath: - type: string - parameter: - type: string - path: - type: string - supplied: - type: object - type: object - required: - - name - type: object - type: array - type: object - expression: - type: string - template: - type: string - templateRef: - properties: - clusterScope: - type: boolean - name: - type: string - template: - type: string - type: object - type: object - type: object - hostAliases: - items: - properties: - hostnames: - items: - type: string - type: array - x-kubernetes-list-type: atomic - ip: - type: string - required: - - ip - type: object - type: array - hostNetwork: - type: boolean - imagePullSecrets: - items: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic - type: array - metrics: - properties: - prometheus: - items: - properties: - counter: - properties: - value: - type: string - required: - - value - type: object - gauge: - properties: - operation: - type: string - realtime: - type: boolean - value: - type: string - required: - - realtime - - value - type: object - help: - type: string - histogram: - properties: - buckets: - items: - type: number - type: array - value: - type: string - required: - - buckets - - value - type: object - labels: - items: - properties: - key: - type: string - value: - type: string - required: - - key - - value - type: object - type: array - name: - type: string - when: - type: string - required: - - help - - name - type: object - type: array - required: - - prometheus - type: object - nodeSelector: - additionalProperties: - type: string - type: object - onExit: - type: string - parallelism: - format: int64 - type: integer - podDisruptionBudget: - properties: - maxUnavailable: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - minAvailable: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - selector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - unhealthyPodEvictionPolicy: - type: string - type: object - podGC: - properties: - deleteDelayDuration: - type: string - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - strategy: - type: string - type: object - podMetadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - podPriorityClassName: - type: string - podSpecPatch: - type: string - priority: - format: int32 - type: integer - retryStrategy: - properties: - affinity: - properties: - nodeAntiAffinity: - type: object - type: object - backoff: - properties: - cap: - type: string - duration: - type: string - factor: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - maxDuration: - type: string - type: object - expression: - type: string - limit: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - retryPolicy: - type: string - type: object - schedulerName: - type: string - securityContext: - properties: - appArmorProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - fsGroup: - format: int64 - type: integer - fsGroupChangePolicy: - type: string - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxChangePolicy: - type: string - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - supplementalGroups: - items: - format: int64 - type: integer - type: array - x-kubernetes-list-type: atomic - supplementalGroupsPolicy: - type: string - sysctls: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - serviceAccountName: - type: string - shutdown: - type: string - suspend: - type: boolean - synchronization: - properties: - mutex: - properties: - database: - type: boolean - name: - type: string - namespace: - type: string - type: object - mutexes: - items: - properties: - database: - type: boolean - name: - type: string - namespace: - type: string - type: object - type: array - semaphore: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - database: - properties: - key: - type: string - required: - - key - type: object - namespace: - type: string - type: object - semaphores: - items: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - database: - properties: - key: - type: string - required: - - key - type: object - namespace: - type: string - type: object - type: array - type: object - templateDefaults: - properties: - activeDeadlineSeconds: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - preference: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - type: object - x-kubernetes-map-type: atomic - weight: - format: int32 - type: integer - required: - - preference - - weight - type: object - type: array - x-kubernetes-list-type: atomic - requiredDuringSchedulingIgnoredDuringExecution: - properties: - nodeSelectorTerms: - items: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - type: object - x-kubernetes-map-type: atomic - type: array - x-kubernetes-list-type: atomic - required: - - nodeSelectorTerms - type: object - x-kubernetes-map-type: atomic - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - x-kubernetes-list-type: atomic - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - x-kubernetes-list-type: atomic - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - x-kubernetes-list-type: atomic - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - x-kubernetes-list-type: atomic - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - x-kubernetes-list-type: atomic - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - x-kubernetes-list-type: atomic - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - x-kubernetes-list-type: atomic - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - x-kubernetes-list-type: atomic - type: object - type: object - annotations: - additionalProperties: - type: string - type: object - archiveLocation: - properties: - archiveLogs: - type: boolean - artifactory: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - url: - type: string - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - url - type: object - azure: - properties: - accountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - blob: - type: string - container: - type: string - endpoint: - type: string - useSDKCreds: - type: boolean - required: - - blob - - container - - endpoint - type: object - gcs: - properties: - bucket: - type: string - key: - type: string - serviceAccountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - key - type: object - git: - properties: - branch: - type: string - depth: - format: int64 - type: integer - disableSubmodules: - type: boolean - fetch: - items: - type: string - type: array - insecureIgnoreHostKey: - type: boolean - insecureSkipTLS: - type: boolean - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - repo: - type: string - revision: - type: string - singleBranch: - type: boolean - sshPrivateKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - repo - type: object - hdfs: - properties: - addresses: - items: - type: string - type: array - dataTransferProtection: - type: string - force: - type: boolean - hdfsUser: - type: string - krbCCacheSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbConfigConfigMap: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbKeytabSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbRealm: - type: string - krbServicePrincipalName: - type: string - krbUsername: - type: string - path: - type: string - required: - - path - type: object - http: - properties: - auth: - properties: - basicAuth: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - clientCert: - properties: - clientCertSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - oauth2: - properties: - clientIDSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientSecretSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - endpointParams: - items: - properties: - key: - type: string - value: - type: string - required: - - key - type: object - type: array - scopes: - items: - type: string - type: array - tokenURLSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - type: object - headers: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - url: - type: string - required: - - url - type: object - oss: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - createBucketIfNotPresent: - type: boolean - endpoint: - type: string - key: - type: string - lifecycleRule: - properties: - markDeletionAfterDays: - format: int32 - type: integer - markInfrequentAccessAfterDays: - format: int32 - type: integer - type: object - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - securityToken: - type: string - useSDKCreds: - type: boolean - required: - - key - type: object - raw: - properties: - data: - type: string - required: - - data - type: object - s3: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - caSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - createBucketIfNotPresent: - properties: - objectLocking: - type: boolean - type: object - encryptionOptions: - properties: - enableEncryption: - type: boolean - kmsEncryptionContext: - type: string - kmsKeyId: - type: string - serverSideCustomerKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - endpoint: - type: string - insecure: - type: boolean - key: - type: string - region: - type: string - roleARN: - type: string - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - sessionTokenSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - useSDKCreds: - type: boolean - type: object - type: object - automountServiceAccountToken: - type: boolean - container: - properties: - args: - items: - type: string - type: array - x-kubernetes-list-type: atomic - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - envFrom: - items: - properties: - configMapRef: - properties: - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: - properties: - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - type: object - type: array - x-kubernetes-list-type: atomic - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - stopSignal: - type: string - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - name: - type: string - ports: - items: - properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: - type: string - protocol: - default: TCP - type: string - required: - - containerPort - type: object - type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resizePolicy: - items: - properties: - resourceName: - type: string - restartPolicy: - type: string - required: - - resourceName - - restartPolicy - type: object - type: array - x-kubernetes-list-type: atomic - resources: - properties: - claims: - items: - properties: - name: - type: string - request: - type: string - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - restartPolicy: - type: string - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - appArmorProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - capabilities: - properties: - add: - items: - type: string - type: array - x-kubernetes-list-type: atomic - drop: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - startupProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - stdin: - type: boolean - stdinOnce: - type: boolean - terminationMessagePath: - type: string - terminationMessagePolicy: - type: string - tty: - type: boolean - volumeDevices: - items: - properties: - devicePath: - type: string - name: - type: string - required: - - devicePath - - name - type: object - type: array - x-kubernetes-list-map-keys: - - devicePath - x-kubernetes-list-type: map - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - recursiveReadOnly: - type: string - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - x-kubernetes-list-map-keys: - - mountPath - x-kubernetes-list-type: map - workingDir: - type: string - type: object - containerSet: - properties: - containers: - items: - properties: - args: - items: - type: string - type: array - x-kubernetes-list-type: atomic - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - dependencies: - items: - type: string - type: array - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - envFrom: - items: - properties: - configMapRef: - properties: - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: - properties: - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - type: object - type: array - x-kubernetes-list-type: atomic - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - stopSignal: - type: string - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - name: - type: string - ports: - items: - properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: - type: string - protocol: - default: TCP - type: string - required: - - containerPort - type: object - type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resizePolicy: - items: - properties: - resourceName: - type: string - restartPolicy: - type: string - required: - - resourceName - - restartPolicy - type: object - type: array - x-kubernetes-list-type: atomic - resources: - properties: - claims: - items: - properties: - name: - type: string - request: - type: string - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - restartPolicy: - type: string - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - appArmorProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - capabilities: - properties: - add: - items: - type: string - type: array - x-kubernetes-list-type: atomic - drop: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - startupProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - stdin: - type: boolean - stdinOnce: - type: boolean - terminationMessagePath: - type: string - terminationMessagePolicy: - type: string - tty: - type: boolean - volumeDevices: - items: - properties: - devicePath: - type: string - name: - type: string - required: - - devicePath - - name - type: object - type: array - x-kubernetes-list-map-keys: - - devicePath - x-kubernetes-list-type: map - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - recursiveReadOnly: - type: string - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - x-kubernetes-list-map-keys: - - mountPath - x-kubernetes-list-type: map - workingDir: - type: string - required: - - name - type: object - type: array - retryStrategy: - properties: - duration: - type: string - retries: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - retries - type: object - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - recursiveReadOnly: - type: string - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - required: - - containers - type: object - daemon: - type: boolean - dag: - properties: - failFast: - type: boolean - target: - type: string - tasks: - items: - properties: - arguments: - properties: - artifacts: - items: - properties: - archive: - properties: - none: - type: object - tar: - properties: - compressionLevel: - format: int32 - type: integer - type: object - zip: - type: object - type: object - archiveLogs: - type: boolean - artifactGC: - properties: - podMetadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - serviceAccountName: - type: string - strategy: - enum: - - "" - - OnWorkflowCompletion - - OnWorkflowDeletion - - Never - type: string - type: object - artifactory: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - url: - type: string - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - url - type: object - azure: - properties: - accountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - blob: - type: string - container: - type: string - endpoint: - type: string - useSDKCreds: - type: boolean - required: - - blob - - container - - endpoint - type: object - deleted: - type: boolean - from: - type: string - fromExpression: - type: string - gcs: - properties: - bucket: - type: string - key: - type: string - serviceAccountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - key - type: object - git: - properties: - branch: - type: string - depth: - format: int64 - type: integer - disableSubmodules: - type: boolean - fetch: - items: - type: string - type: array - insecureIgnoreHostKey: - type: boolean - insecureSkipTLS: - type: boolean - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - repo: - type: string - revision: - type: string - singleBranch: - type: boolean - sshPrivateKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - repo - type: object - globalName: - type: string - hdfs: - properties: - addresses: - items: - type: string - type: array - dataTransferProtection: - type: string - force: - type: boolean - hdfsUser: - type: string - krbCCacheSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbConfigConfigMap: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbKeytabSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbRealm: - type: string - krbServicePrincipalName: - type: string - krbUsername: - type: string - path: - type: string - required: - - path - type: object - http: - properties: - auth: - properties: - basicAuth: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - clientCert: - properties: - clientCertSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - oauth2: - properties: - clientIDSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientSecretSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - endpointParams: - items: - properties: - key: - type: string - value: - type: string - required: - - key - type: object - type: array - scopes: - items: - type: string - type: array - tokenURLSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - type: object - headers: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - url: - type: string - required: - - url - type: object - mode: - format: int32 - type: integer - name: - type: string - optional: - type: boolean - oss: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - createBucketIfNotPresent: - type: boolean - endpoint: - type: string - key: - type: string - lifecycleRule: - properties: - markDeletionAfterDays: - format: int32 - type: integer - markInfrequentAccessAfterDays: - format: int32 - type: integer - type: object - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - securityToken: - type: string - useSDKCreds: - type: boolean - required: - - key - type: object - path: - type: string - raw: - properties: - data: - type: string - required: - - data - type: object - recurseMode: - type: boolean - s3: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - caSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - createBucketIfNotPresent: - properties: - objectLocking: - type: boolean - type: object - encryptionOptions: - properties: - enableEncryption: - type: boolean - kmsEncryptionContext: - type: string - kmsKeyId: - type: string - serverSideCustomerKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - endpoint: - type: string - insecure: - type: boolean - key: - type: string - region: - type: string - roleARN: - type: string - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - sessionTokenSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - useSDKCreds: - type: boolean - type: object - subPath: - type: string - required: - - name - type: object - type: array - parameters: - items: - properties: - default: - type: string - description: - type: string - enum: - items: - type: string - type: array - globalName: - type: string - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - default: - type: string - event: - type: string - expression: - type: string - jqFilter: - type: string - jsonPath: - type: string - parameter: - type: string - path: - type: string - supplied: - type: object - type: object - required: - - name - type: object - type: array - type: object - continueOn: - properties: - error: - type: boolean - failed: - type: boolean - type: object - dependencies: - items: - type: string - type: array - depends: - type: string - hooks: - additionalProperties: - properties: - arguments: - properties: - artifacts: - items: - properties: - archive: - properties: - none: - type: object - tar: - properties: - compressionLevel: - format: int32 - type: integer - type: object - zip: - type: object - type: object - archiveLogs: - type: boolean - artifactGC: - properties: - podMetadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - serviceAccountName: - type: string - strategy: - enum: - - "" - - OnWorkflowCompletion - - OnWorkflowDeletion - - Never - type: string - type: object - artifactory: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - url: - type: string - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - url - type: object - azure: - properties: - accountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - blob: - type: string - container: - type: string - endpoint: - type: string - useSDKCreds: - type: boolean - required: - - blob - - container - - endpoint - type: object - deleted: - type: boolean - from: - type: string - fromExpression: - type: string - gcs: - properties: - bucket: - type: string - key: - type: string - serviceAccountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - key - type: object - git: - properties: - branch: - type: string - depth: - format: int64 - type: integer - disableSubmodules: - type: boolean - fetch: - items: - type: string - type: array - insecureIgnoreHostKey: - type: boolean - insecureSkipTLS: - type: boolean - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - repo: - type: string - revision: - type: string - singleBranch: - type: boolean - sshPrivateKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - repo - type: object - globalName: - type: string - hdfs: - properties: - addresses: - items: - type: string - type: array - dataTransferProtection: - type: string - force: - type: boolean - hdfsUser: - type: string - krbCCacheSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbConfigConfigMap: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbKeytabSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbRealm: - type: string - krbServicePrincipalName: - type: string - krbUsername: - type: string - path: - type: string - required: - - path - type: object - http: - properties: - auth: - properties: - basicAuth: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - clientCert: - properties: - clientCertSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - oauth2: - properties: - clientIDSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientSecretSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - endpointParams: - items: - properties: - key: - type: string - value: - type: string - required: - - key - type: object - type: array - scopes: - items: - type: string - type: array - tokenURLSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - type: object - headers: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - url: - type: string - required: - - url - type: object - mode: - format: int32 - type: integer - name: - type: string - optional: - type: boolean - oss: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - createBucketIfNotPresent: - type: boolean - endpoint: - type: string - key: - type: string - lifecycleRule: - properties: - markDeletionAfterDays: - format: int32 - type: integer - markInfrequentAccessAfterDays: - format: int32 - type: integer - type: object - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - securityToken: - type: string - useSDKCreds: - type: boolean - required: - - key - type: object - path: - type: string - raw: - properties: - data: - type: string - required: - - data - type: object - recurseMode: - type: boolean - s3: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - caSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - createBucketIfNotPresent: - properties: - objectLocking: - type: boolean - type: object - encryptionOptions: - properties: - enableEncryption: - type: boolean - kmsEncryptionContext: - type: string - kmsKeyId: - type: string - serverSideCustomerKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - endpoint: - type: string - insecure: - type: boolean - key: - type: string - region: - type: string - roleARN: - type: string - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - sessionTokenSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - useSDKCreds: - type: boolean - type: object - subPath: - type: string - required: - - name - type: object - type: array - parameters: - items: - properties: - default: - type: string - description: - type: string - enum: - items: - type: string - type: array - globalName: - type: string - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - default: - type: string - event: - type: string - expression: - type: string - jqFilter: - type: string - jsonPath: - type: string - parameter: - type: string - path: - type: string - supplied: - type: object - type: object - required: - - name - type: object - type: array - type: object - expression: - type: string - template: - type: string - templateRef: - properties: - clusterScope: - type: boolean - name: - type: string - template: - type: string - type: object - type: object - type: object - inline: - x-kubernetes-preserve-unknown-fields: true - name: - type: string - onExit: - type: string - template: - type: string - templateRef: - properties: - clusterScope: - type: boolean - name: - type: string - template: - type: string - type: object - when: - type: string - withItems: - x-kubernetes-preserve-unknown-fields: true - withParam: - type: string - withSequence: - properties: - count: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - end: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - format: - type: string - start: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - type: object - required: - - name - type: object - type: array - required: - - tasks - type: object - data: - properties: - source: - properties: - artifactPaths: - properties: - archive: - properties: - none: - type: object - tar: - properties: - compressionLevel: - format: int32 - type: integer - type: object - zip: - type: object - type: object - archiveLogs: - type: boolean - artifactGC: - properties: - podMetadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - serviceAccountName: - type: string - strategy: - enum: - - "" - - OnWorkflowCompletion - - OnWorkflowDeletion - - Never - type: string - type: object - artifactory: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - url: - type: string - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - url - type: object - azure: - properties: - accountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - blob: - type: string - container: - type: string - endpoint: - type: string - useSDKCreds: - type: boolean - required: - - blob - - container - - endpoint - type: object - deleted: - type: boolean - from: - type: string - fromExpression: - type: string - gcs: - properties: - bucket: - type: string - key: - type: string - serviceAccountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - key - type: object - git: - properties: - branch: - type: string - depth: - format: int64 - type: integer - disableSubmodules: - type: boolean - fetch: - items: - type: string - type: array - insecureIgnoreHostKey: - type: boolean - insecureSkipTLS: - type: boolean - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - repo: - type: string - revision: - type: string - singleBranch: - type: boolean - sshPrivateKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - repo - type: object - globalName: - type: string - hdfs: - properties: - addresses: - items: - type: string - type: array - dataTransferProtection: - type: string - force: - type: boolean - hdfsUser: - type: string - krbCCacheSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbConfigConfigMap: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbKeytabSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbRealm: - type: string - krbServicePrincipalName: - type: string - krbUsername: - type: string - path: - type: string - required: - - path - type: object - http: - properties: - auth: - properties: - basicAuth: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - clientCert: - properties: - clientCertSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - oauth2: - properties: - clientIDSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientSecretSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - endpointParams: - items: - properties: - key: - type: string - value: - type: string - required: - - key - type: object - type: array - scopes: - items: - type: string - type: array - tokenURLSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - type: object - headers: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - url: - type: string - required: - - url - type: object - mode: - format: int32 - type: integer - name: - type: string - optional: - type: boolean - oss: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - createBucketIfNotPresent: - type: boolean - endpoint: - type: string - key: - type: string - lifecycleRule: - properties: - markDeletionAfterDays: - format: int32 - type: integer - markInfrequentAccessAfterDays: - format: int32 - type: integer - type: object - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - securityToken: - type: string - useSDKCreds: - type: boolean - required: - - key - type: object - path: - type: string - raw: - properties: - data: - type: string - required: - - data - type: object - recurseMode: - type: boolean - s3: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - caSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - createBucketIfNotPresent: - properties: - objectLocking: - type: boolean - type: object - encryptionOptions: - properties: - enableEncryption: - type: boolean - kmsEncryptionContext: - type: string - kmsKeyId: - type: string - serverSideCustomerKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - endpoint: - type: string - insecure: - type: boolean - key: - type: string - region: - type: string - roleARN: - type: string - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - sessionTokenSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - useSDKCreds: - type: boolean - type: object - subPath: - type: string - required: - - name - type: object - type: object - transformation: - items: - properties: - expression: - type: string - required: - - expression - type: object - type: array - required: - - source - - transformation - type: object - executor: - properties: - serviceAccountName: - type: string - type: object - failFast: - type: boolean - hostAliases: - items: - properties: - hostnames: - items: - type: string - type: array - x-kubernetes-list-type: atomic - ip: - type: string - required: - - ip - type: object - type: array - http: - properties: - body: - type: string - bodyFrom: - properties: - bytes: - format: byte - type: string - type: object - headers: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - secretKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - insecureSkipVerify: - type: boolean - method: - type: string - successCondition: - type: string - timeoutSeconds: - format: int64 - type: integer - url: - type: string - required: - - url - type: object - initContainers: - items: - properties: - args: - items: - type: string - type: array - x-kubernetes-list-type: atomic - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - envFrom: - items: - properties: - configMapRef: - properties: - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: - properties: - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - type: object - type: array - x-kubernetes-list-type: atomic - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - stopSignal: - type: string - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - mirrorVolumeMounts: - type: boolean - name: - type: string - ports: - items: - properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: - type: string - protocol: - default: TCP - type: string - required: - - containerPort - type: object - type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resizePolicy: - items: - properties: - resourceName: - type: string - restartPolicy: - type: string - required: - - resourceName - - restartPolicy - type: object - type: array - x-kubernetes-list-type: atomic - resources: - properties: - claims: - items: - properties: - name: - type: string - request: - type: string - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - restartPolicy: - type: string - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - appArmorProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - capabilities: - properties: - add: - items: - type: string - type: array - x-kubernetes-list-type: atomic - drop: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - startupProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - stdin: - type: boolean - stdinOnce: - type: boolean - terminationMessagePath: - type: string - terminationMessagePolicy: - type: string - tty: - type: boolean - volumeDevices: - items: - properties: - devicePath: - type: string - name: - type: string - required: - - devicePath - - name - type: object - type: array - x-kubernetes-list-map-keys: - - devicePath - x-kubernetes-list-type: map - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - recursiveReadOnly: - type: string - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - x-kubernetes-list-map-keys: - - mountPath - x-kubernetes-list-type: map - workingDir: - type: string - required: - - name - type: object - type: array - inputs: - properties: - artifacts: - items: - properties: - archive: - properties: - none: - type: object - tar: - properties: - compressionLevel: - format: int32 - type: integer - type: object - zip: - type: object - type: object - archiveLogs: - type: boolean - artifactGC: - properties: - podMetadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - serviceAccountName: - type: string - strategy: - enum: - - "" - - OnWorkflowCompletion - - OnWorkflowDeletion - - Never - type: string - type: object - artifactory: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - url: - type: string - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - url - type: object - azure: - properties: - accountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - blob: - type: string - container: - type: string - endpoint: - type: string - useSDKCreds: - type: boolean - required: - - blob - - container - - endpoint - type: object - deleted: - type: boolean - from: - type: string - fromExpression: - type: string - gcs: - properties: - bucket: - type: string - key: - type: string - serviceAccountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - key - type: object - git: - properties: - branch: - type: string - depth: - format: int64 - type: integer - disableSubmodules: - type: boolean - fetch: - items: - type: string - type: array - insecureIgnoreHostKey: - type: boolean - insecureSkipTLS: - type: boolean - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - repo: - type: string - revision: - type: string - singleBranch: - type: boolean - sshPrivateKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - repo - type: object - globalName: - type: string - hdfs: - properties: - addresses: - items: - type: string - type: array - dataTransferProtection: - type: string - force: - type: boolean - hdfsUser: - type: string - krbCCacheSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbConfigConfigMap: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbKeytabSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbRealm: - type: string - krbServicePrincipalName: - type: string - krbUsername: - type: string - path: - type: string - required: - - path - type: object - http: - properties: - auth: - properties: - basicAuth: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - clientCert: - properties: - clientCertSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - oauth2: - properties: - clientIDSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientSecretSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - endpointParams: - items: - properties: - key: - type: string - value: - type: string - required: - - key - type: object - type: array - scopes: - items: - type: string - type: array - tokenURLSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - type: object - headers: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - url: - type: string - required: - - url - type: object - mode: - format: int32 - type: integer - name: - type: string - optional: - type: boolean - oss: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - createBucketIfNotPresent: - type: boolean - endpoint: - type: string - key: - type: string - lifecycleRule: - properties: - markDeletionAfterDays: - format: int32 - type: integer - markInfrequentAccessAfterDays: - format: int32 - type: integer - type: object - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - securityToken: - type: string - useSDKCreds: - type: boolean - required: - - key - type: object - path: - type: string - raw: - properties: - data: - type: string - required: - - data - type: object - recurseMode: - type: boolean - s3: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - caSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - createBucketIfNotPresent: - properties: - objectLocking: - type: boolean - type: object - encryptionOptions: - properties: - enableEncryption: - type: boolean - kmsEncryptionContext: - type: string - kmsKeyId: - type: string - serverSideCustomerKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - endpoint: - type: string - insecure: - type: boolean - key: - type: string - region: - type: string - roleARN: - type: string - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - sessionTokenSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - useSDKCreds: - type: boolean - type: object - subPath: - type: string - required: - - name - type: object - type: array - parameters: - items: - properties: - default: - type: string - description: - type: string - enum: - items: - type: string - type: array - globalName: - type: string - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - default: - type: string - event: - type: string - expression: - type: string - jqFilter: - type: string - jsonPath: - type: string - parameter: - type: string - path: - type: string - supplied: - type: object - type: object - required: - - name - type: object - type: array - type: object - memoize: - properties: - cache: - properties: - configMap: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - configMap - type: object - key: - type: string - maxAge: - type: string - required: - - cache - - key - - maxAge - type: object - metadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - metrics: - properties: - prometheus: - items: - properties: - counter: - properties: - value: - type: string - required: - - value - type: object - gauge: - properties: - operation: - type: string - realtime: - type: boolean - value: - type: string - required: - - realtime - - value - type: object - help: - type: string - histogram: - properties: - buckets: - items: - type: number - type: array - value: - type: string - required: - - buckets - - value - type: object - labels: - items: - properties: - key: - type: string - value: - type: string - required: - - key - - value - type: object - type: array - name: - type: string - when: - type: string - required: - - help - - name - type: object - type: array - required: - - prometheus - type: object - name: - type: string - nodeSelector: - additionalProperties: - type: string - type: object - outputs: - properties: - artifacts: - items: - properties: - archive: - properties: - none: - type: object - tar: - properties: - compressionLevel: - format: int32 - type: integer - type: object - zip: - type: object - type: object - archiveLogs: - type: boolean - artifactGC: - properties: - podMetadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - serviceAccountName: - type: string - strategy: - enum: - - "" - - OnWorkflowCompletion - - OnWorkflowDeletion - - Never - type: string - type: object - artifactory: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - url: - type: string - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - url - type: object - azure: - properties: - accountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - blob: - type: string - container: - type: string - endpoint: - type: string - useSDKCreds: - type: boolean - required: - - blob - - container - - endpoint - type: object - deleted: - type: boolean - from: - type: string - fromExpression: - type: string - gcs: - properties: - bucket: - type: string - key: - type: string - serviceAccountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - key - type: object - git: - properties: - branch: - type: string - depth: - format: int64 - type: integer - disableSubmodules: - type: boolean - fetch: - items: - type: string - type: array - insecureIgnoreHostKey: - type: boolean - insecureSkipTLS: - type: boolean - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - repo: - type: string - revision: - type: string - singleBranch: - type: boolean - sshPrivateKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - repo - type: object - globalName: - type: string - hdfs: - properties: - addresses: - items: - type: string - type: array - dataTransferProtection: - type: string - force: - type: boolean - hdfsUser: - type: string - krbCCacheSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbConfigConfigMap: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbKeytabSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbRealm: - type: string - krbServicePrincipalName: - type: string - krbUsername: - type: string - path: - type: string - required: - - path - type: object - http: - properties: - auth: - properties: - basicAuth: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - clientCert: - properties: - clientCertSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - oauth2: - properties: - clientIDSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientSecretSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - endpointParams: - items: - properties: - key: - type: string - value: - type: string - required: - - key - type: object - type: array - scopes: - items: - type: string - type: array - tokenURLSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - type: object - headers: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - url: - type: string - required: - - url - type: object - mode: - format: int32 - type: integer - name: - type: string - optional: - type: boolean - oss: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - createBucketIfNotPresent: - type: boolean - endpoint: - type: string - key: - type: string - lifecycleRule: - properties: - markDeletionAfterDays: - format: int32 - type: integer - markInfrequentAccessAfterDays: - format: int32 - type: integer - type: object - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - securityToken: - type: string - useSDKCreds: - type: boolean - required: - - key - type: object - path: - type: string - raw: - properties: - data: - type: string - required: - - data - type: object - recurseMode: - type: boolean - s3: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - caSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - createBucketIfNotPresent: - properties: - objectLocking: - type: boolean - type: object - encryptionOptions: - properties: - enableEncryption: - type: boolean - kmsEncryptionContext: - type: string - kmsKeyId: - type: string - serverSideCustomerKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - endpoint: - type: string - insecure: - type: boolean - key: - type: string - region: - type: string - roleARN: - type: string - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - sessionTokenSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - useSDKCreds: - type: boolean - type: object - subPath: - type: string - required: - - name - type: object - type: array - exitCode: - type: string - parameters: - items: - properties: - default: - type: string - description: - type: string - enum: - items: - type: string - type: array - globalName: - type: string - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - default: - type: string - event: - type: string - expression: - type: string - jqFilter: - type: string - jsonPath: - type: string - parameter: - type: string - path: - type: string - supplied: - type: object - type: object - required: - - name - type: object - type: array - result: - type: string - type: object - parallelism: - format: int64 - type: integer - plugin: - type: object - x-kubernetes-preserve-unknown-fields: true - podSpecPatch: - type: string - priorityClassName: - type: string - resource: - properties: - action: - type: string - failureCondition: - type: string - flags: - items: - type: string - type: array - manifest: - type: string - manifestFrom: - properties: - artifact: - properties: - archive: - properties: - none: - type: object - tar: - properties: - compressionLevel: - format: int32 - type: integer - type: object - zip: - type: object - type: object - archiveLogs: - type: boolean - artifactGC: - properties: - podMetadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - serviceAccountName: - type: string - strategy: - enum: - - "" - - OnWorkflowCompletion - - OnWorkflowDeletion - - Never - type: string - type: object - artifactory: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - url: - type: string - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - url - type: object - azure: - properties: - accountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - blob: - type: string - container: - type: string - endpoint: - type: string - useSDKCreds: - type: boolean - required: - - blob - - container - - endpoint - type: object - deleted: - type: boolean - from: - type: string - fromExpression: - type: string - gcs: - properties: - bucket: - type: string - key: - type: string - serviceAccountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - key - type: object - git: - properties: - branch: - type: string - depth: - format: int64 - type: integer - disableSubmodules: - type: boolean - fetch: - items: - type: string - type: array - insecureIgnoreHostKey: - type: boolean - insecureSkipTLS: - type: boolean - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - repo: - type: string - revision: - type: string - singleBranch: - type: boolean - sshPrivateKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - repo - type: object - globalName: - type: string - hdfs: - properties: - addresses: - items: - type: string - type: array - dataTransferProtection: - type: string - force: - type: boolean - hdfsUser: - type: string - krbCCacheSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbConfigConfigMap: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbKeytabSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbRealm: - type: string - krbServicePrincipalName: - type: string - krbUsername: - type: string - path: - type: string - required: - - path - type: object - http: - properties: - auth: - properties: - basicAuth: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - clientCert: - properties: - clientCertSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - oauth2: - properties: - clientIDSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientSecretSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - endpointParams: - items: - properties: - key: - type: string - value: - type: string - required: - - key - type: object - type: array - scopes: - items: - type: string - type: array - tokenURLSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - type: object - headers: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - url: - type: string - required: - - url - type: object - mode: - format: int32 - type: integer - name: - type: string - optional: - type: boolean - oss: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - createBucketIfNotPresent: - type: boolean - endpoint: - type: string - key: - type: string - lifecycleRule: - properties: - markDeletionAfterDays: - format: int32 - type: integer - markInfrequentAccessAfterDays: - format: int32 - type: integer - type: object - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - securityToken: - type: string - useSDKCreds: - type: boolean - required: - - key - type: object - path: - type: string - raw: - properties: - data: - type: string - required: - - data - type: object - recurseMode: - type: boolean - s3: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - caSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - createBucketIfNotPresent: - properties: - objectLocking: - type: boolean - type: object - encryptionOptions: - properties: - enableEncryption: - type: boolean - kmsEncryptionContext: - type: string - kmsKeyId: - type: string - serverSideCustomerKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - endpoint: - type: string - insecure: - type: boolean - key: - type: string - region: - type: string - roleARN: - type: string - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - sessionTokenSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - useSDKCreds: - type: boolean - type: object - subPath: - type: string - required: - - name - type: object - required: - - artifact - type: object - mergeStrategy: - type: string - setOwnerReference: - type: boolean - successCondition: - type: string - required: - - action - type: object - retryStrategy: - properties: - affinity: - properties: - nodeAntiAffinity: - type: object - type: object - backoff: - properties: - cap: - type: string - duration: - type: string - factor: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - maxDuration: - type: string - type: object - expression: - type: string - limit: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - retryPolicy: - type: string - type: object - schedulerName: - type: string - script: - properties: - args: - items: - type: string - type: array - x-kubernetes-list-type: atomic - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - envFrom: - items: - properties: - configMapRef: - properties: - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: - properties: - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - type: object - type: array - x-kubernetes-list-type: atomic - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - stopSignal: - type: string - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - name: - type: string - ports: - items: - properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: - type: string - protocol: - default: TCP - type: string - required: - - containerPort - type: object - type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resizePolicy: - items: - properties: - resourceName: - type: string - restartPolicy: - type: string - required: - - resourceName - - restartPolicy - type: object - type: array - x-kubernetes-list-type: atomic - resources: - properties: - claims: - items: - properties: - name: - type: string - request: - type: string - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - restartPolicy: - type: string - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - appArmorProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - capabilities: - properties: - add: - items: - type: string - type: array - x-kubernetes-list-type: atomic - drop: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - source: - type: string - startupProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - stdin: - type: boolean - stdinOnce: - type: boolean - terminationMessagePath: - type: string - terminationMessagePolicy: - type: string - tty: - type: boolean - volumeDevices: - items: - properties: - devicePath: - type: string - name: - type: string - required: - - devicePath - - name - type: object - type: array - x-kubernetes-list-map-keys: - - devicePath - x-kubernetes-list-type: map - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - recursiveReadOnly: - type: string - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - x-kubernetes-list-map-keys: - - mountPath - x-kubernetes-list-type: map - workingDir: - type: string - type: object - securityContext: - properties: - appArmorProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - fsGroup: - format: int64 - type: integer - fsGroupChangePolicy: - type: string - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxChangePolicy: - type: string - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - supplementalGroups: - items: - format: int64 - type: integer - type: array - x-kubernetes-list-type: atomic - supplementalGroupsPolicy: - type: string - sysctls: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - serviceAccountName: - type: string - sidecars: - items: - properties: - args: - items: - type: string - type: array - x-kubernetes-list-type: atomic - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - envFrom: - items: - properties: - configMapRef: - properties: - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: - properties: - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - type: object - type: array - x-kubernetes-list-type: atomic - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - stopSignal: - type: string - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - mirrorVolumeMounts: - type: boolean - name: - type: string - ports: - items: - properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: - type: string - protocol: - default: TCP - type: string - required: - - containerPort - type: object - type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resizePolicy: - items: - properties: - resourceName: - type: string - restartPolicy: - type: string - required: - - resourceName - - restartPolicy - type: object - type: array - x-kubernetes-list-type: atomic - resources: - properties: - claims: - items: - properties: - name: - type: string - request: - type: string - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - restartPolicy: - type: string - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - appArmorProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - capabilities: - properties: - add: - items: - type: string - type: array - x-kubernetes-list-type: atomic - drop: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - startupProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - stdin: - type: boolean - stdinOnce: - type: boolean - terminationMessagePath: - type: string - terminationMessagePolicy: - type: string - tty: - type: boolean - volumeDevices: - items: - properties: - devicePath: - type: string - name: - type: string - required: - - devicePath - - name - type: object - type: array - x-kubernetes-list-map-keys: - - devicePath - x-kubernetes-list-type: map - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - recursiveReadOnly: - type: string - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - x-kubernetes-list-map-keys: - - mountPath - x-kubernetes-list-type: map - workingDir: - type: string - required: - - name - type: object - type: array - steps: - items: - items: - properties: - arguments: - properties: - artifacts: - items: - properties: - archive: - properties: - none: - type: object - tar: - properties: - compressionLevel: - format: int32 - type: integer - type: object - zip: - type: object - type: object - archiveLogs: - type: boolean - artifactGC: - properties: - podMetadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - serviceAccountName: - type: string - strategy: - enum: - - "" - - OnWorkflowCompletion - - OnWorkflowDeletion - - Never - type: string - type: object - artifactory: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - url: - type: string - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - url - type: object - azure: - properties: - accountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - blob: - type: string - container: - type: string - endpoint: - type: string - useSDKCreds: - type: boolean - required: - - blob - - container - - endpoint - type: object - deleted: - type: boolean - from: - type: string - fromExpression: - type: string - gcs: - properties: - bucket: - type: string - key: - type: string - serviceAccountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - key - type: object - git: - properties: - branch: - type: string - depth: - format: int64 - type: integer - disableSubmodules: - type: boolean - fetch: - items: - type: string - type: array - insecureIgnoreHostKey: - type: boolean - insecureSkipTLS: - type: boolean - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - repo: - type: string - revision: - type: string - singleBranch: - type: boolean - sshPrivateKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - repo - type: object - globalName: - type: string - hdfs: - properties: - addresses: - items: - type: string - type: array - dataTransferProtection: - type: string - force: - type: boolean - hdfsUser: - type: string - krbCCacheSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbConfigConfigMap: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbKeytabSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbRealm: - type: string - krbServicePrincipalName: - type: string - krbUsername: - type: string - path: - type: string - required: - - path - type: object - http: - properties: - auth: - properties: - basicAuth: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - clientCert: - properties: - clientCertSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - oauth2: - properties: - clientIDSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientSecretSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - endpointParams: - items: - properties: - key: - type: string - value: - type: string - required: - - key - type: object - type: array - scopes: - items: - type: string - type: array - tokenURLSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - type: object - headers: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - url: - type: string - required: - - url - type: object - mode: - format: int32 - type: integer - name: - type: string - optional: - type: boolean - oss: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - createBucketIfNotPresent: - type: boolean - endpoint: - type: string - key: - type: string - lifecycleRule: - properties: - markDeletionAfterDays: - format: int32 - type: integer - markInfrequentAccessAfterDays: - format: int32 - type: integer - type: object - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - securityToken: - type: string - useSDKCreds: - type: boolean - required: - - key - type: object - path: - type: string - raw: - properties: - data: - type: string - required: - - data - type: object - recurseMode: - type: boolean - s3: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - caSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - createBucketIfNotPresent: - properties: - objectLocking: - type: boolean - type: object - encryptionOptions: - properties: - enableEncryption: - type: boolean - kmsEncryptionContext: - type: string - kmsKeyId: - type: string - serverSideCustomerKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - endpoint: - type: string - insecure: - type: boolean - key: - type: string - region: - type: string - roleARN: - type: string - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - sessionTokenSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - useSDKCreds: - type: boolean - type: object - subPath: - type: string - required: - - name - type: object - type: array - parameters: - items: - properties: - default: - type: string - description: - type: string - enum: - items: - type: string - type: array - globalName: - type: string - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - default: - type: string - event: - type: string - expression: - type: string - jqFilter: - type: string - jsonPath: - type: string - parameter: - type: string - path: - type: string - supplied: - type: object - type: object - required: - - name - type: object - type: array - type: object - continueOn: - properties: - error: - type: boolean - failed: - type: boolean - type: object - hooks: - additionalProperties: - properties: - arguments: - properties: - artifacts: - items: - properties: - archive: - properties: - none: - type: object - tar: - properties: - compressionLevel: - format: int32 - type: integer - type: object - zip: - type: object - type: object - archiveLogs: - type: boolean - artifactGC: - properties: - podMetadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - serviceAccountName: - type: string - strategy: - enum: - - "" - - OnWorkflowCompletion - - OnWorkflowDeletion - - Never - type: string - type: object - artifactory: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - url: - type: string - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - url - type: object - azure: - properties: - accountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - blob: - type: string - container: - type: string - endpoint: - type: string - useSDKCreds: - type: boolean - required: - - blob - - container - - endpoint - type: object - deleted: - type: boolean - from: - type: string - fromExpression: - type: string - gcs: - properties: - bucket: - type: string - key: - type: string - serviceAccountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - key - type: object - git: - properties: - branch: - type: string - depth: - format: int64 - type: integer - disableSubmodules: - type: boolean - fetch: - items: - type: string - type: array - insecureIgnoreHostKey: - type: boolean - insecureSkipTLS: - type: boolean - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - repo: - type: string - revision: - type: string - singleBranch: - type: boolean - sshPrivateKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - repo - type: object - globalName: - type: string - hdfs: - properties: - addresses: - items: - type: string - type: array - dataTransferProtection: - type: string - force: - type: boolean - hdfsUser: - type: string - krbCCacheSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbConfigConfigMap: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbKeytabSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbRealm: - type: string - krbServicePrincipalName: - type: string - krbUsername: - type: string - path: - type: string - required: - - path - type: object - http: - properties: - auth: - properties: - basicAuth: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - clientCert: - properties: - clientCertSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - oauth2: - properties: - clientIDSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientSecretSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - endpointParams: - items: - properties: - key: - type: string - value: - type: string - required: - - key - type: object - type: array - scopes: - items: - type: string - type: array - tokenURLSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - type: object - headers: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - url: - type: string - required: - - url - type: object - mode: - format: int32 - type: integer - name: - type: string - optional: - type: boolean - oss: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - createBucketIfNotPresent: - type: boolean - endpoint: - type: string - key: - type: string - lifecycleRule: - properties: - markDeletionAfterDays: - format: int32 - type: integer - markInfrequentAccessAfterDays: - format: int32 - type: integer - type: object - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - securityToken: - type: string - useSDKCreds: - type: boolean - required: - - key - type: object - path: - type: string - raw: - properties: - data: - type: string - required: - - data - type: object - recurseMode: - type: boolean - s3: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - caSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - createBucketIfNotPresent: - properties: - objectLocking: - type: boolean - type: object - encryptionOptions: - properties: - enableEncryption: - type: boolean - kmsEncryptionContext: - type: string - kmsKeyId: - type: string - serverSideCustomerKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - endpoint: - type: string - insecure: - type: boolean - key: - type: string - region: - type: string - roleARN: - type: string - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - sessionTokenSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - useSDKCreds: - type: boolean - type: object - subPath: - type: string - required: - - name - type: object - type: array - parameters: - items: - properties: - default: - type: string - description: - type: string - enum: - items: - type: string - type: array - globalName: - type: string - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - default: - type: string - event: - type: string - expression: - type: string - jqFilter: - type: string - jsonPath: - type: string - parameter: - type: string - path: - type: string - supplied: - type: object - type: object - required: - - name - type: object - type: array - type: object - expression: - type: string - template: - type: string - templateRef: - properties: - clusterScope: - type: boolean - name: - type: string - template: - type: string - type: object - type: object - type: object - inline: - x-kubernetes-preserve-unknown-fields: true - name: - type: string - onExit: - type: string - template: - type: string - templateRef: - properties: - clusterScope: - type: boolean - name: - type: string - template: - type: string - type: object - when: - type: string - withItems: - x-kubernetes-preserve-unknown-fields: true - withParam: - type: string - withSequence: - properties: - count: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - end: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - format: - type: string - start: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - type: object - type: object - type: array - type: array - suspend: - properties: - duration: - type: string - type: object - synchronization: - properties: - mutex: - properties: - database: - type: boolean - name: - type: string - namespace: - type: string - type: object - mutexes: - items: - properties: - database: - type: boolean - name: - type: string - namespace: - type: string - type: object - type: array - semaphore: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - database: - properties: - key: - type: string - required: - - key - type: object - namespace: - type: string - type: object - semaphores: - items: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - database: - properties: - key: - type: string - required: - - key - type: object - namespace: - type: string - type: object - type: array - type: object - timeout: - type: string - tolerations: - items: - properties: - effect: - type: string - key: - type: string - operator: - type: string - tolerationSeconds: - format: int64 - type: integer - value: - type: string - type: object - type: array - volumes: - items: - properties: - awsElasticBlockStore: - properties: - fsType: - type: string - partition: - format: int32 - type: integer - readOnly: - type: boolean - volumeID: - type: string - required: - - volumeID - type: object - azureDisk: - properties: - cachingMode: - type: string - diskName: - type: string - diskURI: - type: string - fsType: - default: ext4 - type: string - kind: - type: string - readOnly: - default: false - type: boolean - required: - - diskName - - diskURI - type: object - azureFile: - properties: - readOnly: - type: boolean - secretName: - type: string - shareName: - type: string - required: - - secretName - - shareName - type: object - cephfs: - properties: - monitors: - items: - type: string - type: array - x-kubernetes-list-type: atomic - path: - type: string - readOnly: - type: boolean - secretFile: - type: string - secretRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic - user: - type: string - required: - - monitors - type: object - cinder: - properties: - fsType: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic - volumeID: - type: string - required: - - volumeID - type: object - configMap: - properties: - defaultMode: - format: int32 - type: integer - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - x-kubernetes-list-type: atomic - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - csi: - properties: - driver: - type: string - fsType: - type: string - nodePublishSecretRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic - readOnly: - type: boolean - volumeAttributes: - additionalProperties: - type: string - type: object - required: - - driver - type: object - downwardAPI: - properties: - defaultMode: - format: int32 - type: integer - items: - items: - properties: - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - mode: - format: int32 - type: integer - path: - type: string - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - required: - - path - type: object - type: array - x-kubernetes-list-type: atomic - type: object - emptyDir: - properties: - medium: - type: string - sizeLimit: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - ephemeral: - properties: - volumeClaimTemplate: - properties: - metadata: - properties: - annotations: - additionalProperties: - type: string - type: object - finalizers: - items: - type: string - type: array - generateName: - type: string - labels: - additionalProperties: - type: string - type: object - name: - type: string - namespace: - type: string - type: object - spec: - properties: - accessModes: - items: - type: string - type: array - x-kubernetes-list-type: atomic - dataSource: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - required: - - kind - - name - type: object - x-kubernetes-map-type: atomic - dataSourceRef: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - namespace: - type: string - required: - - kind - - name - type: object - resources: - properties: - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - selector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - storageClassName: - type: string - volumeAttributesClassName: - type: string - volumeMode: - type: string - volumeName: - type: string - type: object - required: - - spec - type: object - type: object - fc: - properties: - fsType: - type: string - lun: - format: int32 - type: integer - readOnly: - type: boolean - targetWWNs: - items: - type: string - type: array - x-kubernetes-list-type: atomic - wwids: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - flexVolume: - properties: - driver: - type: string - fsType: - type: string - options: - additionalProperties: - type: string - type: object - readOnly: - type: boolean - secretRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic - required: - - driver - type: object - flocker: - properties: - datasetName: - type: string - datasetUUID: - type: string - type: object - gcePersistentDisk: - properties: - fsType: - type: string - partition: - format: int32 - type: integer - pdName: - type: string - readOnly: - type: boolean - required: - - pdName - type: object - gitRepo: - properties: - directory: - type: string - repository: - type: string - revision: - type: string - required: - - repository - type: object - glusterfs: - properties: - endpoints: - type: string - path: - type: string - readOnly: - type: boolean - required: - - endpoints - - path - type: object - hostPath: - properties: - path: - type: string - type: - type: string - required: - - path - type: object - image: - properties: - pullPolicy: - type: string - reference: - type: string - type: object - iscsi: - properties: - chapAuthDiscovery: - type: boolean - chapAuthSession: - type: boolean - fsType: - type: string - initiatorName: - type: string - iqn: - type: string - iscsiInterface: - default: default - type: string - lun: - format: int32 - type: integer - portals: - items: - type: string - type: array - x-kubernetes-list-type: atomic - readOnly: - type: boolean - secretRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic - targetPortal: - type: string - required: - - iqn - - lun - - targetPortal - type: object - name: - type: string - nfs: - properties: - path: - type: string - readOnly: - type: boolean - server: - type: string - required: - - path - - server - type: object - persistentVolumeClaim: - properties: - claimName: - type: string - readOnly: - type: boolean - required: - - claimName - type: object - photonPersistentDisk: - properties: - fsType: - type: string - pdID: - type: string - required: - - pdID - type: object - portworxVolume: - properties: - fsType: - type: string - readOnly: - type: boolean - volumeID: - type: string - required: - - volumeID - type: object - projected: - properties: - defaultMode: - format: int32 - type: integer - sources: - items: - properties: - clusterTrustBundle: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - name: - type: string - optional: - type: boolean - path: - type: string - signerName: - type: string - required: - - path - type: object - configMap: - properties: - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - x-kubernetes-list-type: atomic - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - downwardAPI: - properties: - items: - items: - properties: - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - mode: - format: int32 - type: integer - path: - type: string - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - required: - - path - type: object - type: array - x-kubernetes-list-type: atomic - type: object - secret: - properties: - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - x-kubernetes-list-type: atomic - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - serviceAccountToken: - properties: - audience: - type: string - expirationSeconds: - format: int64 - type: integer - path: - type: string - required: - - path - type: object - type: object - type: array - x-kubernetes-list-type: atomic - type: object - quobyte: - properties: - group: - type: string - readOnly: - type: boolean - registry: - type: string - tenant: - type: string - user: - type: string - volume: - type: string - required: - - registry - - volume - type: object - rbd: - properties: - fsType: - type: string - image: - type: string - keyring: - default: /etc/ceph/keyring - type: string - monitors: - items: - type: string - type: array - x-kubernetes-list-type: atomic - pool: - default: rbd - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic - user: - default: admin - type: string - required: - - image - - monitors - type: object - scaleIO: - properties: - fsType: - default: xfs - type: string - gateway: - type: string - protectionDomain: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic - sslEnabled: - type: boolean - storageMode: - default: ThinProvisioned - type: string - storagePool: - type: string - system: - type: string - volumeName: - type: string - required: - - gateway - - secretRef - - system - type: object - secret: - properties: - defaultMode: - format: int32 - type: integer - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - x-kubernetes-list-type: atomic - optional: - type: boolean - secretName: - type: string - type: object - storageos: - properties: - fsType: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic - volumeName: - type: string - volumeNamespace: - type: string - type: object - vsphereVolume: - properties: - fsType: - type: string - storagePolicyID: - type: string - storagePolicyName: - type: string - volumePath: - type: string - required: - - volumePath - type: object - required: - - name - type: object - type: array - type: object - templates: - items: - properties: - activeDeadlineSeconds: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - affinity: - properties: - nodeAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - preference: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - type: object - x-kubernetes-map-type: atomic - weight: - format: int32 - type: integer - required: - - preference - - weight - type: object - type: array - x-kubernetes-list-type: atomic - requiredDuringSchedulingIgnoredDuringExecution: - properties: - nodeSelectorTerms: - items: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchFields: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - type: object - x-kubernetes-map-type: atomic - type: array - x-kubernetes-list-type: atomic - required: - - nodeSelectorTerms - type: object - x-kubernetes-map-type: atomic - type: object - podAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - x-kubernetes-list-type: atomic - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - x-kubernetes-list-type: atomic - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - x-kubernetes-list-type: atomic - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - x-kubernetes-list-type: atomic - type: object - podAntiAffinity: - properties: - preferredDuringSchedulingIgnoredDuringExecution: - items: - properties: - podAffinityTerm: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - x-kubernetes-list-type: atomic - topologyKey: - type: string - required: - - topologyKey - type: object - weight: - format: int32 - type: integer - required: - - podAffinityTerm - - weight - type: object - type: array - x-kubernetes-list-type: atomic - requiredDuringSchedulingIgnoredDuringExecution: - items: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - matchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - mismatchLabelKeys: - items: - type: string - type: array - x-kubernetes-list-type: atomic - namespaceSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - namespaces: - items: - type: string - type: array - x-kubernetes-list-type: atomic - topologyKey: - type: string - required: - - topologyKey - type: object - type: array - x-kubernetes-list-type: atomic - type: object - type: object - annotations: - additionalProperties: - type: string - type: object - archiveLocation: - properties: - archiveLogs: - type: boolean - artifactory: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - url: - type: string - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - url - type: object - azure: - properties: - accountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - blob: - type: string - container: - type: string - endpoint: - type: string - useSDKCreds: - type: boolean - required: - - blob - - container - - endpoint - type: object - gcs: - properties: - bucket: - type: string - key: - type: string - serviceAccountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - key - type: object - git: - properties: - branch: - type: string - depth: - format: int64 - type: integer - disableSubmodules: - type: boolean - fetch: - items: - type: string - type: array - insecureIgnoreHostKey: - type: boolean - insecureSkipTLS: - type: boolean - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - repo: - type: string - revision: - type: string - singleBranch: - type: boolean - sshPrivateKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - repo - type: object - hdfs: - properties: - addresses: - items: - type: string - type: array - dataTransferProtection: - type: string - force: - type: boolean - hdfsUser: - type: string - krbCCacheSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbConfigConfigMap: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbKeytabSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbRealm: - type: string - krbServicePrincipalName: - type: string - krbUsername: - type: string - path: - type: string - required: - - path - type: object - http: - properties: - auth: - properties: - basicAuth: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - clientCert: - properties: - clientCertSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - oauth2: - properties: - clientIDSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientSecretSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - endpointParams: - items: - properties: - key: - type: string - value: - type: string - required: - - key - type: object - type: array - scopes: - items: - type: string - type: array - tokenURLSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - type: object - headers: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - url: - type: string - required: - - url - type: object - oss: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - createBucketIfNotPresent: - type: boolean - endpoint: - type: string - key: - type: string - lifecycleRule: - properties: - markDeletionAfterDays: - format: int32 - type: integer - markInfrequentAccessAfterDays: - format: int32 - type: integer - type: object - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - securityToken: - type: string - useSDKCreds: - type: boolean - required: - - key - type: object - raw: - properties: - data: - type: string - required: - - data - type: object - s3: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - caSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - createBucketIfNotPresent: - properties: - objectLocking: - type: boolean - type: object - encryptionOptions: - properties: - enableEncryption: - type: boolean - kmsEncryptionContext: - type: string - kmsKeyId: - type: string - serverSideCustomerKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - endpoint: - type: string - insecure: - type: boolean - key: - type: string - region: - type: string - roleARN: - type: string - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - sessionTokenSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - useSDKCreds: - type: boolean - type: object - type: object - automountServiceAccountToken: - type: boolean - container: - properties: - args: - items: - type: string - type: array - x-kubernetes-list-type: atomic - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - envFrom: - items: - properties: - configMapRef: - properties: - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: - properties: - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - type: object - type: array - x-kubernetes-list-type: atomic - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - stopSignal: - type: string - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - name: - type: string - ports: - items: - properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: - type: string - protocol: - default: TCP - type: string - required: - - containerPort - type: object - type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resizePolicy: - items: - properties: - resourceName: - type: string - restartPolicy: - type: string - required: - - resourceName - - restartPolicy - type: object - type: array - x-kubernetes-list-type: atomic - resources: - properties: - claims: - items: - properties: - name: - type: string - request: - type: string - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - restartPolicy: - type: string - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - appArmorProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - capabilities: - properties: - add: - items: - type: string - type: array - x-kubernetes-list-type: atomic - drop: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - startupProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - stdin: - type: boolean - stdinOnce: - type: boolean - terminationMessagePath: - type: string - terminationMessagePolicy: - type: string - tty: - type: boolean - volumeDevices: - items: - properties: - devicePath: - type: string - name: - type: string - required: - - devicePath - - name - type: object - type: array - x-kubernetes-list-map-keys: - - devicePath - x-kubernetes-list-type: map - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - recursiveReadOnly: - type: string - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - x-kubernetes-list-map-keys: - - mountPath - x-kubernetes-list-type: map - workingDir: - type: string - type: object - containerSet: - properties: - containers: - items: - properties: - args: - items: - type: string - type: array - x-kubernetes-list-type: atomic - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - dependencies: - items: - type: string - type: array - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - envFrom: - items: - properties: - configMapRef: - properties: - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: - properties: - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - type: object - type: array - x-kubernetes-list-type: atomic - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - stopSignal: - type: string - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - name: - type: string - ports: - items: - properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: - type: string - protocol: - default: TCP - type: string - required: - - containerPort - type: object - type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resizePolicy: - items: - properties: - resourceName: - type: string - restartPolicy: - type: string - required: - - resourceName - - restartPolicy - type: object - type: array - x-kubernetes-list-type: atomic - resources: - properties: - claims: - items: - properties: - name: - type: string - request: - type: string - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - restartPolicy: - type: string - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - appArmorProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - capabilities: - properties: - add: - items: - type: string - type: array - x-kubernetes-list-type: atomic - drop: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - startupProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - stdin: - type: boolean - stdinOnce: - type: boolean - terminationMessagePath: - type: string - terminationMessagePolicy: - type: string - tty: - type: boolean - volumeDevices: - items: - properties: - devicePath: - type: string - name: - type: string - required: - - devicePath - - name - type: object - type: array - x-kubernetes-list-map-keys: - - devicePath - x-kubernetes-list-type: map - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - recursiveReadOnly: - type: string - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - x-kubernetes-list-map-keys: - - mountPath - x-kubernetes-list-type: map - workingDir: - type: string - required: - - name - type: object - type: array - retryStrategy: - properties: - duration: - type: string - retries: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - retries - type: object - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - recursiveReadOnly: - type: string - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - required: - - containers - type: object - daemon: - type: boolean - dag: - properties: - failFast: - type: boolean - target: - type: string - tasks: - items: - properties: - arguments: - properties: - artifacts: - items: - properties: - archive: - properties: - none: - type: object - tar: - properties: - compressionLevel: - format: int32 - type: integer - type: object - zip: - type: object - type: object - archiveLogs: - type: boolean - artifactGC: - properties: - podMetadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - serviceAccountName: - type: string - strategy: - enum: - - "" - - OnWorkflowCompletion - - OnWorkflowDeletion - - Never - type: string - type: object - artifactory: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - url: - type: string - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - url - type: object - azure: - properties: - accountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - blob: - type: string - container: - type: string - endpoint: - type: string - useSDKCreds: - type: boolean - required: - - blob - - container - - endpoint - type: object - deleted: - type: boolean - from: - type: string - fromExpression: - type: string - gcs: - properties: - bucket: - type: string - key: - type: string - serviceAccountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - key - type: object - git: - properties: - branch: - type: string - depth: - format: int64 - type: integer - disableSubmodules: - type: boolean - fetch: - items: - type: string - type: array - insecureIgnoreHostKey: - type: boolean - insecureSkipTLS: - type: boolean - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - repo: - type: string - revision: - type: string - singleBranch: - type: boolean - sshPrivateKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - repo - type: object - globalName: - type: string - hdfs: - properties: - addresses: - items: - type: string - type: array - dataTransferProtection: - type: string - force: - type: boolean - hdfsUser: - type: string - krbCCacheSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbConfigConfigMap: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbKeytabSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbRealm: - type: string - krbServicePrincipalName: - type: string - krbUsername: - type: string - path: - type: string - required: - - path - type: object - http: - properties: - auth: - properties: - basicAuth: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - clientCert: - properties: - clientCertSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - oauth2: - properties: - clientIDSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientSecretSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - endpointParams: - items: - properties: - key: - type: string - value: - type: string - required: - - key - type: object - type: array - scopes: - items: - type: string - type: array - tokenURLSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - type: object - headers: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - url: - type: string - required: - - url - type: object - mode: - format: int32 - type: integer - name: - type: string - optional: - type: boolean - oss: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - createBucketIfNotPresent: - type: boolean - endpoint: - type: string - key: - type: string - lifecycleRule: - properties: - markDeletionAfterDays: - format: int32 - type: integer - markInfrequentAccessAfterDays: - format: int32 - type: integer - type: object - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - securityToken: - type: string - useSDKCreds: - type: boolean - required: - - key - type: object - path: - type: string - raw: - properties: - data: - type: string - required: - - data - type: object - recurseMode: - type: boolean - s3: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - caSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - createBucketIfNotPresent: - properties: - objectLocking: - type: boolean - type: object - encryptionOptions: - properties: - enableEncryption: - type: boolean - kmsEncryptionContext: - type: string - kmsKeyId: - type: string - serverSideCustomerKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - endpoint: - type: string - insecure: - type: boolean - key: - type: string - region: - type: string - roleARN: - type: string - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - sessionTokenSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - useSDKCreds: - type: boolean - type: object - subPath: - type: string - required: - - name - type: object - type: array - parameters: - items: - properties: - default: - type: string - description: - type: string - enum: - items: - type: string - type: array - globalName: - type: string - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - default: - type: string - event: - type: string - expression: - type: string - jqFilter: - type: string - jsonPath: - type: string - parameter: - type: string - path: - type: string - supplied: - type: object - type: object - required: - - name - type: object - type: array - type: object - continueOn: - properties: - error: - type: boolean - failed: - type: boolean - type: object - dependencies: - items: - type: string - type: array - depends: - type: string - hooks: - additionalProperties: - properties: - arguments: - properties: - artifacts: - items: - properties: - archive: - properties: - none: - type: object - tar: - properties: - compressionLevel: - format: int32 - type: integer - type: object - zip: - type: object - type: object - archiveLogs: - type: boolean - artifactGC: - properties: - podMetadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - serviceAccountName: - type: string - strategy: - enum: - - "" - - OnWorkflowCompletion - - OnWorkflowDeletion - - Never - type: string - type: object - artifactory: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - url: - type: string - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - url - type: object - azure: - properties: - accountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - blob: - type: string - container: - type: string - endpoint: - type: string - useSDKCreds: - type: boolean - required: - - blob - - container - - endpoint - type: object - deleted: - type: boolean - from: - type: string - fromExpression: - type: string - gcs: - properties: - bucket: - type: string - key: - type: string - serviceAccountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - key - type: object - git: - properties: - branch: - type: string - depth: - format: int64 - type: integer - disableSubmodules: - type: boolean - fetch: - items: - type: string - type: array - insecureIgnoreHostKey: - type: boolean - insecureSkipTLS: - type: boolean - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - repo: - type: string - revision: - type: string - singleBranch: - type: boolean - sshPrivateKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - repo - type: object - globalName: - type: string - hdfs: - properties: - addresses: - items: - type: string - type: array - dataTransferProtection: - type: string - force: - type: boolean - hdfsUser: - type: string - krbCCacheSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbConfigConfigMap: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbKeytabSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbRealm: - type: string - krbServicePrincipalName: - type: string - krbUsername: - type: string - path: - type: string - required: - - path - type: object - http: - properties: - auth: - properties: - basicAuth: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - clientCert: - properties: - clientCertSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - oauth2: - properties: - clientIDSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientSecretSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - endpointParams: - items: - properties: - key: - type: string - value: - type: string - required: - - key - type: object - type: array - scopes: - items: - type: string - type: array - tokenURLSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - type: object - headers: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - url: - type: string - required: - - url - type: object - mode: - format: int32 - type: integer - name: - type: string - optional: - type: boolean - oss: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - createBucketIfNotPresent: - type: boolean - endpoint: - type: string - key: - type: string - lifecycleRule: - properties: - markDeletionAfterDays: - format: int32 - type: integer - markInfrequentAccessAfterDays: - format: int32 - type: integer - type: object - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - securityToken: - type: string - useSDKCreds: - type: boolean - required: - - key - type: object - path: - type: string - raw: - properties: - data: - type: string - required: - - data - type: object - recurseMode: - type: boolean - s3: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - caSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - createBucketIfNotPresent: - properties: - objectLocking: - type: boolean - type: object - encryptionOptions: - properties: - enableEncryption: - type: boolean - kmsEncryptionContext: - type: string - kmsKeyId: - type: string - serverSideCustomerKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - endpoint: - type: string - insecure: - type: boolean - key: - type: string - region: - type: string - roleARN: - type: string - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - sessionTokenSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - useSDKCreds: - type: boolean - type: object - subPath: - type: string - required: - - name - type: object - type: array - parameters: - items: - properties: - default: - type: string - description: - type: string - enum: - items: - type: string - type: array - globalName: - type: string - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - default: - type: string - event: - type: string - expression: - type: string - jqFilter: - type: string - jsonPath: - type: string - parameter: - type: string - path: - type: string - supplied: - type: object - type: object - required: - - name - type: object - type: array - type: object - expression: - type: string - template: - type: string - templateRef: - properties: - clusterScope: - type: boolean - name: - type: string - template: - type: string - type: object - type: object - type: object - inline: - x-kubernetes-preserve-unknown-fields: true - name: - type: string - onExit: - type: string - template: - type: string - templateRef: - properties: - clusterScope: - type: boolean - name: - type: string - template: - type: string - type: object - when: - type: string - withItems: - x-kubernetes-preserve-unknown-fields: true - withParam: - type: string - withSequence: - properties: - count: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - end: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - format: - type: string - start: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - type: object - required: - - name - type: object - type: array - required: - - tasks - type: object - data: - properties: - source: - properties: - artifactPaths: - properties: - archive: - properties: - none: - type: object - tar: - properties: - compressionLevel: - format: int32 - type: integer - type: object - zip: - type: object - type: object - archiveLogs: - type: boolean - artifactGC: - properties: - podMetadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - serviceAccountName: - type: string - strategy: - enum: - - "" - - OnWorkflowCompletion - - OnWorkflowDeletion - - Never - type: string - type: object - artifactory: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - url: - type: string - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - url - type: object - azure: - properties: - accountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - blob: - type: string - container: - type: string - endpoint: - type: string - useSDKCreds: - type: boolean - required: - - blob - - container - - endpoint - type: object - deleted: - type: boolean - from: - type: string - fromExpression: - type: string - gcs: - properties: - bucket: - type: string - key: - type: string - serviceAccountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - key - type: object - git: - properties: - branch: - type: string - depth: - format: int64 - type: integer - disableSubmodules: - type: boolean - fetch: - items: - type: string - type: array - insecureIgnoreHostKey: - type: boolean - insecureSkipTLS: - type: boolean - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - repo: - type: string - revision: - type: string - singleBranch: - type: boolean - sshPrivateKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - repo - type: object - globalName: - type: string - hdfs: - properties: - addresses: - items: - type: string - type: array - dataTransferProtection: - type: string - force: - type: boolean - hdfsUser: - type: string - krbCCacheSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbConfigConfigMap: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbKeytabSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbRealm: - type: string - krbServicePrincipalName: - type: string - krbUsername: - type: string - path: - type: string - required: - - path - type: object - http: - properties: - auth: - properties: - basicAuth: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - clientCert: - properties: - clientCertSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - oauth2: - properties: - clientIDSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientSecretSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - endpointParams: - items: - properties: - key: - type: string - value: - type: string - required: - - key - type: object - type: array - scopes: - items: - type: string - type: array - tokenURLSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - type: object - headers: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - url: - type: string - required: - - url - type: object - mode: - format: int32 - type: integer - name: - type: string - optional: - type: boolean - oss: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - createBucketIfNotPresent: - type: boolean - endpoint: - type: string - key: - type: string - lifecycleRule: - properties: - markDeletionAfterDays: - format: int32 - type: integer - markInfrequentAccessAfterDays: - format: int32 - type: integer - type: object - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - securityToken: - type: string - useSDKCreds: - type: boolean - required: - - key - type: object - path: - type: string - raw: - properties: - data: - type: string - required: - - data - type: object - recurseMode: - type: boolean - s3: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - caSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - createBucketIfNotPresent: - properties: - objectLocking: - type: boolean - type: object - encryptionOptions: - properties: - enableEncryption: - type: boolean - kmsEncryptionContext: - type: string - kmsKeyId: - type: string - serverSideCustomerKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - endpoint: - type: string - insecure: - type: boolean - key: - type: string - region: - type: string - roleARN: - type: string - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - sessionTokenSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - useSDKCreds: - type: boolean - type: object - subPath: - type: string - required: - - name - type: object - type: object - transformation: - items: - properties: - expression: - type: string - required: - - expression - type: object - type: array - required: - - source - - transformation - type: object - executor: - properties: - serviceAccountName: - type: string - type: object - failFast: - type: boolean - hostAliases: - items: - properties: - hostnames: - items: - type: string - type: array - x-kubernetes-list-type: atomic - ip: - type: string - required: - - ip - type: object - type: array - http: - properties: - body: - type: string - bodyFrom: - properties: - bytes: - format: byte - type: string - type: object - headers: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - secretKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - insecureSkipVerify: - type: boolean - method: - type: string - successCondition: - type: string - timeoutSeconds: - format: int64 - type: integer - url: - type: string - required: - - url - type: object - initContainers: - items: - properties: - args: - items: - type: string - type: array - x-kubernetes-list-type: atomic - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - envFrom: - items: - properties: - configMapRef: - properties: - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: - properties: - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - type: object - type: array - x-kubernetes-list-type: atomic - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - stopSignal: - type: string - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - mirrorVolumeMounts: - type: boolean - name: - type: string - ports: - items: - properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: - type: string - protocol: - default: TCP - type: string - required: - - containerPort - type: object - type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resizePolicy: - items: - properties: - resourceName: - type: string - restartPolicy: - type: string - required: - - resourceName - - restartPolicy - type: object - type: array - x-kubernetes-list-type: atomic - resources: - properties: - claims: - items: - properties: - name: - type: string - request: - type: string - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - restartPolicy: - type: string - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - appArmorProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - capabilities: - properties: - add: - items: - type: string - type: array - x-kubernetes-list-type: atomic - drop: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - startupProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - stdin: - type: boolean - stdinOnce: - type: boolean - terminationMessagePath: - type: string - terminationMessagePolicy: - type: string - tty: - type: boolean - volumeDevices: - items: - properties: - devicePath: - type: string - name: - type: string - required: - - devicePath - - name - type: object - type: array - x-kubernetes-list-map-keys: - - devicePath - x-kubernetes-list-type: map - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - recursiveReadOnly: - type: string - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - x-kubernetes-list-map-keys: - - mountPath - x-kubernetes-list-type: map - workingDir: - type: string - required: - - name - type: object - type: array - inputs: - properties: - artifacts: - items: - properties: - archive: - properties: - none: - type: object - tar: - properties: - compressionLevel: - format: int32 - type: integer - type: object - zip: - type: object - type: object - archiveLogs: - type: boolean - artifactGC: - properties: - podMetadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - serviceAccountName: - type: string - strategy: - enum: - - "" - - OnWorkflowCompletion - - OnWorkflowDeletion - - Never - type: string - type: object - artifactory: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - url: - type: string - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - url - type: object - azure: - properties: - accountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - blob: - type: string - container: - type: string - endpoint: - type: string - useSDKCreds: - type: boolean - required: - - blob - - container - - endpoint - type: object - deleted: - type: boolean - from: - type: string - fromExpression: - type: string - gcs: - properties: - bucket: - type: string - key: - type: string - serviceAccountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - key - type: object - git: - properties: - branch: - type: string - depth: - format: int64 - type: integer - disableSubmodules: - type: boolean - fetch: - items: - type: string - type: array - insecureIgnoreHostKey: - type: boolean - insecureSkipTLS: - type: boolean - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - repo: - type: string - revision: - type: string - singleBranch: - type: boolean - sshPrivateKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - repo - type: object - globalName: - type: string - hdfs: - properties: - addresses: - items: - type: string - type: array - dataTransferProtection: - type: string - force: - type: boolean - hdfsUser: - type: string - krbCCacheSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbConfigConfigMap: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbKeytabSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbRealm: - type: string - krbServicePrincipalName: - type: string - krbUsername: - type: string - path: - type: string - required: - - path - type: object - http: - properties: - auth: - properties: - basicAuth: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - clientCert: - properties: - clientCertSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - oauth2: - properties: - clientIDSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientSecretSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - endpointParams: - items: - properties: - key: - type: string - value: - type: string - required: - - key - type: object - type: array - scopes: - items: - type: string - type: array - tokenURLSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - type: object - headers: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - url: - type: string - required: - - url - type: object - mode: - format: int32 - type: integer - name: - type: string - optional: - type: boolean - oss: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - createBucketIfNotPresent: - type: boolean - endpoint: - type: string - key: - type: string - lifecycleRule: - properties: - markDeletionAfterDays: - format: int32 - type: integer - markInfrequentAccessAfterDays: - format: int32 - type: integer - type: object - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - securityToken: - type: string - useSDKCreds: - type: boolean - required: - - key - type: object - path: - type: string - raw: - properties: - data: - type: string - required: - - data - type: object - recurseMode: - type: boolean - s3: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - caSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - createBucketIfNotPresent: - properties: - objectLocking: - type: boolean - type: object - encryptionOptions: - properties: - enableEncryption: - type: boolean - kmsEncryptionContext: - type: string - kmsKeyId: - type: string - serverSideCustomerKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - endpoint: - type: string - insecure: - type: boolean - key: - type: string - region: - type: string - roleARN: - type: string - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - sessionTokenSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - useSDKCreds: - type: boolean - type: object - subPath: - type: string - required: - - name - type: object - type: array - parameters: - items: - properties: - default: - type: string - description: - type: string - enum: - items: - type: string - type: array - globalName: - type: string - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - default: - type: string - event: - type: string - expression: - type: string - jqFilter: - type: string - jsonPath: - type: string - parameter: - type: string - path: - type: string - supplied: - type: object - type: object - required: - - name - type: object - type: array - type: object - memoize: - properties: - cache: - properties: - configMap: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - configMap - type: object - key: - type: string - maxAge: - type: string - required: - - cache - - key - - maxAge - type: object - metadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - metrics: - properties: - prometheus: - items: - properties: - counter: - properties: - value: - type: string - required: - - value - type: object - gauge: - properties: - operation: - type: string - realtime: - type: boolean - value: - type: string - required: - - realtime - - value - type: object - help: - type: string - histogram: - properties: - buckets: - items: - type: number - type: array - value: - type: string - required: - - buckets - - value - type: object - labels: - items: - properties: - key: - type: string - value: - type: string - required: - - key - - value - type: object - type: array - name: - type: string - when: - type: string - required: - - help - - name - type: object - type: array - required: - - prometheus - type: object - name: - type: string - nodeSelector: - additionalProperties: - type: string - type: object - outputs: - properties: - artifacts: - items: - properties: - archive: - properties: - none: - type: object - tar: - properties: - compressionLevel: - format: int32 - type: integer - type: object - zip: - type: object - type: object - archiveLogs: - type: boolean - artifactGC: - properties: - podMetadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - serviceAccountName: - type: string - strategy: - enum: - - "" - - OnWorkflowCompletion - - OnWorkflowDeletion - - Never - type: string - type: object - artifactory: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - url: - type: string - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - url - type: object - azure: - properties: - accountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - blob: - type: string - container: - type: string - endpoint: - type: string - useSDKCreds: - type: boolean - required: - - blob - - container - - endpoint - type: object - deleted: - type: boolean - from: - type: string - fromExpression: - type: string - gcs: - properties: - bucket: - type: string - key: - type: string - serviceAccountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - key - type: object - git: - properties: - branch: - type: string - depth: - format: int64 - type: integer - disableSubmodules: - type: boolean - fetch: - items: - type: string - type: array - insecureIgnoreHostKey: - type: boolean - insecureSkipTLS: - type: boolean - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - repo: - type: string - revision: - type: string - singleBranch: - type: boolean - sshPrivateKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - repo - type: object - globalName: - type: string - hdfs: - properties: - addresses: - items: - type: string - type: array - dataTransferProtection: - type: string - force: - type: boolean - hdfsUser: - type: string - krbCCacheSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbConfigConfigMap: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbKeytabSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbRealm: - type: string - krbServicePrincipalName: - type: string - krbUsername: - type: string - path: - type: string - required: - - path - type: object - http: - properties: - auth: - properties: - basicAuth: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - clientCert: - properties: - clientCertSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - oauth2: - properties: - clientIDSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientSecretSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - endpointParams: - items: - properties: - key: - type: string - value: - type: string - required: - - key - type: object - type: array - scopes: - items: - type: string - type: array - tokenURLSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - type: object - headers: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - url: - type: string - required: - - url - type: object - mode: - format: int32 - type: integer - name: - type: string - optional: - type: boolean - oss: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - createBucketIfNotPresent: - type: boolean - endpoint: - type: string - key: - type: string - lifecycleRule: - properties: - markDeletionAfterDays: - format: int32 - type: integer - markInfrequentAccessAfterDays: - format: int32 - type: integer - type: object - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - securityToken: - type: string - useSDKCreds: - type: boolean - required: - - key - type: object - path: - type: string - raw: - properties: - data: - type: string - required: - - data - type: object - recurseMode: - type: boolean - s3: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - caSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - createBucketIfNotPresent: - properties: - objectLocking: - type: boolean - type: object - encryptionOptions: - properties: - enableEncryption: - type: boolean - kmsEncryptionContext: - type: string - kmsKeyId: - type: string - serverSideCustomerKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - endpoint: - type: string - insecure: - type: boolean - key: - type: string - region: - type: string - roleARN: - type: string - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - sessionTokenSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - useSDKCreds: - type: boolean - type: object - subPath: - type: string - required: - - name - type: object - type: array - exitCode: - type: string - parameters: - items: - properties: - default: - type: string - description: - type: string - enum: - items: - type: string - type: array - globalName: - type: string - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - default: - type: string - event: - type: string - expression: - type: string - jqFilter: - type: string - jsonPath: - type: string - parameter: - type: string - path: - type: string - supplied: - type: object - type: object - required: - - name - type: object - type: array - result: - type: string - type: object - parallelism: - format: int64 - type: integer - plugin: - type: object - x-kubernetes-preserve-unknown-fields: true - podSpecPatch: - type: string - priorityClassName: - type: string - resource: - properties: - action: - type: string - failureCondition: - type: string - flags: - items: - type: string - type: array - manifest: - type: string - manifestFrom: - properties: - artifact: - properties: - archive: - properties: - none: - type: object - tar: - properties: - compressionLevel: - format: int32 - type: integer - type: object - zip: - type: object - type: object - archiveLogs: - type: boolean - artifactGC: - properties: - podMetadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - serviceAccountName: - type: string - strategy: - enum: - - "" - - OnWorkflowCompletion - - OnWorkflowDeletion - - Never - type: string - type: object - artifactory: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - url: - type: string - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - url - type: object - azure: - properties: - accountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - blob: - type: string - container: - type: string - endpoint: - type: string - useSDKCreds: - type: boolean - required: - - blob - - container - - endpoint - type: object - deleted: - type: boolean - from: - type: string - fromExpression: - type: string - gcs: - properties: - bucket: - type: string - key: - type: string - serviceAccountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - key - type: object - git: - properties: - branch: - type: string - depth: - format: int64 - type: integer - disableSubmodules: - type: boolean - fetch: - items: - type: string - type: array - insecureIgnoreHostKey: - type: boolean - insecureSkipTLS: - type: boolean - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - repo: - type: string - revision: - type: string - singleBranch: - type: boolean - sshPrivateKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - repo - type: object - globalName: - type: string - hdfs: - properties: - addresses: - items: - type: string - type: array - dataTransferProtection: - type: string - force: - type: boolean - hdfsUser: - type: string - krbCCacheSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbConfigConfigMap: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbKeytabSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbRealm: - type: string - krbServicePrincipalName: - type: string - krbUsername: - type: string - path: - type: string - required: - - path - type: object - http: - properties: - auth: - properties: - basicAuth: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - clientCert: - properties: - clientCertSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - oauth2: - properties: - clientIDSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientSecretSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - endpointParams: - items: - properties: - key: - type: string - value: - type: string - required: - - key - type: object - type: array - scopes: - items: - type: string - type: array - tokenURLSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - type: object - headers: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - url: - type: string - required: - - url - type: object - mode: - format: int32 - type: integer - name: - type: string - optional: - type: boolean - oss: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - createBucketIfNotPresent: - type: boolean - endpoint: - type: string - key: - type: string - lifecycleRule: - properties: - markDeletionAfterDays: - format: int32 - type: integer - markInfrequentAccessAfterDays: - format: int32 - type: integer - type: object - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - securityToken: - type: string - useSDKCreds: - type: boolean - required: - - key - type: object - path: - type: string - raw: - properties: - data: - type: string - required: - - data - type: object - recurseMode: - type: boolean - s3: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - caSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - createBucketIfNotPresent: - properties: - objectLocking: - type: boolean - type: object - encryptionOptions: - properties: - enableEncryption: - type: boolean - kmsEncryptionContext: - type: string - kmsKeyId: - type: string - serverSideCustomerKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - endpoint: - type: string - insecure: - type: boolean - key: - type: string - region: - type: string - roleARN: - type: string - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - sessionTokenSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - useSDKCreds: - type: boolean - type: object - subPath: - type: string - required: - - name - type: object - required: - - artifact - type: object - mergeStrategy: - type: string - setOwnerReference: - type: boolean - successCondition: - type: string - required: - - action - type: object - retryStrategy: - properties: - affinity: - properties: - nodeAntiAffinity: - type: object - type: object - backoff: - properties: - cap: - type: string - duration: - type: string - factor: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - maxDuration: - type: string - type: object - expression: - type: string - limit: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - retryPolicy: - type: string - type: object - schedulerName: - type: string - script: - properties: - args: - items: - type: string - type: array - x-kubernetes-list-type: atomic - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - envFrom: - items: - properties: - configMapRef: - properties: - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: - properties: - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - type: object - type: array - x-kubernetes-list-type: atomic - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - stopSignal: - type: string - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - name: - type: string - ports: - items: - properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: - type: string - protocol: - default: TCP - type: string - required: - - containerPort - type: object - type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resizePolicy: - items: - properties: - resourceName: - type: string - restartPolicy: - type: string - required: - - resourceName - - restartPolicy - type: object - type: array - x-kubernetes-list-type: atomic - resources: - properties: - claims: - items: - properties: - name: - type: string - request: - type: string - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - restartPolicy: - type: string - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - appArmorProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - capabilities: - properties: - add: - items: - type: string - type: array - x-kubernetes-list-type: atomic - drop: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - source: - type: string - startupProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - stdin: - type: boolean - stdinOnce: - type: boolean - terminationMessagePath: - type: string - terminationMessagePolicy: - type: string - tty: - type: boolean - volumeDevices: - items: - properties: - devicePath: - type: string - name: - type: string - required: - - devicePath - - name - type: object - type: array - x-kubernetes-list-map-keys: - - devicePath - x-kubernetes-list-type: map - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - recursiveReadOnly: - type: string - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - x-kubernetes-list-map-keys: - - mountPath - x-kubernetes-list-type: map - workingDir: - type: string - type: object - securityContext: - properties: - appArmorProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - fsGroup: - format: int64 - type: integer - fsGroupChangePolicy: - type: string - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxChangePolicy: - type: string - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - supplementalGroups: - items: - format: int64 - type: integer - type: array - x-kubernetes-list-type: atomic - supplementalGroupsPolicy: - type: string - sysctls: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - serviceAccountName: - type: string - sidecars: - items: - properties: - args: - items: - type: string - type: array - x-kubernetes-list-type: atomic - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - env: - items: - properties: - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - secretKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - envFrom: - items: - properties: - configMapRef: - properties: - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - prefix: - type: string - secretRef: - properties: - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - type: object - type: array - x-kubernetes-list-type: atomic - image: - type: string - imagePullPolicy: - type: string - lifecycle: - properties: - postStart: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - preStop: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - sleep: - properties: - seconds: - format: int64 - type: integer - required: - - seconds - type: object - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - type: object - stopSignal: - type: string - type: object - livenessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - mirrorVolumeMounts: - type: boolean - name: - type: string - ports: - items: - properties: - containerPort: - format: int32 - type: integer - hostIP: - type: string - hostPort: - format: int32 - type: integer - name: - type: string - protocol: - default: TCP - type: string - required: - - containerPort - type: object - type: array - x-kubernetes-list-map-keys: - - containerPort - - protocol - x-kubernetes-list-type: map - readinessProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - resizePolicy: - items: - properties: - resourceName: - type: string - restartPolicy: - type: string - required: - - resourceName - - restartPolicy - type: object - type: array - x-kubernetes-list-type: atomic - resources: - properties: - claims: - items: - properties: - name: - type: string - request: - type: string - required: - - name - type: object - type: array - x-kubernetes-list-map-keys: - - name - x-kubernetes-list-type: map - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - restartPolicy: - type: string - securityContext: - properties: - allowPrivilegeEscalation: - type: boolean - appArmorProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - capabilities: - properties: - add: - items: - type: string - type: array - x-kubernetes-list-type: atomic - drop: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - privileged: - type: boolean - procMount: - type: string - readOnlyRootFilesystem: - type: boolean - runAsGroup: - format: int64 - type: integer - runAsNonRoot: - type: boolean - runAsUser: - format: int64 - type: integer - seLinuxOptions: - properties: - level: - type: string - role: - type: string - type: - type: string - user: - type: string - type: object - seccompProfile: - properties: - localhostProfile: - type: string - type: - type: string - required: - - type - type: object - windowsOptions: - properties: - gmsaCredentialSpec: - type: string - gmsaCredentialSpecName: - type: string - hostProcess: - type: boolean - runAsUserName: - type: string - type: object - type: object - startupProbe: - properties: - exec: - properties: - command: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - failureThreshold: - format: int32 - type: integer - grpc: - properties: - port: - format: int32 - type: integer - service: - default: "" - type: string - required: - - port - type: object - httpGet: - properties: - host: - type: string - httpHeaders: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - x-kubernetes-list-type: atomic - path: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - scheme: - type: string - required: - - port - type: object - initialDelaySeconds: - format: int32 - type: integer - periodSeconds: - format: int32 - type: integer - successThreshold: - format: int32 - type: integer - tcpSocket: - properties: - host: - type: string - port: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - required: - - port - type: object - terminationGracePeriodSeconds: - format: int64 - type: integer - timeoutSeconds: - format: int32 - type: integer - type: object - stdin: - type: boolean - stdinOnce: - type: boolean - terminationMessagePath: - type: string - terminationMessagePolicy: - type: string - tty: - type: boolean - volumeDevices: - items: - properties: - devicePath: - type: string - name: - type: string - required: - - devicePath - - name - type: object - type: array - x-kubernetes-list-map-keys: - - devicePath - x-kubernetes-list-type: map - volumeMounts: - items: - properties: - mountPath: - type: string - mountPropagation: - type: string - name: - type: string - readOnly: - type: boolean - recursiveReadOnly: - type: string - subPath: - type: string - subPathExpr: - type: string - required: - - mountPath - - name - type: object - type: array - x-kubernetes-list-map-keys: - - mountPath - x-kubernetes-list-type: map - workingDir: - type: string - required: - - name - type: object - type: array - steps: - items: - items: - properties: - arguments: - properties: - artifacts: - items: - properties: - archive: - properties: - none: - type: object - tar: - properties: - compressionLevel: - format: int32 - type: integer - type: object - zip: - type: object - type: object - archiveLogs: - type: boolean - artifactGC: - properties: - podMetadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - serviceAccountName: - type: string - strategy: - enum: - - "" - - OnWorkflowCompletion - - OnWorkflowDeletion - - Never - type: string - type: object - artifactory: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - url: - type: string - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - url - type: object - azure: - properties: - accountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - blob: - type: string - container: - type: string - endpoint: - type: string - useSDKCreds: - type: boolean - required: - - blob - - container - - endpoint - type: object - deleted: - type: boolean - from: - type: string - fromExpression: - type: string - gcs: - properties: - bucket: - type: string - key: - type: string - serviceAccountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - key - type: object - git: - properties: - branch: - type: string - depth: - format: int64 - type: integer - disableSubmodules: - type: boolean - fetch: - items: - type: string - type: array - insecureIgnoreHostKey: - type: boolean - insecureSkipTLS: - type: boolean - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - repo: - type: string - revision: - type: string - singleBranch: - type: boolean - sshPrivateKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - repo - type: object - globalName: - type: string - hdfs: - properties: - addresses: - items: - type: string - type: array - dataTransferProtection: - type: string - force: - type: boolean - hdfsUser: - type: string - krbCCacheSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbConfigConfigMap: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbKeytabSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbRealm: - type: string - krbServicePrincipalName: - type: string - krbUsername: - type: string - path: - type: string - required: - - path - type: object - http: - properties: - auth: - properties: - basicAuth: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - clientCert: - properties: - clientCertSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - oauth2: - properties: - clientIDSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientSecretSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - endpointParams: - items: - properties: - key: - type: string - value: - type: string - required: - - key - type: object - type: array - scopes: - items: - type: string - type: array - tokenURLSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - type: object - headers: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - url: - type: string - required: - - url - type: object - mode: - format: int32 - type: integer - name: - type: string - optional: - type: boolean - oss: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - createBucketIfNotPresent: - type: boolean - endpoint: - type: string - key: - type: string - lifecycleRule: - properties: - markDeletionAfterDays: - format: int32 - type: integer - markInfrequentAccessAfterDays: - format: int32 - type: integer - type: object - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - securityToken: - type: string - useSDKCreds: - type: boolean - required: - - key - type: object - path: - type: string - raw: - properties: - data: - type: string - required: - - data - type: object - recurseMode: - type: boolean - s3: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - caSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - createBucketIfNotPresent: - properties: - objectLocking: - type: boolean - type: object - encryptionOptions: - properties: - enableEncryption: - type: boolean - kmsEncryptionContext: - type: string - kmsKeyId: - type: string - serverSideCustomerKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - endpoint: - type: string - insecure: - type: boolean - key: - type: string - region: - type: string - roleARN: - type: string - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - sessionTokenSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - useSDKCreds: - type: boolean - type: object - subPath: - type: string - required: - - name - type: object - type: array - parameters: - items: - properties: - default: - type: string - description: - type: string - enum: - items: - type: string - type: array - globalName: - type: string - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - default: - type: string - event: - type: string - expression: - type: string - jqFilter: - type: string - jsonPath: - type: string - parameter: - type: string - path: - type: string - supplied: - type: object - type: object - required: - - name - type: object - type: array - type: object - continueOn: - properties: - error: - type: boolean - failed: - type: boolean - type: object - hooks: - additionalProperties: - properties: - arguments: - properties: - artifacts: - items: - properties: - archive: - properties: - none: - type: object - tar: - properties: - compressionLevel: - format: int32 - type: integer - type: object - zip: - type: object - type: object - archiveLogs: - type: boolean - artifactGC: - properties: - podMetadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - type: object - serviceAccountName: - type: string - strategy: - enum: - - "" - - OnWorkflowCompletion - - OnWorkflowDeletion - - Never - type: string - type: object - artifactory: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - url: - type: string - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - url - type: object - azure: - properties: - accountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - blob: - type: string - container: - type: string - endpoint: - type: string - useSDKCreds: - type: boolean - required: - - blob - - container - - endpoint - type: object - deleted: - type: boolean - from: - type: string - fromExpression: - type: string - gcs: - properties: - bucket: - type: string - key: - type: string - serviceAccountKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - key - type: object - git: - properties: - branch: - type: string - depth: - format: int64 - type: integer - disableSubmodules: - type: boolean - fetch: - items: - type: string - type: array - insecureIgnoreHostKey: - type: boolean - insecureSkipTLS: - type: boolean - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - repo: - type: string - revision: - type: string - singleBranch: - type: boolean - sshPrivateKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - required: - - repo - type: object - globalName: - type: string - hdfs: - properties: - addresses: - items: - type: string - type: array - dataTransferProtection: - type: string - force: - type: boolean - hdfsUser: - type: string - krbCCacheSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbConfigConfigMap: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbKeytabSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - krbRealm: - type: string - krbServicePrincipalName: - type: string - krbUsername: - type: string - path: - type: string - required: - - path - type: object - http: - properties: - auth: - properties: - basicAuth: - properties: - passwordSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - usernameSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - clientCert: - properties: - clientCertSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - oauth2: - properties: - clientIDSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - clientSecretSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - endpointParams: - items: - properties: - key: - type: string - value: - type: string - required: - - key - type: object - type: array - scopes: - items: - type: string - type: array - tokenURLSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - type: object - headers: - items: - properties: - name: - type: string - value: - type: string - required: - - name - - value - type: object - type: array - url: - type: string - required: - - url - type: object - mode: - format: int32 - type: integer - name: - type: string - optional: - type: boolean - oss: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - createBucketIfNotPresent: - type: boolean - endpoint: - type: string - key: - type: string - lifecycleRule: - properties: - markDeletionAfterDays: - format: int32 - type: integer - markInfrequentAccessAfterDays: - format: int32 - type: integer - type: object - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - securityToken: - type: string - useSDKCreds: - type: boolean - required: - - key - type: object - path: - type: string - raw: - properties: - data: - type: string - required: - - data - type: object - recurseMode: - type: boolean - s3: - properties: - accessKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - bucket: - type: string - caSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - createBucketIfNotPresent: - properties: - objectLocking: - type: boolean - type: object - encryptionOptions: - properties: - enableEncryption: - type: boolean - kmsEncryptionContext: - type: string - kmsKeyId: - type: string - serverSideCustomerKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - type: object - endpoint: - type: string - insecure: - type: boolean - key: - type: string - region: - type: string - roleARN: - type: string - secretKeySecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - sessionTokenSecret: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - useSDKCreds: - type: boolean - type: object - subPath: - type: string - required: - - name - type: object - type: array - parameters: - items: - properties: - default: - type: string - description: - type: string - enum: - items: - type: string - type: array - globalName: - type: string - name: - type: string - value: - type: string - valueFrom: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - default: - type: string - event: - type: string - expression: - type: string - jqFilter: - type: string - jsonPath: - type: string - parameter: - type: string - path: - type: string - supplied: - type: object - type: object - required: - - name - type: object - type: array - type: object - expression: - type: string - template: - type: string - templateRef: - properties: - clusterScope: - type: boolean - name: - type: string - template: - type: string - type: object - type: object - type: object - inline: - x-kubernetes-preserve-unknown-fields: true - name: - type: string - onExit: - type: string - template: - type: string - templateRef: - properties: - clusterScope: - type: boolean - name: - type: string - template: - type: string - type: object - when: - type: string - withItems: - x-kubernetes-preserve-unknown-fields: true - withParam: - type: string - withSequence: - properties: - count: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - end: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - format: - type: string - start: - anyOf: - - type: integer - - type: string - x-kubernetes-int-or-string: true - type: object - type: object - type: array - type: array - suspend: - properties: - duration: - type: string - type: object - synchronization: - properties: - mutex: - properties: - database: - type: boolean - name: - type: string - namespace: - type: string - type: object - mutexes: - items: - properties: - database: - type: boolean - name: - type: string - namespace: - type: string - type: object - type: array - semaphore: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - database: - properties: - key: - type: string - required: - - key - type: object - namespace: - type: string - type: object - semaphores: - items: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - database: - properties: - key: - type: string - required: - - key - type: object - namespace: - type: string - type: object - type: array - type: object - timeout: - type: string - tolerations: - items: - properties: - effect: - type: string - key: - type: string - operator: - type: string - tolerationSeconds: - format: int64 - type: integer - value: - type: string - type: object - type: array - volumes: - items: - properties: - awsElasticBlockStore: - properties: - fsType: - type: string - partition: - format: int32 - type: integer - readOnly: - type: boolean - volumeID: - type: string - required: - - volumeID - type: object - azureDisk: - properties: - cachingMode: - type: string - diskName: - type: string - diskURI: - type: string - fsType: - default: ext4 - type: string - kind: - type: string - readOnly: - default: false - type: boolean - required: - - diskName - - diskURI - type: object - azureFile: - properties: - readOnly: - type: boolean - secretName: - type: string - shareName: - type: string - required: - - secretName - - shareName - type: object - cephfs: - properties: - monitors: - items: - type: string - type: array - x-kubernetes-list-type: atomic - path: - type: string - readOnly: - type: boolean - secretFile: - type: string - secretRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic - user: - type: string - required: - - monitors - type: object - cinder: - properties: - fsType: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic - volumeID: - type: string - required: - - volumeID - type: object - configMap: - properties: - defaultMode: - format: int32 - type: integer - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - x-kubernetes-list-type: atomic - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - csi: - properties: - driver: - type: string - fsType: - type: string - nodePublishSecretRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic - readOnly: - type: boolean - volumeAttributes: - additionalProperties: - type: string - type: object - required: - - driver - type: object - downwardAPI: - properties: - defaultMode: - format: int32 - type: integer - items: - items: - properties: - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - mode: - format: int32 - type: integer - path: - type: string - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - required: - - path - type: object - type: array - x-kubernetes-list-type: atomic - type: object - emptyDir: - properties: - medium: - type: string - sizeLimit: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - ephemeral: - properties: - volumeClaimTemplate: - properties: - metadata: - properties: - annotations: - additionalProperties: - type: string - type: object - finalizers: - items: - type: string - type: array - generateName: - type: string - labels: - additionalProperties: - type: string - type: object - name: - type: string - namespace: - type: string - type: object - spec: - properties: - accessModes: - items: - type: string - type: array - x-kubernetes-list-type: atomic - dataSource: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - required: - - kind - - name - type: object - x-kubernetes-map-type: atomic - dataSourceRef: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - namespace: - type: string - required: - - kind - - name - type: object - resources: - properties: - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - selector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - storageClassName: - type: string - volumeAttributesClassName: - type: string - volumeMode: - type: string - volumeName: - type: string - type: object - required: - - spec - type: object - type: object - fc: - properties: - fsType: - type: string - lun: - format: int32 - type: integer - readOnly: - type: boolean - targetWWNs: - items: - type: string - type: array - x-kubernetes-list-type: atomic - wwids: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - flexVolume: - properties: - driver: - type: string - fsType: - type: string - options: - additionalProperties: - type: string - type: object - readOnly: - type: boolean - secretRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic - required: - - driver - type: object - flocker: - properties: - datasetName: - type: string - datasetUUID: - type: string - type: object - gcePersistentDisk: - properties: - fsType: - type: string - partition: - format: int32 - type: integer - pdName: - type: string - readOnly: - type: boolean - required: - - pdName - type: object - gitRepo: - properties: - directory: - type: string - repository: - type: string - revision: - type: string - required: - - repository - type: object - glusterfs: - properties: - endpoints: - type: string - path: - type: string - readOnly: - type: boolean - required: - - endpoints - - path - type: object - hostPath: - properties: - path: - type: string - type: - type: string - required: - - path - type: object - image: - properties: - pullPolicy: - type: string - reference: - type: string - type: object - iscsi: - properties: - chapAuthDiscovery: - type: boolean - chapAuthSession: - type: boolean - fsType: - type: string - initiatorName: - type: string - iqn: - type: string - iscsiInterface: - default: default - type: string - lun: - format: int32 - type: integer - portals: - items: - type: string - type: array - x-kubernetes-list-type: atomic - readOnly: - type: boolean - secretRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic - targetPortal: - type: string - required: - - iqn - - lun - - targetPortal - type: object - name: - type: string - nfs: - properties: - path: - type: string - readOnly: - type: boolean - server: - type: string - required: - - path - - server - type: object - persistentVolumeClaim: - properties: - claimName: - type: string - readOnly: - type: boolean - required: - - claimName - type: object - photonPersistentDisk: - properties: - fsType: - type: string - pdID: - type: string - required: - - pdID - type: object - portworxVolume: - properties: - fsType: - type: string - readOnly: - type: boolean - volumeID: - type: string - required: - - volumeID - type: object - projected: - properties: - defaultMode: - format: int32 - type: integer - sources: - items: - properties: - clusterTrustBundle: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - name: - type: string - optional: - type: boolean - path: - type: string - signerName: - type: string - required: - - path - type: object - configMap: - properties: - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - x-kubernetes-list-type: atomic - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - downwardAPI: - properties: - items: - items: - properties: - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - mode: - format: int32 - type: integer - path: - type: string - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - required: - - path - type: object - type: array - x-kubernetes-list-type: atomic - type: object - secret: - properties: - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - x-kubernetes-list-type: atomic - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - serviceAccountToken: - properties: - audience: - type: string - expirationSeconds: - format: int64 - type: integer - path: - type: string - required: - - path - type: object - type: object - type: array - x-kubernetes-list-type: atomic - type: object - quobyte: - properties: - group: - type: string - readOnly: - type: boolean - registry: - type: string - tenant: - type: string - user: - type: string - volume: - type: string - required: - - registry - - volume - type: object - rbd: - properties: - fsType: - type: string - image: - type: string - keyring: - default: /etc/ceph/keyring - type: string - monitors: - items: - type: string - type: array - x-kubernetes-list-type: atomic - pool: - default: rbd - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic - user: - default: admin - type: string - required: - - image - - monitors - type: object - scaleIO: - properties: - fsType: - default: xfs - type: string - gateway: - type: string - protectionDomain: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic - sslEnabled: - type: boolean - storageMode: - default: ThinProvisioned - type: string - storagePool: - type: string - system: - type: string - volumeName: - type: string - required: - - gateway - - secretRef - - system - type: object - secret: - properties: - defaultMode: - format: int32 - type: integer - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - x-kubernetes-list-type: atomic - optional: - type: boolean - secretName: - type: string - type: object - storageos: - properties: - fsType: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic - volumeName: - type: string - volumeNamespace: - type: string - type: object - vsphereVolume: - properties: - fsType: - type: string - storagePolicyID: - type: string - storagePolicyName: - type: string - volumePath: - type: string - required: - - volumePath - type: object - required: - - name - type: object - type: array - type: object - type: array - tolerations: - items: - properties: - effect: - type: string - key: - type: string - operator: - type: string - tolerationSeconds: - format: int64 - type: integer - value: - type: string - type: object - type: array - ttlStrategy: - properties: - secondsAfterCompletion: - format: int32 - type: integer - secondsAfterFailure: - format: int32 - type: integer - secondsAfterSuccess: - format: int32 - type: integer - type: object - volumeClaimGC: - properties: - strategy: - type: string - type: object - volumeClaimTemplates: - items: - properties: - apiVersion: - type: string - kind: - type: string - metadata: - properties: - annotations: - additionalProperties: - type: string - type: object - finalizers: - items: - type: string - type: array - generateName: - type: string - labels: - additionalProperties: - type: string - type: object - name: - type: string - namespace: - type: string - type: object - spec: - properties: - accessModes: - items: - type: string - type: array - x-kubernetes-list-type: atomic - dataSource: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - required: - - kind - - name - type: object - x-kubernetes-map-type: atomic - dataSourceRef: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - namespace: - type: string - required: - - kind - - name - type: object - resources: - properties: - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - selector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - storageClassName: - type: string - volumeAttributesClassName: - type: string - volumeMode: - type: string - volumeName: - type: string - type: object - status: - properties: - accessModes: - items: - type: string - type: array - x-kubernetes-list-type: atomic - allocatedResourceStatuses: - additionalProperties: - type: string - type: object - x-kubernetes-map-type: granular - allocatedResources: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - capacity: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - conditions: - items: - properties: - lastProbeTime: - format: date-time - type: string - lastTransitionTime: - format: date-time - type: string - message: - type: string - reason: - type: string - status: - type: string - type: - type: string - required: - - status - - type - type: object - type: array - x-kubernetes-list-map-keys: - - type - x-kubernetes-list-type: map - currentVolumeAttributesClassName: - type: string - modifyVolumeStatus: - properties: - status: - type: string - targetVolumeAttributesClassName: - type: string - required: - - status - type: object - phase: - type: string - type: object - type: object - type: array - volumes: - items: - properties: - awsElasticBlockStore: - properties: - fsType: - type: string - partition: - format: int32 - type: integer - readOnly: - type: boolean - volumeID: - type: string - required: - - volumeID - type: object - azureDisk: - properties: - cachingMode: - type: string - diskName: - type: string - diskURI: - type: string - fsType: - default: ext4 - type: string - kind: - type: string - readOnly: - default: false - type: boolean - required: - - diskName - - diskURI - type: object - azureFile: - properties: - readOnly: - type: boolean - secretName: - type: string - shareName: - type: string - required: - - secretName - - shareName - type: object - cephfs: - properties: - monitors: - items: - type: string - type: array - x-kubernetes-list-type: atomic - path: - type: string - readOnly: - type: boolean - secretFile: - type: string - secretRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic - user: - type: string - required: - - monitors - type: object - cinder: - properties: - fsType: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic - volumeID: - type: string - required: - - volumeID - type: object - configMap: - properties: - defaultMode: - format: int32 - type: integer - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - x-kubernetes-list-type: atomic - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - csi: - properties: - driver: - type: string - fsType: - type: string - nodePublishSecretRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic - readOnly: - type: boolean - volumeAttributes: - additionalProperties: - type: string - type: object - required: - - driver - type: object - downwardAPI: - properties: - defaultMode: - format: int32 - type: integer - items: - items: - properties: - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - mode: - format: int32 - type: integer - path: - type: string - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - required: - - path - type: object - type: array - x-kubernetes-list-type: atomic - type: object - emptyDir: - properties: - medium: - type: string - sizeLimit: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - ephemeral: - properties: - volumeClaimTemplate: - properties: - metadata: - properties: - annotations: - additionalProperties: - type: string - type: object - finalizers: - items: - type: string - type: array - generateName: - type: string - labels: - additionalProperties: - type: string - type: object - name: - type: string - namespace: - type: string - type: object - spec: - properties: - accessModes: - items: - type: string - type: array - x-kubernetes-list-type: atomic - dataSource: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - required: - - kind - - name - type: object - x-kubernetes-map-type: atomic - dataSourceRef: - properties: - apiGroup: - type: string - kind: - type: string - name: - type: string - namespace: - type: string - required: - - kind - - name - type: object - resources: - properties: - limits: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - requests: - additionalProperties: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - type: object - type: object - selector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - storageClassName: - type: string - volumeAttributesClassName: - type: string - volumeMode: - type: string - volumeName: - type: string - type: object - required: - - spec - type: object - type: object - fc: - properties: - fsType: - type: string - lun: - format: int32 - type: integer - readOnly: - type: boolean - targetWWNs: - items: - type: string - type: array - x-kubernetes-list-type: atomic - wwids: - items: - type: string - type: array - x-kubernetes-list-type: atomic - type: object - flexVolume: - properties: - driver: - type: string - fsType: - type: string - options: - additionalProperties: - type: string - type: object - readOnly: - type: boolean - secretRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic - required: - - driver - type: object - flocker: - properties: - datasetName: - type: string - datasetUUID: - type: string - type: object - gcePersistentDisk: - properties: - fsType: - type: string - partition: - format: int32 - type: integer - pdName: - type: string - readOnly: - type: boolean - required: - - pdName - type: object - gitRepo: - properties: - directory: - type: string - repository: - type: string - revision: - type: string - required: - - repository - type: object - glusterfs: - properties: - endpoints: - type: string - path: - type: string - readOnly: - type: boolean - required: - - endpoints - - path - type: object - hostPath: - properties: - path: - type: string - type: - type: string - required: - - path - type: object - image: - properties: - pullPolicy: - type: string - reference: - type: string - type: object - iscsi: - properties: - chapAuthDiscovery: - type: boolean - chapAuthSession: - type: boolean - fsType: - type: string - initiatorName: - type: string - iqn: - type: string - iscsiInterface: - default: default - type: string - lun: - format: int32 - type: integer - portals: - items: - type: string - type: array - x-kubernetes-list-type: atomic - readOnly: - type: boolean - secretRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic - targetPortal: - type: string - required: - - iqn - - lun - - targetPortal - type: object - name: - type: string - nfs: - properties: - path: - type: string - readOnly: - type: boolean - server: - type: string - required: - - path - - server - type: object - persistentVolumeClaim: - properties: - claimName: - type: string - readOnly: - type: boolean - required: - - claimName - type: object - photonPersistentDisk: - properties: - fsType: - type: string - pdID: - type: string - required: - - pdID - type: object - portworxVolume: - properties: - fsType: - type: string - readOnly: - type: boolean - volumeID: - type: string - required: - - volumeID - type: object - projected: - properties: - defaultMode: - format: int32 - type: integer - sources: - items: - properties: - clusterTrustBundle: - properties: - labelSelector: - properties: - matchExpressions: - items: - properties: - key: - type: string - operator: - type: string - values: - items: - type: string - type: array - x-kubernetes-list-type: atomic - required: - - key - - operator - type: object - type: array - x-kubernetes-list-type: atomic - matchLabels: - additionalProperties: - type: string - type: object - type: object - x-kubernetes-map-type: atomic - name: - type: string - optional: - type: boolean - path: - type: string - signerName: - type: string - required: - - path - type: object - configMap: - properties: - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - x-kubernetes-list-type: atomic - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - downwardAPI: - properties: - items: - items: - properties: - fieldRef: - properties: - apiVersion: - type: string - fieldPath: - type: string - required: - - fieldPath - type: object - x-kubernetes-map-type: atomic - mode: - format: int32 - type: integer - path: - type: string - resourceFieldRef: - properties: - containerName: - type: string - divisor: - anyOf: - - type: integer - - type: string - pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ - x-kubernetes-int-or-string: true - resource: - type: string - required: - - resource - type: object - x-kubernetes-map-type: atomic - required: - - path - type: object - type: array - x-kubernetes-list-type: atomic - type: object - secret: - properties: - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - x-kubernetes-list-type: atomic - name: - default: "" - type: string - optional: - type: boolean - type: object - x-kubernetes-map-type: atomic - serviceAccountToken: - properties: - audience: - type: string - expirationSeconds: - format: int64 - type: integer - path: - type: string - required: - - path - type: object - type: object - type: array - x-kubernetes-list-type: atomic - type: object - quobyte: - properties: - group: - type: string - readOnly: - type: boolean - registry: - type: string - tenant: - type: string - user: - type: string - volume: - type: string - required: - - registry - - volume - type: object - rbd: - properties: - fsType: - type: string - image: - type: string - keyring: - default: /etc/ceph/keyring - type: string - monitors: - items: - type: string - type: array - x-kubernetes-list-type: atomic - pool: - default: rbd - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic - user: - default: admin - type: string - required: - - image - - monitors - type: object - scaleIO: - properties: - fsType: - default: xfs - type: string - gateway: - type: string - protectionDomain: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic - sslEnabled: - type: boolean - storageMode: - default: ThinProvisioned - type: string - storagePool: - type: string - system: - type: string - volumeName: - type: string - required: - - gateway - - secretRef - - system - type: object - secret: - properties: - defaultMode: - format: int32 - type: integer - items: - items: - properties: - key: - type: string - mode: - format: int32 - type: integer - path: - type: string - required: - - key - - path - type: object - type: array - x-kubernetes-list-type: atomic - optional: - type: boolean - secretName: - type: string - type: object - storageos: - properties: - fsType: - type: string - readOnly: - type: boolean - secretRef: - properties: - name: - default: "" - type: string - type: object - x-kubernetes-map-type: atomic - volumeName: - type: string - volumeNamespace: - type: string - type: object - vsphereVolume: - properties: - fsType: - type: string - storagePolicyID: - type: string - storagePolicyName: - type: string - volumePath: - type: string - required: - - volumePath - type: object - required: - - name - type: object - type: array - workflowMetadata: - properties: - annotations: - additionalProperties: - type: string - type: object - labels: - additionalProperties: - type: string - type: object - labelsFrom: - additionalProperties: - properties: - expression: - type: string - required: - - expression - type: object - type: object - type: object - workflowTemplateRef: - properties: - clusterScope: - type: boolean - name: - type: string - type: object type: object + x-kubernetes-map-type: atomic + x-kubernetes-preserve-unknown-fields: true + storedWorkflowTemplateSpec: + type: object + x-kubernetes-map-type: atomic + x-kubernetes-preserve-unknown-fields: true synchronization: properties: mutex: diff --git a/charts/argo-workflows/files/crds/full/argoproj.io_workflowtaskresults.yaml b/charts/argo-workflows/files/crds/full/argoproj.io_workflowtaskresults.yaml index 18e983ef2..672c09233 100644 --- a/charts/argo-workflows/files/crds/full/argoproj.io_workflowtaskresults.yaml +++ b/charts/argo-workflows/files/crds/full/argoproj.io_workflowtaskresults.yaml @@ -16,38 +16,77 @@ spec: - name: v1alpha1 schema: openAPIV3Schema: + description: |- + WorkflowTaskResult is a used to communicate a result back to the controller. Unlike WorkflowTaskSet, it has + more capacity. This is an internal type. Users should never create this resource directly, much like you would + never create a ReplicaSet directly. 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 message: type: string metadata: type: object outputs: + description: Outputs hold parameters, artifacts, and results from a step properties: artifacts: + description: Artifacts holds the list of output artifacts produced + by a step items: + description: Artifact indicates an artifact to place at a specified + path properties: archive: + description: Archive controls how the artifact will be saved + to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and gzip the file or directory + when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip zipped input artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the container logs should + be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy to use when to + deleting an artifact from completed or deleted workflows properties: podMetadata: + description: PodMetadata is an optional field for specifying + the Labels and Annotations that should be assigned to + the Pod doing the deletion properties: annotations: additionalProperties: @@ -59,8 +98,12 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an optional field for + specifying the Service Account that should be assigned + to the Pod doing the deletion type: string strategy: + description: Strategy is the strategy to use. enum: - "" - OnWorkflowCompletion @@ -69,30 +112,57 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory artifact location + details properties: passwordSecret: + description: PasswordSecret is the secret selector to the + repository password properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret selector to the + repository username properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key @@ -102,27 +172,49 @@ spec: - url type: object azure: + description: Azure contains Azure Storage artifact location + details properties: accountKeySecret: + description: AccountKeySecret is the secret selector to + the Azure Blob Storage account access key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., path) in the container + where the artifact resides type: string container: + description: Container is the container where resources + will be stored type: string endpoint: + description: Endpoint is the service url associated with + an account. It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure out + credentials based on sdk defaults. type: boolean required: - blob @@ -130,25 +222,46 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to reference an artifact + from a previous step type: string fromExpression: + description: FromExpression, if defined, is evaluated to specify + the value for the artifact type: string gcs: + description: GCS contains GCS artifact location details properties: bucket: + description: Bucket is the name of the bucket type: string key: + description: Key is the path in the bucket where the artifact + resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is the secret selector + to the bucket's service account key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key @@ -158,62 +271,117 @@ spec: - key type: object git: + description: Git contains git artifact location details properties: branch: + description: Branch is the branch to fetch when `SingleBranch` + is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables submodules during + git clone type: boolean fetch: + description: Fetch specifies a number of refs that should + be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables SSH strict host + key checking during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables server certificate + verification resulting in insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret selector to the + repository password properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, tag, branch to + checkout type: string singleBranch: + description: SingleBranch enables single branch clone, using + the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the secret selector + to the repository ssh private key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector to the + repository username properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key @@ -223,96 +391,185 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact location details properties: addresses: + description: Addresses is accessible addresses of HDFS name + nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly even if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location details properties: auth: + description: Auth contains information for client authentication properties: basicAuth: + description: BasicAuth describes the secret selectors + required for basic authentication properties: passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key @@ -320,28 +577,54 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds necessary information + for client authentication via certificates properties: clientCertSecret: + description: SecretKeySelector selects a key of + a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector selects a key of + a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key @@ -349,28 +632,54 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all information for client + authentication via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector selects a key of + a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector selects a key of + a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key @@ -378,10 +687,15 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is for requesting optional + fields that should be sent in the oauth request properties: key: + description: Name is the header name type: string value: + description: Value is the literal value to + use for the header type: string required: - key @@ -392,13 +706,25 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector selects a key of + a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key @@ -407,11 +733,18 @@ spec: type: object type: object headers: + description: Headers are an optional list of headers to + send with HTTP requests for artifacts items: + description: Header indicate a key-value request header + to be used when fetching artifacts over HTTP properties: name: + description: Name is the header name type: string value: + description: Value is the literal value to use for + the header type: string required: - name @@ -419,131 +752,269 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must be unique within a template's + inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if Artifacts doesn't generate + or exist type: boolean oss: + description: OSS contains OSS artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector to the + bucket's access key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the driver to + attempt to create the OSS bucket for output artifacts, + if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname of the bucket endpoint type: string key: + description: Key is the path in the bucket where the artifact + resides type: string lifecycleRule: + description: LifecycleRule specifies how to manage bucket's + lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays is the number of + days before we delete objects in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays is the number + of days before we convert the objects in the bucket + to Infrequent Access (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret selector to the + bucket's secret key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s temporary security + token. For more details, check out: https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure out + credentials based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container path to the artifact type: string + plugin: + description: Plugin contains plugin artifact location details + properties: + configuration: + description: Configuration is the plugin defined configuration + for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds is the timeout for + the artifact driver connection, overriding the driver's + timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact repository + where the artifact resides + type: string + name: + description: Name is the name of the artifact driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location details properties: data: + description: Data is the string contents of the artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission recursively + into the artifact if it is a folder type: boolean s3: + description: S3 contains S3 artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector to the + bucket's access key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string caSecret: + description: CASecret specifies the secret that contains + the CA, used to verify the TLS connection properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the driver to + attempt to create the S3 bucket for output artifacts, + if it doesn't exist. Setting Enabled Encryption will apply + either SSE-S3 to the bucket if KmsKeyId is not set or + SSE-KMS if it is. properties: objectLocking: + description: ObjectLocking Enable object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used to determine encryption + options during s3 operations properties: enableEncryption: + description: EnableEncryption tells the driver to encrypt + objects if set to true. If kmsKeyId and serverSideCustomerKeySecret + are not set, SSE-S3 will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext is a json blob that + contains an encryption context. See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver to encrypt the + object using the specified KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret tells the driver + to encrypt the output artifacts using SSE-C with the + specified secret. properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -551,99 +1022,195 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname of the bucket endpoint type: string insecure: + description: Insecure will connect to the service with TLS type: boolean key: + description: Key is the key in the bucket where the artifact + resides type: string region: + description: Region contains the optional bucket region type: string roleARN: + description: RoleARN is the Amazon Resource Name (ARN) of + the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret selector to the + bucket's secret key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used for ephemeral credentials + like an IAM assume role or S3 access grant properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver to figure out + credentials based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact to be sourced from a + subpath within the specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : 0) + (has(self.http) + ? 1 : 0) + (has(self.artifactory) ? 1 : 0) + (has(self.hdfs) + ? 1 : 0) + (has(self.raw) ? 1 : 0) + (has(self.oss) ? 1 : 0) + + (has(self.gcs) ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array exitCode: + description: ExitCode holds the exit code of a script template type: string parameters: + description: Parameters holds the list of output parameters produced + by a step items: + description: Parameter indicate a passed string parameter to a service + template with an optional default value properties: default: + description: Default is the default value to use for an input + parameter if a value was not supplied type: string description: + description: Description is the parameter description type: string enum: + description: Enum holds a list of string values to choose from, + for the actual value of the parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source for the output parameter's + value properties: configMapKeyRef: + description: ConfigMapKeyRef is configmap selector for input + parameter configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies a value to be used if retrieving + the value from the specified source fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the event to get the value of + the parameter. E.g. `payload.message` type: string expression: + description: Expression, if defined, is evaluated to specify + the value for the parameter type: string jqFilter: + description: JQFilter expression against the resource object + in resource templates type: string jsonPath: + description: JSONPath of a resource to retrieve an output + parameter value from in resource templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container to retrieve an output + parameter value from in container templates type: string supplied: + description: Supplied value to be filled in directly, either + through the CLI, API, etc. type: object type: object required: @@ -651,11 +1218,17 @@ spec: type: object type: array result: + description: Result holds the result (stdout) of a script or container + template, or the response body of an HTTP template type: string type: object phase: + description: NodePhase is a label for the condition of a node at the current + time. type: string progress: + description: Progress in N/M format. N is number of task complete. M is + number of tasks. type: string required: - metadata diff --git a/charts/argo-workflows/files/crds/full/argoproj.io_workflowtasksets.yaml b/charts/argo-workflows/files/crds/full/argoproj.io_workflowtasksets.yaml index 81aaacdd0..48db4c155 100644 --- a/charts/argo-workflows/files/crds/full/argoproj.io_workflowtasksets.yaml +++ b/charts/argo-workflows/files/crds/full/argoproj.io_workflowtasksets.yaml @@ -20,8 +20,19 @@ spec: openAPIV3Schema: 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 @@ -881,6 +892,20 @@ spec: required: - key type: object + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -2803,8 +2828,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -2862,6 +2890,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -2983,10 +3025,12 @@ spec: enum: items: type: string + minItems: 1 type: array globalName: type: string name: + pattern: ^[-a-zA-Z0-9_]+$ type: string value: type: string @@ -3443,8 +3487,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -3502,6 +3549,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -3623,10 +3684,12 @@ spec: enum: items: type: string + minItems: 1 type: array globalName: type: string name: + pattern: ^[-a-zA-Z0-9_]+$ type: string value: type: string @@ -3685,6 +3748,8 @@ spec: inline: x-kubernetes-preserve-unknown-fields: true name: + maxLength: 128 + pattern: ^[a-zA-Z0-9][-a-zA-Z0-9]*$ type: string onExit: type: string @@ -3728,6 +3793,8 @@ spec: required: - name type: object + maxItems: 200 + minItems: 1 type: array required: - tasks @@ -4133,8 +4200,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -4192,6 +4262,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -5472,8 +5556,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -5531,6 +5618,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -5652,10 +5753,12 @@ spec: enum: items: type: string + minItems: 1 type: array globalName: type: string name: + pattern: ^[-a-zA-Z0-9_]+$ type: string value: type: string @@ -5694,6 +5797,7 @@ spec: required: - name type: object + maxItems: 500 type: array type: object memoize: @@ -5702,15 +5806,9 @@ spec: properties: configMap: properties: - key: - type: string name: default: "" type: string - optional: - type: boolean - required: - - key type: object x-kubernetes-map-type: atomic required: @@ -5744,6 +5842,7 @@ spec: counter: properties: value: + minLength: 1 type: string required: - value @@ -5751,16 +5850,23 @@ spec: gauge: properties: operation: + enum: + - Set + - Add + - Sub type: string realtime: type: boolean value: + maxLength: 256 + minLength: 1 type: string required: - realtime - value type: object help: + minLength: 1 type: string histogram: properties: @@ -5769,6 +5875,7 @@ spec: type: number type: array value: + minLength: 1 type: string required: - buckets @@ -5778,6 +5885,7 @@ spec: items: properties: key: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ type: string value: type: string @@ -5787,6 +5895,7 @@ spec: type: object type: array name: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ type: string when: type: string @@ -5794,11 +5903,14 @@ spec: - help - name type: object + maxItems: 100 type: array required: - prometheus type: object name: + maxLength: 128 + pattern: ^[a-zA-Z0-9][-a-zA-Z0-9]*$ type: string nodeSelector: additionalProperties: @@ -6204,8 +6316,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -6263,6 +6378,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -6386,10 +6515,12 @@ spec: enum: items: type: string + minItems: 1 type: array globalName: type: string name: + pattern: ^[-a-zA-Z0-9_]+$ type: string value: type: string @@ -6434,6 +6565,7 @@ spec: type: object parallelism: format: int64 + minimum: 1 type: integer plugin: type: object @@ -6445,6 +6577,13 @@ spec: resource: properties: action: + enum: + - get + - create + - apply + - delete + - replace + - patch type: string failureCondition: type: string @@ -6853,8 +6992,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -6912,6 +7054,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -7026,6 +7182,10 @@ spec: - artifact type: object mergeStrategy: + enum: + - strategic + - merge + - json type: string setOwnerReference: type: boolean @@ -7063,6 +7223,11 @@ spec: - type: string x-kubernetes-int-or-string: true retryPolicy: + enum: + - Always + - OnFailure + - OnError + - OnTransientError type: string type: object schedulerName: @@ -8920,8 +9085,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -8979,6 +9147,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -9100,10 +9282,12 @@ spec: enum: items: type: string + minItems: 1 type: array globalName: type: string name: + pattern: ^[-a-zA-Z0-9_]+$ type: string value: type: string @@ -9554,8 +9738,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -9613,6 +9800,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -9734,10 +9935,12 @@ spec: enum: items: type: string + minItems: 1 type: array globalName: type: string name: + pattern: ^[-a-zA-Z0-9_]+$ type: string value: type: string @@ -9796,6 +9999,8 @@ spec: inline: x-kubernetes-preserve-unknown-fields: true name: + maxLength: 128 + pattern: ^[a-zA-Z0-9][-a-zA-Z0-9]*$ type: string onExit: type: string @@ -9841,6 +10046,7 @@ spec: required: - steps type: object + minItems: 1 type: array suspend: properties: @@ -9849,15 +10055,6 @@ spec: type: object synchronization: properties: - mutex: - properties: - database: - type: boolean - name: - type: string - namespace: - type: string - type: object mutexes: items: properties: @@ -9869,31 +10066,6 @@ spec: type: string type: object type: array - semaphore: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - database: - properties: - key: - type: string - required: - - key - type: object - namespace: - type: string - type: object semaphores: items: properties: @@ -10751,28 +10923,55 @@ spec: message: type: string outputs: + description: Outputs hold parameters, artifacts, and results + from a step properties: artifacts: + description: Artifacts holds the list of output artifacts + produced by a step items: + description: Artifact indicates an artifact to place at + a specified path properties: archive: + description: Archive controls how the artifact will + be saved to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and gzip the + file or directory when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip zipped input + artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the container + logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy to + use when to deleting an artifact from completed + or deleted workflows properties: podMetadata: + description: PodMetadata is an optional field + for specifying the Labels and Annotations that + should be assigned to the Pod doing the deletion properties: annotations: additionalProperties: @@ -10784,8 +10983,12 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an optional + field for specifying the Service Account that + should be assigned to the Pod doing the deletion type: string strategy: + description: Strategy is the strategy to use. enum: - "" - OnWorkflowCompletion @@ -10794,30 +10997,57 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory artifact + location details properties: passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -10827,27 +11057,49 @@ spec: - url type: object azure: + description: Azure contains Azure Storage artifact + location details properties: accountKeySecret: + description: AccountKeySecret is the secret selector + to the Azure Blob Storage account access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., path) + in the container where the artifact resides type: string container: + description: Container is the container where + resources will be stored type: string endpoint: + description: Endpoint is the service url associated + with an account. It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - blob @@ -10855,25 +11107,46 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to reference + an artifact from a previous step type: string fromExpression: + description: FromExpression, if defined, is evaluated + to specify the value for the artifact type: string gcs: + description: GCS contains GCS artifact location details properties: bucket: + description: Bucket is the name of the bucket type: string key: + description: Key is the path in the bucket where + the artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is the secret + selector to the bucket's service account key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -10883,62 +11156,117 @@ spec: - key type: object git: + description: Git contains git artifact location details properties: branch: + description: Branch is the branch to fetch when + `SingleBranch` is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables submodules + during git clone type: boolean fetch: + description: Fetch specifies a number of refs + that should be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables SSH + strict host key checking during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables server certificate + verification resulting in insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, tag, + branch to checkout type: string singleBranch: + description: SingleBranch enables single branch + clone, using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the secret + selector to the repository ssh private key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -10948,96 +11276,191 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact location + details properties: addresses: + description: Addresses is accessible addresses + of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly even + if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location + details properties: auth: + description: Auth contains information for client + authentication properties: basicAuth: + description: BasicAuth describes the secret + selectors required for basic authentication properties: passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -11045,28 +11468,57 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds necessary + information for client authentication via + certificates properties: clientCertSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -11074,28 +11526,56 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all information + for client authentication via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -11103,10 +11583,17 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is for requesting + optional fields that should be sent + in the oauth request properties: key: + description: Name is the header + name type: string value: + description: Value is the literal + value to use for the header type: string required: - key @@ -11117,13 +11604,26 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -11132,11 +11632,19 @@ spec: type: object type: object headers: + description: Headers are an optional list of headers + to send with HTTP requests for artifacts items: + description: Header indicate a key-value request + header to be used when fetching artifacts + over HTTP properties: name: + description: Name is the header name type: string value: + description: Value is the literal value + to use for the header type: string required: - name @@ -11144,131 +11652,281 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must be unique + within a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if Artifacts + doesn't generate or exist type: boolean oss: + description: OSS contains OSS artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the + driver to attempt to create the OSS bucket for + output artifacts, if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string key: + description: Key is the path in the bucket where + the artifact resides type: string lifecycleRule: + description: LifecycleRule specifies how to manage + bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays is the + number of days before we delete objects + in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before we convert + the objects in the bucket to Infrequent + Access (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s temporary + security token. For more details, check out: + https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container path to the artifact type: string + plugin: + description: Plugin contains plugin artifact location + details + properties: + configuration: + description: Configuration is the plugin defined + configuration for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds is the timeout + for the artifact driver connection, overriding + the driver's timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact repository + where the artifact resides + type: string + name: + description: Name is the name of the artifact + driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location details properties: data: + description: Data is the string contents of the + artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission + recursively into the artifact if it is a folder type: boolean s3: + description: S3 contains S3 artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string caSecret: + description: CASecret specifies the secret that + contains the CA, used to verify the TLS connection properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the + driver to attempt to create the S3 bucket for + output artifacts, if it doesn't exist. Setting + Enabled Encryption will apply either SSE-S3 + to the bucket if KmsKeyId is not set or SSE-KMS + if it is. properties: objectLocking: + description: ObjectLocking Enable object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used to determine + encryption options during s3 operations properties: enableEncryption: + description: EnableEncryption tells the driver + to encrypt objects if set to true. If kmsKeyId + and serverSideCustomerKeySecret are not + set, SSE-S3 will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext is a json + blob that contains an encryption context. + See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver to + encrypt the object using the specified KMS + Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret tells + the driver to encrypt the output artifacts + using SSE-C with the specified secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -11276,99 +11934,194 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string insecure: + description: Insecure will connect to the service + with TLS type: boolean key: + description: Key is the key in the bucket where + the artifact resides type: string region: + description: Region contains the optional bucket + region type: string roleARN: + description: RoleARN is the Amazon Resource Name + (ARN) of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used for ephemeral + credentials like an IAM assume role or S3 access + grant properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact to be sourced + from a subpath within the specified source type: string required: - name type: object type: array exitCode: + description: ExitCode holds the exit code of a script template type: string parameters: + description: Parameters holds the list of output parameters + produced by a step items: + description: Parameter indicate a passed string parameter + to a service template with an optional default value properties: default: + description: Default is the default value to use for + an input parameter if a value was not supplied type: string description: + description: Description is the parameter description type: string enum: + description: Enum holds a list of string values to + choose from, for the actual value of the parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source for the output + parameter's value properties: configMapKeyRef: + description: ConfigMapKeyRef is configmap selector + for input parameter configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies a value to be used + if retrieving the value from the specified source + fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the event to get the + value of the parameter. E.g. `payload.message` type: string expression: + description: Expression, if defined, is evaluated + to specify the value for the parameter type: string jqFilter: + description: JQFilter expression against the resource + object in resource templates type: string jsonPath: + description: JSONPath of a resource to retrieve + an output parameter value from in resource templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container to retrieve + an output parameter value from in container + templates type: string supplied: + description: Supplied value to be filled in directly, + either through the CLI, API, etc. type: object type: object required: @@ -11376,11 +12129,18 @@ spec: type: object type: array result: + description: Result holds the result (stdout) of a script + or container template, or the response body of an HTTP + template type: string type: object phase: + description: NodePhase is a label for the condition of a node + at the current time. type: string progress: + description: Progress in N/M format. N is number of task complete. + M is number of tasks. type: string type: object type: object diff --git a/charts/argo-workflows/files/crds/full/argoproj.io_workflowtemplates.yaml b/charts/argo-workflows/files/crds/full/argoproj.io_workflowtemplates.yaml index 132b2d3d9..24972af0f 100644 --- a/charts/argo-workflows/files/crds/full/argoproj.io_workflowtemplates.yaml +++ b/charts/argo-workflows/files/crds/full/argoproj.io_workflowtemplates.yaml @@ -18,35 +18,88 @@ spec: - name: v1alpha1 schema: openAPIV3Schema: + description: WorkflowTemplate is the definition of a workflow template resource 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: WorkflowSpec is the specification of a Workflow. properties: activeDeadlineSeconds: + description: |- + Optional duration in seconds relative to the workflow start time which the workflow is + allowed to run before the controller terminates the workflow. A value of zero is used to + terminate a Running workflow format: int64 type: integer affinity: + description: |- + Affinity sets the scheduling constraints for all pods in the workflow. + Can be overridden by an affinity specified in the template properties: nodeAffinity: + description: Describes node affinity scheduling rules for the + pod. properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. The node that is + most preferred is the one with the greatest sum of weights, i.e. + for each node that meets all of the scheduling requirements (resource + request, requiredDuringScheduling affinity expressions, etc.), + compute a sum by iterating through the elements of this field and adding + "weight" to the sum if the node matches the corresponding matchExpressions; the + node(s) with the highest sum are the most preferred. items: + description: |- + An empty preferred scheduling term matches all objects with implicit weight 0 + (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). properties: preference: + description: A node selector term, associated with the + corresponding weight. properties: matchExpressions: + description: A list of node selector requirements + by node's labels. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. items: type: string type: array @@ -58,13 +111,29 @@ spec: type: array x-kubernetes-list-type: atomic matchFields: + description: A list of node selector requirements + by node's fields. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. items: type: string type: array @@ -78,6 +147,8 @@ spec: type: object x-kubernetes-map-type: atomic weight: + description: Weight associated with matching the corresponding + nodeSelectorTerm, in the range 1-100. format: int32 type: integer required: @@ -87,18 +158,46 @@ spec: type: array x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. + If the affinity requirements specified by this field cease to be met + at some point during pod execution (e.g. due to an update), the system + may or may not try to eventually evict the pod from its node. properties: nodeSelectorTerms: + description: Required. A list of node selector terms. + The terms are ORed. items: + description: |- + A null or empty node selector term matches no objects. The requirements of + them are ANDed. + The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. properties: matchExpressions: + description: A list of node selector requirements + by node's labels. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. items: type: string type: array @@ -110,13 +209,29 @@ spec: type: array x-kubernetes-list-type: atomic matchFields: + description: A list of node selector requirements + by node's fields. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the selector + applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. items: type: string type: array @@ -137,22 +252,57 @@ spec: x-kubernetes-map-type: atomic type: object podAffinity: + description: Describes pod affinity scheduling rules (e.g. co-locate + this pod in the same node, zone, etc. as some other pod(s)). properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. The node that is + most preferred is the one with the greatest sum of weights, i.e. + for each node that meets all of the scheduling requirements (resource + request, requiredDuringScheduling affinity expressions, etc.), + compute a sum by iterating through the elements of this field and adding + "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the + node(s) with the highest sum are the most preferred. items: + description: The weights of all of the matched WeightedPodAffinityTerm + fields are added per-node to find the most preferred node(s) properties: podAffinityTerm: + description: Required. A pod affinity term, associated + with the corresponding weight. properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -166,29 +316,73 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -202,20 +396,38 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". items: type: string type: array x-kubernetes-list-type: atomic topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. type: string required: - topologyKey type: object weight: + description: |- + weight associated with matching the corresponding podAffinityTerm, + in the range 1-100. format: int32 type: integer required: @@ -225,18 +437,51 @@ spec: type: array x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. + If the affinity requirements specified by this field cease to be met + at some point during pod execution (e.g. due to a pod label update), the + system may or may not try to eventually evict the pod from its node. + When there are multiple elements, the lists of nodes corresponding to each + podAffinityTerm are intersected, i.e. all terms must be satisfied. items: + description: |- + Defines a set of pods (namely those matching the labelSelector + relative to the given namespace(s)) that this pod should be + co-located (affinity) or not co-located (anti-affinity) with, + where co-located is defined as running on a node whose value of + the label with key matches that of any node on which + a pod of the set of pods is running properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the + selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -250,29 +495,72 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the + selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -286,15 +574,30 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". items: type: string type: array x-kubernetes-list-type: atomic topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. type: string required: - topologyKey @@ -303,22 +606,58 @@ spec: x-kubernetes-list-type: atomic type: object podAntiAffinity: + description: Describes pod anti-affinity scheduling rules (e.g. + avoid putting this pod in the same node, zone, etc. as some + other pod(s)). properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the anti-affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. The node that is + most preferred is the one with the greatest sum of weights, i.e. + for each node that meets all of the scheduling requirements (resource + request, requiredDuringScheduling anti-affinity expressions, etc.), + compute a sum by iterating through the elements of this field and adding + "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the + node(s) with the highest sum are the most preferred. items: + description: The weights of all of the matched WeightedPodAffinityTerm + fields are added per-node to find the most preferred node(s) properties: podAffinityTerm: + description: Required. A pod affinity term, associated + with the corresponding weight. properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -332,29 +671,73 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -368,20 +751,38 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". items: type: string type: array x-kubernetes-list-type: atomic topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. type: string required: - topologyKey type: object weight: + description: |- + weight associated with matching the corresponding podAffinityTerm, + in the range 1-100. format: int32 type: integer required: @@ -391,18 +792,51 @@ spec: type: array x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the anti-affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. + If the anti-affinity requirements specified by this field cease to be met + at some point during pod execution (e.g. due to a pod label update), the + system may or may not try to eventually evict the pod from its node. + When there are multiple elements, the lists of nodes corresponding to each + podAffinityTerm are intersected, i.e. all terms must be satisfied. items: + description: |- + Defines a set of pods (namely those matching the labelSelector + relative to the given namespace(s)) that this pod should be + co-located (affinity) or not co-located (anti-affinity) with, + where co-located is defined as running on a node whose value of + the label with key matches that of any node on which + a pod of the set of pods is running properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the + selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -416,29 +850,72 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the + selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -452,15 +929,30 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". items: type: string type: array x-kubernetes-list-type: atomic topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. type: string required: - topologyKey @@ -470,30 +962,59 @@ spec: type: object type: object archiveLogs: + description: ArchiveLogs indicates if the container logs should be + archived type: boolean arguments: + description: |- + Arguments contain the parameters and artifacts sent to the workflow entrypoint + Parameters are referencable globally using the 'workflow' variable prefix. + e.g. {{workflow.parameters.myparam}} properties: artifacts: + description: Artifacts is the list of artifacts to pass to the + template or workflow items: + description: Artifact indicates an artifact to place at a specified + path properties: archive: + description: Archive controls how the artifact will be saved + to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and gzip the file + or directory when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip zipped input artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the container logs + should be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy to use when + to deleting an artifact from completed or deleted workflows properties: podMetadata: + description: PodMetadata is an optional field for specifying + the Labels and Annotations that should be assigned + to the Pod doing the deletion properties: annotations: additionalProperties: @@ -505,8 +1026,12 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an optional field + for specifying the Service Account that should be + assigned to the Pod doing the deletion type: string strategy: + description: Strategy is the strategy to use. enum: - "" - OnWorkflowCompletion @@ -515,30 +1040,57 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory artifact location + details properties: passwordSecret: + description: PasswordSecret is the secret selector to + the repository password properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret selector to + the repository username properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -548,27 +1100,49 @@ spec: - url type: object azure: + description: Azure contains Azure Storage artifact location + details properties: accountKeySecret: + description: AccountKeySecret is the secret selector + to the Azure Blob Storage account access key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., path) in the + container where the artifact resides type: string container: + description: Container is the container where resources + will be stored type: string endpoint: + description: Endpoint is the service url associated + with an account. It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - blob @@ -576,25 +1150,46 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to reference an artifact + from a previous step type: string fromExpression: + description: FromExpression, if defined, is evaluated to + specify the value for the artifact type: string gcs: + description: GCS contains GCS artifact location details properties: bucket: + description: Bucket is the name of the bucket type: string key: + description: Key is the path in the bucket where the + artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is the secret selector + to the bucket's service account key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -604,62 +1199,117 @@ spec: - key type: object git: + description: Git contains git artifact location details properties: branch: + description: Branch is the branch to fetch when `SingleBranch` + is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables submodules during + git clone type: boolean fetch: + description: Fetch specifies a number of refs that should + be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables SSH strict + host key checking during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables server certificate + verification resulting in insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret selector to + the repository password properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, tag, branch + to checkout type: string singleBranch: + description: SingleBranch enables single branch clone, + using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the secret selector + to the repository ssh private key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector to + the repository username properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -669,96 +1319,186 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact location details properties: addresses: + description: Addresses is accessible addresses of HDFS + name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly even if it + exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location details properties: auth: + description: Auth contains information for client authentication properties: basicAuth: + description: BasicAuth describes the secret selectors + required for basic authentication properties: passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -766,28 +1506,54 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds necessary information + for client authentication via certificates properties: clientCertSecret: + description: SecretKeySelector selects a key + of a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector selects a key + of a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -795,28 +1561,54 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all information for + client authentication via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector selects a key + of a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector selects a key + of a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -824,10 +1616,16 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is for requesting + optional fields that should be sent in the + oauth request properties: key: + description: Name is the header name type: string value: + description: Value is the literal value + to use for the header type: string required: - key @@ -838,13 +1636,25 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector selects a key + of a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -853,11 +1663,18 @@ spec: type: object type: object headers: + description: Headers are an optional list of headers + to send with HTTP requests for artifacts items: + description: Header indicate a key-value request header + to be used when fetching artifacts over HTTP properties: name: + description: Name is the header name type: string value: + description: Value is the literal value to use + for the header type: string required: - name @@ -865,131 +1682,272 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must be unique within + a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if Artifacts doesn't + generate or exist type: boolean oss: + description: OSS contains OSS artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the driver + to attempt to create the OSS bucket for output artifacts, + if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string key: + description: Key is the path in the bucket where the + artifact resides type: string lifecycleRule: + description: LifecycleRule specifies how to manage bucket's + lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays is the number + of days before we delete objects in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays is the + number of days before we convert the objects in + the bucket to Infrequent Access (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s temporary + security token. For more details, check out: https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container path to the artifact type: string + plugin: + description: Plugin contains plugin artifact location details + properties: + configuration: + description: Configuration is the plugin defined configuration + for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds is the timeout + for the artifact driver connection, overriding the + driver's timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact repository + where the artifact resides + type: string + name: + description: Name is the name of the artifact driver + plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location details properties: data: + description: Data is the string contents of the artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission recursively + into the artifact if it is a folder type: boolean s3: + description: S3 contains S3 artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string caSecret: + description: CASecret specifies the secret that contains + the CA, used to verify the TLS connection properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the driver + to attempt to create the S3 bucket for output artifacts, + if it doesn't exist. Setting Enabled Encryption will + apply either SSE-S3 to the bucket if KmsKeyId is not + set or SSE-KMS if it is. properties: objectLocking: + description: ObjectLocking Enable object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used to determine encryption + options during s3 operations properties: enableEncryption: + description: EnableEncryption tells the driver to + encrypt objects if set to true. If kmsKeyId and + serverSideCustomerKeySecret are not set, SSE-S3 + will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext is a json blob + that contains an encryption context. See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver to encrypt + the object using the specified KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret tells the + driver to encrypt the output artifacts using SSE-C + with the specified secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key @@ -997,97 +1955,194 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string insecure: + description: Insecure will connect to the service with + TLS type: boolean key: + description: Key is the key in the bucket where the + artifact resides type: string region: + description: Region contains the optional bucket region type: string roleARN: + description: RoleARN is the Amazon Resource Name (ARN) + of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used for ephemeral + credentials like an IAM assume role or S3 access grant properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact to be sourced from + a subpath within the specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : 0) + + (has(self.http) ? 1 : 0) + (has(self.artifactory) ? 1 : + 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) ? 1 : 0) + + (has(self.oss) ? 1 : 0) + (has(self.gcs) ? 1 : 0) + (has(self.azure) + ? 1 : 0) + (has(self.plugin) ? 1 : 0) <= 1' type: array parameters: + description: Parameters is the list of parameters to pass to the + template or workflow items: + description: Parameter indicate a passed string parameter to + a service template with an optional default value properties: default: + description: Default is the default value to use for an + input parameter if a value was not supplied type: string description: + description: Description is the parameter description type: string enum: + description: Enum holds a list of string values to choose + from, for the actual value of the parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source for the output parameter's + value properties: configMapKeyRef: + description: ConfigMapKeyRef is configmap selector for + input parameter configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies a value to be used if + retrieving the value from the specified source fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the event to get the value + of the parameter. E.g. `payload.message` type: string expression: + description: Expression, if defined, is evaluated to + specify the value for the parameter type: string jqFilter: + description: JQFilter expression against the resource + object in resource templates type: string jsonPath: + description: JSONPath of a resource to retrieve an output + parameter value from in resource templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container to retrieve an output + parameter value from in container templates type: string supplied: + description: Supplied value to be filled in directly, + either through the CLI, API, etc. type: object type: object required: @@ -1096,10 +2151,18 @@ spec: type: array type: object artifactGC: + description: |- + ArtifactGC describes the strategy to use when deleting artifacts from completed or deleted workflows (applies to all output Artifacts + unless Artifact.ArtifactGC is specified, which overrides this) properties: forceFinalizerRemoval: + description: 'ForceFinalizerRemoval: if set to true, the finalizer + will be removed in the case that Artifact GC fails' type: boolean podMetadata: + description: PodMetadata is an optional field for specifying the + Labels and Annotations that should be assigned to the Pod doing + the deletion properties: annotations: additionalProperties: @@ -1111,10 +2174,16 @@ spec: type: object type: object podSpecPatch: + description: PodSpecPatch holds strategic merge patch to apply + against the artgc pod spec. type: string serviceAccountName: + description: ServiceAccountName is an optional field for specifying + the Service Account that should be assigned to the Pod doing + the deletion type: string strategy: + description: Strategy is the strategy to use. enum: - "" - OnWorkflowCompletion @@ -1123,72 +2192,141 @@ spec: type: string type: object artifactRepositoryRef: + description: ArtifactRepositoryRef specifies the configMap name and + key containing the artifact repository config. properties: configMap: + description: The name of the config map. Defaults to "artifact-repositories". type: string key: + description: The config map key. Defaults to the value of the + "workflows.argoproj.io/default-artifact-repository" annotation. type: string type: object automountServiceAccountToken: + description: |- + AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in pods. + ServiceAccountName of ExecutorConfig must be specified if this value is false. type: boolean dnsConfig: + description: |- + PodDNSConfig defines the DNS parameters of a pod in addition to + those generated from DNSPolicy. properties: nameservers: + description: |- + A list of DNS name server IP addresses. + This will be appended to the base nameservers generated from DNSPolicy. + Duplicated nameservers will be removed. items: type: string type: array x-kubernetes-list-type: atomic options: + description: |- + A list of DNS resolver options. + This will be merged with the base options generated from DNSPolicy. + Duplicated entries will be removed. Resolution options given in Options + will override those that appear in the base DNSPolicy. items: + description: PodDNSConfigOption defines DNS resolver options + of a pod. properties: name: + description: |- + Name is this DNS resolver option's name. + Required. type: string value: + description: Value is this DNS resolver option's value. type: string type: object type: array x-kubernetes-list-type: atomic searches: + description: |- + A list of DNS search domains for host-name lookup. + This will be appended to the base search paths generated from DNSPolicy. + Duplicated search paths will be removed. items: type: string type: array x-kubernetes-list-type: atomic type: object dnsPolicy: + description: |- + Set DNS policy for workflow pods. + Defaults to "ClusterFirst". + Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. + DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. + To have DNS options set along with hostNetwork, you have to specify DNS policy + explicitly to 'ClusterFirstWithHostNet'. type: string entrypoint: + description: Entrypoint is a template reference to the starting point + of the workflow. type: string executor: + description: Executor holds configurations of executor containers + of the workflow. properties: serviceAccountName: + description: ServiceAccountName specifies the service account + name of the executor container. type: string type: object hooks: additionalProperties: properties: arguments: + description: Arguments hold arguments to the template properties: artifacts: + description: Artifacts is the list of artifacts to pass + to the template or workflow items: + description: Artifact indicates an artifact to place at + a specified path properties: archive: + description: Archive controls how the artifact will + be saved to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and gzip the + file or directory when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip zipped input + artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the container + logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy to + use when to deleting an artifact from completed + or deleted workflows properties: podMetadata: + description: PodMetadata is an optional field + for specifying the Labels and Annotations that + should be assigned to the Pod doing the deletion properties: annotations: additionalProperties: @@ -1200,8 +2338,12 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an optional + field for specifying the Service Account that + should be assigned to the Pod doing the deletion type: string strategy: + description: Strategy is the strategy to use. enum: - "" - OnWorkflowCompletion @@ -1210,30 +2352,57 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory artifact + location details properties: passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -1243,27 +2412,49 @@ spec: - url type: object azure: + description: Azure contains Azure Storage artifact + location details properties: accountKeySecret: + description: AccountKeySecret is the secret selector + to the Azure Blob Storage account access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., path) + in the container where the artifact resides type: string container: + description: Container is the container where + resources will be stored type: string endpoint: + description: Endpoint is the service url associated + with an account. It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - blob @@ -1271,25 +2462,46 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to reference + an artifact from a previous step type: string fromExpression: + description: FromExpression, if defined, is evaluated + to specify the value for the artifact type: string gcs: + description: GCS contains GCS artifact location details properties: bucket: + description: Bucket is the name of the bucket type: string key: + description: Key is the path in the bucket where + the artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is the secret + selector to the bucket's service account key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -1299,62 +2511,117 @@ spec: - key type: object git: + description: Git contains git artifact location details properties: branch: + description: Branch is the branch to fetch when + `SingleBranch` is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables submodules + during git clone type: boolean fetch: + description: Fetch specifies a number of refs + that should be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables SSH + strict host key checking during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables server certificate + verification resulting in insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, tag, + branch to checkout type: string singleBranch: + description: SingleBranch enables single branch + clone, using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the secret + selector to the repository ssh private key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -1364,96 +2631,191 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact location + details properties: addresses: + description: Addresses is accessible addresses + of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly even + if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location + details properties: auth: + description: Auth contains information for client + authentication properties: basicAuth: + description: BasicAuth describes the secret + selectors required for basic authentication properties: passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -1461,28 +2823,57 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds necessary + information for client authentication via + certificates properties: clientCertSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -1490,28 +2881,56 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all information + for client authentication via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -1519,10 +2938,17 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is for requesting + optional fields that should be sent + in the oauth request properties: key: + description: Name is the header + name type: string value: + description: Value is the literal + value to use for the header type: string required: - key @@ -1533,13 +2959,26 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -1548,11 +2987,19 @@ spec: type: object type: object headers: + description: Headers are an optional list of headers + to send with HTTP requests for artifacts items: + description: Header indicate a key-value request + header to be used when fetching artifacts + over HTTP properties: name: + description: Name is the header name type: string value: + description: Value is the literal value + to use for the header type: string required: - name @@ -1560,131 +3007,281 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must be unique + within a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if Artifacts + doesn't generate or exist type: boolean oss: + description: OSS contains OSS artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the + driver to attempt to create the OSS bucket for + output artifacts, if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string key: + description: Key is the path in the bucket where + the artifact resides type: string lifecycleRule: + description: LifecycleRule specifies how to manage + bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays is the + number of days before we delete objects + in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before we convert + the objects in the bucket to Infrequent + Access (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s temporary + security token. For more details, check out: + https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container path to the artifact type: string + plugin: + description: Plugin contains plugin artifact location + details + properties: + configuration: + description: Configuration is the plugin defined + configuration for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds is the timeout + for the artifact driver connection, overriding + the driver's timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact repository + where the artifact resides + type: string + name: + description: Name is the name of the artifact + driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location details properties: data: + description: Data is the string contents of the + artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission + recursively into the artifact if it is a folder type: boolean s3: + description: S3 contains S3 artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string caSecret: + description: CASecret specifies the secret that + contains the CA, used to verify the TLS connection properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the + driver to attempt to create the S3 bucket for + output artifacts, if it doesn't exist. Setting + Enabled Encryption will apply either SSE-S3 + to the bucket if KmsKeyId is not set or SSE-KMS + if it is. properties: objectLocking: + description: ObjectLocking Enable object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used to determine + encryption options during s3 operations properties: enableEncryption: + description: EnableEncryption tells the driver + to encrypt objects if set to true. If kmsKeyId + and serverSideCustomerKeySecret are not + set, SSE-S3 will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext is a json + blob that contains an encryption context. + See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver to + encrypt the object using the specified KMS + Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret tells + the driver to encrypt the output artifacts + using SSE-C with the specified secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -1692,97 +3289,199 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string insecure: + description: Insecure will connect to the service + with TLS type: boolean key: + description: Key is the key in the bucket where + the artifact resides type: string region: + description: Region contains the optional bucket + region type: string roleARN: + description: RoleARN is the Amazon Resource Name + (ARN) of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used for ephemeral + credentials like an IAM assume role or S3 access + grant properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact to be sourced + from a subpath within the specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : + 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array parameters: + description: Parameters is the list of parameters to pass + to the template or workflow items: + description: Parameter indicate a passed string parameter + to a service template with an optional default value properties: default: + description: Default is the default value to use for + an input parameter if a value was not supplied type: string description: + description: Description is the parameter description type: string enum: + description: Enum holds a list of string values to + choose from, for the actual value of the parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source for the output + parameter's value properties: configMapKeyRef: + description: ConfigMapKeyRef is configmap selector + for input parameter configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies a value to be used + if retrieving the value from the specified source + fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the event to get the + value of the parameter. E.g. `payload.message` type: string expression: + description: Expression, if defined, is evaluated + to specify the value for the parameter type: string jqFilter: + description: JQFilter expression against the resource + object in resource templates type: string jsonPath: + description: JSONPath of a resource to retrieve + an output parameter value from in resource templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container to retrieve + an output parameter value from in container + templates type: string supplied: + description: Supplied value to be filled in directly, + either through the CLI, API, etc. type: object type: object required: @@ -1791,87 +3490,161 @@ spec: type: array type: object expression: + description: |- + Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not + be retried and the retry strategy will be ignored type: string template: + description: Template is the name of the template to execute + by the hook type: string templateRef: + description: TemplateRef is the reference to the template resource + to execute by the hook properties: clusterScope: + description: ClusterScope indicates the referred template + is cluster scoped (i.e. a ClusterWorkflowTemplate). type: boolean name: + description: Name is the resource name of the template. type: string template: + description: Template is the name of referred template in + the resource. type: string type: object type: object + description: |- + Hooks holds the lifecycle hook which is invoked at lifecycle of + step, irrespective of the success, failure, or error status of the primary step type: object hostAliases: items: + description: |- + HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the + pod's hosts file. properties: hostnames: + description: Hostnames for the above IP address. items: type: string type: array x-kubernetes-list-type: atomic ip: + description: IP address of the host file entry. type: string required: - ip type: object type: array hostNetwork: + description: Host networking requested for this workflow pod. Default + to false. type: boolean imagePullSecrets: + description: |- + ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images + in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets + can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. + More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod items: + description: |- + LocalObjectReference contains enough information to let you locate the + referenced object inside the same namespace. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic type: array metrics: + description: Metrics are a list of metrics emitted from this Workflow properties: prometheus: + description: |- + Prometheus is a list of prometheus metrics to be emitted + MaxItems is an artificial limit to limit CEL validation costs - see note at top of file items: + description: Prometheus is a prometheus metric to be emitted properties: counter: + description: Counter is a counter metric properties: value: + description: Value is the value of the metric + minLength: 1 type: string required: - value type: object gauge: + description: Gauge is a gauge metric properties: operation: + description: Operation defines the operation to apply + with value and the metrics' current value + enum: + - Set + - Add + - Sub type: string realtime: + description: Realtime emits this metric in real time + if applicable type: boolean value: + description: |- + Value is the value to be used in the operation with the metric's current value. If no operation is set, + value is the value of the metric + MaxLength is an artificial limit to limit CEL validation costs - see note at top of file + maxLength: 256 + minLength: 1 type: string required: - realtime - value type: object + x-kubernetes-validations: + - message: '''resourcesDuration.*'' metrics cannot be used + in real-time gauges' + rule: '!has(self.realtime) || !self.realtime || !self.value.contains(''resourcesDuration.'')' help: + description: Help is a string that describes the metric + minLength: 1 type: string histogram: + description: Histogram is a histogram metric properties: buckets: + description: Buckets is a list of bucket divisors for + the histogram items: type: number type: array value: + description: Value is the value of the metric + minLength: 1 type: string required: - buckets - value type: object labels: + description: Labels is a list of metric labels items: + description: MetricLabel is a single label for a prometheus + metric properties: key: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ type: string value: type: string @@ -1881,13 +3654,18 @@ spec: type: object type: array name: + description: Name is the name of the metric + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ type: string when: + description: When is a conditional statement that decides + when to emit the metric type: string required: - help - name type: object + maxItems: 100 type: array required: - prometheus @@ -1895,34 +3673,79 @@ spec: nodeSelector: additionalProperties: type: string + description: |- + NodeSelector is a selector which will result in all pods of the workflow + to be scheduled on the selected node(s). This is able to be overridden by + a nodeSelector specified in the template. type: object onExit: + description: |- + OnExit is a template reference which is invoked at the end of the + workflow, irrespective of the success, failure, or error of the + primary workflow. type: string parallelism: + description: Parallelism limits the max total parallel pods that can + execute at the same time in a workflow format: int64 + minimum: 1 type: integer podDisruptionBudget: + description: |- + PodDisruptionBudget holds the number of concurrent disruptions that you allow for Workflow's Pods. + Controller will automatically add the selector with workflow name, if selector is empty. + Optional: Defaults to empty. properties: maxUnavailable: anyOf: - type: integer - type: string + description: |- + An eviction is allowed if at most "maxUnavailable" pods selected by + "selector" are unavailable after the eviction, i.e. even in absence of + the evicted pod. For example, one can prevent all voluntary evictions + by specifying 0. This is a mutually exclusive setting with "minAvailable". x-kubernetes-int-or-string: true minAvailable: anyOf: - type: integer - type: string + description: |- + An eviction is allowed if at least "minAvailable" pods selected by + "selector" will still be available after the eviction, i.e. even in the + absence of the evicted pod. So for example you can prevent all voluntary + evictions by specifying "100%". x-kubernetes-int-or-string: true selector: + description: |- + Label query over pods whose evictions are managed by the disruption + budget. + A null selector will match no pods, while an empty ({}) selector will select + all pods within the namespace. properties: matchExpressions: + description: matchExpressions is a list of label selector + requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the selector + applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -1936,26 +3759,74 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic unhealthyPodEvictionPolicy: + description: |- + UnhealthyPodEvictionPolicy defines the criteria for when unhealthy pods + should be considered for eviction. Current implementation considers healthy pods, + as pods that have status.conditions item with type="Ready",status="True". + + Valid policies are IfHealthyBudget and AlwaysAllow. + If no policy is specified, the default behavior will be used, + which corresponds to the IfHealthyBudget policy. + + IfHealthyBudget policy means that running pods (status.phase="Running"), + but not yet healthy can be evicted only if the guarded application is not + disrupted (status.currentHealthy is at least equal to status.desiredHealthy). + Healthy pods will be subject to the PDB for eviction. + + AlwaysAllow policy means that all running pods (status.phase="Running"), + but not yet healthy are considered disrupted and can be evicted regardless + of whether the criteria in a PDB is met. This means perspective running + pods of a disrupted application might not get a chance to become healthy. + Healthy pods will be subject to the PDB for eviction. + + Additional policies may be added in the future. + Clients making eviction decisions should disallow eviction of unhealthy pods + if they encounter an unrecognized policy in this field. type: string type: object podGC: + description: PodGC describes the strategy to use when deleting completed + pods properties: deleteDelayDuration: + description: DeleteDelayDuration specifies the duration before + pods in the GC queue get deleted. type: string labelSelector: + description: LabelSelector is the label selector to check if the + pods match the labels before being added to the pod GC queue. properties: matchExpressions: + description: matchExpressions is a list of label selector + requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the selector + applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -1969,13 +3840,28 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic strategy: + description: Strategy is the strategy to use. One of "OnPodCompletion", + "OnPodSuccess", "OnWorkflowCompletion", "OnWorkflowSuccess". + If unset, does not delete Pods + enum: + - "" + - OnPodCompletion + - OnPodSuccess + - OnWorkflowCompletion + - OnWorkflowSuccess type: string type: object podMetadata: + description: PodMetadata defines additional metadata that should be + applied to workflow pods properties: annotations: additionalProperties: @@ -1987,105 +3873,283 @@ spec: type: object type: object podPriorityClassName: + description: PriorityClassName to apply to workflow pods. type: string podSpecPatch: + description: |- + PodSpecPatch holds strategic merge patch to apply against the pod spec. Allows parameterization of + container fields which are not strings (e.g. resource limits). type: string priority: + description: Priority is used if controller is configured to process + limited number of workflows in parallel. Workflows with higher priority + are processed first. format: int32 type: integer retryStrategy: + description: RetryStrategy for all templates in the workflow. properties: affinity: + description: Affinity prevents running workflow's step on the + same host properties: nodeAntiAffinity: + description: |- + RetryNodeAntiAffinity is a placeholder for future expansion, only empty nodeAntiAffinity is allowed. + In order to prevent running steps on the same host, it uses "kubernetes.io/hostname". type: object type: object backoff: + description: Backoff is a backoff strategy properties: cap: + description: |- + Cap is a limit on revised values of the duration parameter. If a + multiplication by the factor parameter would make the duration + exceed the cap then the duration is set to the cap type: string duration: + description: Duration is the amount to back off. Default unit + is seconds, but could also be a duration (e.g. "2m", "1h") type: string factor: anyOf: - type: integer - type: string + description: Factor is a factor to multiply the base duration + after each failed retry x-kubernetes-int-or-string: true maxDuration: + description: |- + MaxDuration is the maximum amount of time allowed for a workflow in the backoff strategy. + It is important to note that if the workflow template includes activeDeadlineSeconds, the pod's deadline is initially set with activeDeadlineSeconds. + However, when the workflow fails, the pod's deadline is then overridden by maxDuration. + This ensures that the workflow does not exceed the specified maximum duration when retries are involved. type: string type: object expression: + description: |- + Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not + be retried and the retry strategy will be ignored type: string limit: anyOf: - type: integer - type: string + description: |- + Limit is the maximum number of retry attempts when retrying a container. It does not include the original + container; the maximum number of total attempts will be `limit + 1`. x-kubernetes-int-or-string: true retryPolicy: + description: RetryPolicy is a policy of NodePhase statuses that + will be retried + enum: + - Always + - OnFailure + - OnError + - OnTransientError type: string type: object schedulerName: + description: |- + Set scheduler name for all pods. + Will be overridden if container/script template's scheduler name is set. + Default scheduler will be used if neither specified. type: string securityContext: + description: |- + SecurityContext holds pod-level security attributes and common container settings. + Optional: Defaults to empty. See type description for default values of each field. properties: appArmorProfile: + description: |- + appArmorProfile is the AppArmor options to use by the containers in this pod. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile loaded on the node that should be used. + The profile must be preconfigured on the node to work. + Must match the loaded name of the profile. + Must be set if and only if type is "Localhost". type: string type: + description: |- + type indicates which kind of AppArmor profile will be applied. + Valid options are: + Localhost - a profile pre-loaded on the node. + RuntimeDefault - the container runtime's default profile. + Unconfined - no AppArmor enforcement. type: string required: - type type: object fsGroup: + description: |- + A special supplemental group that applies to all containers in a pod. + Some volume types allow the Kubelet to change the ownership of that volume + to be owned by the pod: + + 1. The owning GID will be the FSGroup + 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) + 3. The permission bits are OR'd with rw-rw---- + + If unset, the Kubelet will not modify the ownership and permissions of any volume. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer fsGroupChangePolicy: + description: |- + fsGroupChangePolicy defines behavior of changing ownership and permission of the volume + before being exposed inside Pod. This field will only apply to + volume types which support fsGroup based ownership(and permissions). + It will have no effect on ephemeral volume types such as: secret, configmaps + and emptydir. + Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used. + Note that this field cannot be set when spec.os.name is windows. type: string runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in SecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence + for that container. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer runAsNonRoot: + description: |- + Indicates that the container must run as a non-root user. + If true, the Kubelet will validate the image at runtime to ensure that it + does not run as UID 0 (root) and fail to start the container if it does. + If unset or false, no such validation will be performed. + May also be set in SecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in SecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence + for that container. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer seLinuxChangePolicy: + description: |- + seLinuxChangePolicy defines how the container's SELinux label is applied to all volumes used by the Pod. + It has no effect on nodes that do not support SELinux or to volumes does not support SELinux. + Valid values are "MountOption" and "Recursive". + + "Recursive" means relabeling of all files on all Pod volumes by the container runtime. + This may be slow for large volumes, but allows mixing privileged and unprivileged Pods sharing the same volume on the same node. + + "MountOption" mounts all eligible Pod volumes with `-o context` mount option. + This requires all Pods that share the same volume to use the same SELinux label. + It is not possible to share the same volume among privileged and unprivileged Pods. + Eligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes + whose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their + CSIDriver instance. Other volumes are always re-labelled recursively. + "MountOption" value is allowed only when SELinuxMount feature gate is enabled. + + If not specified and SELinuxMount feature gate is enabled, "MountOption" is used. + If not specified and SELinuxMount feature gate is disabled, "MountOption" is used for ReadWriteOncePod volumes + and "Recursive" for all other volumes. + + This field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers. + + All Pods that use the same volume should use the same seLinuxChangePolicy, otherwise some pods can get stuck in ContainerCreating state. + Note that this field cannot be set when spec.os.name is windows. type: string seLinuxOptions: + description: |- + The SELinux context to be applied to all containers. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in SecurityContext. If set in + both SecurityContext and PodSecurityContext, the value specified in SecurityContext + takes precedence for that container. + Note that this field cannot be set when spec.os.name is windows. properties: level: + description: Level is SELinux level label that applies to + the container. type: string role: + description: Role is a SELinux role label that applies to + the container. type: string type: + description: Type is a SELinux type label that applies to + the container. type: string user: + description: User is a SELinux user label that applies to + the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by the containers in this pod. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. + Must be a descending path, relative to the kubelet's configured seccomp profile location. + Must be set if type is "Localhost". Must NOT be set for any other type. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + Localhost - a profile defined in a file on the node should be used. + RuntimeDefault - the container runtime default profile should be used. + Unconfined - no profile should be applied. type: string required: - type type: object supplementalGroups: + description: |- + A list of groups applied to the first process run in each container, in + addition to the container's primary GID and fsGroup (if specified). If + the SupplementalGroupsPolicy feature is enabled, the + supplementalGroupsPolicy field determines whether these are in addition + to or instead of any group memberships defined in the container image. + If unspecified, no additional groups are added, though group memberships + defined in the container image may still be used, depending on the + supplementalGroupsPolicy field. + Note that this field cannot be set when spec.os.name is windows. items: format: int64 type: integer type: array x-kubernetes-list-type: atomic supplementalGroupsPolicy: + description: |- + Defines how supplemental groups of the first container processes are calculated. + Valid values are "Merge" and "Strict". If not specified, "Merge" is used. + (Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled + and the container runtime must implement support for this feature. + Note that this field cannot be set when spec.os.name is windows. type: string sysctls: + description: |- + Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported + sysctls (by the container runtime) might fail to launch. + Note that this field cannot be set when spec.os.name is windows. items: + description: Sysctl defines a kernel parameter to be set properties: name: + description: Name of a property to set type: string value: + description: Value of a property to set type: string required: - name @@ -2094,87 +4158,106 @@ spec: type: array x-kubernetes-list-type: atomic windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options within a container's SecurityContext will be used. + If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is linux. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name of the GMSA + credential spec to use. type: string hostProcess: + description: |- + HostProcess determines if a container should be run as a 'Host Process' container. + All of a Pod's containers must have the same effective HostProcess value + (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + In addition, if HostProcess is true then HostNetwork must also be set to true. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: string type: object type: object serviceAccountName: + description: ServiceAccountName is the name of the ServiceAccount + to run all pods of the workflow as. type: string shutdown: + description: Shutdown will shutdown the workflow according to its + ShutdownStrategy type: string suspend: + description: Suspend will suspend the workflow and prevent execution + of any future steps in the workflow type: boolean synchronization: + description: Synchronization holds synchronization lock configuration + for this Workflow properties: - mutex: - properties: - database: - type: boolean - name: - type: string - namespace: - type: string - type: object mutexes: + description: 'v3.6 and after: Mutexes holds the list of Mutex + lock details' items: + description: Mutex holds Mutex configuration properties: database: + description: Database specifies this is database controlled + if this is set true type: boolean name: + description: name of the mutex type: string namespace: + description: 'Namespace is the namespace of the mutex, default: + [namespace of workflow]' type: string type: object type: array - semaphore: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - database: - properties: - key: - type: string - required: - - key - type: object - namespace: - type: string - type: object semaphores: + description: 'v3.6 and after: Semaphores holds the list of Semaphores + configuration' items: + description: SemaphoreRef is a reference of Semaphore properties: configMapKeyRef: + description: ConfigMapKeyRef is a configmap selector for + Semaphore configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic database: + description: SyncDatabaseRef is a database reference for + Semaphore configuration properties: key: type: string @@ -2182,11 +4265,16 @@ spec: - key type: object namespace: + description: 'Namespace is the namespace of the configmap, + default: [namespace of workflow]' type: string type: object type: array type: object templateDefaults: + description: |- + TemplateDefaults holds default template values that will apply to all templates in the Workflow, unless overridden on the template-level. + All nested field descriptions have been dropped due to Kubernetes size limitations. properties: activeDeadlineSeconds: anyOf: @@ -3039,6 +5127,20 @@ spec: required: - key type: object + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -3143,6 +5245,13 @@ spec: type: boolean type: object type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : 0) + (has(self.http) + ? 1 : 0) + (has(self.artifactory) ? 1 : 0) + (has(self.hdfs) + ? 1 : 0) + (has(self.raw) ? 1 : 0) + (has(self.oss) ? 1 : + 0) + (has(self.gcs) ? 1 : 0) + (has(self.azure) ? 1 : 0) + + (has(self.plugin) ? 1 : 0) <= 1' automountServiceAccountToken: type: boolean container: @@ -4959,8 +7068,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -5018,6 +7130,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -5128,6 +7254,15 @@ spec: required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be + specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) + ? 1 : 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array parameters: items: @@ -5139,10 +7274,12 @@ spec: enum: items: type: string + minItems: 1 type: array globalName: type: string name: + pattern: ^[-a-zA-Z0-9_]+$ type: string value: type: string @@ -5599,8 +7736,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -5658,6 +7798,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -5768,6 +7922,17 @@ spec: required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location + can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) + ? 1 : 0) + (has(self.http) ? 1 : 0) + + (has(self.artifactory) ? 1 : 0) + + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + + (has(self.gcs) ? 1 : 0) + (has(self.azure) + ? 1 : 0) + (has(self.plugin) ? 1 : 0) + <= 1' type: array parameters: items: @@ -5779,10 +7944,12 @@ spec: enum: items: type: string + minItems: 1 type: array globalName: type: string name: + pattern: ^[-a-zA-Z0-9_]+$ type: string value: type: string @@ -5841,6 +8008,8 @@ spec: inline: x-kubernetes-preserve-unknown-fields: true name: + maxLength: 128 + pattern: ^[a-zA-Z0-9][-a-zA-Z0-9]*$ type: string onExit: type: string @@ -5881,9 +8050,23 @@ spec: - type: string x-kubernetes-int-or-string: true type: object + x-kubernetes-validations: + - message: only one of count or end can be defined + rule: '!(has(self.count) && has(self.end))' required: - name type: object + x-kubernetes-validations: + - message: cannot use both 'depends' and 'dependencies' + rule: '!has(self.depends) || !has(self.dependencies)' + - message: cannot use 'continueOn' when using 'depends' + rule: '!has(self.depends) || !has(self.continueOn)' + - message: task name cannot begin with a digit when using + 'depends' or 'dependencies' + rule: '!(has(self.depends) || has(self.dependencies)) + || !self.name.matches(''^[0-9]'')' + maxItems: 200 + minItems: 1 type: array required: - tasks @@ -6289,8 +8472,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -6348,6 +8534,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -6458,6 +8658,14 @@ spec: required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : + 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: object transformation: items: @@ -7628,8 +9836,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -7687,6 +9898,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -7797,6 +10022,14 @@ spec: required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : 0) + + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array parameters: items: @@ -7808,10 +10041,12 @@ spec: enum: items: type: string + minItems: 1 type: array globalName: type: string name: + pattern: ^[-a-zA-Z0-9_]+$ type: string value: type: string @@ -7850,6 +10085,7 @@ spec: required: - name type: object + maxItems: 500 type: array type: object memoize: @@ -7858,15 +10094,9 @@ spec: properties: configMap: properties: - key: - type: string name: default: "" type: string - optional: - type: boolean - required: - - key type: object x-kubernetes-map-type: atomic required: @@ -7900,6 +10130,7 @@ spec: counter: properties: value: + minLength: 1 type: string required: - value @@ -7907,16 +10138,27 @@ spec: gauge: properties: operation: + enum: + - Set + - Add + - Sub type: string realtime: type: boolean value: + maxLength: 256 + minLength: 1 type: string required: - realtime - value type: object + x-kubernetes-validations: + - message: '''resourcesDuration.*'' metrics cannot be + used in real-time gauges' + rule: '!has(self.realtime) || !self.realtime || !self.value.contains(''resourcesDuration.'')' help: + minLength: 1 type: string histogram: properties: @@ -7925,6 +10167,7 @@ spec: type: number type: array value: + minLength: 1 type: string required: - buckets @@ -7934,6 +10177,7 @@ spec: items: properties: key: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ type: string value: type: string @@ -7943,6 +10187,7 @@ spec: type: object type: array name: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ type: string when: type: string @@ -7950,11 +10195,14 @@ spec: - help - name type: object + maxItems: 100 type: array required: - prometheus type: object name: + maxLength: 128 + pattern: ^[a-zA-Z0-9][-a-zA-Z0-9]*$ type: string nodeSelector: additionalProperties: @@ -8360,8 +10608,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -8419,6 +10670,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -8529,6 +10794,14 @@ spec: required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : 0) + + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array exitCode: type: string @@ -8542,10 +10815,12 @@ spec: enum: items: type: string + minItems: 1 type: array globalName: type: string name: + pattern: ^[-a-zA-Z0-9_]+$ type: string value: type: string @@ -8590,6 +10865,7 @@ spec: type: object parallelism: format: int64 + minimum: 1 type: integer plugin: type: object @@ -8601,6 +10877,13 @@ spec: resource: properties: action: + enum: + - get + - create + - apply + - delete + - replace + - patch type: string failureCondition: type: string @@ -9009,8 +11292,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -9068,6 +11354,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -9178,10 +11478,22 @@ spec: required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : + 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' required: - artifact type: object mergeStrategy: + enum: + - strategic + - merge + - json type: string setOwnerReference: type: boolean @@ -9190,6 +11502,10 @@ spec: required: - action type: object + x-kubernetes-validations: + - message: only one of manifest or manifestFrom can be specified + rule: (has(self.manifest) && !has(self.manifestFrom)) || (!has(self.manifest) + && has(self.manifestFrom)) || (!has(self.manifest) && !has(self.manifestFrom)) retryStrategy: properties: affinity: @@ -9219,6 +11535,11 @@ spec: - type: string x-kubernetes-int-or-string: true retryPolicy: + enum: + - Always + - OnFailure + - OnError + - OnTransientError type: string type: object schedulerName: @@ -11072,8 +13393,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -11131,6 +13455,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -11241,6 +13579,15 @@ spec: required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be + specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) + ? 1 : 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array parameters: items: @@ -11252,10 +13599,12 @@ spec: enum: items: type: string + minItems: 1 type: array globalName: type: string name: + pattern: ^[-a-zA-Z0-9_]+$ type: string value: type: string @@ -11706,8 +14055,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -11765,6 +14117,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -11875,6 +14241,16 @@ spec: required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can + be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) + ? 1 : 0) + (has(self.http) ? 1 : 0) + + (has(self.artifactory) ? 1 : 0) + (has(self.hdfs) + ? 1 : 0) + (has(self.raw) ? 1 : 0) + (has(self.oss) + ? 1 : 0) + (has(self.gcs) ? 1 : 0) + (has(self.azure) + ? 1 : 0) + (has(self.plugin) ? 1 : 0) + <= 1' type: array parameters: items: @@ -11886,10 +14262,12 @@ spec: enum: items: type: string + minItems: 1 type: array globalName: type: string name: + pattern: ^[-a-zA-Z0-9_]+$ type: string value: type: string @@ -11948,6 +14326,8 @@ spec: inline: x-kubernetes-preserve-unknown-fields: true name: + maxLength: 128 + pattern: ^[a-zA-Z0-9][-a-zA-Z0-9]*$ type: string onExit: type: string @@ -11988,8 +14368,12 @@ spec: - type: string x-kubernetes-int-or-string: true type: object + x-kubernetes-validations: + - message: only one of count or end can be defined + rule: '!(has(self.count) && has(self.end))' type: object type: array + minItems: 1 type: array suspend: properties: @@ -11998,15 +14382,6 @@ spec: type: object synchronization: properties: - mutex: - properties: - database: - type: boolean - name: - type: string - namespace: - type: string - type: object mutexes: items: properties: @@ -12018,31 +14393,6 @@ spec: type: string type: object type: array - semaphore: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - database: - properties: - key: - type: string - required: - - key - type: object - namespace: - type: string - type: object semaphores: items: properties: @@ -12891,30 +15241,75 @@ spec: type: array type: object templates: + description: |- + Templates is a list of workflow templates used in a workflow + MaxItems is an artificial limit to limit CEL validation costs - see note at top of file items: + description: Template is a reusable and composable unit of execution + in a workflow properties: activeDeadlineSeconds: anyOf: - type: integer - type: string + description: |- + Optional duration in seconds relative to the StartTime that the pod may be active on a node + before the system actively tries to terminate the pod; value must be positive integer + This field is only applicable to container and script templates. x-kubernetes-int-or-string: true affinity: + description: |- + Affinity sets the pod's scheduling constraints + Overrides the affinity set at the workflow level (if any) properties: nodeAffinity: + description: Describes node affinity scheduling rules for + the pod. properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. The node that is + most preferred is the one with the greatest sum of weights, i.e. + for each node that meets all of the scheduling requirements (resource + request, requiredDuringScheduling affinity expressions, etc.), + compute a sum by iterating through the elements of this field and adding + "weight" to the sum if the node matches the corresponding matchExpressions; the + node(s) with the highest sum are the most preferred. items: + description: |- + An empty preferred scheduling term matches all objects with implicit weight 0 + (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op). properties: preference: + description: A node selector term, associated + with the corresponding weight. properties: matchExpressions: + description: A list of node selector requirements + by node's labels. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the + selector applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. items: type: string type: array @@ -12926,13 +15321,29 @@ spec: type: array x-kubernetes-list-type: atomic matchFields: + description: A list of node selector requirements + by node's fields. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the + selector applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. items: type: string type: array @@ -12946,6 +15357,9 @@ spec: type: object x-kubernetes-map-type: atomic weight: + description: Weight associated with matching the + corresponding nodeSelectorTerm, in the range + 1-100. format: int32 type: integer required: @@ -12955,18 +15369,46 @@ spec: type: array x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. + If the affinity requirements specified by this field cease to be met + at some point during pod execution (e.g. due to an update), the system + may or may not try to eventually evict the pod from its node. properties: nodeSelectorTerms: + description: Required. A list of node selector terms. + The terms are ORed. items: + description: |- + A null or empty node selector term matches no objects. The requirements of + them are ANDed. + The TopologySelectorTerm type implements a subset of the NodeSelectorTerm. properties: matchExpressions: + description: A list of node selector requirements + by node's labels. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the + selector applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. items: type: string type: array @@ -12978,13 +15420,29 @@ spec: type: array x-kubernetes-list-type: atomic matchFields: + description: A list of node selector requirements + by node's fields. items: + description: |- + A node selector requirement is a selector that contains values, a key, and an operator + that relates the key and values. properties: key: + description: The label key that the + selector applies to. type: string operator: + description: |- + Represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt. type: string values: + description: |- + An array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. If the operator is Gt or Lt, the values + array must have a single element, which will be interpreted as an integer. + This array is replaced during a strategic merge patch. items: type: string type: array @@ -13005,22 +15463,59 @@ spec: x-kubernetes-map-type: atomic type: object podAffinity: + description: Describes pod affinity scheduling rules (e.g. + co-locate this pod in the same node, zone, etc. as some + other pod(s)). properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. The node that is + most preferred is the one with the greatest sum of weights, i.e. + for each node that meets all of the scheduling requirements (resource + request, requiredDuringScheduling affinity expressions, etc.), + compute a sum by iterating through the elements of this field and adding + "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the + node(s) with the highest sum are the most preferred. items: + description: The weights of all of the matched WeightedPodAffinityTerm + fields are added per-node to find the most preferred + node(s) properties: podAffinityTerm: + description: Required. A pod affinity term, associated + with the corresponding weight. properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The + requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key + that the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -13034,29 +15529,73 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The + requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key + that the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -13070,20 +15609,38 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". items: type: string type: array x-kubernetes-list-type: atomic topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. type: string required: - topologyKey type: object weight: + description: |- + weight associated with matching the corresponding podAffinityTerm, + in the range 1-100. format: int32 type: integer required: @@ -13093,18 +15650,52 @@ spec: type: array x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. + If the affinity requirements specified by this field cease to be met + at some point during pod execution (e.g. due to a pod label update), the + system may or may not try to eventually evict the pod from its node. + When there are multiple elements, the lists of nodes corresponding to each + podAffinityTerm are intersected, i.e. all terms must be satisfied. items: + description: |- + Defines a set of pods (namely those matching the labelSelector + relative to the given namespace(s)) that this pod should be + co-located (affinity) or not co-located (anti-affinity) with, + where co-located is defined as running on a node whose value of + the label with key matches that of any node on which + a pod of the set of pods is running properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of + label selector requirements. The requirements + are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -13118,29 +15709,73 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. properties: matchExpressions: + description: matchExpressions is a list of + label selector requirements. The requirements + are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -13154,15 +15789,30 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". items: type: string type: array x-kubernetes-list-type: atomic topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. type: string required: - topologyKey @@ -13171,22 +15821,59 @@ spec: x-kubernetes-list-type: atomic type: object podAntiAffinity: + description: Describes pod anti-affinity scheduling rules + (e.g. avoid putting this pod in the same node, zone, etc. + as some other pod(s)). properties: preferredDuringSchedulingIgnoredDuringExecution: + description: |- + The scheduler will prefer to schedule pods to nodes that satisfy + the anti-affinity expressions specified by this field, but it may choose + a node that violates one or more of the expressions. The node that is + most preferred is the one with the greatest sum of weights, i.e. + for each node that meets all of the scheduling requirements (resource + request, requiredDuringScheduling anti-affinity expressions, etc.), + compute a sum by iterating through the elements of this field and adding + "weight" to the sum if the node has pods which matches the corresponding podAffinityTerm; the + node(s) with the highest sum are the most preferred. items: + description: The weights of all of the matched WeightedPodAffinityTerm + fields are added per-node to find the most preferred + node(s) properties: podAffinityTerm: + description: Required. A pod affinity term, associated + with the corresponding weight. properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The + requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key + that the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -13200,29 +15887,73 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The + requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key + that the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -13236,20 +15967,38 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". items: type: string type: array x-kubernetes-list-type: atomic topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. type: string required: - topologyKey type: object weight: + description: |- + weight associated with matching the corresponding podAffinityTerm, + in the range 1-100. format: int32 type: integer required: @@ -13259,18 +16008,52 @@ spec: type: array x-kubernetes-list-type: atomic requiredDuringSchedulingIgnoredDuringExecution: + description: |- + If the anti-affinity requirements specified by this field are not met at + scheduling time, the pod will not be scheduled onto the node. + If the anti-affinity requirements specified by this field cease to be met + at some point during pod execution (e.g. due to a pod label update), the + system may or may not try to eventually evict the pod from its node. + When there are multiple elements, the lists of nodes corresponding to each + podAffinityTerm are intersected, i.e. all terms must be satisfied. items: + description: |- + Defines a set of pods (namely those matching the labelSelector + relative to the given namespace(s)) that this pod should be + co-located (affinity) or not co-located (anti-affinity) with, + where co-located is defined as running on a node whose value of + the label with key matches that of any node on which + a pod of the set of pods is running properties: labelSelector: + description: |- + A label query over a set of resources, in this case pods. + If it's null, this PodAffinityTerm matches with no Pods. properties: matchExpressions: + description: matchExpressions is a list of + label selector requirements. The requirements + are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -13284,29 +16067,73 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic matchLabelKeys: + description: |- + MatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both matchLabelKeys and labelSelector. + Also, matchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic mismatchLabelKeys: + description: |- + MismatchLabelKeys is a set of pod label keys to select which pods will + be taken into consideration. The keys are used to lookup values from the + incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` + to select the group of existing pods which pods will be taken into consideration + for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming + pod labels will be ignored. The default value is empty. + The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. + Also, mismatchLabelKeys cannot be set when labelSelector isn't set. items: type: string type: array x-kubernetes-list-type: atomic namespaceSelector: + description: |- + A label query over the set of namespaces that the term applies to. + The term is applied to the union of the namespaces selected by this field + and the ones listed in the namespaces field. + null selector and null or empty namespaces list means "this pod's namespace". + An empty selector ({}) matches all namespaces. properties: matchExpressions: + description: matchExpressions is a list of + label selector requirements. The requirements + are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -13320,15 +16147,30 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic namespaces: + description: |- + namespaces specifies a static list of namespace names that the term applies to. + The term is applied to the union of the namespaces listed in this field + and the ones selected by namespaceSelector. + null or empty namespaces list and null namespaceSelector means "this pod's namespace". items: type: string type: array x-kubernetes-list-type: atomic topologyKey: + description: |- + This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching + the labelSelector in the specified namespaces, where co-located is defined as running on a node + whose value of the label with key topologyKey matches that of any node on which any of the + selected pods is running. + Empty topologyKey is not allowed. type: string required: - topologyKey @@ -13340,36 +16182,72 @@ spec: annotations: additionalProperties: type: string + description: Annotations is a list of annotations to add to + the template at runtime type: object archiveLocation: + description: |- + Location in which all files related to the step will be stored (logs, artifacts, etc...). + Can be overridden by individual items in Outputs. If omitted, will use the default + artifact repository location configured in the controller, appended with the + / in the key. properties: archiveLogs: + description: ArchiveLogs indicates if the container logs + should be archived type: boolean artifactory: + description: Artifactory contains artifactory artifact location + details properties: passwordSecret: + description: PasswordSecret is the secret selector to + the repository password properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret selector to + the repository username properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -13379,27 +16257,49 @@ spec: - url type: object azure: + description: Azure contains Azure Storage artifact location + details properties: accountKeySecret: + description: AccountKeySecret is the secret selector + to the Azure Blob Storage account access key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., path) in the + container where the artifact resides type: string container: + description: Container is the container where resources + will be stored type: string endpoint: + description: Endpoint is the service url associated + with an account. It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - blob @@ -13407,19 +16307,35 @@ spec: - endpoint type: object gcs: + description: GCS contains GCS artifact location details properties: bucket: + description: Bucket is the name of the bucket type: string key: + description: Key is the path in the bucket where the + artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is the secret selector + to the bucket's service account key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -13429,62 +16345,117 @@ spec: - key type: object git: + description: Git contains git artifact location details properties: branch: + description: Branch is the branch to fetch when `SingleBranch` + is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables submodules during + git clone type: boolean fetch: + description: Fetch specifies a number of refs that should + be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables SSH strict + host key checking during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables server certificate + verification resulting in insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret selector to + the repository password properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, tag, branch + to checkout type: string singleBranch: + description: SingleBranch enables single branch clone, + using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the secret selector + to the repository ssh private key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector to + the repository username properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -13494,94 +16465,181 @@ spec: - repo type: object hdfs: + description: HDFS contains HDFS artifact location details properties: addresses: + description: Addresses is accessible addresses of HDFS + name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly even if it + exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location details properties: auth: + description: Auth contains information for client authentication properties: basicAuth: + description: BasicAuth describes the secret selectors + required for basic authentication properties: passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -13589,28 +16647,54 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds necessary information + for client authentication via certificates properties: clientCertSecret: + description: SecretKeySelector selects a key + of a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector selects a key + of a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -13618,28 +16702,54 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all information for + client authentication via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector selects a key + of a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector selects a key + of a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -13647,10 +16757,16 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is for requesting + optional fields that should be sent in the + oauth request properties: key: + description: Name is the header name type: string value: + description: Value is the literal value + to use for the header type: string required: - key @@ -13661,13 +16777,25 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector selects a key + of a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -13676,11 +16804,18 @@ spec: type: object type: object headers: + description: Headers are an optional list of headers + to send with HTTP requests for artifacts items: + description: Header indicate a key-value request header + to be used when fetching artifacts over HTTP properties: name: + description: Name is the header name type: string value: + description: Value is the literal value to use + for the header type: string required: - name @@ -13688,120 +16823,247 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object oss: + description: OSS contains OSS artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the driver + to attempt to create the OSS bucket for output artifacts, + if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string key: + description: Key is the path in the bucket where the + artifact resides type: string lifecycleRule: + description: LifecycleRule specifies how to manage bucket's + lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays is the number + of days before we delete objects in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays is the + number of days before we convert the objects in + the bucket to Infrequent Access (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s temporary + security token. For more details, check out: https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - key type: object + plugin: + description: Plugin contains plugin artifact location details + properties: + configuration: + description: Configuration is the plugin defined configuration + for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds is the timeout + for the artifact driver connection, overriding the + driver's timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact repository + where the artifact resides + type: string + name: + description: Name is the name of the artifact driver + plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location details properties: data: + description: Data is the string contents of the artifact type: string required: - data type: object s3: + description: S3 contains S3 artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string caSecret: + description: CASecret specifies the secret that contains + the CA, used to verify the TLS connection properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the driver + to attempt to create the S3 bucket for output artifacts, + if it doesn't exist. Setting Enabled Encryption will + apply either SSE-S3 to the bucket if KmsKeyId is not + set or SSE-KMS if it is. properties: objectLocking: + description: ObjectLocking Enable object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used to determine encryption + options during s3 operations properties: enableEncryption: + description: EnableEncryption tells the driver to + encrypt objects if set to true. If kmsKeyId and + serverSideCustomerKeySecret are not set, SSE-S3 + will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext is a json blob + that contains an encryption context. See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver to encrypt + the object using the specified KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret tells the + driver to encrypt the output artifacts using SSE-C + with the specified secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key @@ -13809,115 +17071,236 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string insecure: + description: Insecure will connect to the service with + TLS type: boolean key: + description: Key is the key in the bucket where the + artifact resides type: string region: + description: Region contains the optional bucket region type: string roleARN: + description: RoleARN is the Amazon Resource Name (ARN) + of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used for ephemeral + credentials like an IAM assume role or S3 access grant properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean type: object type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : 0) + + (has(self.http) ? 1 : 0) + (has(self.artifactory) ? 1 : + 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) ? 1 : 0) + + (has(self.oss) ? 1 : 0) + (has(self.gcs) ? 1 : 0) + (has(self.azure) + ? 1 : 0) + (has(self.plugin) ? 1 : 0) <= 1' automountServiceAccountToken: + description: |- + AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in pods. + ServiceAccountName of ExecutorConfig must be specified if this value is false. type: boolean container: + description: Container is the main container image to run in + the pod properties: args: + description: |- + Arguments to the entrypoint. + The container image's CMD is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic command: + description: |- + Entrypoint array. Not executed within a shell. + The container image's ENTRYPOINT is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic env: + description: |- + List of environment variables to set in the container. + Cannot be updated. items: + description: EnvVar represents an environment variable + present in a Container. properties: name: + description: Name of the environment variable. Must + be a C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. If a variable cannot be resolved, + the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. + "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". + Escaped references will never be expanded, regardless of whether the variable + exists or not. + Defaults to "". type: string valueFrom: + description: Source for the environment variable's + value. Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in + the specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. properties: containerName: + description: 'Container name: required for + volumes, optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of + the exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic 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: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -13932,25 +17315,54 @@ spec: - name x-kubernetes-list-type: map envFrom: + description: |- + List of sources to populate environment variables in the container. + The keys defined within a source must be a C_IDENTIFIER. All invalid keys + will be reported as an event when the container is starting. When a key exists in multiple + sources, the value associated with the last source will take precedence. + Values defined by an Env with a duplicate key will take precedence. + Cannot be updated. items: + description: EnvFromSource represents the source of a + set of ConfigMaps or Secrets properties: configMapRef: + description: The ConfigMap to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap must + be defined type: boolean type: object x-kubernetes-map-type: atomic prefix: + description: Optional text to prepend to the name + of each environment variable. Must be a C_IDENTIFIER. type: string secretRef: + description: The Secret to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret must be + defined type: boolean type: object x-kubernetes-map-type: atomic @@ -13958,31 +17370,71 @@ spec: type: array x-kubernetes-list-type: atomic image: + description: |- + Container image name. + More info: https://kubernetes.io/docs/concepts/containers/images + This field is optional to allow higher level config management to default or override + container images in workload controllers like Deployments and StatefulSets. type: string imagePullPolicy: + description: |- + Image pull policy. + One of Always, Never, IfNotPresent. + Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/containers/images#updating-images type: string lifecycle: + description: |- + Actions that the management system should take in response to container lifecycle events. + Cannot be updated. properties: postStart: + description: |- + PostStart is called immediately after a container is created. If the handler fails, + the container is terminated and restarted according to its restart policy. + Other management of the container blocks until the hook completes. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -13991,58 +17443,111 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that the + container should sleep. properties: seconds: + description: Seconds is the number of seconds + to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object preStop: + description: |- + PreStop is called immediately before a container is terminated due to an + API request or management event such as liveness/startup probe failure, + preemption, resource contention, etc. The handler is not called if the + container crashes or exits. The Pod's termination grace period countdown begins before the + PreStop hook is executed. Regardless of the outcome of the handler, the + container will eventually terminate within the Pod's termination grace + period (unless delayed by finalizers). Other management of the container blocks until the hook completes + or until the termination grace period is reached. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -14051,75 +17556,138 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that the + container should sleep. properties: seconds: + description: Seconds is the number of seconds + to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object stopSignal: + description: |- + StopSignal defines which signal will be sent to a container when it is being stopped. + If not specified, the default is defined by the container runtime in use. + StopSignal can only be set for Pods with a non-empty .spec.os.name type: string type: object livenessProbe: + description: |- + Periodic probe of container liveness. + Container will be restarted if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. Number + must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request to + perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -14128,62 +17696,133 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a TCP + port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object name: + description: |- + Name of the container specified as a DNS_LABEL. + Each container in a pod must have a unique name (DNS_LABEL). + Cannot be updated. type: string ports: + description: |- + List of ports to expose from the container. Not specifying a port here + DOES NOT prevent that port from being exposed. Any port which is + listening on the default "0.0.0.0" address inside a container will be + accessible from the network. + Modifying this array with strategic merge patch may corrupt the data. + For more information See https://github.com/kubernetes/kubernetes/issues/108255. + Cannot be updated. items: + description: ContainerPort represents a network port in + a single container. properties: containerPort: + description: |- + Number of port to expose on the pod's IP address. + This must be a valid port number, 0 < x < 65536. format: int32 type: integer hostIP: + description: What host IP to bind the external port + to. type: string hostPort: + description: |- + Number of port to expose on the host. + If specified, this must be a valid port number, 0 < x < 65536. + If HostNetwork is specified, this must match ContainerPort. + Most containers do not need this. format: int32 type: integer name: + description: |- + If specified, this must be an IANA_SVC_NAME and unique within the pod. Each + named port in a pod must have a unique name. Name for the port that can be + referred to by services. type: string protocol: default: TCP + description: |- + Protocol for port. Must be UDP, TCP, or SCTP. + Defaults to "TCP". type: string required: - containerPort @@ -14194,39 +17833,76 @@ spec: - protocol x-kubernetes-list-type: map readinessProbe: + description: |- + Periodic probe of container service readiness. + Container will be removed from service endpoints if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. Number + must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request to + perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -14235,51 +17911,100 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a TCP + port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object resizePolicy: + description: Resources resize policy for the container. items: + description: ContainerResizePolicy represents resource + resize policy for the container. properties: resourceName: + description: |- + Name of the resource to which this resource resize policy applies. + Supported values: cpu, memory. type: string restartPolicy: + description: |- + Restart policy to apply when specified resource is resized. + If not specified, it defaults to NotRequired. type: string required: - resourceName @@ -14288,13 +18013,35 @@ spec: type: array x-kubernetes-list-type: atomic resources: + description: |- + Compute Resources required by this container. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ properties: claims: + description: |- + Claims lists the names of resources, defined in spec.resourceClaims, + that are used by this container. + + This is an alpha field and requires enabling the + DynamicResourceAllocation feature gate. + + This field is immutable. It can only be set for containers. items: + description: ResourceClaim references one entry in + PodSpec.ResourceClaims. properties: name: + description: |- + Name must match the name of one entry in pod.spec.resourceClaims of + the Pod where this field is used. It makes that resource available + inside a container. type: string request: + description: |- + Request is the name chosen for a request in the referenced claim. + If empty, everything from the claim is made available, otherwise + only the result of this request. type: string required: - name @@ -14310,6 +18057,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -14318,116 +18068,300 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object type: object restartPolicy: + description: |- + RestartPolicy defines the restart behavior of individual containers in a pod. + This field may only be set for init containers, and the only allowed value is "Always". + For non-init containers or when this field is not specified, + the restart behavior is defined by the Pod's restart policy and the container type. + Setting the RestartPolicy as "Always" for the init container will have the following effect: + this init container will be continually restarted on + exit until all regular containers have terminated. Once all regular + containers have completed, all init containers with restartPolicy "Always" + will be shut down. This lifecycle differs from normal init containers and + is often referred to as a "sidecar" container. Although this init + container still starts in the init container sequence, it does not wait + for the container to complete before proceeding to the next init + container. Instead, the next init container starts immediately after this + init container is started, or after any startupProbe has successfully + completed. type: string securityContext: + description: |- + SecurityContext defines the security options the container should be run with. + If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. + More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ properties: allowPrivilegeEscalation: + description: |- + AllowPrivilegeEscalation controls whether a process can gain more + privileges than its parent process. This bool directly controls if + the no_new_privs flag will be set on the container process. + AllowPrivilegeEscalation is true always when the container is: + 1) run as Privileged + 2) has CAP_SYS_ADMIN + Note that this field cannot be set when spec.os.name is windows. type: boolean appArmorProfile: + description: |- + appArmorProfile is the AppArmor options to use by this container. If set, this profile + overrides the pod's appArmorProfile. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile loaded on the node that should be used. + The profile must be preconfigured on the node to work. + Must match the loaded name of the profile. + Must be set if and only if type is "Localhost". type: string type: + description: |- + type indicates which kind of AppArmor profile will be applied. + Valid options are: + Localhost - a profile pre-loaded on the node. + RuntimeDefault - the container runtime's default profile. + Unconfined - no AppArmor enforcement. type: string required: - type type: object capabilities: + description: |- + The capabilities to add/drop when running containers. + Defaults to the default set of capabilities granted by the container runtime. + Note that this field cannot be set when spec.os.name is windows. properties: add: + description: Added capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array x-kubernetes-list-type: atomic drop: + description: Removed capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array x-kubernetes-list-type: atomic type: object privileged: + description: |- + Run container in privileged mode. + Processes in privileged containers are essentially equivalent to root on the host. + Defaults to false. + Note that this field cannot be set when spec.os.name is windows. type: boolean procMount: + description: |- + procMount denotes the type of proc mount to use for the containers. + The default value is Default which uses the container runtime defaults for + readonly paths and masked paths. + This requires the ProcMountType feature flag to be enabled. + Note that this field cannot be set when spec.os.name is windows. type: string readOnlyRootFilesystem: + description: |- + Whether this container has a read-only root filesystem. + Default is false. + Note that this field cannot be set when spec.os.name is windows. type: boolean runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer runAsNonRoot: + description: |- + Indicates that the container must run as a non-root user. + If true, the Kubelet will validate the image at runtime to ensure that it + does not run as UID 0 (root) and fail to start the container if it does. + If unset or false, no such validation will be performed. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to the container. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. properties: level: + description: Level is SELinux level label that applies + to the container. type: string role: + description: Role is a SELinux role label that applies + to the container. type: string type: + description: Type is a SELinux type label that applies + to the container. type: string user: + description: User is a SELinux user label that applies + to the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by this container. If seccomp options are + provided at both the pod & container level, the container options + override the pod options. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. + Must be a descending path, relative to the kubelet's configured seccomp profile location. + Must be set if type is "Localhost". Must NOT be set for any other type. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + Localhost - a profile defined in a file on the node should be used. + RuntimeDefault - the container runtime default profile should be used. + Unconfined - no profile should be applied. type: string required: - type type: object windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options from the PodSecurityContext will be used. + If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is linux. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name + of the GMSA credential spec to use. type: string hostProcess: + description: |- + HostProcess determines if a container should be run as a 'Host Process' container. + All of a Pod's containers must have the same effective HostProcess value + (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + In addition, if HostProcess is true then HostNetwork must also be set to true. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: string type: object type: object startupProbe: + description: |- + StartupProbe indicates that the Pod has successfully initialized. + If specified, no other probes are executed until this completes successfully. + If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. + This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, + when it might take a long time to load data or warm a cache, than during steady-state operation. + This cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. Number + must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request to + perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -14436,61 +18370,140 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a TCP + port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object stdin: + description: |- + Whether this container should allocate a buffer for stdin in the container runtime. If this + is not set, reads from stdin in the container will always result in EOF. + Default is false. type: boolean stdinOnce: + description: |- + Whether the container runtime should close the stdin channel after it has been opened by + a single attach. When stdin is true the stdin stream will remain open across multiple attach + sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the + first client attaches to stdin, and then remains open and accepts data until the client disconnects, + at which time stdin is closed and remains closed until the container is restarted. If this + flag is false, a container processes that reads from stdin will never receive an EOF. + Default is false type: boolean terminationMessagePath: + description: |- + Optional: Path at which the file to which the container's termination message + will be written is mounted into the container's filesystem. + Message written is intended to be brief final status, such as an assertion failure message. + Will be truncated by the node if greater than 4096 bytes. The total message length across + all containers will be limited to 12kb. + Defaults to /dev/termination-log. + Cannot be updated. type: string terminationMessagePolicy: + description: |- + Indicate how the termination message should be populated. File will use the contents of + terminationMessagePath to populate the container status message on both success and failure. + FallbackToLogsOnError will use the last chunk of container log output if the termination + message file is empty and the container exited with an error. + The log output is limited to 2048 bytes or 80 lines, whichever is smaller. + Defaults to File. + Cannot be updated. type: string tty: + description: |- + Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. + Default is false. type: boolean volumeDevices: + description: volumeDevices is the list of block devices + to be used by the container. items: + description: volumeDevice describes a mapping of a raw + block device within a container. properties: devicePath: + description: devicePath is the path inside of the + container that the device will be mapped to. type: string name: + description: name must match the name of a persistentVolumeClaim + in the pod type: string required: - devicePath @@ -14501,21 +18514,65 @@ spec: - devicePath x-kubernetes-list-type: map volumeMounts: + description: |- + Pod volumes to mount into the container's filesystem. + Cannot be updated. items: + description: VolumeMount describes a mounting of a Volume + within a container. properties: mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. type: string mountPropagation: + description: |- + mountPropagation determines how mounts are propagated from the host + to container and the other way around. + When not set, MountPropagationNone is used. + This field is beta in 1.10. + When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + (which defaults to None). type: string name: + description: This must match the Name of a Volume. type: string readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. type: boolean recursiveReadOnly: + description: |- + RecursiveReadOnly specifies whether read-only mounts should be handled + recursively. + + If ReadOnly is false, this field has no meaning and must be unspecified. + + If ReadOnly is true, and this field is set to Disabled, the mount is not made + recursively read-only. If this field is set to IfPossible, the mount is made + recursively read-only, if it is supported by the container runtime. If this + field is set to Enabled, the mount is made recursively read-only if it is + supported by the container runtime, otherwise the pod will not be started and + an error will be generated to indicate the reason. + + If this field is set to IfPossible or Enabled, MountPropagation must be set to + None (or be unspecified, which defaults to None). + + If this field is not specified, it is treated as an equivalent of Disabled. type: string subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). type: string subPathExpr: + description: |- + Expanded path within the volume from which the container's volume should be mounted. + Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. + Defaults to "" (volume's root). + SubPathExpr and SubPath are mutually exclusive. type: string required: - mountPath @@ -14526,19 +18583,44 @@ spec: - mountPath x-kubernetes-list-type: map workingDir: + description: |- + Container's working directory. + If not specified, the container runtime's default will be used, which + might be configured in the container image. + Cannot be updated. type: string type: object containerSet: + description: ContainerSet groups multiple containers within + a single pod. properties: containers: items: properties: args: + description: |- + Arguments to the entrypoint. + The container image's CMD is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic command: + description: |- + Entrypoint array. Not executed within a shell. + The container image's ENTRYPOINT is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array @@ -14548,61 +18630,121 @@ spec: type: string type: array env: + description: |- + List of environment variables to set in the container. + Cannot be updated. items: + description: EnvVar represents an environment variable + present in a Container. properties: name: + description: Name of the environment variable. + Must be a C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. If a variable cannot be resolved, + the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. + "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". + Escaped references will never be expanded, regardless of whether the variable + exists or not. + Defaults to "". type: string valueFrom: + description: Source for the environment variable's + value. Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. properties: apiVersion: + description: Version of the schema the + FieldPath is written in terms of, + defaults to "v1". type: string fieldPath: + description: Path of the field to select + in the specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. properties: containerName: + description: 'Container name: required + for volumes, optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format + of the exposed resources, defaults + to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to + select' type: string required: - resource type: object x-kubernetes-map-type: atomic 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: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -14617,25 +18759,55 @@ spec: - name x-kubernetes-list-type: map envFrom: + description: |- + List of sources to populate environment variables in the container. + The keys defined within a source must be a C_IDENTIFIER. All invalid keys + will be reported as an event when the container is starting. When a key exists in multiple + sources, the value associated with the last source will take precedence. + Values defined by an Env with a duplicate key will take precedence. + Cannot be updated. items: + description: EnvFromSource represents the source + of a set of ConfigMaps or Secrets properties: configMapRef: + description: The ConfigMap to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + must be defined type: boolean type: object x-kubernetes-map-type: atomic prefix: + description: Optional text to prepend to the + name of each environment variable. Must be + a C_IDENTIFIER. type: string secretRef: + description: The Secret to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + must be defined type: boolean type: object x-kubernetes-map-type: atomic @@ -14643,31 +18815,71 @@ spec: type: array x-kubernetes-list-type: atomic image: + description: |- + Container image name. + More info: https://kubernetes.io/docs/concepts/containers/images + This field is optional to allow higher level config management to default or override + container images in workload controllers like Deployments and StatefulSets. type: string imagePullPolicy: + description: |- + Image pull policy. + One of Always, Never, IfNotPresent. + Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/containers/images#updating-images type: string lifecycle: + description: |- + Actions that the management system should take in response to container lifecycle events. + Cannot be updated. properties: postStart: + description: |- + PostStart is called immediately after a container is created. If the handler fails, + the container is terminated and restarted according to its restart policy. + Other management of the container blocks until the hook completes. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET + request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in + the request. HTTP allows repeated headers. items: + description: HTTPHeader describes a + custom header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -14676,58 +18888,112 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP + server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that + the container should sleep. properties: seconds: + description: Seconds is the number of + seconds to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object preStop: + description: |- + PreStop is called immediately before a container is terminated due to an + API request or management event such as liveness/startup probe failure, + preemption, resource contention, etc. The handler is not called if the + container crashes or exits. The Pod's termination grace period countdown begins before the + PreStop hook is executed. Regardless of the outcome of the handler, the + container will eventually terminate within the Pod's termination grace + period (unless delayed by finalizers). Other management of the container blocks until the hook completes + or until the termination grace period is reached. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET + request to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in + the request. HTTP allows repeated headers. items: + description: HTTPHeader describes a + custom header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -14736,75 +19002,139 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP + server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that + the container should sleep. properties: seconds: + description: Seconds is the number of + seconds to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object stopSignal: + description: |- + StopSignal defines which signal will be sent to a container when it is being stopped. + If not specified, the default is defined by the container runtime in use. + StopSignal can only be set for Pods with a non-empty .spec.os.name type: string type: object livenessProbe: + description: |- + Periodic probe of container liveness. + Container will be restarted if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the + request. HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -14813,62 +19143,133 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection + to a TCP port. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object name: + description: |- + Name of the container specified as a DNS_LABEL. + Each container in a pod must have a unique name (DNS_LABEL). + Cannot be updated. type: string ports: + description: |- + List of ports to expose from the container. Not specifying a port here + DOES NOT prevent that port from being exposed. Any port which is + listening on the default "0.0.0.0" address inside a container will be + accessible from the network. + Modifying this array with strategic merge patch may corrupt the data. + For more information See https://github.com/kubernetes/kubernetes/issues/108255. + Cannot be updated. items: + description: ContainerPort represents a network + port in a single container. properties: containerPort: + description: |- + Number of port to expose on the pod's IP address. + This must be a valid port number, 0 < x < 65536. format: int32 type: integer hostIP: + description: What host IP to bind the external + port to. type: string hostPort: + description: |- + Number of port to expose on the host. + If specified, this must be a valid port number, 0 < x < 65536. + If HostNetwork is specified, this must match ContainerPort. + Most containers do not need this. format: int32 type: integer name: + description: |- + If specified, this must be an IANA_SVC_NAME and unique within the pod. Each + named port in a pod must have a unique name. Name for the port that can be + referred to by services. type: string protocol: default: TCP + description: |- + Protocol for port. Must be UDP, TCP, or SCTP. + Defaults to "TCP". type: string required: - containerPort @@ -14879,39 +19280,76 @@ spec: - protocol x-kubernetes-list-type: map readinessProbe: + description: |- + Periodic probe of container service readiness. + Container will be removed from service endpoints if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the + request. HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -14920,51 +19358,100 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection + to a TCP port. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object resizePolicy: + description: Resources resize policy for the container. items: + description: ContainerResizePolicy represents resource + resize policy for the container. properties: resourceName: + description: |- + Name of the resource to which this resource resize policy applies. + Supported values: cpu, memory. type: string restartPolicy: + description: |- + Restart policy to apply when specified resource is resized. + If not specified, it defaults to NotRequired. type: string required: - resourceName @@ -14973,13 +19460,35 @@ spec: type: array x-kubernetes-list-type: atomic resources: + description: |- + Compute Resources required by this container. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ properties: claims: + description: |- + Claims lists the names of resources, defined in spec.resourceClaims, + that are used by this container. + + This is an alpha field and requires enabling the + DynamicResourceAllocation feature gate. + + This field is immutable. It can only be set for containers. items: + description: ResourceClaim references one entry + in PodSpec.ResourceClaims. properties: name: + description: |- + Name must match the name of one entry in pod.spec.resourceClaims of + the Pod where this field is used. It makes that resource available + inside a container. type: string request: + description: |- + Request is the name chosen for a request in the referenced claim. + If empty, everything from the claim is made available, otherwise + only the result of this request. type: string required: - name @@ -14995,6 +19504,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -15003,116 +19515,300 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object type: object restartPolicy: + description: |- + RestartPolicy defines the restart behavior of individual containers in a pod. + This field may only be set for init containers, and the only allowed value is "Always". + For non-init containers or when this field is not specified, + the restart behavior is defined by the Pod's restart policy and the container type. + Setting the RestartPolicy as "Always" for the init container will have the following effect: + this init container will be continually restarted on + exit until all regular containers have terminated. Once all regular + containers have completed, all init containers with restartPolicy "Always" + will be shut down. This lifecycle differs from normal init containers and + is often referred to as a "sidecar" container. Although this init + container still starts in the init container sequence, it does not wait + for the container to complete before proceeding to the next init + container. Instead, the next init container starts immediately after this + init container is started, or after any startupProbe has successfully + completed. type: string securityContext: + description: |- + SecurityContext defines the security options the container should be run with. + If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. + More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ properties: allowPrivilegeEscalation: + description: |- + AllowPrivilegeEscalation controls whether a process can gain more + privileges than its parent process. This bool directly controls if + the no_new_privs flag will be set on the container process. + AllowPrivilegeEscalation is true always when the container is: + 1) run as Privileged + 2) has CAP_SYS_ADMIN + Note that this field cannot be set when spec.os.name is windows. type: boolean appArmorProfile: + description: |- + appArmorProfile is the AppArmor options to use by this container. If set, this profile + overrides the pod's appArmorProfile. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile loaded on the node that should be used. + The profile must be preconfigured on the node to work. + Must match the loaded name of the profile. + Must be set if and only if type is "Localhost". type: string type: + description: |- + type indicates which kind of AppArmor profile will be applied. + Valid options are: + Localhost - a profile pre-loaded on the node. + RuntimeDefault - the container runtime's default profile. + Unconfined - no AppArmor enforcement. type: string required: - type type: object capabilities: + description: |- + The capabilities to add/drop when running containers. + Defaults to the default set of capabilities granted by the container runtime. + Note that this field cannot be set when spec.os.name is windows. properties: add: + description: Added capabilities items: + description: Capability represent POSIX + capabilities type type: string type: array x-kubernetes-list-type: atomic drop: + description: Removed capabilities items: + description: Capability represent POSIX + capabilities type type: string type: array x-kubernetes-list-type: atomic type: object privileged: + description: |- + Run container in privileged mode. + Processes in privileged containers are essentially equivalent to root on the host. + Defaults to false. + Note that this field cannot be set when spec.os.name is windows. type: boolean procMount: + description: |- + procMount denotes the type of proc mount to use for the containers. + The default value is Default which uses the container runtime defaults for + readonly paths and masked paths. + This requires the ProcMountType feature flag to be enabled. + Note that this field cannot be set when spec.os.name is windows. type: string readOnlyRootFilesystem: + description: |- + Whether this container has a read-only root filesystem. + Default is false. + Note that this field cannot be set when spec.os.name is windows. type: boolean runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer runAsNonRoot: + description: |- + Indicates that the container must run as a non-root user. + If true, the Kubelet will validate the image at runtime to ensure that it + does not run as UID 0 (root) and fail to start the container if it does. + If unset or false, no such validation will be performed. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to the container. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. properties: level: + description: Level is SELinux level label + that applies to the container. type: string role: + description: Role is a SELinux role label + that applies to the container. type: string type: + description: Type is a SELinux type label + that applies to the container. type: string user: + description: User is a SELinux user label + that applies to the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by this container. If seccomp options are + provided at both the pod & container level, the container options + override the pod options. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. + Must be a descending path, relative to the kubelet's configured seccomp profile location. + Must be set if type is "Localhost". Must NOT be set for any other type. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + Localhost - a profile defined in a file on the node should be used. + RuntimeDefault - the container runtime default profile should be used. + Unconfined - no profile should be applied. type: string required: - type type: object windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options from the PodSecurityContext will be used. + If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is linux. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the + name of the GMSA credential spec to use. type: string hostProcess: + description: |- + HostProcess determines if a container should be run as a 'Host Process' container. + All of a Pod's containers must have the same effective HostProcess value + (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + In addition, if HostProcess is true then HostNetwork must also be set to true. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: string type: object type: object startupProbe: + description: |- + StartupProbe indicates that the Pod has successfully initialized. + If specified, no other probes are executed until this completes successfully. + If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. + This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, + when it might take a long time to load data or warm a cache, than during steady-state operation. + This cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the + request. HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -15121,61 +19817,141 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection + to a TCP port. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object stdin: + description: |- + Whether this container should allocate a buffer for stdin in the container runtime. If this + is not set, reads from stdin in the container will always result in EOF. + Default is false. type: boolean stdinOnce: + description: |- + Whether the container runtime should close the stdin channel after it has been opened by + a single attach. When stdin is true the stdin stream will remain open across multiple attach + sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the + first client attaches to stdin, and then remains open and accepts data until the client disconnects, + at which time stdin is closed and remains closed until the container is restarted. If this + flag is false, a container processes that reads from stdin will never receive an EOF. + Default is false type: boolean terminationMessagePath: + description: |- + Optional: Path at which the file to which the container's termination message + will be written is mounted into the container's filesystem. + Message written is intended to be brief final status, such as an assertion failure message. + Will be truncated by the node if greater than 4096 bytes. The total message length across + all containers will be limited to 12kb. + Defaults to /dev/termination-log. + Cannot be updated. type: string terminationMessagePolicy: + description: |- + Indicate how the termination message should be populated. File will use the contents of + terminationMessagePath to populate the container status message on both success and failure. + FallbackToLogsOnError will use the last chunk of container log output if the termination + message file is empty and the container exited with an error. + The log output is limited to 2048 bytes or 80 lines, whichever is smaller. + Defaults to File. + Cannot be updated. type: string tty: + description: |- + Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. + Default is false. type: boolean volumeDevices: + description: volumeDevices is the list of block devices + to be used by the container. items: + description: volumeDevice describes a mapping of + a raw block device within a container. properties: devicePath: + description: devicePath is the path inside of + the container that the device will be mapped + to. type: string name: + description: name must match the name of a persistentVolumeClaim + in the pod type: string required: - devicePath @@ -15186,21 +19962,65 @@ spec: - devicePath x-kubernetes-list-type: map volumeMounts: + description: |- + Pod volumes to mount into the container's filesystem. + Cannot be updated. items: + description: VolumeMount describes a mounting of + a Volume within a container. properties: mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. type: string mountPropagation: + description: |- + mountPropagation determines how mounts are propagated from the host + to container and the other way around. + When not set, MountPropagationNone is used. + This field is beta in 1.10. + When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + (which defaults to None). type: string name: + description: This must match the Name of a Volume. type: string readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. type: boolean recursiveReadOnly: + description: |- + RecursiveReadOnly specifies whether read-only mounts should be handled + recursively. + + If ReadOnly is false, this field has no meaning and must be unspecified. + + If ReadOnly is true, and this field is set to Disabled, the mount is not made + recursively read-only. If this field is set to IfPossible, the mount is made + recursively read-only, if it is supported by the container runtime. If this + field is set to Enabled, the mount is made recursively read-only if it is + supported by the container runtime, otherwise the pod will not be started and + an error will be generated to indicate the reason. + + If this field is set to IfPossible or Enabled, MountPropagation must be set to + None (or be unspecified, which defaults to None). + + If this field is not specified, it is treated as an equivalent of Disabled. type: string subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). type: string subPathExpr: + description: |- + Expanded path within the volume from which the container's volume should be mounted. + Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. + Defaults to "" (volume's root). + SubPathExpr and SubPath are mutually exclusive. type: string required: - mountPath @@ -15211,39 +20031,94 @@ spec: - mountPath x-kubernetes-list-type: map workingDir: + description: |- + Container's working directory. + If not specified, the container runtime's default will be used, which + might be configured in the container image. + Cannot be updated. type: string required: - name type: object type: array retryStrategy: + description: |- + RetryStrategy describes how to retry container nodes if the container set fails. + Note that this works differently from the template-level `retryStrategy` as it is a process-level retry that does not create new Pods or containers. properties: duration: + description: |- + Duration is the time between each retry, examples values are "300ms", "1s" or "5m". + Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". type: string retries: anyOf: - type: integer - type: string + description: |- + Retries is the maximum number of retry attempts for each container. It does not include the + first, original attempt; the maximum number of total attempts will be `retries + 1`. x-kubernetes-int-or-string: true required: - retries type: object volumeMounts: items: + description: VolumeMount describes a mounting of a Volume + within a container. properties: mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. type: string mountPropagation: + description: |- + mountPropagation determines how mounts are propagated from the host + to container and the other way around. + When not set, MountPropagationNone is used. + This field is beta in 1.10. + When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + (which defaults to None). type: string name: + description: This must match the Name of a Volume. type: string readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. type: boolean recursiveReadOnly: + description: |- + RecursiveReadOnly specifies whether read-only mounts should be handled + recursively. + + If ReadOnly is false, this field has no meaning and must be unspecified. + + If ReadOnly is true, and this field is set to Disabled, the mount is not made + recursively read-only. If this field is set to IfPossible, the mount is made + recursively read-only, if it is supported by the container runtime. If this + field is set to Enabled, the mount is made recursively read-only if it is + supported by the container runtime, otherwise the pod will not be started and + an error will be generated to indicate the reason. + + If this field is set to IfPossible or Enabled, MountPropagation must be set to + None (or be unspecified, which defaults to None). + + If this field is not specified, it is treated as an equivalent of Disabled. type: string subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). type: string subPathExpr: + description: |- + Expanded path within the volume from which the container's volume should be mounted. + Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. + Defaults to "" (volume's root). + SubPathExpr and SubPath are mutually exclusive. type: string required: - mountPath @@ -15254,39 +20129,85 @@ spec: - containers type: object daemon: + description: Daemon will allow a workflow to proceed to the + next step so long as the container reaches readiness type: boolean dag: + description: DAG template subtype which runs a DAG properties: failFast: + description: |- + This flag is for DAG logic. The DAG logic has a built-in "fail fast" feature to stop scheduling new steps, + as soon as it detects that one of the DAG nodes is failed. Then it waits until all DAG nodes are completed + before failing the DAG itself. + The FailFast flag default is true, if set to false, it will allow a DAG to run all branches of the DAG to + completion (either success or failure), regardless of the failed outcomes of branches in the DAG. + More info and example about this feature at https://github.com/argoproj/argo-workflows/issues/1442 type: boolean target: + description: Target are one or more names of targets to + execute in a DAG type: string tasks: + description: |- + Tasks are a list of DAG tasks + MaxItems is an artificial limit to limit CEL validation costs - see note at top of file items: + description: |- + DAGTask represents a node in the graph during DAG execution + Note: CEL validation cannot check withItems (Schemaless) or inline (PreserveUnknownFields) fields. properties: arguments: + description: Arguments are the parameter and artifact + arguments to the template properties: artifacts: + description: Artifacts is the list of artifacts + to pass to the template or workflow items: + description: Artifact indicates an artifact + to place at a specified path properties: archive: + description: Archive controls how the artifact + will be saved to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and + gzip the file or directory when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip + zipped input artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the + container logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy + to use when to deleting an artifact from + completed or deleted workflows properties: podMetadata: + description: PodMetadata is an optional + field for specifying the Labels and + Annotations that should be assigned + to the Pod doing the deletion properties: annotations: additionalProperties: @@ -15298,8 +20219,14 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an + optional field for specifying the + Service Account that should be assigned + to the Pod doing the deletion type: string strategy: + description: Strategy is the strategy + to use. enum: - "" - OnWorkflowCompletion @@ -15308,30 +20235,59 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory + artifact location details properties: passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -15341,27 +20297,54 @@ spec: - url type: object azure: + description: Azure contains Azure Storage + artifact location details properties: accountKeySecret: + description: AccountKeySecret is the + secret selector to the Azure Blob + Storage account access key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., + path) in the container where the artifact + resides type: string container: + description: Container is the container + where resources will be stored type: string endpoint: + description: Endpoint is the service + url associated with an account. It + is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver + to figure out credentials based on + sdk defaults. type: boolean required: - blob @@ -15369,25 +20352,52 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to + reference an artifact from a previous + step type: string fromExpression: + description: FromExpression, if defined, + is evaluated to specify the value for + the artifact type: string gcs: + description: GCS contains GCS artifact location + details properties: bucket: + description: Bucket is the name of the + bucket type: string key: + description: Key is the path in the + bucket where the artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret + is the secret selector to the bucket's + service account key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -15397,62 +20407,125 @@ spec: - key type: object git: + description: Git contains git artifact location + details properties: branch: + description: Branch is the branch to + fetch when `SingleBranch` is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables + submodules during git clone type: boolean fetch: + description: Fetch specifies a number + of refs that should be fetched before + checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables + SSH strict host key checking during + git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables + server certificate verification resulting + in insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, + tag, branch to checkout type: string singleBranch: + description: SingleBranch enables single + branch clone, using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is + the secret selector to the repository + ssh private key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -15462,96 +20535,199 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact + location details properties: addresses: + description: Addresses is accessible + addresses of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly + even if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + ConfigMap or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in + HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact + location details properties: auth: + description: Auth contains information + for client authentication properties: basicAuth: + description: BasicAuth describes + the secret selectors required + for basic authentication properties: passwordSecret: + description: PasswordSecret + is the secret selector to + the repository password properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret + is the secret selector to + the repository username properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key @@ -15559,28 +20735,59 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds + necessary information for client + authentication via certificates properties: clientCertSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key @@ -15588,28 +20795,59 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all + information for client authentication + via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key @@ -15617,10 +20855,19 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam + is for requesting optional + fields that should be sent + in the oauth request properties: key: + description: Name is the + header name type: string value: + description: Value is + the literal value to + use for the header type: string required: - key @@ -15631,13 +20878,27 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key @@ -15646,11 +20907,21 @@ spec: type: object type: object headers: + description: Headers are an optional + list of headers to send with HTTP + requests for artifacts items: + description: Header indicate a key-value + request header to be used when fetching + artifacts over HTTP properties: name: + description: Name is the header + name type: string value: + description: Value is the literal + value to use for the header type: string required: - name @@ -15658,131 +20929,308 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must + be unique within a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if + Artifacts doesn't generate or exist type: boolean oss: + description: OSS contains OSS artifact location + details properties: accessKeySecret: + description: AccessKeySecret is the + secret selector to the bucket's access + key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the + bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent + tells the driver to attempt to create + the OSS bucket for output artifacts, + if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname + of the bucket endpoint type: string key: + description: Key is the path in the + bucket where the artifact resides type: string lifecycleRule: + description: LifecycleRule specifies + how to manage bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays + is the number of days before we + delete objects in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before we + convert the objects in the bucket + to Infrequent Access (IA) storage + type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the + secret selector to the bucket's secret + key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s + temporary security token. For more + details, check out: https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver + to figure out credentials based on + sdk defaults. type: boolean required: - key type: object path: + description: Path is the container path + to the artifact type: string + plugin: + description: Plugin contains plugin artifact + location details + properties: + configuration: + description: Configuration is the plugin + defined configuration for the artifact + driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds + is the timeout for the artifact driver + connection, overriding the driver's + timeout + format: int32 + type: integer + key: + description: Key is the path in the + artifact repository where the artifact + resides + type: string + name: + description: Name is the name of the + artifact driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location + details properties: data: + description: Data is the string contents + of the artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission + recursively into the artifact if it is + a folder type: boolean s3: + description: S3 contains S3 artifact location + details properties: accessKeySecret: + description: AccessKeySecret is the + secret selector to the bucket's access + key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the + bucket type: string caSecret: + description: CASecret specifies the + secret that contains the CA, used + to verify the TLS connection properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent + tells the driver to attempt to create + the S3 bucket for output artifacts, + if it doesn't exist. Setting Enabled + Encryption will apply either SSE-S3 + to the bucket if KmsKeyId is not set + or SSE-KMS if it is. properties: objectLocking: + description: ObjectLocking Enable + object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used + to determine encryption options during + s3 operations properties: enableEncryption: + description: EnableEncryption tells + the driver to encrypt objects + if set to true. If kmsKeyId and + serverSideCustomerKeySecret are + not set, SSE-S3 will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext + is a json blob that contains an + encryption context. See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the + driver to encrypt the object using + the specified KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret + tells the driver to encrypt the + output artifacts using SSE-C with + the specified secret. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -15790,97 +21238,213 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname + of the bucket endpoint type: string insecure: + description: Insecure will connect to + the service with TLS type: boolean key: + description: Key is the key in the bucket + where the artifact resides type: string region: + description: Region contains the optional + bucket region type: string roleARN: + description: RoleARN is the Amazon Resource + Name (ARN) of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the + secret selector to the bucket's secret + key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used + for ephemeral credentials like an + IAM assume role or S3 access grant properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver + to figure out credentials based on + sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact + to be sourced from a subpath within the + specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can + be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) + ? 1 : 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array parameters: + description: Parameters is the list of parameters + to pass to the template or workflow items: + description: Parameter indicate a passed string + parameter to a service template with an optional + default value properties: default: + description: Default is the default value + to use for an input parameter if a value + was not supplied type: string description: + description: Description is the parameter + description type: string enum: + description: Enum holds a list of string + values to choose from, for the actual + value of the parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source for + the output parameter's value properties: configMapKeyRef: + description: ConfigMapKeyRef is configmap + selector for input parameter configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + ConfigMap or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies a value + to be used if retrieving the value + from the specified source fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the event + to get the value of the parameter. + E.g. `payload.message` type: string expression: + description: Expression, if defined, + is evaluated to specify the value + for the parameter type: string jqFilter: + description: JQFilter expression against + the resource object in resource templates type: string jsonPath: + description: JSONPath of a resource + to retrieve an output parameter value + from in resource templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container to + retrieve an output parameter value + from in container templates type: string supplied: + description: Supplied value to be filled + in directly, either through the CLI, + API, etc. type: object type: object required: @@ -15889,6 +21453,9 @@ spec: type: array type: object continueOn: + description: |- + ContinueOn makes argo to proceed with the following step even if this step fails. + Errors and Failed states can be specified properties: error: type: boolean @@ -15896,37 +21463,74 @@ spec: type: boolean type: object dependencies: + description: Dependencies are name of other targets + which this depends on items: type: string type: array depends: + description: Depends are name of other targets which + this depends on type: string hooks: additionalProperties: properties: arguments: + description: Arguments hold arguments to the + template properties: artifacts: + description: Artifacts is the list of artifacts + to pass to the template or workflow items: + description: Artifact indicates an artifact + to place at a specified path properties: archive: + description: Archive controls how + the artifact will be saved to the + artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will + tar and gzip the file or directory + when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will + unzip zipped input artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates + if the container logs should be + archived type: boolean artifactGC: + description: ArtifactGC describes + the strategy to use when to deleting + an artifact from completed or deleted + workflows properties: podMetadata: + description: PodMetadata is an + optional field for specifying + the Labels and Annotations that + should be assigned to the Pod + doing the deletion properties: annotations: additionalProperties: @@ -15938,8 +21542,15 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName + is an optional field for specifying + the Service Account that should + be assigned to the Pod doing + the deletion type: string strategy: + description: Strategy is the strategy + to use. enum: - "" - OnWorkflowCompletion @@ -15948,30 +21559,63 @@ spec: type: string type: object artifactory: + description: Artifactory contains + artifactory artifact location details properties: passwordSecret: + description: PasswordSecret is + the secret selector to the repository + password properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is + the secret selector to the repository + username properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -15981,27 +21625,57 @@ spec: - url type: object azure: + description: Azure contains Azure + Storage artifact location details properties: accountKeySecret: + description: AccountKeySecret + is the secret selector to the + Azure Blob Storage account access + key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob + name (i.e., path) in the container + where the artifact resides type: string container: + description: Container is the + container where resources will + be stored type: string endpoint: + description: Endpoint is the service + url associated with an account. + It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells + the driver to figure out credentials + based on sdk defaults. type: boolean required: - blob @@ -16009,25 +21683,54 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact + to reference an artifact from a + previous step type: string fromExpression: + description: FromExpression, if defined, + is evaluated to specify the value + for the artifact type: string gcs: + description: GCS contains GCS artifact + location details properties: bucket: + description: Bucket is the name + of the bucket type: string key: + description: Key is the path in + the bucket where the artifact + resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret + is the secret selector to the + bucket's service account key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -16037,62 +21740,134 @@ spec: - key type: object git: + description: Git contains git artifact + location details properties: branch: + description: Branch is the branch + to fetch when `SingleBranch` + is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules + disables submodules during git + clone type: boolean fetch: + description: Fetch specifies a + number of refs that should be + fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey + disables SSH strict host key + checking during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables + server certificate verification + resulting in insecure HTTPS + connections type: boolean passwordSecret: + description: PasswordSecret is + the secret selector to the repository + password properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git + commit, tag, branch to checkout type: string singleBranch: + description: SingleBranch enables + single branch clone, using the + `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret + is the secret selector to the + repository ssh private key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is + the secret selector to the repository + username properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -16102,96 +21877,208 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact + location details properties: addresses: + description: Addresses is accessible + addresses of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file + forcibly even if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the ConfigMap or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path + in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact + location details properties: auth: + description: Auth contains information + for client authentication properties: basicAuth: + description: BasicAuth describes + the secret selectors required + for basic authentication properties: passwordSecret: + description: PasswordSecret + is the secret selector + to the repository password properties: key: + description: The key + of the secret to + select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret + is the secret selector + to the repository username properties: key: + description: The key + of the secret to + select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must + be defined type: boolean required: - key @@ -16199,28 +22086,66 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth + holds necessary information + for client authentication + via certificates properties: clientCertSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to + select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to + select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must + be defined type: boolean required: - key @@ -16228,28 +22153,66 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds + all information for client + authentication via OAuth2 + tokens properties: clientIDSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to + select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to + select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must + be defined type: boolean required: - key @@ -16257,10 +22220,22 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam + is for requesting + optional fields that + should be sent in + the oauth request properties: key: + description: Name + is the header + name type: string value: + description: Value + is the literal + value to use for + the header type: string required: - key @@ -16271,13 +22246,30 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to + select from. Must + be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must + be defined type: boolean required: - key @@ -16286,11 +22278,23 @@ spec: type: object type: object headers: + description: Headers are an optional + list of headers to send with + HTTP requests for artifacts items: + description: Header indicate + a key-value request header + to be used when fetching artifacts + over HTTP properties: name: + description: Name is the + header name type: string value: + description: Value is the + literal value to use for + the header type: string required: - name @@ -16298,131 +22302,324 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. + must be unique within a template's + inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, + if Artifacts doesn't generate or + exist type: boolean oss: + description: OSS contains OSS artifact + location details properties: accessKeySecret: + description: AccessKeySecret is + the secret selector to the bucket's + access key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name + of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent + tells the driver to attempt + to create the OSS bucket for + output artifacts, if it doesn't + exist type: boolean endpoint: + description: Endpoint is the hostname + of the bucket endpoint type: string key: + description: Key is the path in + the bucket where the artifact + resides type: string lifecycleRule: + description: LifecycleRule specifies + how to manage bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays + is the number of days before + we delete objects in the + bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before + we convert the objects in + the bucket to Infrequent + Access (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is + the secret selector to the bucket's + secret key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is + the user''s temporary security + token. For more details, check + out: https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells + the driver to figure out credentials + based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container + path to the artifact type: string + plugin: + description: Plugin contains plugin + artifact location details + properties: + configuration: + description: Configuration is + the plugin defined configuration + for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds + is the timeout for the artifact + driver connection, overriding + the driver's timeout + format: int32 + type: integer + key: + description: Key is the path in + the artifact repository where + the artifact resides + type: string + name: + description: Name is the name + of the artifact driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact + location details properties: data: + description: Data is the string + contents of the artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply + the permission recursively into + the artifact if it is a folder type: boolean s3: + description: S3 contains S3 artifact + location details properties: accessKeySecret: + description: AccessKeySecret is + the secret selector to the bucket's + access key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name + of the bucket type: string caSecret: + description: CASecret specifies + the secret that contains the + CA, used to verify the TLS connection properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent + tells the driver to attempt + to create the S3 bucket for + output artifacts, if it doesn't + exist. Setting Enabled Encryption + will apply either SSE-S3 to + the bucket if KmsKeyId is not + set or SSE-KMS if it is. properties: objectLocking: + description: ObjectLocking + Enable object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions + used to determine encryption + options during s3 operations properties: enableEncryption: + description: EnableEncryption + tells the driver to encrypt + objects if set to true. + If kmsKeyId and serverSideCustomerKeySecret + are not set, SSE-S3 will + be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext + is a json blob that contains + an encryption context. See + https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells + the driver to encrypt the + object using the specified + KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret + tells the driver to encrypt + the output artifacts using + SSE-C with the specified + secret. properties: key: + description: The key of + the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key @@ -16430,97 +22627,225 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname + of the bucket endpoint type: string insecure: + description: Insecure will connect + to the service with TLS type: boolean key: + description: Key is the key in + the bucket where the artifact + resides type: string region: + description: Region contains the + optional bucket region type: string roleARN: + description: RoleARN is the Amazon + Resource Name (ARN) of the role + to assume. type: string secretKeySecret: + description: SecretKeySecret is + the secret selector to the bucket's + secret key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret + is used for ephemeral credentials + like an IAM assume role or S3 + access grant properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells + the driver to figure out credentials + based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact + to be sourced from a subpath within + the specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location + can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) + ? 1 : 0) + (has(self.http) ? 1 : 0) + + (has(self.artifactory) ? 1 : 0) + + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + + (has(self.gcs) ? 1 : 0) + (has(self.azure) + ? 1 : 0) + (has(self.plugin) ? 1 : + 0) <= 1' type: array parameters: + description: Parameters is the list of parameters + to pass to the template or workflow items: + description: Parameter indicate a passed + string parameter to a service template + with an optional default value properties: default: + description: Default is the default + value to use for an input parameter + if a value was not supplied type: string description: + description: Description is the parameter + description type: string enum: + description: Enum holds a list of + string values to choose from, for + the actual value of the parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter + name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source + for the output parameter's value properties: configMapKeyRef: + description: ConfigMapKeyRef is + configmap selector for input + parameter configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the ConfigMap or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies + a value to be used if retrieving + the value from the specified + source fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the + event to get the value of the + parameter. E.g. `payload.message` type: string expression: + description: Expression, if defined, + is evaluated to specify the + value for the parameter type: string jqFilter: + description: JQFilter expression + against the resource object + in resource templates type: string jsonPath: + description: JSONPath of a resource + to retrieve an output parameter + value from in resource templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container + to retrieve an output parameter + value from in container templates type: string supplied: + description: Supplied value to + be filled in directly, either + through the CLI, API, etc. type: object type: object required: @@ -16529,94 +22854,191 @@ spec: type: array type: object expression: + description: |- + Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not + be retried and the retry strategy will be ignored type: string template: + description: Template is the name of the template + to execute by the hook type: string templateRef: + description: TemplateRef is the reference to + the template resource to execute by the hook properties: clusterScope: + description: ClusterScope indicates the + referred template is cluster scoped (i.e. + a ClusterWorkflowTemplate). type: boolean name: + description: Name is the resource name of + the template. type: string template: + description: Template is the name of referred + template in the resource. type: string type: object type: object + description: |- + Hooks hold the lifecycle hook which is invoked at lifecycle of + task, irrespective of the success, failure, or error status of the primary task type: object inline: + description: |- + Inline is the template. Template must be empty if this is declared (and vice-versa). + Note: As mentioned in the corresponding definition in WorkflowStep, this struct is defined recursively, + so we need "x-kubernetes-preserve-unknown-fields: true" in the validation schema. x-kubernetes-preserve-unknown-fields: true name: + description: Name is the name of the target + maxLength: 128 + pattern: ^[a-zA-Z0-9][-a-zA-Z0-9]*$ type: string onExit: + description: |- + OnExit is a template reference which is invoked at the end of the + template, irrespective of the success, failure, or error of the + primary template. + DEPRECATED: Use Hooks[exit].Template instead. type: string template: + description: Name of template to execute type: string templateRef: + description: TemplateRef is the reference to the template + resource to execute. properties: clusterScope: + description: ClusterScope indicates the referred + template is cluster scoped (i.e. a ClusterWorkflowTemplate). type: boolean name: + description: Name is the resource name of the + template. type: string template: + description: Template is the name of referred + template in the resource. type: string type: object when: + description: When is an expression in which the task + should conditionally execute type: string withItems: + description: |- + WithItems expands a task into multiple parallel tasks from the items in the list + Note: The structure of WithItems is free-form, so we need + "x-kubernetes-preserve-unknown-fields: true" in the validation schema. x-kubernetes-preserve-unknown-fields: true withParam: + description: |- + WithParam expands a task into multiple parallel tasks from the value in the parameter, + which is expected to be a JSON list. type: string withSequence: + description: WithSequence expands a task into a numeric + sequence properties: count: anyOf: - type: integer - type: string + description: 'Count is number of elements in the + sequence (default: 0). Not to be used with end' x-kubernetes-int-or-string: true end: anyOf: - type: integer - type: string + description: 'Number at which to end the sequence + (default: 0). Not to be used with Count' x-kubernetes-int-or-string: true format: + description: Format is a printf format string + to format the value in the sequence type: string start: anyOf: - type: integer - type: string + description: 'Number at which to start the sequence + (default: 0)' x-kubernetes-int-or-string: true type: object + x-kubernetes-validations: + - message: only one of count or end can be defined + rule: '!(has(self.count) && has(self.end))' required: - name type: object + x-kubernetes-validations: + - message: cannot use both 'depends' and 'dependencies' + rule: '!has(self.depends) || !has(self.dependencies)' + - message: cannot use 'continueOn' when using 'depends' + rule: '!has(self.depends) || !has(self.continueOn)' + - message: task name cannot begin with a digit when using + 'depends' or 'dependencies' + rule: '!(has(self.depends) || has(self.dependencies)) + || !self.name.matches(''^[0-9]'')' + maxItems: 200 + minItems: 1 type: array required: - tasks type: object data: + description: Data is a data template properties: source: + description: Source sources external data into a data template properties: artifactPaths: + description: ArtifactPaths is a data transformation + that collects a list of artifact paths properties: archive: + description: Archive controls how the artifact will + be saved to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and gzip the + file or directory when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip zipped input + artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the container + logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy to + use when to deleting an artifact from completed + or deleted workflows properties: podMetadata: + description: PodMetadata is an optional field + for specifying the Labels and Annotations + that should be assigned to the Pod doing the + deletion properties: annotations: additionalProperties: @@ -16628,8 +23050,12 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an optional + field for specifying the Service Account that + should be assigned to the Pod doing the deletion type: string strategy: + description: Strategy is the strategy to use. enum: - "" - OnWorkflowCompletion @@ -16638,30 +23064,57 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory artifact + location details properties: passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -16671,27 +23124,50 @@ spec: - url type: object azure: + description: Azure contains Azure Storage artifact + location details properties: accountKeySecret: + description: AccountKeySecret is the secret + selector to the Azure Blob Storage account + access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., path) + in the container where the artifact resides type: string container: + description: Container is the container where + resources will be stored type: string endpoint: + description: Endpoint is the service url associated + with an account. It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver to + figure out credentials based on sdk defaults. type: boolean required: - blob @@ -16699,25 +23175,48 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to reference + an artifact from a previous step type: string fromExpression: + description: FromExpression, if defined, is evaluated + to specify the value for the artifact type: string gcs: + description: GCS contains GCS artifact location + details properties: bucket: + description: Bucket is the name of the bucket type: string key: + description: Key is the path in the bucket where + the artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is the + secret selector to the bucket's service account + key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -16727,62 +23226,119 @@ spec: - key type: object git: + description: Git contains git artifact location + details properties: branch: + description: Branch is the branch to fetch when + `SingleBranch` is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables submodules + during git clone type: boolean fetch: + description: Fetch specifies a number of refs + that should be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables + SSH strict host key checking during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables server + certificate verification resulting in insecure + HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, tag, + branch to checkout type: string singleBranch: + description: SingleBranch enables single branch + clone, using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the secret + selector to the repository ssh private key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -16792,96 +23348,191 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact location + details properties: addresses: + description: Addresses is accessible addresses + of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly even + if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location + details properties: auth: + description: Auth contains information for client + authentication properties: basicAuth: + description: BasicAuth describes the secret + selectors required for basic authentication properties: passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -16889,28 +23540,57 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds necessary + information for client authentication + via certificates properties: clientCertSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -16918,28 +23598,56 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all information + for client authentication via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -16947,10 +23655,17 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is for + requesting optional fields that + should be sent in the oauth request properties: key: + description: Name is the header + name type: string value: + description: Value is the literal + value to use for the header type: string required: - key @@ -16961,13 +23676,26 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -16976,11 +23704,19 @@ spec: type: object type: object headers: + description: Headers are an optional list of + headers to send with HTTP requests for artifacts items: + description: Header indicate a key-value request + header to be used when fetching artifacts + over HTTP properties: name: + description: Name is the header name type: string value: + description: Value is the literal value + to use for the header type: string required: - name @@ -16988,131 +23724,285 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must be unique + within a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if Artifacts + doesn't generate or exist type: boolean oss: + description: OSS contains OSS artifact location + details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells + the driver to attempt to create the OSS bucket + for output artifacts, if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname of the + bucket endpoint type: string key: + description: Key is the path in the bucket where + the artifact resides type: string lifecycleRule: + description: LifecycleRule specifies how to + manage bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays is the + number of days before we delete objects + in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before we convert + the objects in the bucket to Infrequent + Access (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s temporary + security token. For more details, check out: + https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver to + figure out credentials based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container path to the artifact type: string + plugin: + description: Plugin contains plugin artifact location + details + properties: + configuration: + description: Configuration is the plugin defined + configuration for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds is the + timeout for the artifact driver connection, + overriding the driver's timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact + repository where the artifact resides + type: string + name: + description: Name is the name of the artifact + driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location + details properties: data: + description: Data is the string contents of + the artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission + recursively into the artifact if it is a folder type: boolean s3: + description: S3 contains S3 artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string caSecret: + description: CASecret specifies the secret that + contains the CA, used to verify the TLS connection properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells + the driver to attempt to create the S3 bucket + for output artifacts, if it doesn't exist. + Setting Enabled Encryption will apply either + SSE-S3 to the bucket if KmsKeyId is not set + or SSE-KMS if it is. properties: objectLocking: + description: ObjectLocking Enable object + locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used to determine + encryption options during s3 operations properties: enableEncryption: + description: EnableEncryption tells the + driver to encrypt objects if set to true. + If kmsKeyId and serverSideCustomerKeySecret + are not set, SSE-S3 will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext is a json + blob that contains an encryption context. + See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver to + encrypt the object using the specified + KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret + tells the driver to encrypt the output + artifacts using SSE-C with the specified + secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -17120,54 +24010,104 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname of the + bucket endpoint type: string insecure: + description: Insecure will connect to the service + with TLS type: boolean key: + description: Key is the key in the bucket where + the artifact resides type: string region: + description: Region contains the optional bucket + region type: string roleARN: + description: RoleARN is the Amazon Resource + Name (ARN) of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used for + ephemeral credentials like an IAM assume role + or S3 access grant properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver to + figure out credentials based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact to be sourced + from a subpath within the specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 + : 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: object transformation: + description: Transformation applies a set of transformations items: properties: expression: + description: Expression defines an expr expression + to apply type: string required: - expression @@ -17178,37 +24118,56 @@ spec: - transformation type: object executor: + description: Executor holds configurations of the executor container. properties: serviceAccountName: + description: ServiceAccountName specifies the service account + name of the executor container. type: string type: object failFast: + description: |- + FailFast, if specified, will fail this template if any of its child pods has failed. This is useful for when this + template is expanded with `withItems`, etc. type: boolean hostAliases: + description: HostAliases is an optional list of hosts and IPs + that will be injected into the pod spec items: + description: |- + HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the + pod's hosts file. properties: hostnames: + description: Hostnames for the above IP address. items: type: string type: array x-kubernetes-list-type: atomic ip: + description: IP address of the host file entry. type: string required: - ip type: object type: array http: + description: HTTP makes a HTTP request properties: body: + description: Body is content of the HTTP Request type: string bodyFrom: + description: BodyFrom is content of the HTTP Request as + Bytes properties: bytes: format: byte type: string type: object headers: + description: Headers are an optional list of headers to + send with HTTP requests items: properties: name: @@ -17218,13 +24177,25 @@ spec: valueFrom: properties: secretKeyRef: + description: SecretKeySelector selects a key of + a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -17236,88 +24207,174 @@ spec: type: object type: array insecureSkipVerify: + description: InsecureSkipVerify is a bool when if set to + true will skip TLS verification for the HTTP client type: boolean method: + description: Method is HTTP methods for HTTP Request type: string successCondition: + description: SuccessCondition is an expression if evaluated + to true is considered successful type: string timeoutSeconds: + description: TimeoutSeconds is request timeout for HTTP + Request. Default is 30 seconds format: int64 type: integer url: + description: URL of the HTTP Request type: string required: - url type: object initContainers: + description: InitContainers is a list of containers which run + before the main container. items: + description: UserContainer is a container specified by a user. properties: args: + description: |- + Arguments to the entrypoint. + The container image's CMD is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic command: + description: |- + Entrypoint array. Not executed within a shell. + The container image's ENTRYPOINT is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic env: + description: |- + List of environment variables to set in the container. + Cannot be updated. items: + description: EnvVar represents an environment variable + present in a Container. properties: name: + description: Name of the environment variable. Must + be a C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. If a variable cannot be resolved, + the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. + "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". + Escaped references will never be expanded, regardless of whether the variable + exists or not. + Defaults to "". type: string valueFrom: + description: Source for the environment variable's + value. Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select + in the specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. properties: containerName: + description: 'Container name: required for + volumes, optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format + of the exposed resources, defaults to + "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic 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: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -17332,25 +24389,54 @@ spec: - name x-kubernetes-list-type: map envFrom: + description: |- + List of sources to populate environment variables in the container. + The keys defined within a source must be a C_IDENTIFIER. All invalid keys + will be reported as an event when the container is starting. When a key exists in multiple + sources, the value associated with the last source will take precedence. + Values defined by an Env with a duplicate key will take precedence. + Cannot be updated. items: + description: EnvFromSource represents the source of + a set of ConfigMaps or Secrets properties: configMapRef: + description: The ConfigMap to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap must + be defined type: boolean type: object x-kubernetes-map-type: atomic prefix: + description: Optional text to prepend to the name + of each environment variable. Must be a C_IDENTIFIER. type: string secretRef: + description: The Secret to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret must + be defined type: boolean type: object x-kubernetes-map-type: atomic @@ -17358,31 +24444,71 @@ spec: type: array x-kubernetes-list-type: atomic image: + description: |- + Container image name. + More info: https://kubernetes.io/docs/concepts/containers/images + This field is optional to allow higher level config management to default or override + container images in workload controllers like Deployments and StatefulSets. type: string imagePullPolicy: + description: |- + Image pull policy. + One of Always, Never, IfNotPresent. + Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/containers/images#updating-images type: string lifecycle: + description: |- + Actions that the management system should take in response to container lifecycle events. + Cannot be updated. properties: postStart: + description: |- + PostStart is called immediately after a container is created. If the handler fails, + the container is terminated and restarted according to its restart policy. + Other management of the container blocks until the hook completes. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the + request. HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -17391,58 +24517,111 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that + the container should sleep. properties: seconds: + description: Seconds is the number of seconds + to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object preStop: + description: |- + PreStop is called immediately before a container is terminated due to an + API request or management event such as liveness/startup probe failure, + preemption, resource contention, etc. The handler is not called if the + container crashes or exits. The Pod's termination grace period countdown begins before the + PreStop hook is executed. Regardless of the outcome of the handler, the + container will eventually terminate within the Pod's termination grace + period (unless delayed by finalizers). Other management of the container blocks until the hook completes + or until the termination grace period is reached. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the + request. HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -17451,75 +24630,138 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that + the container should sleep. properties: seconds: + description: Seconds is the number of seconds + to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object stopSignal: + description: |- + StopSignal defines which signal will be sent to a container when it is being stopped. + If not specified, the default is defined by the container runtime in use. + StopSignal can only be set for Pods with a non-empty .spec.os.name type: string type: object livenessProbe: + description: |- + Periodic probe of container liveness. + Container will be restarted if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -17528,64 +24770,140 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a + TCP port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object mirrorVolumeMounts: + description: |- + MirrorVolumeMounts will mount the same volumes specified in the main container + to the container (including artifacts), at the same mountPaths. This enables + dind daemon to partially see the same filesystem as the main container in + order to use features such as docker volume binding type: boolean name: + description: |- + Name of the container specified as a DNS_LABEL. + Each container in a pod must have a unique name (DNS_LABEL). + Cannot be updated. type: string ports: + description: |- + List of ports to expose from the container. Not specifying a port here + DOES NOT prevent that port from being exposed. Any port which is + listening on the default "0.0.0.0" address inside a container will be + accessible from the network. + Modifying this array with strategic merge patch may corrupt the data. + For more information See https://github.com/kubernetes/kubernetes/issues/108255. + Cannot be updated. items: + description: ContainerPort represents a network port + in a single container. properties: containerPort: + description: |- + Number of port to expose on the pod's IP address. + This must be a valid port number, 0 < x < 65536. format: int32 type: integer hostIP: + description: What host IP to bind the external port + to. type: string hostPort: + description: |- + Number of port to expose on the host. + If specified, this must be a valid port number, 0 < x < 65536. + If HostNetwork is specified, this must match ContainerPort. + Most containers do not need this. format: int32 type: integer name: + description: |- + If specified, this must be an IANA_SVC_NAME and unique within the pod. Each + named port in a pod must have a unique name. Name for the port that can be + referred to by services. type: string protocol: default: TCP + description: |- + Protocol for port. Must be UDP, TCP, or SCTP. + Defaults to "TCP". type: string required: - containerPort @@ -17596,39 +24914,76 @@ spec: - protocol x-kubernetes-list-type: map readinessProbe: + description: |- + Periodic probe of container service readiness. + Container will be removed from service endpoints if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -17637,51 +24992,100 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a + TCP port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object resizePolicy: + description: Resources resize policy for the container. items: + description: ContainerResizePolicy represents resource + resize policy for the container. properties: resourceName: + description: |- + Name of the resource to which this resource resize policy applies. + Supported values: cpu, memory. type: string restartPolicy: + description: |- + Restart policy to apply when specified resource is resized. + If not specified, it defaults to NotRequired. type: string required: - resourceName @@ -17690,13 +25094,35 @@ spec: type: array x-kubernetes-list-type: atomic resources: + description: |- + Compute Resources required by this container. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ properties: claims: + description: |- + Claims lists the names of resources, defined in spec.resourceClaims, + that are used by this container. + + This is an alpha field and requires enabling the + DynamicResourceAllocation feature gate. + + This field is immutable. It can only be set for containers. items: + description: ResourceClaim references one entry + in PodSpec.ResourceClaims. properties: name: + description: |- + Name must match the name of one entry in pod.spec.resourceClaims of + the Pod where this field is used. It makes that resource available + inside a container. type: string request: + description: |- + Request is the name chosen for a request in the referenced claim. + If empty, everything from the claim is made available, otherwise + only the result of this request. type: string required: - name @@ -17712,6 +25138,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -17720,116 +25149,300 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object type: object restartPolicy: + description: |- + RestartPolicy defines the restart behavior of individual containers in a pod. + This field may only be set for init containers, and the only allowed value is "Always". + For non-init containers or when this field is not specified, + the restart behavior is defined by the Pod's restart policy and the container type. + Setting the RestartPolicy as "Always" for the init container will have the following effect: + this init container will be continually restarted on + exit until all regular containers have terminated. Once all regular + containers have completed, all init containers with restartPolicy "Always" + will be shut down. This lifecycle differs from normal init containers and + is often referred to as a "sidecar" container. Although this init + container still starts in the init container sequence, it does not wait + for the container to complete before proceeding to the next init + container. Instead, the next init container starts immediately after this + init container is started, or after any startupProbe has successfully + completed. type: string securityContext: + description: |- + SecurityContext defines the security options the container should be run with. + If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. + More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ properties: allowPrivilegeEscalation: + description: |- + AllowPrivilegeEscalation controls whether a process can gain more + privileges than its parent process. This bool directly controls if + the no_new_privs flag will be set on the container process. + AllowPrivilegeEscalation is true always when the container is: + 1) run as Privileged + 2) has CAP_SYS_ADMIN + Note that this field cannot be set when spec.os.name is windows. type: boolean appArmorProfile: + description: |- + appArmorProfile is the AppArmor options to use by this container. If set, this profile + overrides the pod's appArmorProfile. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile loaded on the node that should be used. + The profile must be preconfigured on the node to work. + Must match the loaded name of the profile. + Must be set if and only if type is "Localhost". type: string type: + description: |- + type indicates which kind of AppArmor profile will be applied. + Valid options are: + Localhost - a profile pre-loaded on the node. + RuntimeDefault - the container runtime's default profile. + Unconfined - no AppArmor enforcement. type: string required: - type type: object capabilities: + description: |- + The capabilities to add/drop when running containers. + Defaults to the default set of capabilities granted by the container runtime. + Note that this field cannot be set when spec.os.name is windows. properties: add: + description: Added capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array x-kubernetes-list-type: atomic drop: + description: Removed capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array x-kubernetes-list-type: atomic type: object privileged: + description: |- + Run container in privileged mode. + Processes in privileged containers are essentially equivalent to root on the host. + Defaults to false. + Note that this field cannot be set when spec.os.name is windows. type: boolean procMount: + description: |- + procMount denotes the type of proc mount to use for the containers. + The default value is Default which uses the container runtime defaults for + readonly paths and masked paths. + This requires the ProcMountType feature flag to be enabled. + Note that this field cannot be set when spec.os.name is windows. type: string readOnlyRootFilesystem: + description: |- + Whether this container has a read-only root filesystem. + Default is false. + Note that this field cannot be set when spec.os.name is windows. type: boolean runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer runAsNonRoot: + description: |- + Indicates that the container must run as a non-root user. + If true, the Kubelet will validate the image at runtime to ensure that it + does not run as UID 0 (root) and fail to start the container if it does. + If unset or false, no such validation will be performed. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to the container. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. properties: level: + description: Level is SELinux level label that + applies to the container. type: string role: + description: Role is a SELinux role label that + applies to the container. type: string type: + description: Type is a SELinux type label that + applies to the container. type: string user: + description: User is a SELinux user label that + applies to the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by this container. If seccomp options are + provided at both the pod & container level, the container options + override the pod options. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. + Must be a descending path, relative to the kubelet's configured seccomp profile location. + Must be set if type is "Localhost". Must NOT be set for any other type. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + Localhost - a profile defined in a file on the node should be used. + RuntimeDefault - the container runtime default profile should be used. + Unconfined - no profile should be applied. type: string required: - type type: object windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options from the PodSecurityContext will be used. + If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is linux. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name + of the GMSA credential spec to use. type: string hostProcess: + description: |- + HostProcess determines if a container should be run as a 'Host Process' container. + All of a Pod's containers must have the same effective HostProcess value + (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + In addition, if HostProcess is true then HostNetwork must also be set to true. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: string type: object type: object startupProbe: + description: |- + StartupProbe indicates that the Pod has successfully initialized. + If specified, no other probes are executed until this completes successfully. + If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. + This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, + when it might take a long time to load data or warm a cache, than during steady-state operation. + This cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -17838,61 +25451,140 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a + TCP port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object stdin: + description: |- + Whether this container should allocate a buffer for stdin in the container runtime. If this + is not set, reads from stdin in the container will always result in EOF. + Default is false. type: boolean stdinOnce: + description: |- + Whether the container runtime should close the stdin channel after it has been opened by + a single attach. When stdin is true the stdin stream will remain open across multiple attach + sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the + first client attaches to stdin, and then remains open and accepts data until the client disconnects, + at which time stdin is closed and remains closed until the container is restarted. If this + flag is false, a container processes that reads from stdin will never receive an EOF. + Default is false type: boolean terminationMessagePath: + description: |- + Optional: Path at which the file to which the container's termination message + will be written is mounted into the container's filesystem. + Message written is intended to be brief final status, such as an assertion failure message. + Will be truncated by the node if greater than 4096 bytes. The total message length across + all containers will be limited to 12kb. + Defaults to /dev/termination-log. + Cannot be updated. type: string terminationMessagePolicy: + description: |- + Indicate how the termination message should be populated. File will use the contents of + terminationMessagePath to populate the container status message on both success and failure. + FallbackToLogsOnError will use the last chunk of container log output if the termination + message file is empty and the container exited with an error. + The log output is limited to 2048 bytes or 80 lines, whichever is smaller. + Defaults to File. + Cannot be updated. type: string tty: + description: |- + Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. + Default is false. type: boolean volumeDevices: + description: volumeDevices is the list of block devices + to be used by the container. items: + description: volumeDevice describes a mapping of a raw + block device within a container. properties: devicePath: + description: devicePath is the path inside of the + container that the device will be mapped to. type: string name: + description: name must match the name of a persistentVolumeClaim + in the pod type: string required: - devicePath @@ -17903,21 +25595,65 @@ spec: - devicePath x-kubernetes-list-type: map volumeMounts: + description: |- + Pod volumes to mount into the container's filesystem. + Cannot be updated. items: + description: VolumeMount describes a mounting of a Volume + within a container. properties: mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. type: string mountPropagation: + description: |- + mountPropagation determines how mounts are propagated from the host + to container and the other way around. + When not set, MountPropagationNone is used. + This field is beta in 1.10. + When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + (which defaults to None). type: string name: + description: This must match the Name of a Volume. type: string readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. type: boolean recursiveReadOnly: + description: |- + RecursiveReadOnly specifies whether read-only mounts should be handled + recursively. + + If ReadOnly is false, this field has no meaning and must be unspecified. + + If ReadOnly is true, and this field is set to Disabled, the mount is not made + recursively read-only. If this field is set to IfPossible, the mount is made + recursively read-only, if it is supported by the container runtime. If this + field is set to Enabled, the mount is made recursively read-only if it is + supported by the container runtime, otherwise the pod will not be started and + an error will be generated to indicate the reason. + + If this field is set to IfPossible or Enabled, MountPropagation must be set to + None (or be unspecified, which defaults to None). + + If this field is not specified, it is treated as an equivalent of Disabled. type: string subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). type: string subPathExpr: + description: |- + Expanded path within the volume from which the container's volume should be mounted. + Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. + Defaults to "" (volume's root). + SubPathExpr and SubPath are mutually exclusive. type: string required: - mountPath @@ -17928,34 +25664,66 @@ spec: - mountPath x-kubernetes-list-type: map workingDir: + description: |- + Container's working directory. + If not specified, the container runtime's default will be used, which + might be configured in the container image. + Cannot be updated. type: string required: - name type: object type: array inputs: + description: Inputs describe what inputs parameters and artifacts + are supplied to this template properties: artifacts: + description: Artifact are a list of artifacts passed as + inputs items: + description: Artifact indicates an artifact to place at + a specified path properties: archive: + description: Archive controls how the artifact will + be saved to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and gzip the + file or directory when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip zipped input + artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the container + logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy to + use when to deleting an artifact from completed + or deleted workflows properties: podMetadata: + description: PodMetadata is an optional field + for specifying the Labels and Annotations that + should be assigned to the Pod doing the deletion properties: annotations: additionalProperties: @@ -17967,8 +25735,12 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an optional + field for specifying the Service Account that + should be assigned to the Pod doing the deletion type: string strategy: + description: Strategy is the strategy to use. enum: - "" - OnWorkflowCompletion @@ -17977,30 +25749,57 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory artifact + location details properties: passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -18010,27 +25809,49 @@ spec: - url type: object azure: + description: Azure contains Azure Storage artifact + location details properties: accountKeySecret: + description: AccountKeySecret is the secret selector + to the Azure Blob Storage account access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., path) + in the container where the artifact resides type: string container: + description: Container is the container where + resources will be stored type: string endpoint: + description: Endpoint is the service url associated + with an account. It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - blob @@ -18038,25 +25859,46 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to reference + an artifact from a previous step type: string fromExpression: + description: FromExpression, if defined, is evaluated + to specify the value for the artifact type: string gcs: + description: GCS contains GCS artifact location details properties: bucket: + description: Bucket is the name of the bucket type: string key: + description: Key is the path in the bucket where + the artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is the secret + selector to the bucket's service account key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -18066,62 +25908,117 @@ spec: - key type: object git: + description: Git contains git artifact location details properties: branch: + description: Branch is the branch to fetch when + `SingleBranch` is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables submodules + during git clone type: boolean fetch: + description: Fetch specifies a number of refs + that should be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables SSH + strict host key checking during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables server certificate + verification resulting in insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, tag, + branch to checkout type: string singleBranch: + description: SingleBranch enables single branch + clone, using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the secret + selector to the repository ssh private key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -18131,96 +26028,191 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact location + details properties: addresses: + description: Addresses is accessible addresses + of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly even + if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location + details properties: auth: + description: Auth contains information for client + authentication properties: basicAuth: + description: BasicAuth describes the secret + selectors required for basic authentication properties: passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -18228,28 +26220,57 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds necessary + information for client authentication via + certificates properties: clientCertSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -18257,28 +26278,56 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all information + for client authentication via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -18286,10 +26335,17 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is for requesting + optional fields that should be sent + in the oauth request properties: key: + description: Name is the header + name type: string value: + description: Value is the literal + value to use for the header type: string required: - key @@ -18300,13 +26356,26 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -18315,11 +26384,19 @@ spec: type: object type: object headers: + description: Headers are an optional list of headers + to send with HTTP requests for artifacts items: + description: Header indicate a key-value request + header to be used when fetching artifacts + over HTTP properties: name: + description: Name is the header name type: string value: + description: Value is the literal value + to use for the header type: string required: - name @@ -18327,131 +26404,281 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must be unique + within a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if Artifacts + doesn't generate or exist type: boolean oss: + description: OSS contains OSS artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the + driver to attempt to create the OSS bucket for + output artifacts, if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string key: + description: Key is the path in the bucket where + the artifact resides type: string lifecycleRule: + description: LifecycleRule specifies how to manage + bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays is the + number of days before we delete objects + in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before we convert + the objects in the bucket to Infrequent + Access (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s temporary + security token. For more details, check out: + https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container path to the artifact type: string + plugin: + description: Plugin contains plugin artifact location + details + properties: + configuration: + description: Configuration is the plugin defined + configuration for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds is the timeout + for the artifact driver connection, overriding + the driver's timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact repository + where the artifact resides + type: string + name: + description: Name is the name of the artifact + driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location details properties: data: + description: Data is the string contents of the + artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission + recursively into the artifact if it is a folder type: boolean s3: + description: S3 contains S3 artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string caSecret: + description: CASecret specifies the secret that + contains the CA, used to verify the TLS connection properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the + driver to attempt to create the S3 bucket for + output artifacts, if it doesn't exist. Setting + Enabled Encryption will apply either SSE-S3 + to the bucket if KmsKeyId is not set or SSE-KMS + if it is. properties: objectLocking: + description: ObjectLocking Enable object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used to determine + encryption options during s3 operations properties: enableEncryption: + description: EnableEncryption tells the driver + to encrypt objects if set to true. If kmsKeyId + and serverSideCustomerKeySecret are not + set, SSE-S3 will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext is a json + blob that contains an encryption context. + See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver to + encrypt the object using the specified KMS + Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret tells + the driver to encrypt the output artifacts + using SSE-C with the specified secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -18459,127 +26686,239 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string insecure: + description: Insecure will connect to the service + with TLS type: boolean key: + description: Key is the key in the bucket where + the artifact resides type: string region: + description: Region contains the optional bucket + region type: string roleARN: + description: RoleARN is the Amazon Resource Name + (ARN) of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used for ephemeral + credentials like an IAM assume role or S3 access + grant properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact to be sourced + from a subpath within the specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : + 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array parameters: + description: |- + Parameters are a list of parameters passed as inputs + MaxItems is an artificial limit to limit CEL validation costs - see note at top of file items: + description: Parameter indicate a passed string parameter + to a service template with an optional default value properties: default: + description: Default is the default value to use for + an input parameter if a value was not supplied type: string description: + description: Description is the parameter description type: string enum: + description: Enum holds a list of string values to + choose from, for the actual value of the parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source for the output + parameter's value properties: configMapKeyRef: + description: ConfigMapKeyRef is configmap selector + for input parameter configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies a value to be used + if retrieving the value from the specified source + fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the event to get the + value of the parameter. E.g. `payload.message` type: string expression: + description: Expression, if defined, is evaluated + to specify the value for the parameter type: string jqFilter: + description: JQFilter expression against the resource + object in resource templates type: string jsonPath: + description: JSONPath of a resource to retrieve + an output parameter value from in resource templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container to retrieve + an output parameter value from in container + templates type: string supplied: + description: Supplied value to be filled in directly, + either through the CLI, API, etc. type: object type: object required: - name type: object + maxItems: 500 type: array type: object memoize: + description: Memoize allows templates to use outputs generated + from already executed templates properties: cache: + description: Cache sets and configures the kind of cache properties: configMap: + description: ConfigMap sets a ConfigMap-based cache properties: - key: - type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string - optional: - type: boolean - required: - - key type: object x-kubernetes-map-type: atomic required: - configMap type: object key: + description: Key is the key to use as the caching key type: string maxAge: + description: |- + MaxAge is the maximum age (e.g. "180s", "24h") of an entry that is still considered valid. If an entry is older + than the MaxAge, it will be ignored. type: string required: - cache @@ -18587,6 +26926,8 @@ spec: - maxAge type: object metadata: + description: Metadata sets the pods's metadata, i.e. annotations + and labels properties: annotations: additionalProperties: @@ -18598,47 +26939,87 @@ spec: type: object type: object metrics: + description: Metrics are a list of metrics emitted from this + template properties: prometheus: + description: |- + Prometheus is a list of prometheus metrics to be emitted + MaxItems is an artificial limit to limit CEL validation costs - see note at top of file items: + description: Prometheus is a prometheus metric to be emitted properties: counter: + description: Counter is a counter metric properties: value: + description: Value is the value of the metric + minLength: 1 type: string required: - value type: object gauge: + description: Gauge is a gauge metric properties: operation: + description: Operation defines the operation to + apply with value and the metrics' current value + enum: + - Set + - Add + - Sub type: string realtime: + description: Realtime emits this metric in real + time if applicable type: boolean value: + description: |- + Value is the value to be used in the operation with the metric's current value. If no operation is set, + value is the value of the metric + MaxLength is an artificial limit to limit CEL validation costs - see note at top of file + maxLength: 256 + minLength: 1 type: string required: - realtime - value type: object + x-kubernetes-validations: + - message: '''resourcesDuration.*'' metrics cannot + be used in real-time gauges' + rule: '!has(self.realtime) || !self.realtime || + !self.value.contains(''resourcesDuration.'')' help: + description: Help is a string that describes the metric + minLength: 1 type: string histogram: + description: Histogram is a histogram metric properties: buckets: + description: Buckets is a list of bucket divisors + for the histogram items: type: number type: array value: + description: Value is the value of the metric + minLength: 1 type: string required: - buckets - value type: object labels: + description: Labels is a list of metric labels items: + description: MetricLabel is a single label for a + prometheus metric properties: key: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ type: string value: type: string @@ -18648,46 +27029,84 @@ spec: type: object type: array name: + description: Name is the name of the metric + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ type: string when: + description: When is a conditional statement that + decides when to emit the metric type: string required: - help - name type: object + maxItems: 100 type: array required: - prometheus type: object name: + description: Name is the name of the template + maxLength: 128 + pattern: ^[a-zA-Z0-9][-a-zA-Z0-9]*$ type: string nodeSelector: additionalProperties: type: string + description: |- + NodeSelector is a selector to schedule this step of the workflow to be + run on the selected node(s). Overrides the selector set at the workflow level. type: object outputs: + description: Outputs describe the parameters and artifacts that + this template produces properties: artifacts: + description: Artifacts holds the list of output artifacts + produced by a step items: + description: Artifact indicates an artifact to place at + a specified path properties: archive: + description: Archive controls how the artifact will + be saved to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and gzip the + file or directory when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip zipped input + artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the container + logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy to + use when to deleting an artifact from completed + or deleted workflows properties: podMetadata: + description: PodMetadata is an optional field + for specifying the Labels and Annotations that + should be assigned to the Pod doing the deletion properties: annotations: additionalProperties: @@ -18699,8 +27118,12 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an optional + field for specifying the Service Account that + should be assigned to the Pod doing the deletion type: string strategy: + description: Strategy is the strategy to use. enum: - "" - OnWorkflowCompletion @@ -18709,30 +27132,57 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory artifact + location details properties: passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -18742,27 +27192,49 @@ spec: - url type: object azure: + description: Azure contains Azure Storage artifact + location details properties: accountKeySecret: + description: AccountKeySecret is the secret selector + to the Azure Blob Storage account access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., path) + in the container where the artifact resides type: string container: + description: Container is the container where + resources will be stored type: string endpoint: + description: Endpoint is the service url associated + with an account. It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - blob @@ -18770,25 +27242,46 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to reference + an artifact from a previous step type: string fromExpression: + description: FromExpression, if defined, is evaluated + to specify the value for the artifact type: string gcs: + description: GCS contains GCS artifact location details properties: bucket: + description: Bucket is the name of the bucket type: string key: + description: Key is the path in the bucket where + the artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is the secret + selector to the bucket's service account key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -18798,62 +27291,117 @@ spec: - key type: object git: + description: Git contains git artifact location details properties: branch: + description: Branch is the branch to fetch when + `SingleBranch` is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables submodules + during git clone type: boolean fetch: + description: Fetch specifies a number of refs + that should be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables SSH + strict host key checking during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables server certificate + verification resulting in insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, tag, + branch to checkout type: string singleBranch: + description: SingleBranch enables single branch + clone, using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the secret + selector to the repository ssh private key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -18863,96 +27411,191 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact location + details properties: addresses: + description: Addresses is accessible addresses + of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly even + if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location + details properties: auth: + description: Auth contains information for client + authentication properties: basicAuth: + description: BasicAuth describes the secret + selectors required for basic authentication properties: passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -18960,28 +27603,57 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds necessary + information for client authentication via + certificates properties: clientCertSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -18989,28 +27661,56 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all information + for client authentication via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -19018,10 +27718,17 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is for requesting + optional fields that should be sent + in the oauth request properties: key: + description: Name is the header + name type: string value: + description: Value is the literal + value to use for the header type: string required: - key @@ -19032,13 +27739,26 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -19047,11 +27767,19 @@ spec: type: object type: object headers: + description: Headers are an optional list of headers + to send with HTTP requests for artifacts items: + description: Header indicate a key-value request + header to be used when fetching artifacts + over HTTP properties: name: + description: Name is the header name type: string value: + description: Value is the literal value + to use for the header type: string required: - name @@ -19059,131 +27787,281 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must be unique + within a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if Artifacts + doesn't generate or exist type: boolean oss: + description: OSS contains OSS artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the + driver to attempt to create the OSS bucket for + output artifacts, if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string key: + description: Key is the path in the bucket where + the artifact resides type: string lifecycleRule: + description: LifecycleRule specifies how to manage + bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays is the + number of days before we delete objects + in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before we convert + the objects in the bucket to Infrequent + Access (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s temporary + security token. For more details, check out: + https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container path to the artifact type: string + plugin: + description: Plugin contains plugin artifact location + details + properties: + configuration: + description: Configuration is the plugin defined + configuration for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds is the timeout + for the artifact driver connection, overriding + the driver's timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact repository + where the artifact resides + type: string + name: + description: Name is the name of the artifact + driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location details properties: data: + description: Data is the string contents of the + artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission + recursively into the artifact if it is a folder type: boolean s3: + description: S3 contains S3 artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string caSecret: + description: CASecret specifies the secret that + contains the CA, used to verify the TLS connection properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the + driver to attempt to create the S3 bucket for + output artifacts, if it doesn't exist. Setting + Enabled Encryption will apply either SSE-S3 + to the bucket if KmsKeyId is not set or SSE-KMS + if it is. properties: objectLocking: + description: ObjectLocking Enable object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used to determine + encryption options during s3 operations properties: enableEncryption: + description: EnableEncryption tells the driver + to encrypt objects if set to true. If kmsKeyId + and serverSideCustomerKeySecret are not + set, SSE-S3 will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext is a json + blob that contains an encryption context. + See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver to + encrypt the object using the specified KMS + Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret tells + the driver to encrypt the output artifacts + using SSE-C with the specified secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -19191,99 +28069,202 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string insecure: + description: Insecure will connect to the service + with TLS type: boolean key: + description: Key is the key in the bucket where + the artifact resides type: string region: + description: Region contains the optional bucket + region type: string roleARN: + description: RoleARN is the Amazon Resource Name + (ARN) of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used for ephemeral + credentials like an IAM assume role or S3 access + grant properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact to be sourced + from a subpath within the specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : + 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array exitCode: + description: ExitCode holds the exit code of a script template type: string parameters: + description: Parameters holds the list of output parameters + produced by a step items: + description: Parameter indicate a passed string parameter + to a service template with an optional default value properties: default: + description: Default is the default value to use for + an input parameter if a value was not supplied type: string description: + description: Description is the parameter description type: string enum: + description: Enum holds a list of string values to + choose from, for the actual value of the parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source for the output + parameter's value properties: configMapKeyRef: + description: ConfigMapKeyRef is configmap selector + for input parameter configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies a value to be used + if retrieving the value from the specified source + fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the event to get the + value of the parameter. E.g. `payload.message` type: string expression: + description: Expression, if defined, is evaluated + to specify the value for the parameter type: string jqFilter: + description: JQFilter expression against the resource + object in resource templates type: string jsonPath: + description: JSONPath of a resource to retrieve + an output parameter value from in resource templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container to retrieve + an output parameter value from in container + templates type: string supplied: + description: Supplied value to be filled in directly, + either through the CLI, API, etc. type: object type: object required: @@ -19291,52 +28272,112 @@ spec: type: object type: array result: + description: Result holds the result (stdout) of a script + or container template, or the response body of an HTTP + template type: string type: object parallelism: + description: |- + Parallelism limits the max total parallel pods that can execute at the same time within the + boundaries of this template invocation. If additional steps/dag templates are invoked, the + pods created by those templates will not be counted towards this total. format: int64 + minimum: 1 type: integer plugin: + description: |- + Plugin is a plugin template + Note: the structure of a plugin template is free-form, so we need to have + "x-kubernetes-preserve-unknown-fields: true" in the validation schema. type: object x-kubernetes-preserve-unknown-fields: true podSpecPatch: + description: |- + PodSpecPatch holds strategic merge patch to apply against the pod spec. Allows parameterization of + container fields which are not strings (e.g. resource limits). type: string priorityClassName: + description: PriorityClassName to apply to workflow pods. type: string resource: + description: Resource template subtype which can run k8s resources properties: action: + description: |- + Action is the action to perform to the resource. + Must be one of: get, create, apply, delete, replace, patch + enum: + - get + - create + - apply + - delete + - replace + - patch type: string failureCondition: + description: |- + FailureCondition is a label selector expression which describes the conditions + of the k8s resource in which the step was considered failed type: string flags: + description: "Flags is a set of additional options passed + to kubectl before submitting a resource\nI.e. to disable + resource validation:\nflags: [\n\t\"--validate=false\" + \ # disable resource validation\n]" items: type: string type: array manifest: + description: Manifest contains the kubernetes manifest type: string manifestFrom: + description: ManifestFrom is the source for a single kubernetes + manifest properties: artifact: + description: Artifact contains the artifact to use properties: archive: + description: Archive controls how the artifact will + be saved to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and gzip the + file or directory when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip zipped input + artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the container + logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy to + use when to deleting an artifact from completed + or deleted workflows properties: podMetadata: + description: PodMetadata is an optional field + for specifying the Labels and Annotations + that should be assigned to the Pod doing the + deletion properties: annotations: additionalProperties: @@ -19348,8 +28389,12 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an optional + field for specifying the Service Account that + should be assigned to the Pod doing the deletion type: string strategy: + description: Strategy is the strategy to use. enum: - "" - OnWorkflowCompletion @@ -19358,30 +28403,57 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory artifact + location details properties: passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -19391,27 +28463,50 @@ spec: - url type: object azure: + description: Azure contains Azure Storage artifact + location details properties: accountKeySecret: + description: AccountKeySecret is the secret + selector to the Azure Blob Storage account + access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., path) + in the container where the artifact resides type: string container: + description: Container is the container where + resources will be stored type: string endpoint: + description: Endpoint is the service url associated + with an account. It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver to + figure out credentials based on sdk defaults. type: boolean required: - blob @@ -19419,25 +28514,48 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to reference + an artifact from a previous step type: string fromExpression: + description: FromExpression, if defined, is evaluated + to specify the value for the artifact type: string gcs: + description: GCS contains GCS artifact location + details properties: bucket: + description: Bucket is the name of the bucket type: string key: + description: Key is the path in the bucket where + the artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is the + secret selector to the bucket's service account + key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -19447,62 +28565,119 @@ spec: - key type: object git: + description: Git contains git artifact location + details properties: branch: + description: Branch is the branch to fetch when + `SingleBranch` is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables submodules + during git clone type: boolean fetch: + description: Fetch specifies a number of refs + that should be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables + SSH strict host key checking during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables server + certificate verification resulting in insecure + HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, tag, + branch to checkout type: string singleBranch: + description: SingleBranch enables single branch + clone, using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the secret + selector to the repository ssh private key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -19512,96 +28687,191 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact location + details properties: addresses: + description: Addresses is accessible addresses + of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly even + if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location + details properties: auth: + description: Auth contains information for client + authentication properties: basicAuth: + description: BasicAuth describes the secret + selectors required for basic authentication properties: passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -19609,28 +28879,57 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds necessary + information for client authentication + via certificates properties: clientCertSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -19638,28 +28937,56 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all information + for client authentication via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -19667,10 +28994,17 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is for + requesting optional fields that + should be sent in the oauth request properties: key: + description: Name is the header + name type: string value: + description: Value is the literal + value to use for the header type: string required: - key @@ -19681,13 +29015,26 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector selects + a key of a Secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -19696,11 +29043,19 @@ spec: type: object type: object headers: + description: Headers are an optional list of + headers to send with HTTP requests for artifacts items: + description: Header indicate a key-value request + header to be used when fetching artifacts + over HTTP properties: name: + description: Name is the header name type: string value: + description: Value is the literal value + to use for the header type: string required: - name @@ -19708,131 +29063,285 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must be unique + within a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if Artifacts + doesn't generate or exist type: boolean oss: + description: OSS contains OSS artifact location + details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells + the driver to attempt to create the OSS bucket + for output artifacts, if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname of the + bucket endpoint type: string key: + description: Key is the path in the bucket where + the artifact resides type: string lifecycleRule: + description: LifecycleRule specifies how to + manage bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays is the + number of days before we delete objects + in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before we convert + the objects in the bucket to Infrequent + Access (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s temporary + security token. For more details, check out: + https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver to + figure out credentials based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container path to the artifact type: string + plugin: + description: Plugin contains plugin artifact location + details + properties: + configuration: + description: Configuration is the plugin defined + configuration for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds is the + timeout for the artifact driver connection, + overriding the driver's timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact + repository where the artifact resides + type: string + name: + description: Name is the name of the artifact + driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location + details properties: data: + description: Data is the string contents of + the artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission + recursively into the artifact if it is a folder type: boolean s3: + description: S3 contains S3 artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string caSecret: + description: CASecret specifies the secret that + contains the CA, used to verify the TLS connection properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells + the driver to attempt to create the S3 bucket + for output artifacts, if it doesn't exist. + Setting Enabled Encryption will apply either + SSE-S3 to the bucket if KmsKeyId is not set + or SSE-KMS if it is. properties: objectLocking: + description: ObjectLocking Enable object + locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used to determine + encryption options during s3 operations properties: enableEncryption: + description: EnableEncryption tells the + driver to encrypt objects if set to true. + If kmsKeyId and serverSideCustomerKeySecret + are not set, SSE-S3 will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext is a json + blob that contains an encryption context. + See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver to + encrypt the object using the specified + KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret + tells the driver to encrypt the output + artifacts using SSE-C with the specified + secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -19840,162 +29349,339 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname of the + bucket endpoint type: string insecure: + description: Insecure will connect to the service + with TLS type: boolean key: + description: Key is the key in the bucket where + the artifact resides type: string region: + description: Region contains the optional bucket + region type: string roleARN: + description: RoleARN is the Amazon Resource + Name (ARN) of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used for + ephemeral credentials like an IAM assume role + or S3 access grant properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver to + figure out credentials based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact to be sourced + from a subpath within the specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 + : 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' required: - artifact type: object mergeStrategy: + description: |- + MergeStrategy is the strategy used to merge a patch. It defaults to "strategic" + Must be one of: strategic, merge, json + enum: + - strategic + - merge + - json type: string setOwnerReference: + description: SetOwnerReference sets the reference to the + workflow on the OwnerReference of generated resource. type: boolean successCondition: + description: |- + SuccessCondition is a label selector expression which describes the conditions + of the k8s resource in which it is acceptable to proceed to the following step type: string required: - action type: object + x-kubernetes-validations: + - message: only one of manifest or manifestFrom can be specified + rule: (has(self.manifest) && !has(self.manifestFrom)) || (!has(self.manifest) + && has(self.manifestFrom)) || (!has(self.manifest) && !has(self.manifestFrom)) retryStrategy: + description: RetryStrategy describes how to retry a template + when it fails properties: affinity: + description: Affinity prevents running workflow's step on + the same host properties: nodeAntiAffinity: + description: |- + RetryNodeAntiAffinity is a placeholder for future expansion, only empty nodeAntiAffinity is allowed. + In order to prevent running steps on the same host, it uses "kubernetes.io/hostname". type: object type: object backoff: + description: Backoff is a backoff strategy properties: cap: + description: |- + Cap is a limit on revised values of the duration parameter. If a + multiplication by the factor parameter would make the duration + exceed the cap then the duration is set to the cap type: string duration: + description: Duration is the amount to back off. Default + unit is seconds, but could also be a duration (e.g. + "2m", "1h") type: string factor: anyOf: - type: integer - type: string + description: Factor is a factor to multiply the base + duration after each failed retry x-kubernetes-int-or-string: true maxDuration: + description: |- + MaxDuration is the maximum amount of time allowed for a workflow in the backoff strategy. + It is important to note that if the workflow template includes activeDeadlineSeconds, the pod's deadline is initially set with activeDeadlineSeconds. + However, when the workflow fails, the pod's deadline is then overridden by maxDuration. + This ensures that the workflow does not exceed the specified maximum duration when retries are involved. type: string type: object expression: + description: |- + Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not + be retried and the retry strategy will be ignored type: string limit: anyOf: - type: integer - type: string + description: |- + Limit is the maximum number of retry attempts when retrying a container. It does not include the original + container; the maximum number of total attempts will be `limit + 1`. x-kubernetes-int-or-string: true retryPolicy: + description: RetryPolicy is a policy of NodePhase statuses + that will be retried + enum: + - Always + - OnFailure + - OnError + - OnTransientError type: string type: object schedulerName: + description: |- + If specified, the pod will be dispatched by specified scheduler. + Or it will be dispatched by workflow scope scheduler if specified. + If neither specified, the pod will be dispatched by default scheduler. type: string script: + description: Script runs a portion of code against an interpreter properties: args: + description: |- + Arguments to the entrypoint. + The container image's CMD is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic command: + description: |- + Entrypoint array. Not executed within a shell. + The container image's ENTRYPOINT is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic env: + description: |- + List of environment variables to set in the container. + Cannot be updated. items: + description: EnvVar represents an environment variable + present in a Container. properties: name: + description: Name of the environment variable. Must + be a C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. If a variable cannot be resolved, + the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. + "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". + Escaped references will never be expanded, regardless of whether the variable + exists or not. + Defaults to "". type: string valueFrom: + description: Source for the environment variable's + value. Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in + the specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. properties: containerName: + description: 'Container name: required for + volumes, optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of + the exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic 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: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or + its key must be defined type: boolean required: - key @@ -20010,25 +29696,54 @@ spec: - name x-kubernetes-list-type: map envFrom: + description: |- + List of sources to populate environment variables in the container. + The keys defined within a source must be a C_IDENTIFIER. All invalid keys + will be reported as an event when the container is starting. When a key exists in multiple + sources, the value associated with the last source will take precedence. + Values defined by an Env with a duplicate key will take precedence. + Cannot be updated. items: + description: EnvFromSource represents the source of a + set of ConfigMaps or Secrets properties: configMapRef: + description: The ConfigMap to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap must + be defined type: boolean type: object x-kubernetes-map-type: atomic prefix: + description: Optional text to prepend to the name + of each environment variable. Must be a C_IDENTIFIER. type: string secretRef: + description: The Secret to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret must be + defined type: boolean type: object x-kubernetes-map-type: atomic @@ -20036,31 +29751,71 @@ spec: type: array x-kubernetes-list-type: atomic image: + description: |- + Container image name. + More info: https://kubernetes.io/docs/concepts/containers/images + This field is optional to allow higher level config management to default or override + container images in workload controllers like Deployments and StatefulSets. type: string imagePullPolicy: + description: |- + Image pull policy. + One of Always, Never, IfNotPresent. + Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/containers/images#updating-images type: string lifecycle: + description: |- + Actions that the management system should take in response to container lifecycle events. + Cannot be updated. properties: postStart: + description: |- + PostStart is called immediately after a container is created. If the handler fails, + the container is terminated and restarted according to its restart policy. + Other management of the container blocks until the hook completes. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -20069,58 +29824,111 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that the + container should sleep. properties: seconds: + description: Seconds is the number of seconds + to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object preStop: + description: |- + PreStop is called immediately before a container is terminated due to an + API request or management event such as liveness/startup probe failure, + preemption, resource contention, etc. The handler is not called if the + container crashes or exits. The Pod's termination grace period countdown begins before the + PreStop hook is executed. Regardless of the outcome of the handler, the + container will eventually terminate within the Pod's termination grace + period (unless delayed by finalizers). Other management of the container blocks until the hook completes + or until the termination grace period is reached. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -20129,75 +29937,138 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that the + container should sleep. properties: seconds: + description: Seconds is the number of seconds + to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object stopSignal: + description: |- + StopSignal defines which signal will be sent to a container when it is being stopped. + If not specified, the default is defined by the container runtime in use. + StopSignal can only be set for Pods with a non-empty .spec.os.name type: string type: object livenessProbe: + description: |- + Periodic probe of container liveness. + Container will be restarted if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. Number + must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request to + perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -20206,62 +30077,133 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a TCP + port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object name: + description: |- + Name of the container specified as a DNS_LABEL. + Each container in a pod must have a unique name (DNS_LABEL). + Cannot be updated. type: string ports: + description: |- + List of ports to expose from the container. Not specifying a port here + DOES NOT prevent that port from being exposed. Any port which is + listening on the default "0.0.0.0" address inside a container will be + accessible from the network. + Modifying this array with strategic merge patch may corrupt the data. + For more information See https://github.com/kubernetes/kubernetes/issues/108255. + Cannot be updated. items: + description: ContainerPort represents a network port in + a single container. properties: containerPort: + description: |- + Number of port to expose on the pod's IP address. + This must be a valid port number, 0 < x < 65536. format: int32 type: integer hostIP: + description: What host IP to bind the external port + to. type: string hostPort: + description: |- + Number of port to expose on the host. + If specified, this must be a valid port number, 0 < x < 65536. + If HostNetwork is specified, this must match ContainerPort. + Most containers do not need this. format: int32 type: integer name: + description: |- + If specified, this must be an IANA_SVC_NAME and unique within the pod. Each + named port in a pod must have a unique name. Name for the port that can be + referred to by services. type: string protocol: default: TCP + description: |- + Protocol for port. Must be UDP, TCP, or SCTP. + Defaults to "TCP". type: string required: - containerPort @@ -20272,39 +30214,76 @@ spec: - protocol x-kubernetes-list-type: map readinessProbe: + description: |- + Periodic probe of container service readiness. + Container will be removed from service endpoints if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. Number + must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request to + perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -20313,51 +30292,100 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a TCP + port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object resizePolicy: + description: Resources resize policy for the container. items: + description: ContainerResizePolicy represents resource + resize policy for the container. properties: resourceName: + description: |- + Name of the resource to which this resource resize policy applies. + Supported values: cpu, memory. type: string restartPolicy: + description: |- + Restart policy to apply when specified resource is resized. + If not specified, it defaults to NotRequired. type: string required: - resourceName @@ -20366,13 +30394,35 @@ spec: type: array x-kubernetes-list-type: atomic resources: + description: |- + Compute Resources required by this container. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ properties: claims: + description: |- + Claims lists the names of resources, defined in spec.resourceClaims, + that are used by this container. + + This is an alpha field and requires enabling the + DynamicResourceAllocation feature gate. + + This field is immutable. It can only be set for containers. items: + description: ResourceClaim references one entry in + PodSpec.ResourceClaims. properties: name: + description: |- + Name must match the name of one entry in pod.spec.resourceClaims of + the Pod where this field is used. It makes that resource available + inside a container. type: string request: + description: |- + Request is the name chosen for a request in the referenced claim. + If empty, everything from the claim is made available, otherwise + only the result of this request. type: string required: - name @@ -20388,6 +30438,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -20396,118 +30449,304 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object type: object restartPolicy: + description: |- + RestartPolicy defines the restart behavior of individual containers in a pod. + This field may only be set for init containers, and the only allowed value is "Always". + For non-init containers or when this field is not specified, + the restart behavior is defined by the Pod's restart policy and the container type. + Setting the RestartPolicy as "Always" for the init container will have the following effect: + this init container will be continually restarted on + exit until all regular containers have terminated. Once all regular + containers have completed, all init containers with restartPolicy "Always" + will be shut down. This lifecycle differs from normal init containers and + is often referred to as a "sidecar" container. Although this init + container still starts in the init container sequence, it does not wait + for the container to complete before proceeding to the next init + container. Instead, the next init container starts immediately after this + init container is started, or after any startupProbe has successfully + completed. type: string securityContext: + description: |- + SecurityContext defines the security options the container should be run with. + If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. + More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ properties: allowPrivilegeEscalation: + description: |- + AllowPrivilegeEscalation controls whether a process can gain more + privileges than its parent process. This bool directly controls if + the no_new_privs flag will be set on the container process. + AllowPrivilegeEscalation is true always when the container is: + 1) run as Privileged + 2) has CAP_SYS_ADMIN + Note that this field cannot be set when spec.os.name is windows. type: boolean appArmorProfile: + description: |- + appArmorProfile is the AppArmor options to use by this container. If set, this profile + overrides the pod's appArmorProfile. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile loaded on the node that should be used. + The profile must be preconfigured on the node to work. + Must match the loaded name of the profile. + Must be set if and only if type is "Localhost". type: string type: + description: |- + type indicates which kind of AppArmor profile will be applied. + Valid options are: + Localhost - a profile pre-loaded on the node. + RuntimeDefault - the container runtime's default profile. + Unconfined - no AppArmor enforcement. type: string required: - type type: object capabilities: + description: |- + The capabilities to add/drop when running containers. + Defaults to the default set of capabilities granted by the container runtime. + Note that this field cannot be set when spec.os.name is windows. properties: add: + description: Added capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array x-kubernetes-list-type: atomic drop: + description: Removed capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array x-kubernetes-list-type: atomic type: object privileged: + description: |- + Run container in privileged mode. + Processes in privileged containers are essentially equivalent to root on the host. + Defaults to false. + Note that this field cannot be set when spec.os.name is windows. type: boolean procMount: + description: |- + procMount denotes the type of proc mount to use for the containers. + The default value is Default which uses the container runtime defaults for + readonly paths and masked paths. + This requires the ProcMountType feature flag to be enabled. + Note that this field cannot be set when spec.os.name is windows. type: string readOnlyRootFilesystem: + description: |- + Whether this container has a read-only root filesystem. + Default is false. + Note that this field cannot be set when spec.os.name is windows. type: boolean runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer runAsNonRoot: + description: |- + Indicates that the container must run as a non-root user. + If true, the Kubelet will validate the image at runtime to ensure that it + does not run as UID 0 (root) and fail to start the container if it does. + If unset or false, no such validation will be performed. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to the container. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. properties: level: + description: Level is SELinux level label that applies + to the container. type: string role: + description: Role is a SELinux role label that applies + to the container. type: string type: + description: Type is a SELinux type label that applies + to the container. type: string user: + description: User is a SELinux user label that applies + to the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by this container. If seccomp options are + provided at both the pod & container level, the container options + override the pod options. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. + Must be a descending path, relative to the kubelet's configured seccomp profile location. + Must be set if type is "Localhost". Must NOT be set for any other type. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + Localhost - a profile defined in a file on the node should be used. + RuntimeDefault - the container runtime default profile should be used. + Unconfined - no profile should be applied. type: string required: - type type: object windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options from the PodSecurityContext will be used. + If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is linux. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name + of the GMSA credential spec to use. type: string hostProcess: + description: |- + HostProcess determines if a container should be run as a 'Host Process' container. + All of a Pod's containers must have the same effective HostProcess value + (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + In addition, if HostProcess is true then HostNetwork must also be set to true. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: string type: object type: object source: + description: Source contains the source code of the script + to execute type: string startupProbe: + description: |- + StartupProbe indicates that the Pod has successfully initialized. + If specified, no other probes are executed until this completes successfully. + If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. + This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, + when it might take a long time to load data or warm a cache, than during steady-state operation. + This cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. Number + must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request to + perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -20516,61 +30755,140 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a TCP + port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object stdin: + description: |- + Whether this container should allocate a buffer for stdin in the container runtime. If this + is not set, reads from stdin in the container will always result in EOF. + Default is false. type: boolean stdinOnce: + description: |- + Whether the container runtime should close the stdin channel after it has been opened by + a single attach. When stdin is true the stdin stream will remain open across multiple attach + sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the + first client attaches to stdin, and then remains open and accepts data until the client disconnects, + at which time stdin is closed and remains closed until the container is restarted. If this + flag is false, a container processes that reads from stdin will never receive an EOF. + Default is false type: boolean terminationMessagePath: + description: |- + Optional: Path at which the file to which the container's termination message + will be written is mounted into the container's filesystem. + Message written is intended to be brief final status, such as an assertion failure message. + Will be truncated by the node if greater than 4096 bytes. The total message length across + all containers will be limited to 12kb. + Defaults to /dev/termination-log. + Cannot be updated. type: string terminationMessagePolicy: + description: |- + Indicate how the termination message should be populated. File will use the contents of + terminationMessagePath to populate the container status message on both success and failure. + FallbackToLogsOnError will use the last chunk of container log output if the termination + message file is empty and the container exited with an error. + The log output is limited to 2048 bytes or 80 lines, whichever is smaller. + Defaults to File. + Cannot be updated. type: string tty: + description: |- + Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. + Default is false. type: boolean volumeDevices: + description: volumeDevices is the list of block devices + to be used by the container. items: + description: volumeDevice describes a mapping of a raw + block device within a container. properties: devicePath: + description: devicePath is the path inside of the + container that the device will be mapped to. type: string name: + description: name must match the name of a persistentVolumeClaim + in the pod type: string required: - devicePath @@ -20581,21 +30899,65 @@ spec: - devicePath x-kubernetes-list-type: map volumeMounts: + description: |- + Pod volumes to mount into the container's filesystem. + Cannot be updated. items: + description: VolumeMount describes a mounting of a Volume + within a container. properties: mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. type: string mountPropagation: + description: |- + mountPropagation determines how mounts are propagated from the host + to container and the other way around. + When not set, MountPropagationNone is used. + This field is beta in 1.10. + When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + (which defaults to None). type: string name: + description: This must match the Name of a Volume. type: string readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. type: boolean recursiveReadOnly: + description: |- + RecursiveReadOnly specifies whether read-only mounts should be handled + recursively. + + If ReadOnly is false, this field has no meaning and must be unspecified. + + If ReadOnly is true, and this field is set to Disabled, the mount is not made + recursively read-only. If this field is set to IfPossible, the mount is made + recursively read-only, if it is supported by the container runtime. If this + field is set to Enabled, the mount is made recursively read-only if it is + supported by the container runtime, otherwise the pod will not be started and + an error will be generated to indicate the reason. + + If this field is set to IfPossible or Enabled, MountPropagation must be set to + None (or be unspecified, which defaults to None). + + If this field is not specified, it is treated as an equivalent of Disabled. type: string subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). type: string subPathExpr: + description: |- + Expanded path within the volume from which the container's volume should be mounted. + Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. + Defaults to "" (volume's root). + SubPathExpr and SubPath are mutually exclusive. type: string required: - mountPath @@ -20606,68 +30968,207 @@ spec: - mountPath x-kubernetes-list-type: map workingDir: + description: |- + Container's working directory. + If not specified, the container runtime's default will be used, which + might be configured in the container image. + Cannot be updated. type: string type: object securityContext: + description: |- + SecurityContext holds pod-level security attributes and common container settings. + Optional: Defaults to empty. See type description for default values of each field. properties: appArmorProfile: + description: |- + appArmorProfile is the AppArmor options to use by the containers in this pod. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile loaded on the node that should be used. + The profile must be preconfigured on the node to work. + Must match the loaded name of the profile. + Must be set if and only if type is "Localhost". type: string type: + description: |- + type indicates which kind of AppArmor profile will be applied. + Valid options are: + Localhost - a profile pre-loaded on the node. + RuntimeDefault - the container runtime's default profile. + Unconfined - no AppArmor enforcement. type: string required: - type type: object fsGroup: + description: |- + A special supplemental group that applies to all containers in a pod. + Some volume types allow the Kubelet to change the ownership of that volume + to be owned by the pod: + + 1. The owning GID will be the FSGroup + 2. The setgid bit is set (new files created in the volume will be owned by FSGroup) + 3. The permission bits are OR'd with rw-rw---- + + If unset, the Kubelet will not modify the ownership and permissions of any volume. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer fsGroupChangePolicy: + description: |- + fsGroupChangePolicy defines behavior of changing ownership and permission of the volume + before being exposed inside Pod. This field will only apply to + volume types which support fsGroup based ownership(and permissions). + It will have no effect on ephemeral volume types such as: secret, configmaps + and emptydir. + Valid values are "OnRootMismatch" and "Always". If not specified, "Always" is used. + Note that this field cannot be set when spec.os.name is windows. type: string runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in SecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence + for that container. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer runAsNonRoot: + description: |- + Indicates that the container must run as a non-root user. + If true, the Kubelet will validate the image at runtime to ensure that it + does not run as UID 0 (root) and fail to start the container if it does. + If unset or false, no such validation will be performed. + May also be set in SecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in SecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence + for that container. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer seLinuxChangePolicy: + description: |- + seLinuxChangePolicy defines how the container's SELinux label is applied to all volumes used by the Pod. + It has no effect on nodes that do not support SELinux or to volumes does not support SELinux. + Valid values are "MountOption" and "Recursive". + + "Recursive" means relabeling of all files on all Pod volumes by the container runtime. + This may be slow for large volumes, but allows mixing privileged and unprivileged Pods sharing the same volume on the same node. + + "MountOption" mounts all eligible Pod volumes with `-o context` mount option. + This requires all Pods that share the same volume to use the same SELinux label. + It is not possible to share the same volume among privileged and unprivileged Pods. + Eligible volumes are in-tree FibreChannel and iSCSI volumes, and all CSI volumes + whose CSI driver announces SELinux support by setting spec.seLinuxMount: true in their + CSIDriver instance. Other volumes are always re-labelled recursively. + "MountOption" value is allowed only when SELinuxMount feature gate is enabled. + + If not specified and SELinuxMount feature gate is enabled, "MountOption" is used. + If not specified and SELinuxMount feature gate is disabled, "MountOption" is used for ReadWriteOncePod volumes + and "Recursive" for all other volumes. + + This field affects only Pods that have SELinux label set, either in PodSecurityContext or in SecurityContext of all containers. + + All Pods that use the same volume should use the same seLinuxChangePolicy, otherwise some pods can get stuck in ContainerCreating state. + Note that this field cannot be set when spec.os.name is windows. type: string seLinuxOptions: + description: |- + The SELinux context to be applied to all containers. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in SecurityContext. If set in + both SecurityContext and PodSecurityContext, the value specified in SecurityContext + takes precedence for that container. + Note that this field cannot be set when spec.os.name is windows. properties: level: + description: Level is SELinux level label that applies + to the container. type: string role: + description: Role is a SELinux role label that applies + to the container. type: string type: + description: Type is a SELinux type label that applies + to the container. type: string user: + description: User is a SELinux user label that applies + to the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by the containers in this pod. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. + Must be a descending path, relative to the kubelet's configured seccomp profile location. + Must be set if type is "Localhost". Must NOT be set for any other type. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + Localhost - a profile defined in a file on the node should be used. + RuntimeDefault - the container runtime default profile should be used. + Unconfined - no profile should be applied. type: string required: - type type: object supplementalGroups: + description: |- + A list of groups applied to the first process run in each container, in + addition to the container's primary GID and fsGroup (if specified). If + the SupplementalGroupsPolicy feature is enabled, the + supplementalGroupsPolicy field determines whether these are in addition + to or instead of any group memberships defined in the container image. + If unspecified, no additional groups are added, though group memberships + defined in the container image may still be used, depending on the + supplementalGroupsPolicy field. + Note that this field cannot be set when spec.os.name is windows. items: format: int64 type: integer type: array x-kubernetes-list-type: atomic supplementalGroupsPolicy: + description: |- + Defines how supplemental groups of the first container processes are calculated. + Valid values are "Merge" and "Strict". If not specified, "Merge" is used. + (Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled + and the container runtime must implement support for this feature. + Note that this field cannot be set when spec.os.name is windows. type: string sysctls: + description: |- + Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported + sysctls (by the container runtime) might fail to launch. + Note that this field cannot be set when spec.os.name is windows. items: + description: Sysctl defines a kernel parameter to be set properties: name: + description: Name of a property to set type: string value: + description: Value of a property to set type: string required: - name @@ -20676,88 +31177,189 @@ spec: type: array x-kubernetes-list-type: atomic windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options within a container's SecurityContext will be used. + If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is linux. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name of the + GMSA credential spec to use. type: string hostProcess: + description: |- + HostProcess determines if a container should be run as a 'Host Process' container. + All of a Pod's containers must have the same effective HostProcess value + (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + In addition, if HostProcess is true then HostNetwork must also be set to true. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: string type: object type: object serviceAccountName: + description: ServiceAccountName to apply to workflow pods type: string sidecars: + description: |- + Sidecars is a list of containers which run alongside the main container + Sidecars are automatically killed when the main container completes items: + description: UserContainer is a container specified by a user. properties: args: + description: |- + Arguments to the entrypoint. + The container image's CMD is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic command: + description: |- + Entrypoint array. Not executed within a shell. + The container image's ENTRYPOINT is used if this is not provided. + Variable references $(VAR_NAME) are expanded using the container's environment. If a variable + cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. "$$(VAR_NAME)" will + produce the string literal "$(VAR_NAME)". Escaped references will never be expanded, regardless + of whether the variable exists or not. Cannot be updated. + More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell items: type: string type: array x-kubernetes-list-type: atomic env: + description: |- + List of environment variables to set in the container. + Cannot be updated. items: + description: EnvVar represents an environment variable + present in a Container. properties: name: + description: Name of the environment variable. Must + be a C_IDENTIFIER. type: string value: + description: |- + Variable references $(VAR_NAME) are expanded + using the previously defined environment variables in the container and + any service environment variables. If a variable cannot be resolved, + the reference in the input string will be unchanged. Double $$ are reduced + to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. + "$$(VAR_NAME)" will produce the string literal "$(VAR_NAME)". + Escaped references will never be expanded, regardless of whether the variable + exists or not. + Defaults to "". type: string valueFrom: + description: Source for the environment variable's + value. Cannot be used if value is not empty. properties: configMapKeyRef: + description: Selects a key of a ConfigMap. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic fieldRef: + description: |- + Selects a field of the pod: supports metadata.name, metadata.namespace, `metadata.labels['']`, `metadata.annotations['']`, + spec.nodeName, spec.serviceAccountName, status.hostIP, status.podIP, status.podIPs. properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select + in the specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported. properties: containerName: + description: 'Container name: required for + volumes, optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format + of the exposed resources, defaults to + "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource type: object x-kubernetes-map-type: atomic 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: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -20772,25 +31374,54 @@ spec: - name x-kubernetes-list-type: map envFrom: + description: |- + List of sources to populate environment variables in the container. + The keys defined within a source must be a C_IDENTIFIER. All invalid keys + will be reported as an event when the container is starting. When a key exists in multiple + sources, the value associated with the last source will take precedence. + Values defined by an Env with a duplicate key will take precedence. + Cannot be updated. items: + description: EnvFromSource represents the source of + a set of ConfigMaps or Secrets properties: configMapRef: + description: The ConfigMap to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap must + be defined type: boolean type: object x-kubernetes-map-type: atomic prefix: + description: Optional text to prepend to the name + of each environment variable. Must be a C_IDENTIFIER. type: string secretRef: + description: The Secret to select from properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret must + be defined type: boolean type: object x-kubernetes-map-type: atomic @@ -20798,31 +31429,71 @@ spec: type: array x-kubernetes-list-type: atomic image: + description: |- + Container image name. + More info: https://kubernetes.io/docs/concepts/containers/images + This field is optional to allow higher level config management to default or override + container images in workload controllers like Deployments and StatefulSets. type: string imagePullPolicy: + description: |- + Image pull policy. + One of Always, Never, IfNotPresent. + Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/containers/images#updating-images type: string lifecycle: + description: |- + Actions that the management system should take in response to container lifecycle events. + Cannot be updated. properties: postStart: + description: |- + PostStart is called immediately after a container is created. If the handler fails, + the container is terminated and restarted according to its restart policy. + Other management of the container blocks until the hook completes. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the + request. HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -20831,58 +31502,111 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that + the container should sleep. properties: seconds: + description: Seconds is the number of seconds + to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object preStop: + description: |- + PreStop is called immediately before a container is terminated due to an + API request or management event such as liveness/startup probe failure, + preemption, resource contention, etc. The handler is not called if the + container crashes or exits. The Pod's termination grace period countdown begins before the + PreStop hook is executed. Regardless of the outcome of the handler, the + container will eventually terminate within the Pod's termination grace + period (unless delayed by finalizers). Other management of the container blocks until the hook completes + or until the termination grace period is reached. + More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks properties: exec: + description: Exec specifies a command to execute + in the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the + request. HTTP allows repeated headers. items: + description: HTTPHeader describes a custom + header to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -20891,75 +31615,138 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object sleep: + description: Sleep represents a duration that + the container should sleep. properties: seconds: + description: Seconds is the number of seconds + to sleep. format: int64 type: integer required: - seconds type: object tcpSocket: + description: |- + Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept + for backward compatibility. There is no validation of this field and + lifecycle hooks will fail at runtime when it is specified. properties: host: + description: 'Optional: Host name to connect + to, defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object type: object stopSignal: + description: |- + StopSignal defines which signal will be sent to a container when it is being stopped. + If not specified, the default is defined by the container runtime in use. + StopSignal can only be set for Pods with a non-empty .spec.os.name type: string type: object livenessProbe: + description: |- + Periodic probe of container liveness. + Container will be restarted if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -20968,64 +31755,140 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a + TCP port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object mirrorVolumeMounts: + description: |- + MirrorVolumeMounts will mount the same volumes specified in the main container + to the container (including artifacts), at the same mountPaths. This enables + dind daemon to partially see the same filesystem as the main container in + order to use features such as docker volume binding type: boolean name: + description: |- + Name of the container specified as a DNS_LABEL. + Each container in a pod must have a unique name (DNS_LABEL). + Cannot be updated. type: string ports: + description: |- + List of ports to expose from the container. Not specifying a port here + DOES NOT prevent that port from being exposed. Any port which is + listening on the default "0.0.0.0" address inside a container will be + accessible from the network. + Modifying this array with strategic merge patch may corrupt the data. + For more information See https://github.com/kubernetes/kubernetes/issues/108255. + Cannot be updated. items: + description: ContainerPort represents a network port + in a single container. properties: containerPort: + description: |- + Number of port to expose on the pod's IP address. + This must be a valid port number, 0 < x < 65536. format: int32 type: integer hostIP: + description: What host IP to bind the external port + to. type: string hostPort: + description: |- + Number of port to expose on the host. + If specified, this must be a valid port number, 0 < x < 65536. + If HostNetwork is specified, this must match ContainerPort. + Most containers do not need this. format: int32 type: integer name: + description: |- + If specified, this must be an IANA_SVC_NAME and unique within the pod. Each + named port in a pod must have a unique name. Name for the port that can be + referred to by services. type: string protocol: default: TCP + description: |- + Protocol for port. Must be UDP, TCP, or SCTP. + Defaults to "TCP". type: string required: - containerPort @@ -21036,39 +31899,76 @@ spec: - protocol x-kubernetes-list-type: map readinessProbe: + description: |- + Periodic probe of container service readiness. + Container will be removed from service endpoints if the probe fails. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -21077,51 +31977,100 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a + TCP port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object resizePolicy: + description: Resources resize policy for the container. items: + description: ContainerResizePolicy represents resource + resize policy for the container. properties: resourceName: + description: |- + Name of the resource to which this resource resize policy applies. + Supported values: cpu, memory. type: string restartPolicy: + description: |- + Restart policy to apply when specified resource is resized. + If not specified, it defaults to NotRequired. type: string required: - resourceName @@ -21130,13 +32079,35 @@ spec: type: array x-kubernetes-list-type: atomic resources: + description: |- + Compute Resources required by this container. + Cannot be updated. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ properties: claims: + description: |- + Claims lists the names of resources, defined in spec.resourceClaims, + that are used by this container. + + This is an alpha field and requires enabling the + DynamicResourceAllocation feature gate. + + This field is immutable. It can only be set for containers. items: + description: ResourceClaim references one entry + in PodSpec.ResourceClaims. properties: name: + description: |- + Name must match the name of one entry in pod.spec.resourceClaims of + the Pod where this field is used. It makes that resource available + inside a container. type: string request: + description: |- + Request is the name chosen for a request in the referenced claim. + If empty, everything from the claim is made available, otherwise + only the result of this request. type: string required: - name @@ -21152,6 +32123,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -21160,116 +32134,300 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object type: object restartPolicy: + description: |- + RestartPolicy defines the restart behavior of individual containers in a pod. + This field may only be set for init containers, and the only allowed value is "Always". + For non-init containers or when this field is not specified, + the restart behavior is defined by the Pod's restart policy and the container type. + Setting the RestartPolicy as "Always" for the init container will have the following effect: + this init container will be continually restarted on + exit until all regular containers have terminated. Once all regular + containers have completed, all init containers with restartPolicy "Always" + will be shut down. This lifecycle differs from normal init containers and + is often referred to as a "sidecar" container. Although this init + container still starts in the init container sequence, it does not wait + for the container to complete before proceeding to the next init + container. Instead, the next init container starts immediately after this + init container is started, or after any startupProbe has successfully + completed. type: string securityContext: + description: |- + SecurityContext defines the security options the container should be run with. + If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. + More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ properties: allowPrivilegeEscalation: + description: |- + AllowPrivilegeEscalation controls whether a process can gain more + privileges than its parent process. This bool directly controls if + the no_new_privs flag will be set on the container process. + AllowPrivilegeEscalation is true always when the container is: + 1) run as Privileged + 2) has CAP_SYS_ADMIN + Note that this field cannot be set when spec.os.name is windows. type: boolean appArmorProfile: + description: |- + appArmorProfile is the AppArmor options to use by this container. If set, this profile + overrides the pod's appArmorProfile. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile loaded on the node that should be used. + The profile must be preconfigured on the node to work. + Must match the loaded name of the profile. + Must be set if and only if type is "Localhost". type: string type: + description: |- + type indicates which kind of AppArmor profile will be applied. + Valid options are: + Localhost - a profile pre-loaded on the node. + RuntimeDefault - the container runtime's default profile. + Unconfined - no AppArmor enforcement. type: string required: - type type: object capabilities: + description: |- + The capabilities to add/drop when running containers. + Defaults to the default set of capabilities granted by the container runtime. + Note that this field cannot be set when spec.os.name is windows. properties: add: + description: Added capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array x-kubernetes-list-type: atomic drop: + description: Removed capabilities items: + description: Capability represent POSIX capabilities + type type: string type: array x-kubernetes-list-type: atomic type: object privileged: + description: |- + Run container in privileged mode. + Processes in privileged containers are essentially equivalent to root on the host. + Defaults to false. + Note that this field cannot be set when spec.os.name is windows. type: boolean procMount: + description: |- + procMount denotes the type of proc mount to use for the containers. + The default value is Default which uses the container runtime defaults for + readonly paths and masked paths. + This requires the ProcMountType feature flag to be enabled. + Note that this field cannot be set when spec.os.name is windows. type: string readOnlyRootFilesystem: + description: |- + Whether this container has a read-only root filesystem. + Default is false. + Note that this field cannot be set when spec.os.name is windows. type: boolean runAsGroup: + description: |- + The GID to run the entrypoint of the container process. + Uses runtime default if unset. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer runAsNonRoot: + description: |- + Indicates that the container must run as a non-root user. + If true, the Kubelet will validate the image at runtime to ensure that it + does not run as UID 0 (root) and fail to start the container if it does. + If unset or false, no such validation will be performed. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: boolean runAsUser: + description: |- + The UID to run the entrypoint of the container process. + Defaults to user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. format: int64 type: integer seLinuxOptions: + description: |- + The SELinux context to be applied to the container. + If unspecified, the container runtime will allocate a random SELinux context for each + container. May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is windows. properties: level: + description: Level is SELinux level label that + applies to the container. type: string role: + description: Role is a SELinux role label that + applies to the container. type: string type: + description: Type is a SELinux type label that + applies to the container. type: string user: + description: User is a SELinux user label that + applies to the container. type: string type: object seccompProfile: + description: |- + The seccomp options to use by this container. If seccomp options are + provided at both the pod & container level, the container options + override the pod options. + Note that this field cannot be set when spec.os.name is windows. properties: localhostProfile: + description: |- + localhostProfile indicates a profile defined in a file on the node should be used. + The profile must be preconfigured on the node to work. + Must be a descending path, relative to the kubelet's configured seccomp profile location. + Must be set if type is "Localhost". Must NOT be set for any other type. type: string type: + description: |- + type indicates which kind of seccomp profile will be applied. + Valid options are: + + Localhost - a profile defined in a file on the node should be used. + RuntimeDefault - the container runtime default profile should be used. + Unconfined - no profile should be applied. type: string required: - type type: object windowsOptions: + description: |- + The Windows specific settings applied to all containers. + If unspecified, the options from the PodSecurityContext will be used. + If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. + Note that this field cannot be set when spec.os.name is linux. properties: gmsaCredentialSpec: + description: |- + GMSACredentialSpec is where the GMSA admission webhook + (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the + GMSA credential spec named by the GMSACredentialSpecName field. type: string gmsaCredentialSpecName: + description: GMSACredentialSpecName is the name + of the GMSA credential spec to use. type: string hostProcess: + description: |- + HostProcess determines if a container should be run as a 'Host Process' container. + All of a Pod's containers must have the same effective HostProcess value + (it is not allowed to have a mix of HostProcess containers and non-HostProcess containers). + In addition, if HostProcess is true then HostNetwork must also be set to true. type: boolean runAsUserName: + description: |- + The UserName in Windows to run the entrypoint of the container process. + Defaults to the user specified in image metadata if unspecified. + May also be set in PodSecurityContext. If set in both SecurityContext and + PodSecurityContext, the value specified in SecurityContext takes precedence. type: string type: object type: object startupProbe: + description: |- + StartupProbe indicates that the Pod has successfully initialized. + If specified, no other probes are executed until this completes successfully. + If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. + This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, + when it might take a long time to load data or warm a cache, than during steady-state operation. + This cannot be updated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes properties: exec: + description: Exec specifies a command to execute in + the container. properties: command: + description: |- + Command is the command line to execute inside the container, the working directory for the + command is root ('/') in the container's filesystem. The command is simply exec'd, it is + not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use + a shell, you need to explicitly call out to that shell. + Exit status of 0 is treated as live/healthy and non-zero is unhealthy. items: type: string type: array x-kubernetes-list-type: atomic type: object failureThreshold: + description: |- + Minimum consecutive failures for the probe to be considered failed after having succeeded. + Defaults to 3. Minimum value is 1. format: int32 type: integer grpc: + description: GRPC specifies a GRPC HealthCheckRequest. properties: port: + description: Port number of the gRPC service. + Number must be in the range 1 to 65535. format: int32 type: integer service: default: "" + description: |- + Service is the name of the service to place in the gRPC HealthCheckRequest + (see https://github.com/grpc/grpc/blob/master/doc/health-checking.md). + + If this is not specified, the default behavior is defined by gRPC. type: string required: - port type: object httpGet: + description: HTTPGet specifies an HTTP GET request + to perform. properties: host: + description: |- + Host name to connect to, defaults to the pod IP. You probably want to set + "Host" in httpHeaders instead. type: string httpHeaders: + description: Custom headers to set in the request. + HTTP allows repeated headers. items: + description: HTTPHeader describes a custom header + to be used in HTTP probes properties: name: + description: |- + The header field name. + This will be canonicalized upon output, so case-variant names will be understood as the same header. type: string value: + description: The header field value type: string required: - name @@ -21278,61 +32436,140 @@ spec: type: array x-kubernetes-list-type: atomic path: + description: Path to access on the HTTP server. type: string port: anyOf: - type: integer - type: string + description: |- + Name or number of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true scheme: + description: |- + Scheme to use for connecting to the host. + Defaults to HTTP. type: string required: - port type: object initialDelaySeconds: + description: |- + Number of seconds after the container has started before liveness probes are initiated. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer periodSeconds: + description: |- + How often (in seconds) to perform the probe. + Default to 10 seconds. Minimum value is 1. format: int32 type: integer successThreshold: + description: |- + Minimum consecutive successes for the probe to be considered successful after having failed. + Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. format: int32 type: integer tcpSocket: + description: TCPSocket specifies a connection to a + TCP port. properties: host: + description: 'Optional: Host name to connect to, + defaults to the pod IP.' type: string port: anyOf: - type: integer - type: string + description: |- + Number or name of the port to access on the container. + Number must be in the range 1 to 65535. + Name must be an IANA_SVC_NAME. x-kubernetes-int-or-string: true required: - port type: object terminationGracePeriodSeconds: + description: |- + Optional duration in seconds the pod needs to terminate gracefully upon probe failure. + The grace period is the duration in seconds after the processes running in the pod are sent + a termination signal and the time when the processes are forcibly halted with a kill signal. + Set this value longer than the expected cleanup time for your process. + If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this + value overrides the value provided by the pod spec. + Value must be non-negative integer. The value zero indicates stop immediately via + the kill signal (no opportunity to shut down). + This is a beta field and requires enabling ProbeTerminationGracePeriod feature gate. + Minimum value is 1. spec.terminationGracePeriodSeconds is used if unset. format: int64 type: integer timeoutSeconds: + description: |- + Number of seconds after which the probe times out. + Defaults to 1 second. Minimum value is 1. + More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes format: int32 type: integer type: object stdin: + description: |- + Whether this container should allocate a buffer for stdin in the container runtime. If this + is not set, reads from stdin in the container will always result in EOF. + Default is false. type: boolean stdinOnce: + description: |- + Whether the container runtime should close the stdin channel after it has been opened by + a single attach. When stdin is true the stdin stream will remain open across multiple attach + sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the + first client attaches to stdin, and then remains open and accepts data until the client disconnects, + at which time stdin is closed and remains closed until the container is restarted. If this + flag is false, a container processes that reads from stdin will never receive an EOF. + Default is false type: boolean terminationMessagePath: + description: |- + Optional: Path at which the file to which the container's termination message + will be written is mounted into the container's filesystem. + Message written is intended to be brief final status, such as an assertion failure message. + Will be truncated by the node if greater than 4096 bytes. The total message length across + all containers will be limited to 12kb. + Defaults to /dev/termination-log. + Cannot be updated. type: string terminationMessagePolicy: + description: |- + Indicate how the termination message should be populated. File will use the contents of + terminationMessagePath to populate the container status message on both success and failure. + FallbackToLogsOnError will use the last chunk of container log output if the termination + message file is empty and the container exited with an error. + The log output is limited to 2048 bytes or 80 lines, whichever is smaller. + Defaults to File. + Cannot be updated. type: string tty: + description: |- + Whether this container should allocate a TTY for itself, also requires 'stdin' to be true. + Default is false. type: boolean volumeDevices: + description: volumeDevices is the list of block devices + to be used by the container. items: + description: volumeDevice describes a mapping of a raw + block device within a container. properties: devicePath: + description: devicePath is the path inside of the + container that the device will be mapped to. type: string name: + description: name must match the name of a persistentVolumeClaim + in the pod type: string required: - devicePath @@ -21343,21 +32580,65 @@ spec: - devicePath x-kubernetes-list-type: map volumeMounts: + description: |- + Pod volumes to mount into the container's filesystem. + Cannot be updated. items: + description: VolumeMount describes a mounting of a Volume + within a container. properties: mountPath: + description: |- + Path within the container at which the volume should be mounted. Must + not contain ':'. type: string mountPropagation: + description: |- + mountPropagation determines how mounts are propagated from the host + to container and the other way around. + When not set, MountPropagationNone is used. + This field is beta in 1.10. + When RecursiveReadOnly is set to IfPossible or to Enabled, MountPropagation must be None or unspecified + (which defaults to None). type: string name: + description: This must match the Name of a Volume. type: string readOnly: + description: |- + Mounted read-only if true, read-write otherwise (false or unspecified). + Defaults to false. type: boolean recursiveReadOnly: + description: |- + RecursiveReadOnly specifies whether read-only mounts should be handled + recursively. + + If ReadOnly is false, this field has no meaning and must be unspecified. + + If ReadOnly is true, and this field is set to Disabled, the mount is not made + recursively read-only. If this field is set to IfPossible, the mount is made + recursively read-only, if it is supported by the container runtime. If this + field is set to Enabled, the mount is made recursively read-only if it is + supported by the container runtime, otherwise the pod will not be started and + an error will be generated to indicate the reason. + + If this field is set to IfPossible or Enabled, MountPropagation must be set to + None (or be unspecified, which defaults to None). + + If this field is not specified, it is treated as an equivalent of Disabled. type: string subPath: + description: |- + Path within the volume from which the container's volume should be mounted. + Defaults to "" (volume's root). type: string subPathExpr: + description: |- + Expanded path within the volume from which the container's volume should be mounted. + Behaves similarly to SubPath but environment variable references $(VAR_NAME) are expanded using the container's environment. + Defaults to "" (volume's root). + SubPathExpr and SubPath are mutually exclusive. type: string required: - mountPath @@ -21368,38 +32649,79 @@ spec: - mountPath x-kubernetes-list-type: map workingDir: + description: |- + Container's working directory. + If not specified, the container runtime's default will be used, which + might be configured in the container image. + Cannot be updated. type: string required: - name type: object type: array steps: + description: Steps define a series of sequential/parallel workflow + steps items: + description: |- + Note: the `json:"steps"` part exists to workaround kubebuilder limitations. + There isn't actually a "steps" key in the JSON serialization; this is an anonymous list. + See the custom Unmarshaller below and ./hack/manifests/crd.go items: + description: |- + WorkflowStep is a reference to a template to execute in a series of step + Note: CEL validation cannot check withItems (Schemaless) or inline (PreserveUnknownFields) fields. properties: arguments: + description: Arguments hold arguments to the template properties: artifacts: + description: Artifacts is the list of artifacts + to pass to the template or workflow items: + description: Artifact indicates an artifact to + place at a specified path properties: archive: + description: Archive controls how the artifact + will be saved to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and + gzip the file or directory when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip zipped + input artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the + container logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy + to use when to deleting an artifact from + completed or deleted workflows properties: podMetadata: + description: PodMetadata is an optional + field for specifying the Labels and + Annotations that should be assigned + to the Pod doing the deletion properties: annotations: additionalProperties: @@ -21411,8 +32733,14 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an + optional field for specifying the Service + Account that should be assigned to the + Pod doing the deletion type: string strategy: + description: Strategy is the strategy + to use. enum: - "" - OnWorkflowCompletion @@ -21421,30 +32749,59 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory + artifact location details properties: passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -21454,27 +32811,54 @@ spec: - url type: object azure: + description: Azure contains Azure Storage + artifact location details properties: accountKeySecret: + description: AccountKeySecret is the secret + selector to the Azure Blob Storage account + access key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., + path) in the container where the artifact + resides type: string container: + description: Container is the container + where resources will be stored type: string endpoint: + description: Endpoint is the service url + associated with an account. It is most + likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver + to figure out credentials based on sdk + defaults. type: boolean required: - blob @@ -21482,25 +32866,50 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to reference + an artifact from a previous step type: string fromExpression: + description: FromExpression, if defined, is + evaluated to specify the value for the artifact type: string gcs: + description: GCS contains GCS artifact location + details properties: bucket: + description: Bucket is the name of the + bucket type: string key: + description: Key is the path in the bucket + where the artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is + the secret selector to the bucket's + service account key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -21510,62 +32919,125 @@ spec: - key type: object git: + description: Git contains git artifact location + details properties: branch: + description: Branch is the branch to fetch + when `SingleBranch` is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables + submodules during git clone type: boolean fetch: + description: Fetch specifies a number + of refs that should be fetched before + checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables + SSH strict host key checking during + git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables + server certificate verification resulting + in insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, + tag, branch to checkout type: string singleBranch: + description: SingleBranch enables single + branch clone, using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the + secret selector to the repository ssh + private key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -21575,96 +33047,198 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact location + details properties: addresses: + description: Addresses is accessible addresses + of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly + even if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location + details properties: auth: + description: Auth contains information + for client authentication properties: basicAuth: + description: BasicAuth describes the + secret selectors required for basic + authentication properties: passwordSecret: + description: PasswordSecret is + the secret selector to the repository + password properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is + the secret selector to the repository + username properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -21672,28 +33246,59 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds + necessary information for client + authentication via certificates properties: clientCertSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -21701,28 +33306,59 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all + information for client authentication + via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -21730,10 +33366,19 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is + for requesting optional fields + that should be sent in the + oauth request properties: key: + description: Name is the + header name type: string value: + description: Value is the + literal value to use for + the header type: string required: - key @@ -21744,13 +33389,27 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -21759,11 +33418,21 @@ spec: type: object type: object headers: + description: Headers are an optional list + of headers to send with HTTP requests + for artifacts items: + description: Header indicate a key-value + request header to be used when fetching + artifacts over HTTP properties: name: + description: Name is the header + name type: string value: + description: Value is the literal + value to use for the header type: string required: - name @@ -21771,131 +33440,302 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must be + unique within a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if Artifacts + doesn't generate or exist type: boolean oss: + description: OSS contains OSS artifact location + details properties: accessKeySecret: + description: AccessKeySecret is the secret + selector to the bucket's access key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the + bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent + tells the driver to attempt to create + the OSS bucket for output artifacts, + if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname + of the bucket endpoint type: string key: + description: Key is the path in the bucket + where the artifact resides type: string lifecycleRule: + description: LifecycleRule specifies how + to manage bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays + is the number of days before we + delete objects in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before we + convert the objects in the bucket + to Infrequent Access (IA) storage + type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret + selector to the bucket's secret key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s + temporary security token. For more details, + check out: https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver + to figure out credentials based on sdk + defaults. type: boolean required: - key type: object path: + description: Path is the container path to + the artifact type: string + plugin: + description: Plugin contains plugin artifact + location details + properties: + configuration: + description: Configuration is the plugin + defined configuration for the artifact + driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds + is the timeout for the artifact driver + connection, overriding the driver's + timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact + repository where the artifact resides + type: string + name: + description: Name is the name of the artifact + driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location + details properties: data: + description: Data is the string contents + of the artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission + recursively into the artifact if it is a + folder type: boolean s3: + description: S3 contains S3 artifact location + details properties: accessKeySecret: + description: AccessKeySecret is the secret + selector to the bucket's access key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the + bucket type: string caSecret: + description: CASecret specifies the secret + that contains the CA, used to verify + the TLS connection properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent + tells the driver to attempt to create + the S3 bucket for output artifacts, + if it doesn't exist. Setting Enabled + Encryption will apply either SSE-S3 + to the bucket if KmsKeyId is not set + or SSE-KMS if it is. properties: objectLocking: + description: ObjectLocking Enable + object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used + to determine encryption options during + s3 operations properties: enableEncryption: + description: EnableEncryption tells + the driver to encrypt objects if + set to true. If kmsKeyId and serverSideCustomerKeySecret + are not set, SSE-S3 will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext + is a json blob that contains an + encryption context. See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver + to encrypt the object using the + specified KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret + tells the driver to encrypt the + output artifacts using SSE-C with + the specified secret. properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the + Secret or its key must be defined type: boolean required: - key @@ -21903,97 +33743,212 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname + of the bucket endpoint type: string insecure: + description: Insecure will connect to + the service with TLS type: boolean key: + description: Key is the key in the bucket + where the artifact resides type: string region: + description: Region contains the optional + bucket region type: string roleARN: + description: RoleARN is the Amazon Resource + Name (ARN) of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret + selector to the bucket's secret key properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used + for ephemeral credentials like an IAM + assume role or S3 access grant properties: key: + description: The key of the secret + to select from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver + to figure out credentials based on sdk + defaults. type: boolean type: object subPath: + description: SubPath allows an artifact to + be sourced from a subpath within the specified + source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be + specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) + ? 1 : 0) + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array parameters: + description: Parameters is the list of parameters + to pass to the template or workflow items: + description: Parameter indicate a passed string + parameter to a service template with an optional + default value properties: default: + description: Default is the default value + to use for an input parameter if a value + was not supplied type: string description: + description: Description is the parameter + description type: string enum: + description: Enum holds a list of string values + to choose from, for the actual value of + the parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source for the + output parameter's value properties: configMapKeyRef: + description: ConfigMapKeyRef is configmap + selector for input parameter configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies a value + to be used if retrieving the value from + the specified source fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the event + to get the value of the parameter. E.g. + `payload.message` type: string expression: + description: Expression, if defined, is + evaluated to specify the value for the + parameter type: string jqFilter: + description: JQFilter expression against + the resource object in resource templates type: string jsonPath: + description: JSONPath of a resource to + retrieve an output parameter value from + in resource templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container to + retrieve an output parameter value from + in container templates type: string supplied: + description: Supplied value to be filled + in directly, either through the CLI, + API, etc. type: object type: object required: @@ -22002,6 +33957,9 @@ spec: type: array type: object continueOn: + description: |- + ContinueOn makes argo to proceed with the following step even if this step fails. + Errors and Failed states can be specified properties: error: type: boolean @@ -22012,28 +33970,59 @@ spec: additionalProperties: properties: arguments: + description: Arguments hold arguments to the template properties: artifacts: + description: Artifacts is the list of artifacts + to pass to the template or workflow items: + description: Artifact indicates an artifact + to place at a specified path properties: archive: + description: Archive controls how the + artifact will be saved to the artifact + repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar + and gzip the file or directory + when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip + zipped input artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if + the container logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the + strategy to use when to deleting an + artifact from completed or deleted + workflows properties: podMetadata: + description: PodMetadata is an optional + field for specifying the Labels + and Annotations that should be + assigned to the Pod doing the + deletion properties: annotations: additionalProperties: @@ -22045,8 +34034,15 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName + is an optional field for specifying + the Service Account that should + be assigned to the Pod doing the + deletion type: string strategy: + description: Strategy is the strategy + to use. enum: - "" - OnWorkflowCompletion @@ -22055,30 +34051,63 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory + artifact location details properties: passwordSecret: + description: PasswordSecret is the + secret selector to the repository + password properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the + secret selector to the repository + username properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -22088,27 +34117,55 @@ spec: - url type: object azure: + description: Azure contains Azure Storage + artifact location details properties: accountKeySecret: + description: AccountKeySecret is + the secret selector to the Azure + Blob Storage account access key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name + (i.e., path) in the container + where the artifact resides type: string container: + description: Container is the container + where resources will be stored type: string endpoint: + description: Endpoint is the service + url associated with an account. + It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the + driver to figure out credentials + based on sdk defaults. type: boolean required: - blob @@ -22116,25 +34173,54 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact + to reference an artifact from a previous + step type: string fromExpression: + description: FromExpression, if defined, + is evaluated to specify the value + for the artifact type: string gcs: + description: GCS contains GCS artifact + location details properties: bucket: + description: Bucket is the name + of the bucket type: string key: + description: Key is the path in + the bucket where the artifact + resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret + is the secret selector to the + bucket's service account key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -22144,62 +34230,132 @@ spec: - key type: object git: + description: Git contains git artifact + location details properties: branch: + description: Branch is the branch + to fetch when `SingleBranch` is + enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables + submodules during git clone type: boolean fetch: + description: Fetch specifies a number + of refs that should be fetched + before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey + disables SSH strict host key checking + during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables + server certificate verification + resulting in insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the + secret selector to the repository + password properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git + commit, tag, branch to checkout type: string singleBranch: + description: SingleBranch enables + single branch clone, using the + `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret + is the secret selector to the + repository ssh private key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the + secret selector to the repository + username properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key @@ -22209,96 +34365,206 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact + location details properties: addresses: + description: Addresses is accessible + addresses of HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file + forcibly even if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the ConfigMap or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path + in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact + location details properties: auth: + description: Auth contains information + for client authentication properties: basicAuth: + description: BasicAuth describes + the secret selectors required + for basic authentication properties: passwordSecret: + description: PasswordSecret + is the secret selector + to the repository password properties: key: + description: The key + of the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must be + defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret + is the secret selector + to the repository username properties: key: + description: The key + of the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must be + defined type: boolean required: - key @@ -22306,28 +34572,64 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth + holds necessary information + for client authentication + via certificates properties: clientCertSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must be + defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must be + defined type: boolean required: - key @@ -22335,28 +34637,64 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds + all information for client + authentication via OAuth2 + tokens properties: clientIDSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must be + defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must be + defined type: boolean required: - key @@ -22364,10 +34702,19 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam + is for requesting optional + fields that should be + sent in the oauth request properties: key: + description: Name + is the header name type: string value: + description: Value + is the literal value + to use for the header type: string required: - key @@ -22378,13 +34725,29 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector + selects a key of a Secret. properties: key: + description: The key + of the secret to select + from. Must be a valid + secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify + whether the Secret + or its key must be + defined type: boolean required: - key @@ -22393,11 +34756,23 @@ spec: type: object type: object headers: + description: Headers are an optional + list of headers to send with HTTP + requests for artifacts items: + description: Header indicate a + key-value request header to + be used when fetching artifacts + over HTTP properties: name: + description: Name is the header + name type: string value: + description: Value is the + literal value to use for + the header type: string required: - name @@ -22405,131 +34780,317 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must + be unique within a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, + if Artifacts doesn't generate or exist type: boolean oss: + description: OSS contains OSS artifact + location details properties: accessKeySecret: + description: AccessKeySecret is + the secret selector to the bucket's + access key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name + of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent + tells the driver to attempt to + create the OSS bucket for output + artifacts, if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname + of the bucket endpoint type: string key: + description: Key is the path in + the bucket where the artifact + resides type: string lifecycleRule: + description: LifecycleRule specifies + how to manage bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays + is the number of days before + we delete objects in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before + we convert the objects in + the bucket to Infrequent Access + (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is + the secret selector to the bucket's + secret key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the + user''s temporary security token. + For more details, check out: https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the + driver to figure out credentials + based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container path + to the artifact type: string + plugin: + description: Plugin contains plugin + artifact location details + properties: + configuration: + description: Configuration is the + plugin defined configuration for + the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds + is the timeout for the artifact + driver connection, overriding + the driver's timeout + format: int32 + type: integer + key: + description: Key is the path in + the artifact repository where + the artifact resides + type: string + name: + description: Name is the name of + the artifact driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact + location details properties: data: + description: Data is the string + contents of the artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the + permission recursively into the artifact + if it is a folder type: boolean s3: + description: S3 contains S3 artifact + location details properties: accessKeySecret: + description: AccessKeySecret is + the secret selector to the bucket's + access key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name + of the bucket type: string caSecret: + description: CASecret specifies + the secret that contains the CA, + used to verify the TLS connection properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent + tells the driver to attempt to + create the S3 bucket for output + artifacts, if it doesn't exist. + Setting Enabled Encryption will + apply either SSE-S3 to the bucket + if KmsKeyId is not set or SSE-KMS + if it is. properties: objectLocking: + description: ObjectLocking Enable + object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions + used to determine encryption options + during s3 operations properties: enableEncryption: + description: EnableEncryption + tells the driver to encrypt + objects if set to true. If + kmsKeyId and serverSideCustomerKeySecret + are not set, SSE-S3 will be + used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext + is a json blob that contains + an encryption context. See + https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells + the driver to encrypt the + object using the specified + KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret + tells the driver to encrypt + the output artifacts using + SSE-C with the specified secret. properties: key: + description: The key of + the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key + must be defined type: boolean required: - key @@ -22537,97 +35098,223 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname + of the bucket endpoint type: string insecure: + description: Insecure will connect + to the service with TLS type: boolean key: + description: Key is the key in the + bucket where the artifact resides type: string region: + description: Region contains the + optional bucket region type: string roleARN: + description: RoleARN is the Amazon + Resource Name (ARN) of the role + to assume. type: string secretKeySecret: + description: SecretKeySecret is + the secret selector to the bucket's + secret key properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret + is used for ephemeral credentials + like an IAM assume role or S3 + access grant properties: key: + description: The key of the + secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the + driver to figure out credentials + based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact + to be sourced from a subpath within + the specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location + can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) + ? 1 : 0) + (has(self.http) ? 1 : 0) + + (has(self.artifactory) ? 1 : 0) + + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + + (has(self.gcs) ? 1 : 0) + (has(self.azure) + ? 1 : 0) + (has(self.plugin) ? 1 : 0) + <= 1' type: array parameters: + description: Parameters is the list of parameters + to pass to the template or workflow items: + description: Parameter indicate a passed + string parameter to a service template + with an optional default value properties: default: + description: Default is the default + value to use for an input parameter + if a value was not supplied type: string description: + description: Description is the parameter + description type: string enum: + description: Enum holds a list of string + values to choose from, for the actual + value of the parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source + for the output parameter's value properties: configMapKeyRef: + description: ConfigMapKeyRef is + configmap selector for input parameter + configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether + the ConfigMap or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies a + value to be used if retrieving + the value from the specified source + fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the + event to get the value of the + parameter. E.g. `payload.message` type: string expression: + description: Expression, if defined, + is evaluated to specify the value + for the parameter type: string jqFilter: + description: JQFilter expression + against the resource object in + resource templates type: string jsonPath: + description: JSONPath of a resource + to retrieve an output parameter + value from in resource templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container + to retrieve an output parameter + value from in container templates type: string supplied: + description: Supplied value to be + filled in directly, either through + the CLI, API, etc. type: object type: object required: @@ -22636,135 +35323,193 @@ spec: type: array type: object expression: + description: |- + Expression is a condition expression for when a node will be retried. If it evaluates to false, the node will not + be retried and the retry strategy will be ignored type: string template: + description: Template is the name of the template + to execute by the hook type: string templateRef: + description: TemplateRef is the reference to the + template resource to execute by the hook properties: clusterScope: + description: ClusterScope indicates the referred + template is cluster scoped (i.e. a ClusterWorkflowTemplate). type: boolean name: + description: Name is the resource name of + the template. type: string template: + description: Template is the name of referred + template in the resource. type: string type: object type: object + description: |- + Hooks holds the lifecycle hook which is invoked at lifecycle of + step, irrespective of the success, failure, or error status of the primary step type: object inline: + description: |- + Inline is the template. Template must be empty if this is declared (and vice-versa). + Note: This struct is defined recursively, since the inline template can potentially contain + steps/DAGs that also has an "inline" field. Kubernetes doesn't allow recursive types, so we + need "x-kubernetes-preserve-unknown-fields: true" in the validation schema. x-kubernetes-preserve-unknown-fields: true name: + description: Name of the step + maxLength: 128 + pattern: ^[a-zA-Z0-9][-a-zA-Z0-9]*$ type: string onExit: + description: |- + OnExit is a template reference which is invoked at the end of the + template, irrespective of the success, failure, or error of the + primary template. + DEPRECATED: Use Hooks[exit].Template instead. type: string template: + description: Template is the name of the template to + execute as the step type: string templateRef: + description: TemplateRef is the reference to the template + resource to execute as the step. properties: clusterScope: + description: ClusterScope indicates the referred + template is cluster scoped (i.e. a ClusterWorkflowTemplate). type: boolean name: + description: Name is the resource name of the template. type: string template: + description: Template is the name of referred template + in the resource. type: string type: object when: + description: When is an expression in which the step + should conditionally execute type: string withItems: + description: |- + WithItems expands a step into multiple parallel steps from the items in the list + Note: The structure of WithItems is free-form, so we need + "x-kubernetes-preserve-unknown-fields: true" in the validation schema. x-kubernetes-preserve-unknown-fields: true withParam: + description: |- + WithParam expands a step into multiple parallel steps from the value in the parameter, + which is expected to be a JSON list. type: string withSequence: + description: WithSequence expands a step into a numeric + sequence properties: count: anyOf: - type: integer - type: string + description: 'Count is number of elements in the + sequence (default: 0). Not to be used with end' x-kubernetes-int-or-string: true end: anyOf: - type: integer - type: string + description: 'Number at which to end the sequence + (default: 0). Not to be used with Count' x-kubernetes-int-or-string: true format: + description: Format is a printf format string to + format the value in the sequence type: string start: anyOf: - type: integer - type: string + description: 'Number at which to start the sequence + (default: 0)' x-kubernetes-int-or-string: true type: object + x-kubernetes-validations: + - message: only one of count or end can be defined + rule: '!(has(self.count) && has(self.end))' type: object type: array + minItems: 1 type: array suspend: + description: Suspend template subtype which can suspend a workflow + when reaching the step properties: duration: + description: |- + Duration is the seconds to wait before automatically resuming a template. Must be a string. Default unit is seconds. + Could also be a Duration, e.g.: "2m", "6h" type: string type: object synchronization: + description: Synchronization holds synchronization lock configuration + for this template properties: - mutex: - properties: - database: - type: boolean - name: - type: string - namespace: - type: string - type: object mutexes: + description: 'v3.6 and after: Mutexes holds the list of + Mutex lock details' items: + description: Mutex holds Mutex configuration properties: database: + description: Database specifies this is database controlled + if this is set true type: boolean name: + description: name of the mutex type: string namespace: + description: 'Namespace is the namespace of the mutex, + default: [namespace of workflow]' type: string type: object type: array - semaphore: - properties: - configMapKeyRef: - properties: - key: - type: string - name: - default: "" - type: string - optional: - type: boolean - required: - - key - type: object - x-kubernetes-map-type: atomic - database: - properties: - key: - type: string - required: - - key - type: object - namespace: - type: string - type: object semaphores: + description: 'v3.6 and after: Semaphores holds the list + of Semaphores configuration' items: + description: SemaphoreRef is a reference of Semaphore properties: configMapKeyRef: + description: ConfigMapKeyRef is a configmap selector + for Semaphore configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic database: + description: SyncDatabaseRef is a database reference + for Semaphore configuration properties: key: type: string @@ -22772,134 +35517,307 @@ spec: - key type: object namespace: + description: 'Namespace is the namespace of the configmap, + default: [namespace of workflow]' type: string type: object type: array type: object timeout: + description: |- + Timeout allows to set the total node execution timeout duration counting from the node's start time. + This duration also includes time in which the node spends in Pending state. This duration may not be applied to Step or DAG templates. type: string tolerations: + description: Tolerations to apply to workflow pods. items: + description: |- + The pod this Toleration is attached to tolerates any taint that matches + the triple using the matching operator . properties: effect: + description: |- + Effect indicates the taint effect to match. Empty means match all taint effects. + When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. type: string key: + description: |- + Key is the taint key that the toleration applies to. Empty means match all taint keys. + If the key is empty, operator must be Exists; this combination means to match all values and all keys. type: string operator: + description: |- + Operator represents a key's relationship to the value. + Valid operators are Exists and Equal. Defaults to Equal. + Exists is equivalent to wildcard for value, so that a pod can + tolerate all taints of a particular category. type: string tolerationSeconds: + description: |- + TolerationSeconds represents the period of time the toleration (which must be + of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, + it is not set, which means tolerate the taint forever (do not evict). Zero and + negative values will be treated as 0 (evict immediately) by the system. format: int64 type: integer value: + description: |- + Value is the taint value the toleration matches to. + If the operator is Exists, the value should be empty, otherwise just a regular string. type: string type: object type: array volumes: + description: Volumes is a list of volumes that can be mounted + by containers in a template. items: + description: Volume represents a named volume in a pod that + may be accessed by any container in the pod. properties: awsElasticBlockStore: + description: |- + awsElasticBlockStore represents an AWS Disk resource that is attached to a + kubelet's host machine and then exposed to the pod. + Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree + awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore properties: fsType: + description: |- + fsType is the 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#awselasticblockstore type: string partition: + description: |- + partition is 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). format: int32 type: integer readOnly: + description: |- + readOnly value true will force the readOnly setting in VolumeMounts. + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore type: boolean volumeID: + description: |- + volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore type: string required: - volumeID type: object azureDisk: + description: |- + azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. + Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type + are redirected to the disk.csi.azure.com CSI driver. properties: cachingMode: + description: 'cachingMode is the Host Caching mode: + None, Read Only, Read Write.' type: string diskName: + description: diskName is the Name of the data disk + in the blob storage type: string diskURI: + description: diskURI is the URI of data disk in the + blob storage type: string fsType: default: ext4 + description: |- + fsType is 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. type: string kind: + description: 'kind expected values are Shared: multiple + blob disks per storage account Dedicated: single + blob disk per storage account Managed: azure managed + data disk (only in managed availability set). defaults + to shared' type: string readOnly: default: false + description: |- + readOnly Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean required: - diskName - diskURI type: object azureFile: + description: |- + azureFile represents an Azure File Service mount on the host and bind mount to the pod. + Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type + are redirected to the file.csi.azure.com CSI driver. properties: readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretName: + description: secretName is the name of secret that + contains Azure Storage Account Name and Key type: string shareName: + description: shareName is the azure share Name type: string required: - secretName - shareName type: object cephfs: + description: |- + cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. + Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported. properties: monitors: + description: |- + monitors is Required: Monitors is a collection of Ceph monitors + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it items: type: string type: array x-kubernetes-list-type: atomic path: + description: 'path is Optional: Used as the mounted + root, rather than the full Ceph tree, default is + /' type: string readOnly: + description: |- + readOnly is 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 type: boolean secretFile: + description: |- + secretFile is 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 type: string secretRef: + description: |- + secretRef is 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 properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic user: + description: |- + user is optional: User is the rados user name, default is admin + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it type: string required: - monitors type: object cinder: + description: |- + cinder represents a cinder volume attached and mounted on kubelets host machine. + Deprecated: Cinder is deprecated. All operations for the in-tree cinder type + are redirected to the cinder.csi.openstack.org CSI driver. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md properties: fsType: + description: |- + fsType is the 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 type: string readOnly: + description: |- + readOnly 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 type: boolean secretRef: + description: |- + secretRef is optional: points to a secret object containing parameters used to connect + to OpenStack. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic volumeID: + description: |- + volumeID used to identify the volume in cinder. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md type: string required: - volumeID type: object configMap: + description: configMap represents a configMap that should + populate this volume properties: defaultMode: + description: |- + defaultMode is optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer items: + description: |- + items 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 '..'. items: + description: Maps a string key to a path within + a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + description: |- + path is 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 required: - key @@ -22909,67 +35827,146 @@ spec: x-kubernetes-list-type: atomic name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: optional specify whether the ConfigMap + or its keys must be defined type: boolean type: object x-kubernetes-map-type: atomic csi: + description: csi (Container Storage Interface) represents + ephemeral storage that is handled by certain external + CSI drivers. properties: driver: + 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. type: string fsType: + description: |- + fsType 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. type: string nodePublishSecretRef: + 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. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic readOnly: + description: |- + readOnly specifies a read-only configuration for the volume. + Defaults to false (read/write). type: boolean volumeAttributes: additionalProperties: type: string + description: |- + volumeAttributes stores driver-specific properties that are passed to the CSI + driver. Consult your driver's documentation for supported values. type: object required: - driver type: object downwardAPI: + description: downwardAPI represents downward API about + the pod that should populate this volume properties: defaultMode: + description: |- + Optional: mode bits to use on created files by default. Must be a + Optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer items: + description: Items is a list of downward API volume + file items: + description: DownwardAPIVolumeFile represents information + to create the file containing the pod field properties: fieldRef: + description: 'Required: Selects a field of the + pod: only annotations, labels, name, namespace + and uid are supported.' properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select + in the specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic mode: + description: |- + Optional: mode bits used to set permissions on this file, must be an octal value + between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + 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 resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. properties: containerName: + description: 'Container name: required for + volumes, optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format + of the exposed resources, defaults to + "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource @@ -22982,21 +35979,87 @@ spec: x-kubernetes-list-type: atomic type: object emptyDir: + description: |- + emptyDir represents a temporary directory that shares a pod's lifetime. + More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir properties: medium: + description: |- + medium represents 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 type: string sizeLimit: anyOf: - type: integer - type: string + description: |- + sizeLimit is the 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: https://kubernetes.io/docs/concepts/storage/volumes#emptydir pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object ephemeral: + description: |- + ephemeral represents a volume that is handled by a cluster storage driver. + The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, + and deleted when the pod is removed. + + Use this if: + a) the volume is only needed while the pod runs, + b) features of normal volumes like restoring from snapshot or capacity + tracking are needed, + c) the storage driver is specified through a storage class, and + d) the storage driver supports dynamic volume provisioning through + a PersistentVolumeClaim (see EphemeralVolumeSource for more + information on the connection between this volume type + and PersistentVolumeClaim). + + Use PersistentVolumeClaim or one of the vendor-specific + APIs for volumes that persist for longer than the lifecycle + of an individual pod. + + Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to + be used that way - see the documentation of the driver for + more information. + + A pod can use both types of ephemeral volumes and + persistent volumes at the same time. properties: volumeClaimTemplate: + description: |- + Will be used to create a stand-alone PVC to provision the volume. + The pod in which this EphemeralVolumeSource is embedded will be the + owner of the PVC, i.e. the PVC will be deleted together with the + pod. The name of the PVC will be `-` where + `` is the name from the `PodSpec.Volumes` array + entry. Pod validation will reject the pod if the concatenated name + is not valid for a PVC (for example, too long). + + An existing PVC with that name that is not owned by the pod + will *not* be used for the pod to avoid using an unrelated + volume by mistake. Starting the pod is then blocked until + the unrelated PVC is removed. If such a pre-created PVC is + meant to be used by the pod, the PVC has to updated with an + owner reference to the pod once the pod exists. Normally + this should not be necessary, but it may be useful when + manually reconstructing a broken cluster. + + This field is read-only and no changes will be made by Kubernetes + to the PVC after it has been created. + + Required, must not be nil. properties: metadata: + description: |- + May contain labels and annotations that will be copied into the PVC + when creating it. No other fields are allowed and will be rejected during + validation. properties: annotations: additionalProperties: @@ -23018,19 +36081,44 @@ spec: type: string type: object spec: + description: |- + The specification for the PersistentVolumeClaim. The entire content is + copied unchanged into the PVC that gets created from this + template. The same fields as in a PersistentVolumeClaim + are also valid here. properties: accessModes: + description: |- + accessModes contains the desired access modes the volume should have. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 items: type: string type: array x-kubernetes-list-type: atomic dataSource: + description: |- + dataSource field can be used to specify either: + * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) + * An existing PVC (PersistentVolumeClaim) + If the provisioner or an external controller can support the specified data source, + it will create a new volume based on the contents of the specified data source. + When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef, + and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified. + If the namespace is specified, then dataSourceRef will not be copied to dataSource. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource + being referenced type: string name: + description: Name is the name of resource + being referenced type: string required: - kind @@ -23038,20 +36126,62 @@ spec: type: object x-kubernetes-map-type: atomic dataSourceRef: + description: |- + dataSourceRef specifies the object from which to populate the volume with data, if a non-empty + volume is desired. This may be any object from a non-empty API group (non + core object) or a PersistentVolumeClaim object. + When this field is specified, volume binding will only succeed if the type of + the specified object matches some installed volume populator or dynamic + provisioner. + This field will replace the functionality of the dataSource field and as such + if both fields are non-empty, they must have the same value. For backwards + compatibility, when namespace isn't specified in dataSourceRef, + both fields (dataSource and dataSourceRef) will be set to the same + value automatically if one of them is empty and the other is non-empty. + When namespace is specified in dataSourceRef, + dataSource isn't set to the same value and must be empty. + There are three important differences between dataSource and dataSourceRef: + * While dataSource only allows two specific types of objects, dataSourceRef + allows any non-core object, as well as PersistentVolumeClaim objects. + * While dataSource ignores disallowed values (dropping them), dataSourceRef + preserves all values, and generates an error if a disallowed value is + specified. + * While dataSource only allows local objects, dataSourceRef allows objects + in any namespaces. + (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. + (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource + being referenced type: string name: + description: Name is the name of resource + being referenced type: string namespace: + description: |- + Namespace is the namespace of resource being referenced + Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. + (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. type: string required: - kind - name type: object resources: + description: |- + resources represents the minimum resources the volume should have. + If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements + that are lower than previous value but must still be higher than capacity recorded in the + status field of the claim. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources properties: limits: additionalProperties: @@ -23060,6 +36190,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -23068,18 +36201,41 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object type: object selector: + description: selector is a label query over + volumes to consider for binding. properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The + requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key + that the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -23093,16 +36249,41 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic storageClassName: + description: |- + storageClassName is the name of the StorageClass required by the claim. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 type: string volumeAttributesClassName: + description: |- + volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. + If specified, the CSI driver will create or update the volume with the attributes defined + in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, + it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass + will be applied to the claim but it's not allowed to reset this field to empty string once it is set. + If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass + will be set by the persistentvolume controller if it exists. + If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be + set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource + exists. + More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ + (Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default). type: string volumeMode: + description: |- + volumeMode defines what type of volume is required by the claim. + Value of Filesystem is implied when not included in claim spec. type: string volumeName: + description: volumeName is the binding reference + to the PersistentVolume backing this claim. type: string type: object required: @@ -23110,41 +36291,84 @@ spec: type: object type: object fc: + description: fc represents a Fibre Channel resource that + is attached to a kubelet's host machine and then exposed + to the pod. properties: fsType: + description: |- + fsType is the 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. type: string lun: + description: 'lun is Optional: FC target lun number' format: int32 type: integer readOnly: + description: |- + readOnly is Optional: Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean targetWWNs: + description: 'targetWWNs is Optional: FC target worldwide + names (WWNs)' items: type: string type: array x-kubernetes-list-type: atomic wwids: + description: |- + wwids Optional: FC volume world wide identifiers (wwids) + Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. items: type: string type: array x-kubernetes-list-type: atomic type: object flexVolume: + description: |- + flexVolume represents a generic volume resource that is + provisioned/attached using an exec based plugin. + Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead. properties: driver: + description: driver is the name of the driver to use + for this volume. type: string fsType: + description: |- + fsType is the 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. type: string options: additionalProperties: type: string + description: 'options is Optional: this field holds + extra command options if any.' type: object readOnly: + description: |- + readOnly is Optional: defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef is 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: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic @@ -23152,98 +36376,238 @@ spec: - driver type: object flocker: + description: |- + flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running. + Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported. properties: datasetName: + description: |- + datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker + should be considered as deprecated type: string datasetUUID: + description: datasetUUID is the UUID of the dataset. + This is unique identifier of a Flocker dataset type: string type: object gcePersistentDisk: + description: |- + gcePersistentDisk represents a GCE Disk resource that is attached to a + kubelet's host machine and then exposed to the pod. + Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree + gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. + More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk properties: fsType: + description: |- + fsType is 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 type: string partition: + description: |- + partition is 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 format: int32 type: integer pdName: + description: |- + pdName is 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 readOnly: + 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: - pdName type: object gitRepo: + 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. properties: directory: + description: |- + directory is the 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. type: string repository: + description: repository is the URL type: string revision: + description: revision is the commit hash for the specified + revision. type: string required: - repository type: object glusterfs: + description: |- + glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. + Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. + More info: https://examples.k8s.io/volumes/glusterfs/README.md properties: endpoints: + description: |- + endpoints is the endpoint name that details Glusterfs topology. + More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod type: string path: + description: |- + path is the Glusterfs volume path. + More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod type: string readOnly: + 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 type: boolean required: - endpoints - path type: object hostPath: + 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 properties: path: + 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 type: string type: + description: |- + type for HostPath Volume + Defaults to "" + More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath type: string required: - path type: object image: + description: |- + image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. + The volume is resolved at pod startup depending on which PullPolicy value is provided: + + - Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. + - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. + - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. + + The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. + A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. + The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. + The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. + The volume will be mounted read-only (ro) and non-executable files (noexec). + Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33. + The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type. properties: pullPolicy: + description: |- + Policy for pulling OCI objects. Possible values are: + Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. + Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. + IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. + Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. type: string reference: + description: |- + Required: Image or artifact reference to be used. + Behaves in the same way as pod.spec.containers[*].image. + Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets. + More info: https://kubernetes.io/docs/concepts/containers/images + This field is optional to allow higher level config management to default or override + container images in workload controllers like Deployments and StatefulSets. type: string type: object iscsi: + 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 properties: chapAuthDiscovery: + description: chapAuthDiscovery defines whether support + iSCSI Discovery CHAP authentication type: boolean chapAuthSession: + description: chapAuthSession defines whether support + iSCSI Session CHAP authentication type: boolean fsType: + description: |- + fsType is the 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 type: string initiatorName: + description: |- + initiatorName is the custom iSCSI Initiator Name. + If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface + : will be created for the connection. type: string iqn: + description: iqn is the target iSCSI Qualified Name. type: string iscsiInterface: default: default + description: |- + iscsiInterface is the interface Name that uses an iSCSI transport. + Defaults to 'default' (tcp). type: string lun: + description: lun represents iSCSI Target Lun number. format: int32 type: integer portals: + description: |- + portals is the 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). items: type: string type: array x-kubernetes-list-type: atomic readOnly: + description: |- + readOnly here will force the ReadOnly setting in VolumeMounts. + Defaults to false. type: boolean secretRef: + description: secretRef is the CHAP Secret for iSCSI + target and initiator authentication properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic targetPortal: + description: |- + targetPortal is 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 required: - iqn @@ -23251,68 +36615,169 @@ spec: - targetPortal type: object name: + description: |- + name of the volume. + Must be a DNS_LABEL and unique within the pod. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string nfs: + 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 properties: path: + description: |- + path that is exported by the NFS server. + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs type: string readOnly: + 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 type: boolean server: + description: |- + server is the hostname or IP address of the NFS server. + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs type: string required: - path - server type: object persistentVolumeClaim: + description: |- + persistentVolumeClaimVolumeSource represents a reference to a + PersistentVolumeClaim in the same namespace. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims properties: claimName: + 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 readOnly: + description: |- + readOnly Will force the ReadOnly setting in VolumeMounts. + Default false. type: boolean required: - claimName type: object photonPersistentDisk: + description: |- + photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. + Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported. properties: fsType: + description: |- + fsType is the 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. type: string pdID: + description: pdID is the ID that identifies Photon + Controller persistent disk type: string required: - pdID type: object portworxVolume: + description: |- + portworxVolume represents a portworx volume attached and mounted on kubelets host machine. + Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type + are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate + is on. properties: fsType: + 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. type: string readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean volumeID: + description: volumeID uniquely identifies a Portworx + volume type: string required: - volumeID type: object projected: + description: projected items for all in one resources + secrets, configmaps, and downward API properties: defaultMode: + description: |- + defaultMode are the mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer sources: + description: |- + sources is the list of volume projections. Each entry in this list + handles one source. items: + description: |- + Projection that may be projected along with other supported volume types. + Exactly one of these fields must be set. properties: clusterTrustBundle: + description: |- + ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field + of ClusterTrustBundle objects in an auto-updating file. + + Alpha, gated by the ClusterTrustBundleProjection feature gate. + + ClusterTrustBundle objects can either be selected by name, or by the + combination of signer name and a label selector. + + Kubelet performs aggressive normalization of the PEM contents written + into the pod filesystem. Esoteric PEM features such as inter-block + comments and block headers are stripped. Certificates are deduplicated. + The ordering of certificates within the file is arbitrary, and Kubelet + may change the order over time. properties: labelSelector: + description: |- + Select all ClusterTrustBundles that match this label selector. Only has + effect if signerName is set. Mutually-exclusive with name. If unset, + interpreted as "match nothing". If set but empty, interpreted as "match + everything". properties: matchExpressions: + description: matchExpressions is a list + of label selector requirements. The + requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label + key that the selector applies + to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -23326,31 +36791,75 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic name: + description: |- + Select a single ClusterTrustBundle by object name. Mutually-exclusive + with signerName and labelSelector. type: string optional: + description: |- + If true, don't block pod startup if the referenced ClusterTrustBundle(s) + aren't available. If using name, then the named ClusterTrustBundle is + allowed not to exist. If using signerName, then the combination of + signerName and labelSelector is allowed to match zero + ClusterTrustBundles. type: boolean path: + description: Relative path from the volume + root to write the bundle. type: string signerName: + description: |- + Select all ClusterTrustBundles that match this signer name. + Mutually-exclusive with name. The contents of all selected + ClusterTrustBundles will be unified and deduplicated. type: string required: - path type: object configMap: + description: configMap information about the + configMap data to project properties: items: + description: |- + items 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 '..'. items: + description: Maps a string key to a path + within a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + description: |- + path is 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 required: - key @@ -23360,42 +36869,92 @@ spec: x-kubernetes-list-type: atomic name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: optional specify whether the + ConfigMap or its keys must be defined type: boolean type: object x-kubernetes-map-type: atomic downwardAPI: + description: downwardAPI information about the + downwardAPI data to project properties: items: + description: Items is a list of DownwardAPIVolume + file items: + description: DownwardAPIVolumeFile represents + information to create the file containing + the pod field properties: fieldRef: + description: 'Required: Selects a + field of the pod: only annotations, + labels, name, namespace and uid + are supported.' properties: apiVersion: + description: Version of the schema + the FieldPath is written in + terms of, defaults to "v1". type: string fieldPath: + description: Path of the field + to select in the specified API + version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic mode: + description: |- + Optional: mode bits used to set permissions on this file, must be an octal value + between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + 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 resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. properties: containerName: + description: 'Container name: + required for volumes, optional + for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output + format of the exposed resources, + defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource + to select' type: string required: - resource @@ -23408,16 +36967,41 @@ spec: x-kubernetes-list-type: atomic type: object secret: + description: secret information about the secret + data to project properties: items: + description: |- + items 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 '..'. items: + description: Maps a string key to a path + within a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + description: |- + path is 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 required: - key @@ -23427,19 +37011,44 @@ spec: x-kubernetes-list-type: atomic name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: optional field specify whether + the Secret or its key must be defined type: boolean type: object x-kubernetes-map-type: atomic serviceAccountToken: + description: serviceAccountToken is information + about the serviceAccountToken data to project properties: audience: + 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. type: string expirationSeconds: + 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. format: int64 type: integer path: + description: |- + path is the path relative to the mount point of the file to project the + token into. type: string required: - path @@ -23449,84 +37058,183 @@ spec: x-kubernetes-list-type: atomic type: object quobyte: + description: |- + quobyte represents a Quobyte mount on the host that shares a pod's lifetime. + Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported. properties: group: + description: |- + group to map volume access to + Default is no group type: string readOnly: + description: |- + readOnly here will force the Quobyte volume to be mounted with read-only permissions. + Defaults to false. type: boolean registry: + 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 type: string tenant: + description: |- + tenant owning the given Quobyte volume in the Backend + Used with dynamically provisioned Quobyte volumes, value is set by the plugin type: string user: + description: |- + user to map volume access to + Defaults to serivceaccount user type: string volume: + description: volume is a string that references an + already created Quobyte volume by name. type: string required: - registry - volume type: object rbd: + description: |- + rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. + Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. + More info: https://examples.k8s.io/volumes/rbd/README.md properties: fsType: + description: |- + fsType is the 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 type: string image: + description: |- + image is the rados image name. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string keyring: default: /etc/ceph/keyring + 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 type: string monitors: + description: |- + monitors is a collection of Ceph monitors. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it items: type: string type: array x-kubernetes-list-type: atomic pool: default: rbd + description: |- + pool is the rados pool name. + Default is rbd. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string readOnly: + 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 type: boolean secretRef: + 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 properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic user: default: admin + description: |- + user is the rados user name. + Default is admin. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string required: - image - monitors type: object scaleIO: + description: |- + scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. + Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported. properties: fsType: default: xfs + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". + Default is "xfs". type: string gateway: + description: gateway is the host address of the ScaleIO + API Gateway. type: string protectionDomain: + description: protectionDomain is the name of the ScaleIO + Protection Domain for the configured storage. type: string readOnly: + description: |- + readOnly Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef references to the secret for ScaleIO user and other + sensitive information. If this is not provided, Login operation will fail. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic sslEnabled: + description: sslEnabled Flag enable/disable SSL communication + with Gateway, default false type: boolean storageMode: default: ThinProvisioned + description: |- + storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. + Default is ThinProvisioned. type: string storagePool: + description: storagePool is the ScaleIO Storage Pool + associated with the protection domain. type: string system: + description: system is the name of the storage system + as configured in ScaleIO. type: string volumeName: + description: |- + volumeName is the name of a volume already created in the ScaleIO system + that is associated with this volume source. type: string required: - gateway @@ -23534,19 +37242,53 @@ spec: - system type: object secret: + description: |- + secret represents a secret that should populate this volume. + More info: https://kubernetes.io/docs/concepts/storage/volumes#secret properties: defaultMode: + description: |- + defaultMode is Optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values + for mode bits. 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. format: int32 type: integer items: + description: |- + items 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 '..'. items: + description: Maps a string key to a path within + a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + description: |- + path is 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 required: - key @@ -23555,37 +37297,86 @@ spec: type: array x-kubernetes-list-type: atomic optional: + description: optional field specify whether the Secret + or its keys must be defined type: boolean secretName: + description: |- + secretName is the name of the secret in the pod's namespace to use. + More info: https://kubernetes.io/docs/concepts/storage/volumes#secret type: string type: object storageos: + description: |- + storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. + Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. properties: fsType: + description: |- + fsType is the 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. type: string readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef specifies the secret to use for obtaining the StorageOS API + credentials. If not specified, default values will be attempted. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic volumeName: + description: |- + volumeName is the human-readable name of the StorageOS volume. Volume + names are only unique within a namespace. type: string volumeNamespace: + 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. type: string type: object vsphereVolume: + description: |- + vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. + Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type + are redirected to the csi.vsphere.vmware.com CSI driver. properties: fsType: + description: |- + fsType is 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. type: string storagePolicyID: + description: storagePolicyID is the storage Policy + Based Management (SPBM) profile ID associated with + the StoragePolicyName. type: string storagePolicyName: + description: storagePolicyName is the storage Policy + Based Management (SPBM) profile name. type: string volumePath: + description: volumePath is the path that identifies + vSphere volume vmdk type: string required: - volumePath @@ -23595,48 +37386,120 @@ spec: type: object type: array type: object + maxItems: 200 type: array + x-kubernetes-validations: + - message: template must have at most one template type + rule: 'self.all(t, (has(t.container) ? 1 : 0) + (has(t.script) ? + 1 : 0) + (has(t.dag) ? 1 : 0) + (has(t.steps) ? 1 : 0) + (has(t.resource) + ? 1 : 0) + (has(t.suspend) ? 1 : 0) + (has(t.containerSet) ? 1 + : 0) + (has(t.data) ? 1 : 0) + (has(t.http) ? 1 : 0) + (has(t.plugin) + ? 1 : 0) <= 1)' + - message: timeout cannot be applied to steps or dag templates + rule: self.all(t, !(has(t.timeout) && t.timeout != "" && (has(t.steps) + || has(t.dag)))) + - message: activeDeadlineSeconds is only valid for leaf templates + rule: self.all(t, !(has(t.activeDeadlineSeconds) && (has(t.steps) + || has(t.dag)))) tolerations: + description: Tolerations to apply to workflow pods. items: + description: |- + The pod this Toleration is attached to tolerates any taint that matches + the triple using the matching operator . properties: effect: + description: |- + Effect indicates the taint effect to match. Empty means match all taint effects. + When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. type: string key: + description: |- + Key is the taint key that the toleration applies to. Empty means match all taint keys. + If the key is empty, operator must be Exists; this combination means to match all values and all keys. type: string operator: + description: |- + Operator represents a key's relationship to the value. + Valid operators are Exists and Equal. Defaults to Equal. + Exists is equivalent to wildcard for value, so that a pod can + tolerate all taints of a particular category. type: string tolerationSeconds: + description: |- + TolerationSeconds represents the period of time the toleration (which must be + of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, + it is not set, which means tolerate the taint forever (do not evict). Zero and + negative values will be treated as 0 (evict immediately) by the system. format: int64 type: integer value: + description: |- + Value is the taint value the toleration matches to. + If the operator is Exists, the value should be empty, otherwise just a regular string. type: string type: object type: array ttlStrategy: + description: |- + TTLStrategy limits the lifetime of a Workflow that has finished execution depending on if it + Succeeded or Failed. If this struct is set, once the Workflow finishes, it will be + deleted after the time to live expires. If this field is unset, + the controller config map will hold the default values. properties: secondsAfterCompletion: + description: SecondsAfterCompletion is the number of seconds to + live after completion format: int32 type: integer secondsAfterFailure: + description: SecondsAfterFailure is the number of seconds to live + after failure format: int32 type: integer secondsAfterSuccess: + description: SecondsAfterSuccess is the number of seconds to live + after success format: int32 type: integer type: object volumeClaimGC: + description: VolumeClaimGC describes the strategy to use when deleting + volumes from completed workflows properties: strategy: + description: Strategy is the strategy to use. One of "OnWorkflowCompletion", + "OnWorkflowSuccess". Defaults to "OnWorkflowSuccess" type: string type: object volumeClaimTemplates: + description: |- + VolumeClaimTemplates is a list of claims that containers are allowed to reference. + The Workflow controller will create the claims at the beginning of the workflow + and delete the claims upon completion of the workflow items: + description: PersistentVolumeClaim is a user's request for and claim + to a persistent volume 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: + description: |- + Standard object's metadata. + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata properties: annotations: additionalProperties: @@ -23658,19 +37521,40 @@ spec: type: string type: object spec: + description: |- + spec defines the desired characteristics of a volume requested by a pod author. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims properties: accessModes: + description: |- + accessModes contains the desired access modes the volume should have. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 items: type: string type: array x-kubernetes-list-type: atomic dataSource: + description: |- + dataSource field can be used to specify either: + * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) + * An existing PVC (PersistentVolumeClaim) + If the provisioner or an external controller can support the specified data source, + it will create a new volume based on the contents of the specified data source. + When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef, + and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified. + If the namespace is specified, then dataSourceRef will not be copied to dataSource. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource being referenced type: string name: + description: Name is the name of resource being referenced type: string required: - kind @@ -23678,20 +37562,60 @@ spec: type: object x-kubernetes-map-type: atomic dataSourceRef: + description: |- + dataSourceRef specifies the object from which to populate the volume with data, if a non-empty + volume is desired. This may be any object from a non-empty API group (non + core object) or a PersistentVolumeClaim object. + When this field is specified, volume binding will only succeed if the type of + the specified object matches some installed volume populator or dynamic + provisioner. + This field will replace the functionality of the dataSource field and as such + if both fields are non-empty, they must have the same value. For backwards + compatibility, when namespace isn't specified in dataSourceRef, + both fields (dataSource and dataSourceRef) will be set to the same + value automatically if one of them is empty and the other is non-empty. + When namespace is specified in dataSourceRef, + dataSource isn't set to the same value and must be empty. + There are three important differences between dataSource and dataSourceRef: + * While dataSource only allows two specific types of objects, dataSourceRef + allows any non-core object, as well as PersistentVolumeClaim objects. + * While dataSource ignores disallowed values (dropping them), dataSourceRef + preserves all values, and generates an error if a disallowed value is + specified. + * While dataSource only allows local objects, dataSourceRef allows objects + in any namespaces. + (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. + (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource being referenced type: string name: + description: Name is the name of resource being referenced type: string namespace: + description: |- + Namespace is the namespace of resource being referenced + Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. + (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. type: string required: - kind - name type: object resources: + description: |- + resources represents the minimum resources the volume should have. + If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements + that are lower than previous value but must still be higher than capacity recorded in the + status field of the claim. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources properties: limits: additionalProperties: @@ -23700,6 +37624,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -23708,18 +37635,40 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object type: object selector: + description: selector is a label query over volumes to consider + for binding. properties: matchExpressions: + description: matchExpressions is a list of label selector + requirements. The requirements are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that the selector + applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -23733,28 +37682,99 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic storageClassName: + description: |- + storageClassName is the name of the StorageClass required by the claim. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 type: string volumeAttributesClassName: + description: |- + volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. + If specified, the CSI driver will create or update the volume with the attributes defined + in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, + it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass + will be applied to the claim but it's not allowed to reset this field to empty string once it is set. + If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass + will be set by the persistentvolume controller if it exists. + If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be + set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource + exists. + More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ + (Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default). type: string volumeMode: + description: |- + volumeMode defines what type of volume is required by the claim. + Value of Filesystem is implied when not included in claim spec. type: string volumeName: + description: volumeName is the binding reference to the + PersistentVolume backing this claim. type: string type: object status: + description: |- + status represents the current information/status of a persistent volume claim. + Read-only. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims properties: accessModes: + description: |- + accessModes contains the actual access modes the volume backing the PVC has. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 items: type: string type: array x-kubernetes-list-type: atomic allocatedResourceStatuses: additionalProperties: + description: |- + When a controller receives persistentvolume claim update with ClaimResourceStatus for a resource + that it does not recognizes, then it should ignore that update and let other controllers + handle it. type: string + description: "allocatedResourceStatuses stores status of + resource being resized for the given PVC.\nKey names follow + standard Kubernetes label syntax. Valid values are either:\n\t* + Un-prefixed keys:\n\t\t- storage - the capacity of the + volume.\n\t* Custom resources must use implementation-defined + prefixed names such as \"example.com/my-custom-resource\"\nApart + from above values - keys that are unprefixed or have kubernetes.io + prefix are considered\nreserved and hence may not be used.\n\nClaimResourceStatus + can be in any of following states:\n\t- ControllerResizeInProgress:\n\t\tState + set when resize controller starts resizing the volume + in control-plane.\n\t- ControllerResizeFailed:\n\t\tState + set when resize has failed in resize controller with a + terminal error.\n\t- NodeResizePending:\n\t\tState set + when resize controller has finished resizing the volume + but further resizing of\n\t\tvolume is needed on the node.\n\t- + NodeResizeInProgress:\n\t\tState set when kubelet starts + resizing the volume.\n\t- NodeResizeFailed:\n\t\tState + set when resizing has failed in kubelet with a terminal + error. Transient errors don't set\n\t\tNodeResizeFailed.\nFor + example: if expanding a PVC for more capacity - this field + can be one of the following states:\n\t- pvc.status.allocatedResourceStatus['storage'] + = \"ControllerResizeInProgress\"\n - pvc.status.allocatedResourceStatus['storage'] + = \"ControllerResizeFailed\"\n - pvc.status.allocatedResourceStatus['storage'] + = \"NodeResizePending\"\n - pvc.status.allocatedResourceStatus['storage'] + = \"NodeResizeInProgress\"\n - pvc.status.allocatedResourceStatus['storage'] + = \"NodeResizeFailed\"\nWhen this field is not set, it + means that no resize operation is in progress for the + given PVC.\n\nA controller that receives PVC update with + previously unknown resourceName or ClaimResourceStatus\nshould + ignore the update for the purpose it was designed. For + example - a controller that\nonly is responsible for resizing + capacity of the volume, should ignore PVC updates that + change other valid\nresources associated with PVC.\n\nThis + is an alpha field and requires enabling RecoverVolumeExpansionFailure + feature." type: object x-kubernetes-map-type: granular allocatedResources: @@ -23764,6 +37784,30 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: "allocatedResources tracks the resources allocated + to a PVC including its capacity.\nKey names follow standard + Kubernetes label syntax. Valid values are either:\n\t* + Un-prefixed keys:\n\t\t- storage - the capacity of the + volume.\n\t* Custom resources must use implementation-defined + prefixed names such as \"example.com/my-custom-resource\"\nApart + from above values - keys that are unprefixed or have kubernetes.io + prefix are considered\nreserved and hence may not be used.\n\nCapacity + reported here may be larger than the actual capacity when + a volume expansion operation\nis requested.\nFor storage + quota, the larger value from allocatedResources and PVC.spec.resources + is used.\nIf allocatedResources is not set, PVC.spec.resources + alone is used for quota calculation.\nIf a volume expansion + capacity request is lowered, allocatedResources is only\nlowered + if there are no expansion operations in progress and if + the actual volume capacity\nis equal or lower than the + requested capacity.\n\nA controller that receives PVC + update with previously unknown resourceName\nshould ignore + the update for the purpose it was designed. For example + - a controller that\nonly is responsible for resizing + capacity of the volume, should ignore PVC updates that + change other valid\nresources associated with PVC.\n\nThis + is an alpha field and requires enabling RecoverVolumeExpansionFailure + feature." type: object capacity: additionalProperties: @@ -23772,23 +37816,47 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: capacity represents the actual resources of + the underlying volume. type: object conditions: + description: |- + conditions is the current Condition of persistent volume claim. If underlying persistent volume is being + resized then the Condition will be set to 'Resizing'. items: + description: PersistentVolumeClaimCondition contains details + about state of pvc properties: lastProbeTime: + description: lastProbeTime is the time we probed the + condition. format: date-time type: string lastTransitionTime: + description: lastTransitionTime is the time the condition + transitioned from one status to another. format: date-time type: string message: + description: message is the human-readable message + indicating details about last transition. type: string reason: + description: |- + reason is a unique, this should be a short, machine understandable string that gives the reason + for condition's last transition. If it reports "Resizing" that means the underlying + persistent volume is being resized. type: string status: + description: |- + Status is the status of the condition. + Can be True, False, Unknown. + More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=state%20of%20pvc-,conditions.status,-(string)%2C%20required type: string type: + description: |- + Type is the type of the condition. + More info: https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/persistent-volume-claim-v1/#:~:text=set%20to%20%27ResizeStarted%27.-,PersistentVolumeClaimCondition,-contains%20details%20about type: string required: - status @@ -23799,127 +37867,293 @@ spec: - type x-kubernetes-list-type: map currentVolumeAttributesClassName: + description: |- + currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. + When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim + This is a beta field and requires enabling VolumeAttributesClass feature (off by default). type: string modifyVolumeStatus: + description: |- + ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. + When this is unset, there is no ModifyVolume operation being attempted. + This is a beta field and requires enabling VolumeAttributesClass feature (off by default). properties: status: + description: "status is the status of the ControllerModifyVolume + operation. It can be in any of following states:\n + - Pending\n Pending indicates that the PersistentVolumeClaim + cannot be modified due to unmet requirements, such + as\n the specified VolumeAttributesClass not existing.\n + - InProgress\n InProgress indicates that the volume + is being modified.\n - Infeasible\n Infeasible indicates + that the request has been rejected as invalid by the + CSI driver. To\n\t resolve the error, a valid VolumeAttributesClass + needs to be specified.\nNote: New statuses can be + added in the future. Consumers should check for unknown + statuses and fail appropriately." type: string targetVolumeAttributesClassName: + description: targetVolumeAttributesClassName is the + name of the VolumeAttributesClass the PVC currently + being reconciled type: string required: - status type: object phase: + description: phase represents the current phase of PersistentVolumeClaim. type: string type: object type: object type: array volumes: + description: Volumes is a list of volumes that can be mounted by containers + in a workflow. items: + description: Volume represents a named volume in a pod that may + be accessed by any container in the pod. properties: awsElasticBlockStore: + description: |- + awsElasticBlockStore represents an AWS Disk resource that is attached to a + kubelet's host machine and then exposed to the pod. + Deprecated: AWSElasticBlockStore is deprecated. All operations for the in-tree + awsElasticBlockStore type are redirected to the ebs.csi.aws.com CSI driver. + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore properties: fsType: + description: |- + fsType is the 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#awselasticblockstore type: string partition: + description: |- + partition is 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). format: int32 type: integer readOnly: + description: |- + readOnly value true will force the readOnly setting in VolumeMounts. + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore type: boolean volumeID: + description: |- + volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). + More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore type: string required: - volumeID type: object azureDisk: + description: |- + azureDisk represents an Azure Data Disk mount on the host and bind mount to the pod. + Deprecated: AzureDisk is deprecated. All operations for the in-tree azureDisk type + are redirected to the disk.csi.azure.com CSI driver. properties: cachingMode: + description: 'cachingMode is the Host Caching mode: None, + Read Only, Read Write.' type: string diskName: + description: diskName is the Name of the data disk in the + blob storage type: string diskURI: + description: diskURI is the URI of data disk in the blob + storage type: string fsType: default: ext4 + description: |- + fsType is 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. type: string kind: + description: 'kind expected values are Shared: multiple + blob disks per storage account Dedicated: single blob + disk per storage account Managed: azure managed data + disk (only in managed availability set). defaults to shared' type: string readOnly: default: false + description: |- + readOnly Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean required: - diskName - diskURI type: object azureFile: + description: |- + azureFile represents an Azure File Service mount on the host and bind mount to the pod. + Deprecated: AzureFile is deprecated. All operations for the in-tree azureFile type + are redirected to the file.csi.azure.com CSI driver. properties: readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretName: + description: secretName is the name of secret that contains + Azure Storage Account Name and Key type: string shareName: + description: shareName is the azure share Name type: string required: - secretName - shareName type: object cephfs: + description: |- + cephFS represents a Ceph FS mount on the host that shares a pod's lifetime. + Deprecated: CephFS is deprecated and the in-tree cephfs type is no longer supported. properties: monitors: + description: |- + monitors is Required: Monitors is a collection of Ceph monitors + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it items: type: string type: array x-kubernetes-list-type: atomic path: + description: 'path is Optional: Used as the mounted root, + rather than the full Ceph tree, default is /' type: string readOnly: + description: |- + readOnly is 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 type: boolean secretFile: + description: |- + secretFile is 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 type: string secretRef: + description: |- + secretRef is 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 properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic user: + description: |- + user is optional: User is the rados user name, default is admin + More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it type: string required: - monitors type: object cinder: + description: |- + cinder represents a cinder volume attached and mounted on kubelets host machine. + Deprecated: Cinder is deprecated. All operations for the in-tree cinder type + are redirected to the cinder.csi.openstack.org CSI driver. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md properties: fsType: + description: |- + fsType is the 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 type: string readOnly: + description: |- + readOnly 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 type: boolean secretRef: + description: |- + secretRef is optional: points to a secret object containing parameters used to connect + to OpenStack. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic volumeID: + description: |- + volumeID used to identify the volume in cinder. + More info: https://examples.k8s.io/mysql-cinder-pd/README.md type: string required: - volumeID type: object configMap: + description: configMap represents a configMap that should populate + this volume properties: defaultMode: + description: |- + defaultMode is optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer items: + description: |- + items 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 '..'. items: + description: Maps a string key to a path within a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + description: |- + path is 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 required: - key @@ -23929,67 +38163,143 @@ spec: x-kubernetes-list-type: atomic name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: optional specify whether the ConfigMap or its + keys must be defined type: boolean type: object x-kubernetes-map-type: atomic csi: + description: csi (Container Storage Interface) represents ephemeral + storage that is handled by certain external CSI drivers. properties: driver: + 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. type: string fsType: + description: |- + fsType 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. type: string nodePublishSecretRef: + 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. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic readOnly: + description: |- + readOnly specifies a read-only configuration for the volume. + Defaults to false (read/write). type: boolean volumeAttributes: additionalProperties: type: string + description: |- + volumeAttributes stores driver-specific properties that are passed to the CSI + driver. Consult your driver's documentation for supported values. type: object required: - driver type: object downwardAPI: + description: downwardAPI represents downward API about the pod + that should populate this volume properties: defaultMode: + description: |- + Optional: mode bits to use on created files by default. Must be a + Optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer items: + description: Items is a list of downward API volume file items: + description: DownwardAPIVolumeFile represents information + to create the file containing the pod field properties: fieldRef: + description: 'Required: Selects a field of the pod: + only annotations, labels, name, namespace and uid + are supported.' properties: apiVersion: + description: Version of the schema the FieldPath + is written in terms of, defaults to "v1". type: string fieldPath: + description: Path of the field to select in the + specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic mode: + description: |- + Optional: mode bits used to set permissions on this file, must be an octal value + between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + 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 resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. properties: containerName: + description: 'Container name: required for volumes, + optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format of the + exposed resources, defaults to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to select' type: string required: - resource @@ -24002,21 +38312,87 @@ spec: x-kubernetes-list-type: atomic type: object emptyDir: + description: |- + emptyDir represents a temporary directory that shares a pod's lifetime. + More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir properties: medium: + description: |- + medium represents 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 type: string sizeLimit: anyOf: - type: integer - type: string + description: |- + sizeLimit is the 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: https://kubernetes.io/docs/concepts/storage/volumes#emptydir pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true type: object ephemeral: + description: |- + ephemeral represents a volume that is handled by a cluster storage driver. + The volume's lifecycle is tied to the pod that defines it - it will be created before the pod starts, + and deleted when the pod is removed. + + Use this if: + a) the volume is only needed while the pod runs, + b) features of normal volumes like restoring from snapshot or capacity + tracking are needed, + c) the storage driver is specified through a storage class, and + d) the storage driver supports dynamic volume provisioning through + a PersistentVolumeClaim (see EphemeralVolumeSource for more + information on the connection between this volume type + and PersistentVolumeClaim). + + Use PersistentVolumeClaim or one of the vendor-specific + APIs for volumes that persist for longer than the lifecycle + of an individual pod. + + Use CSI for light-weight local ephemeral volumes if the CSI driver is meant to + be used that way - see the documentation of the driver for + more information. + + A pod can use both types of ephemeral volumes and + persistent volumes at the same time. properties: volumeClaimTemplate: + description: |- + Will be used to create a stand-alone PVC to provision the volume. + The pod in which this EphemeralVolumeSource is embedded will be the + owner of the PVC, i.e. the PVC will be deleted together with the + pod. The name of the PVC will be `-` where + `` is the name from the `PodSpec.Volumes` array + entry. Pod validation will reject the pod if the concatenated name + is not valid for a PVC (for example, too long). + + An existing PVC with that name that is not owned by the pod + will *not* be used for the pod to avoid using an unrelated + volume by mistake. Starting the pod is then blocked until + the unrelated PVC is removed. If such a pre-created PVC is + meant to be used by the pod, the PVC has to updated with an + owner reference to the pod once the pod exists. Normally + this should not be necessary, but it may be useful when + manually reconstructing a broken cluster. + + This field is read-only and no changes will be made by Kubernetes + to the PVC after it has been created. + + Required, must not be nil. properties: metadata: + description: |- + May contain labels and annotations that will be copied into the PVC + when creating it. No other fields are allowed and will be rejected during + validation. properties: annotations: additionalProperties: @@ -24038,19 +38414,44 @@ spec: type: string type: object spec: + description: |- + The specification for the PersistentVolumeClaim. The entire content is + copied unchanged into the PVC that gets created from this + template. The same fields as in a PersistentVolumeClaim + are also valid here. properties: accessModes: + description: |- + accessModes contains the desired access modes the volume should have. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 items: type: string type: array x-kubernetes-list-type: atomic dataSource: + description: |- + dataSource field can be used to specify either: + * An existing VolumeSnapshot object (snapshot.storage.k8s.io/VolumeSnapshot) + * An existing PVC (PersistentVolumeClaim) + If the provisioner or an external controller can support the specified data source, + it will create a new volume based on the contents of the specified data source. + When the AnyVolumeDataSource feature gate is enabled, dataSource contents will be copied to dataSourceRef, + and dataSourceRef contents will be copied to dataSource when dataSourceRef.namespace is not specified. + If the namespace is specified, then dataSourceRef will not be copied to dataSource. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource being + referenced type: string name: + description: Name is the name of resource being + referenced type: string required: - kind @@ -24058,20 +38459,62 @@ spec: type: object x-kubernetes-map-type: atomic dataSourceRef: + description: |- + dataSourceRef specifies the object from which to populate the volume with data, if a non-empty + volume is desired. This may be any object from a non-empty API group (non + core object) or a PersistentVolumeClaim object. + When this field is specified, volume binding will only succeed if the type of + the specified object matches some installed volume populator or dynamic + provisioner. + This field will replace the functionality of the dataSource field and as such + if both fields are non-empty, they must have the same value. For backwards + compatibility, when namespace isn't specified in dataSourceRef, + both fields (dataSource and dataSourceRef) will be set to the same + value automatically if one of them is empty and the other is non-empty. + When namespace is specified in dataSourceRef, + dataSource isn't set to the same value and must be empty. + There are three important differences between dataSource and dataSourceRef: + * While dataSource only allows two specific types of objects, dataSourceRef + allows any non-core object, as well as PersistentVolumeClaim objects. + * While dataSource ignores disallowed values (dropping them), dataSourceRef + preserves all values, and generates an error if a disallowed value is + specified. + * While dataSource only allows local objects, dataSourceRef allows objects + in any namespaces. + (Beta) Using this field requires the AnyVolumeDataSource feature gate to be enabled. + (Alpha) Using the namespace field of dataSourceRef requires the CrossNamespaceVolumeDataSource feature gate to be enabled. properties: apiGroup: + description: |- + APIGroup is the group for the resource being referenced. + If APIGroup is not specified, the specified Kind must be in the core API group. + For any other third-party types, APIGroup is required. type: string kind: + description: Kind is the type of resource being + referenced type: string name: + description: Name is the name of resource being + referenced type: string namespace: + description: |- + Namespace is the namespace of resource being referenced + Note that when a namespace is specified, a gateway.networking.k8s.io/ReferenceGrant object is required in the referent namespace to allow that namespace's owner to accept the reference. See the ReferenceGrant documentation for details. + (Alpha) This field requires the CrossNamespaceVolumeDataSource feature gate to be enabled. type: string required: - kind - name type: object resources: + description: |- + resources represents the minimum resources the volume should have. + If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements + that are lower than previous value but must still be higher than capacity recorded in the + status field of the claim. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources properties: limits: additionalProperties: @@ -24080,6 +38523,9 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Limits describes the maximum amount of compute resources allowed. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object requests: additionalProperties: @@ -24088,18 +38534,41 @@ spec: - type: string pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true + description: |- + Requests describes the minimum amount of compute resources required. + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, + otherwise to an implementation-defined value. Requests cannot exceed Limits. + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ type: object type: object selector: + description: selector is a label query over volumes + to consider for binding. properties: matchExpressions: + description: matchExpressions is a list of label + selector requirements. The requirements are + ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -24113,16 +38582,41 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic storageClassName: + description: |- + storageClassName is the name of the StorageClass required by the claim. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1 type: string volumeAttributesClassName: + description: |- + volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. + If specified, the CSI driver will create or update the volume with the attributes defined + in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, + it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass + will be applied to the claim but it's not allowed to reset this field to empty string once it is set. + If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass + will be set by the persistentvolume controller if it exists. + If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be + set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource + exists. + More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ + (Beta) Using this field requires the VolumeAttributesClass feature gate to be enabled (off by default). type: string volumeMode: + description: |- + volumeMode defines what type of volume is required by the claim. + Value of Filesystem is implied when not included in claim spec. type: string volumeName: + description: volumeName is the binding reference + to the PersistentVolume backing this claim. type: string type: object required: @@ -24130,41 +38624,84 @@ spec: type: object type: object fc: + description: fc represents a Fibre Channel resource that is + attached to a kubelet's host machine and then exposed to the + pod. properties: fsType: + description: |- + fsType is the 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. type: string lun: + description: 'lun is Optional: FC target lun number' format: int32 type: integer readOnly: + description: |- + readOnly is Optional: Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean targetWWNs: + description: 'targetWWNs is Optional: FC target worldwide + names (WWNs)' items: type: string type: array x-kubernetes-list-type: atomic wwids: + description: |- + wwids Optional: FC volume world wide identifiers (wwids) + Either wwids or combination of targetWWNs and lun must be set, but not both simultaneously. items: type: string type: array x-kubernetes-list-type: atomic type: object flexVolume: + description: |- + flexVolume represents a generic volume resource that is + provisioned/attached using an exec based plugin. + Deprecated: FlexVolume is deprecated. Consider using a CSIDriver instead. properties: driver: + description: driver is the name of the driver to use for + this volume. type: string fsType: + description: |- + fsType is the 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. type: string options: additionalProperties: type: string + description: 'options is Optional: this field holds extra + command options if any.' type: object readOnly: + description: |- + readOnly is Optional: defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef is 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: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic @@ -24172,98 +38709,238 @@ spec: - driver type: object flocker: + description: |- + flocker represents a Flocker volume attached to a kubelet's host machine. This depends on the Flocker control service being running. + Deprecated: Flocker is deprecated and the in-tree flocker type is no longer supported. properties: datasetName: + description: |- + datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker + should be considered as deprecated type: string datasetUUID: + description: datasetUUID is the UUID of the dataset. This + is unique identifier of a Flocker dataset type: string type: object gcePersistentDisk: + description: |- + gcePersistentDisk represents a GCE Disk resource that is attached to a + kubelet's host machine and then exposed to the pod. + Deprecated: GCEPersistentDisk is deprecated. All operations for the in-tree + gcePersistentDisk type are redirected to the pd.csi.storage.gke.io CSI driver. + More info: https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk properties: fsType: + description: |- + fsType is 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 type: string partition: + description: |- + partition is 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 format: int32 type: integer pdName: + description: |- + pdName is 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 readOnly: + 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: - pdName type: object gitRepo: + 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. properties: directory: + description: |- + directory is the 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. type: string repository: + description: repository is the URL type: string revision: + description: revision is the commit hash for the specified + revision. type: string required: - repository type: object glusterfs: + description: |- + glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. + Deprecated: Glusterfs is deprecated and the in-tree glusterfs type is no longer supported. + More info: https://examples.k8s.io/volumes/glusterfs/README.md properties: endpoints: + description: |- + endpoints is the endpoint name that details Glusterfs topology. + More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod type: string path: + description: |- + path is the Glusterfs volume path. + More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod type: string readOnly: + 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 type: boolean required: - endpoints - path type: object hostPath: + 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 properties: path: + 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 type: string type: + description: |- + type for HostPath Volume + Defaults to "" + More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath type: string required: - path type: object image: + description: |- + image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. + The volume is resolved at pod startup depending on which PullPolicy value is provided: + + - Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. + - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. + - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. + + The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. + A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. + The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. + The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. + The volume will be mounted read-only (ro) and non-executable files (noexec). + Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath) before 1.33. + The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type. properties: pullPolicy: + description: |- + Policy for pulling OCI objects. Possible values are: + Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. + Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. + IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. + Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. type: string reference: + description: |- + Required: Image or artifact reference to be used. + Behaves in the same way as pod.spec.containers[*].image. + Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets. + More info: https://kubernetes.io/docs/concepts/containers/images + This field is optional to allow higher level config management to default or override + container images in workload controllers like Deployments and StatefulSets. type: string type: object iscsi: + 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 properties: chapAuthDiscovery: + description: chapAuthDiscovery defines whether support iSCSI + Discovery CHAP authentication type: boolean chapAuthSession: + description: chapAuthSession defines whether support iSCSI + Session CHAP authentication type: boolean fsType: + description: |- + fsType is the 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 type: string initiatorName: + description: |- + initiatorName is the custom iSCSI Initiator Name. + If initiatorName is specified with iscsiInterface simultaneously, new iSCSI interface + : will be created for the connection. type: string iqn: + description: iqn is the target iSCSI Qualified Name. type: string iscsiInterface: default: default + description: |- + iscsiInterface is the interface Name that uses an iSCSI transport. + Defaults to 'default' (tcp). type: string lun: + description: lun represents iSCSI Target Lun number. format: int32 type: integer portals: + description: |- + portals is the 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). items: type: string type: array x-kubernetes-list-type: atomic readOnly: + description: |- + readOnly here will force the ReadOnly setting in VolumeMounts. + Defaults to false. type: boolean secretRef: + description: secretRef is the CHAP Secret for iSCSI target + and initiator authentication properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic targetPortal: + description: |- + targetPortal is 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 required: - iqn @@ -24271,68 +38948,167 @@ spec: - targetPortal type: object name: + description: |- + name of the volume. + Must be a DNS_LABEL and unique within the pod. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string nfs: + 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 properties: path: + description: |- + path that is exported by the NFS server. + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs type: string readOnly: + 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 type: boolean server: + description: |- + server is the hostname or IP address of the NFS server. + More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs type: string required: - path - server type: object persistentVolumeClaim: + description: |- + persistentVolumeClaimVolumeSource represents a reference to a + PersistentVolumeClaim in the same namespace. + More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims properties: claimName: + 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 readOnly: + description: |- + readOnly Will force the ReadOnly setting in VolumeMounts. + Default false. type: boolean required: - claimName type: object photonPersistentDisk: + description: |- + photonPersistentDisk represents a PhotonController persistent disk attached and mounted on kubelets host machine. + Deprecated: PhotonPersistentDisk is deprecated and the in-tree photonPersistentDisk type is no longer supported. properties: fsType: + description: |- + fsType is the 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. type: string pdID: + description: pdID is the ID that identifies Photon Controller + persistent disk type: string required: - pdID type: object portworxVolume: + description: |- + portworxVolume represents a portworx volume attached and mounted on kubelets host machine. + Deprecated: PortworxVolume is deprecated. All operations for the in-tree portworxVolume type + are redirected to the pxd.portworx.com CSI driver when the CSIMigrationPortworx feature-gate + is on. properties: fsType: + 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. type: string readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean volumeID: + description: volumeID uniquely identifies a Portworx volume type: string required: - volumeID type: object projected: + description: projected items for all in one resources secrets, + configmaps, and downward API properties: defaultMode: + description: |- + defaultMode are the mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer sources: + description: |- + sources is the list of volume projections. Each entry in this list + handles one source. items: + description: |- + Projection that may be projected along with other supported volume types. + Exactly one of these fields must be set. properties: clusterTrustBundle: + description: |- + ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field + of ClusterTrustBundle objects in an auto-updating file. + + Alpha, gated by the ClusterTrustBundleProjection feature gate. + + ClusterTrustBundle objects can either be selected by name, or by the + combination of signer name and a label selector. + + Kubelet performs aggressive normalization of the PEM contents written + into the pod filesystem. Esoteric PEM features such as inter-block + comments and block headers are stripped. Certificates are deduplicated. + The ordering of certificates within the file is arbitrary, and Kubelet + may change the order over time. properties: labelSelector: + description: |- + Select all ClusterTrustBundles that match this label selector. Only has + effect if signerName is set. Mutually-exclusive with name. If unset, + interpreted as "match nothing". If set but empty, interpreted as "match + everything". properties: matchExpressions: + description: matchExpressions is a list of + label selector requirements. The requirements + are ANDed. items: + description: |- + A label selector requirement is a selector that contains values, a key, and an operator that + relates the key and values. properties: key: + description: key is the label key that + the selector applies to. type: string operator: + description: |- + operator represents a key's relationship to a set of values. + Valid operators are In, NotIn, Exists and DoesNotExist. type: string values: + description: |- + values is an array of string values. If the operator is In or NotIn, + the values array must be non-empty. If the operator is Exists or DoesNotExist, + the values array must be empty. This array is replaced during a strategic + merge patch. items: type: string type: array @@ -24346,31 +39122,75 @@ spec: matchLabels: additionalProperties: type: string + description: |- + matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels + map is equivalent to an element of matchExpressions, whose key field is "key", the + operator is "In", and the values array contains only "value". The requirements are ANDed. type: object type: object x-kubernetes-map-type: atomic name: + description: |- + Select a single ClusterTrustBundle by object name. Mutually-exclusive + with signerName and labelSelector. type: string optional: + description: |- + If true, don't block pod startup if the referenced ClusterTrustBundle(s) + aren't available. If using name, then the named ClusterTrustBundle is + allowed not to exist. If using signerName, then the combination of + signerName and labelSelector is allowed to match zero + ClusterTrustBundles. type: boolean path: + description: Relative path from the volume root + to write the bundle. type: string signerName: + description: |- + Select all ClusterTrustBundles that match this signer name. + Mutually-exclusive with name. The contents of all selected + ClusterTrustBundles will be unified and deduplicated. type: string required: - path type: object configMap: + description: configMap information about the configMap + data to project properties: items: + description: |- + items 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 '..'. items: + description: Maps a string key to a path within + a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + description: |- + path is 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 required: - key @@ -24380,42 +39200,88 @@ spec: x-kubernetes-list-type: atomic name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: optional specify whether the ConfigMap + or its keys must be defined type: boolean type: object x-kubernetes-map-type: atomic downwardAPI: + description: downwardAPI information about the downwardAPI + data to project properties: items: + description: Items is a list of DownwardAPIVolume + file items: + description: DownwardAPIVolumeFile represents + information to create the file containing + the pod field properties: fieldRef: + description: 'Required: Selects a field + of the pod: only annotations, labels, + name, namespace and uid are supported.' properties: apiVersion: + description: Version of the schema the + FieldPath is written in terms of, + defaults to "v1". type: string fieldPath: + description: Path of the field to select + in the specified API version. type: string required: - fieldPath type: object x-kubernetes-map-type: atomic mode: + description: |- + Optional: mode bits used to set permissions on this file, must be an octal value + between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + 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 resourceFieldRef: + description: |- + Selects a resource of the container: only resources limits and requests + (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. properties: containerName: + description: 'Container name: required + for volumes, optional for env vars' type: string divisor: anyOf: - type: integer - type: string + description: Specifies the output format + of the exposed resources, defaults + to "1" pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ x-kubernetes-int-or-string: true resource: + description: 'Required: resource to + select' type: string required: - resource @@ -24428,16 +39294,41 @@ spec: x-kubernetes-list-type: atomic type: object secret: + description: secret information about the secret data + to project properties: items: + description: |- + items 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 '..'. items: + description: Maps a string key to a path within + a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + description: |- + path is 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 required: - key @@ -24447,19 +39338,44 @@ spec: x-kubernetes-list-type: atomic name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: optional field specify whether the + Secret or its key must be defined type: boolean type: object x-kubernetes-map-type: atomic serviceAccountToken: + description: serviceAccountToken is information about + the serviceAccountToken data to project properties: audience: + 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. type: string expirationSeconds: + 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. format: int64 type: integer path: + description: |- + path is the path relative to the mount point of the file to project the + token into. type: string required: - path @@ -24469,84 +39385,183 @@ spec: x-kubernetes-list-type: atomic type: object quobyte: + description: |- + quobyte represents a Quobyte mount on the host that shares a pod's lifetime. + Deprecated: Quobyte is deprecated and the in-tree quobyte type is no longer supported. properties: group: + description: |- + group to map volume access to + Default is no group type: string readOnly: + description: |- + readOnly here will force the Quobyte volume to be mounted with read-only permissions. + Defaults to false. type: boolean registry: + 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 type: string tenant: + description: |- + tenant owning the given Quobyte volume in the Backend + Used with dynamically provisioned Quobyte volumes, value is set by the plugin type: string user: + description: |- + user to map volume access to + Defaults to serivceaccount user type: string volume: + description: volume is a string that references an already + created Quobyte volume by name. type: string required: - registry - volume type: object rbd: + description: |- + rbd represents a Rados Block Device mount on the host that shares a pod's lifetime. + Deprecated: RBD is deprecated and the in-tree rbd type is no longer supported. + More info: https://examples.k8s.io/volumes/rbd/README.md properties: fsType: + description: |- + fsType is the 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 type: string image: + description: |- + image is the rados image name. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string keyring: default: /etc/ceph/keyring + 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 type: string monitors: + description: |- + monitors is a collection of Ceph monitors. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it items: type: string type: array x-kubernetes-list-type: atomic pool: default: rbd + description: |- + pool is the rados pool name. + Default is rbd. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string readOnly: + 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 type: boolean secretRef: + 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 properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic user: default: admin + description: |- + user is the rados user name. + Default is admin. + More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it type: string required: - image - monitors type: object scaleIO: + description: |- + scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes. + Deprecated: ScaleIO is deprecated and the in-tree scaleIO type is no longer supported. properties: fsType: default: xfs + description: |- + fsType is the filesystem type to mount. + Must be a filesystem type supported by the host operating system. + Ex. "ext4", "xfs", "ntfs". + Default is "xfs". type: string gateway: + description: gateway is the host address of the ScaleIO + API Gateway. type: string protectionDomain: + description: protectionDomain is the name of the ScaleIO + Protection Domain for the configured storage. type: string readOnly: + description: |- + readOnly Defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef references to the secret for ScaleIO user and other + sensitive information. If this is not provided, Login operation will fail. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic sslEnabled: + description: sslEnabled Flag enable/disable SSL communication + with Gateway, default false type: boolean storageMode: default: ThinProvisioned + description: |- + storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. + Default is ThinProvisioned. type: string storagePool: + description: storagePool is the ScaleIO Storage Pool associated + with the protection domain. type: string system: + description: system is the name of the storage system as + configured in ScaleIO. type: string volumeName: + description: |- + volumeName is the name of a volume already created in the ScaleIO system + that is associated with this volume source. type: string required: - gateway @@ -24554,19 +39569,52 @@ spec: - system type: object secret: + description: |- + secret represents a secret that should populate this volume. + More info: https://kubernetes.io/docs/concepts/storage/volumes#secret properties: defaultMode: + description: |- + defaultMode is Optional: mode bits used to set permissions on created files by default. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values + for mode bits. 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. format: int32 type: integer items: + description: |- + items 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 '..'. items: + description: Maps a string key to a path within a volume. properties: key: + description: key is the key to project. type: string mode: + description: |- + mode is Optional: mode bits used to set permissions on this file. + Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. + YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. + 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. format: int32 type: integer path: + description: |- + path is 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 required: - key @@ -24575,37 +39623,85 @@ spec: type: array x-kubernetes-list-type: atomic optional: + description: optional field specify whether the Secret or + its keys must be defined type: boolean secretName: + description: |- + secretName is the name of the secret in the pod's namespace to use. + More info: https://kubernetes.io/docs/concepts/storage/volumes#secret type: string type: object storageos: + description: |- + storageOS represents a StorageOS volume attached and mounted on Kubernetes nodes. + Deprecated: StorageOS is deprecated and the in-tree storageos type is no longer supported. properties: fsType: + description: |- + fsType is the 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. type: string readOnly: + description: |- + readOnly defaults to false (read/write). ReadOnly here will force + the ReadOnly setting in VolumeMounts. type: boolean secretRef: + description: |- + secretRef specifies the secret to use for obtaining the StorageOS API + credentials. If not specified, default values will be attempted. properties: name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string type: object x-kubernetes-map-type: atomic volumeName: + description: |- + volumeName is the human-readable name of the StorageOS volume. Volume + names are only unique within a namespace. type: string volumeNamespace: + 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. type: string type: object vsphereVolume: + description: |- + vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine. + Deprecated: VsphereVolume is deprecated. All operations for the in-tree vsphereVolume type + are redirected to the csi.vsphere.vmware.com CSI driver. properties: fsType: + description: |- + fsType is 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. type: string storagePolicyID: + description: storagePolicyID is the storage Policy Based + Management (SPBM) profile ID associated with the StoragePolicyName. type: string storagePolicyName: + description: storagePolicyName is the storage Policy Based + Management (SPBM) profile name. type: string volumePath: + description: volumePath is the path that identifies vSphere + volume vmdk type: string required: - volumePath @@ -24615,6 +39711,8 @@ spec: type: object type: array workflowMetadata: + description: WorkflowMetadata contains some metadata of the workflow + to refer to properties: annotations: additionalProperties: @@ -24635,10 +39733,15 @@ spec: type: object type: object workflowTemplateRef: + description: WorkflowTemplateRef holds a reference to a WorkflowTemplate + for execution properties: clusterScope: + description: ClusterScope indicates the referred template is cluster + scoped (i.e. a ClusterWorkflowTemplate). type: boolean name: + description: Name is the resource name of the workflow template. type: string type: object type: object diff --git a/charts/argo-workflows/files/crds/minimal/argoproj.io_clusterworkflowtemplates.yaml b/charts/argo-workflows/files/crds/minimal/argoproj.io_clusterworkflowtemplates.yaml index 7f44a0f77..3253f614e 100644 --- a/charts/argo-workflows/files/crds/minimal/argoproj.io_clusterworkflowtemplates.yaml +++ b/charts/argo-workflows/files/crds/minimal/argoproj.io_clusterworkflowtemplates.yaml @@ -19,10 +19,23 @@ spec: - name: v1alpha1 schema: openAPIV3Schema: + description: ClusterWorkflowTemplate is the definition of a workflow template + resource in cluster scope 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 diff --git a/charts/argo-workflows/files/crds/minimal/argoproj.io_cronworkflows.yaml b/charts/argo-workflows/files/crds/minimal/argoproj.io_cronworkflows.yaml index 5b39d3498..30f3e1a59 100644 --- a/charts/argo-workflows/files/crds/minimal/argoproj.io_cronworkflows.yaml +++ b/charts/argo-workflows/files/crds/minimal/argoproj.io_cronworkflows.yaml @@ -19,10 +19,22 @@ spec: - name: v1alpha1 schema: openAPIV3Schema: + description: CronWorkflow is the definition of a scheduled workflow resource 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 diff --git a/charts/argo-workflows/files/crds/minimal/argoproj.io_workflowartifactgctasks.yaml b/charts/argo-workflows/files/crds/minimal/argoproj.io_workflowartifactgctasks.yaml index f2babc232..b3cff4128 100644 --- a/charts/argo-workflows/files/crds/minimal/argoproj.io_workflowartifactgctasks.yaml +++ b/charts/argo-workflows/files/crds/minimal/argoproj.io_workflowartifactgctasks.yaml @@ -18,14 +18,30 @@ spec: - name: v1alpha1 schema: openAPIV3Schema: + description: WorkflowArtifactGCTask specifies the Artifacts that need to be + deleted as well as the status of deletion 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: |- + ArtifactGCSpec specifies the Artifacts that need to be deleted. + All nested field descriptions have been dropped due to Kubernetes size limitations. properties: artifactsByNode: additionalProperties: @@ -433,6 +449,20 @@ spec: required: - key type: object + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -935,8 +965,11 @@ spec: type: object mode: format: int32 + maximum: 511 + minimum: 0 type: integer name: + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: type: boolean @@ -994,6 +1027,20 @@ spec: type: object path: type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object raw: properties: data: @@ -1109,24 +1156,36 @@ spec: type: object type: object status: + description: ArtifactGCStatus describes the result of the deletion properties: artifactResultsByNode: additionalProperties: + description: ArtifactResultNodeStatus describes the result of the + deletion on a given node properties: artifactResults: additionalProperties: + description: ArtifactResult describes the result of attempting + to delete a given Artifact properties: error: + description: Error is an optional error message which + should be set if Success==false type: string name: + description: Name is the name of the Artifact type: string success: + description: Success describes whether the deletion succeeded type: boolean required: - name type: object + description: ArtifactResults maps Artifact name to result of + the deletion type: object type: object + description: ArtifactResultsByNode maps Node name to result type: object type: object required: diff --git a/charts/argo-workflows/files/crds/minimal/argoproj.io_workfloweventbindings.yaml b/charts/argo-workflows/files/crds/minimal/argoproj.io_workfloweventbindings.yaml index 1204abb9d..d973dfe39 100644 --- a/charts/argo-workflows/files/crds/minimal/argoproj.io_workfloweventbindings.yaml +++ b/charts/argo-workflows/files/crds/minimal/argoproj.io_workfloweventbindings.yaml @@ -18,47 +18,90 @@ spec: - name: v1alpha1 schema: openAPIV3Schema: + description: WorkflowEventBinding is the definition of an event resource 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: properties: event: + description: Event is the event to bind to properties: selector: + description: Selector (https://github.com/expr-lang/expr) that + we must must match the event. E.g. `payload.message == "test"` type: string required: - selector type: object submit: + description: Submit is the workflow template to submit properties: arguments: + description: Arguments extracted from the event and then set as + arguments to the workflow created. properties: artifacts: + description: Artifacts is the list of artifacts to pass to + the template or workflow items: + description: Artifact indicates an artifact to place at + a specified path properties: archive: + description: Archive controls how the artifact will + be saved to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and gzip the file + or directory when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip zipped input + artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the container + logs should be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy to use + when to deleting an artifact from completed or deleted + workflows properties: podMetadata: + description: PodMetadata is an optional field for + specifying the Labels and Annotations that should + be assigned to the Pod doing the deletion properties: annotations: additionalProperties: @@ -70,8 +113,12 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an optional field + for specifying the Service Account that should + be assigned to the Pod doing the deletion type: string strategy: + description: Strategy is the strategy to use. enum: - "" - OnWorkflowCompletion @@ -80,30 +127,57 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory artifact + location details properties: passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key @@ -113,27 +187,49 @@ spec: - url type: object azure: + description: Azure contains Azure Storage artifact location + details properties: accountKeySecret: + description: AccountKeySecret is the secret selector + to the Azure Blob Storage account access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., path) + in the container where the artifact resides type: string container: + description: Container is the container where resources + will be stored type: string endpoint: + description: Endpoint is the service url associated + with an account. It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - blob @@ -141,25 +237,46 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to reference an + artifact from a previous step type: string fromExpression: + description: FromExpression, if defined, is evaluated + to specify the value for the artifact type: string gcs: + description: GCS contains GCS artifact location details properties: bucket: + description: Bucket is the name of the bucket type: string key: + description: Key is the path in the bucket where + the artifact resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is the secret + selector to the bucket's service account key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key @@ -169,62 +286,117 @@ spec: - key type: object git: + description: Git contains git artifact location details properties: branch: + description: Branch is the branch to fetch when + `SingleBranch` is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables submodules + during git clone type: boolean fetch: + description: Fetch specifies a number of refs that + should be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables SSH + strict host key checking during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables server certificate + verification resulting in insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, tag, branch + to checkout type: string singleBranch: + description: SingleBranch enables single branch + clone, using the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the secret selector + to the repository ssh private key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key @@ -234,96 +406,189 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact location details properties: addresses: + description: Addresses is accessible addresses of + HDFS name nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly even if + it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location details properties: auth: + description: Auth contains information for client + authentication properties: basicAuth: + description: BasicAuth describes the secret + selectors required for basic authentication properties: passwordSecret: + description: PasswordSecret is the secret + selector to the repository password properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret + selector to the repository username properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -331,28 +596,57 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds necessary + information for client authentication via + certificates properties: clientCertSecret: + description: SecretKeySelector selects a + key of a Secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector selects a + key of a Secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -360,28 +654,56 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all information + for client authentication via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector selects a + key of a Secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector selects a + key of a Secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -389,10 +711,16 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is for requesting + optional fields that should be sent + in the oauth request properties: key: + description: Name is the header name type: string value: + description: Value is the literal + value to use for the header type: string required: - key @@ -403,13 +731,26 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector selects a + key of a Secret. properties: key: + description: The key of the secret to + select from. Must be a valid secret + key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -418,11 +759,19 @@ spec: type: object type: object headers: + description: Headers are an optional list of headers + to send with HTTP requests for artifacts items: + description: Header indicate a key-value request + header to be used when fetching artifacts over + HTTP properties: name: + description: Name is the header name type: string value: + description: Value is the literal value to + use for the header type: string required: - name @@ -430,131 +779,277 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must be unique within + a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if Artifacts doesn't + generate or exist type: boolean oss: + description: OSS contains OSS artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the + driver to attempt to create the OSS bucket for + output artifacts, if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string key: + description: Key is the path in the bucket where + the artifact resides type: string lifecycleRule: + description: LifecycleRule specifies how to manage + bucket's lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays is the number + of days before we delete objects in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays is + the number of days before we convert the objects + in the bucket to Infrequent Access (IA) storage + type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s temporary + security token. For more details, check out: https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container path to the artifact type: string + plugin: + description: Plugin contains plugin artifact location + details + properties: + configuration: + description: Configuration is the plugin defined + configuration for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds is the timeout + for the artifact driver connection, overriding + the driver's timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact repository + where the artifact resides + type: string + name: + description: Name is the name of the artifact driver + plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location details properties: data: + description: Data is the string contents of the + artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission recursively + into the artifact if it is a folder type: boolean s3: + description: S3 contains S3 artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string caSecret: + description: CASecret specifies the secret that + contains the CA, used to verify the TLS connection properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the + driver to attempt to create the S3 bucket for + output artifacts, if it doesn't exist. Setting + Enabled Encryption will apply either SSE-S3 to + the bucket if KmsKeyId is not set or SSE-KMS if + it is. properties: objectLocking: + description: ObjectLocking Enable object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used to determine + encryption options during s3 operations properties: enableEncryption: + description: EnableEncryption tells the driver + to encrypt objects if set to true. If kmsKeyId + and serverSideCustomerKeySecret are not set, + SSE-S3 will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext is a json + blob that contains an encryption context. + See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver to encrypt + the object using the specified KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret tells + the driver to encrypt the output artifacts + using SSE-C with the specified secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret + or its key must be defined type: boolean required: - key @@ -562,97 +1057,198 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname of the bucket + endpoint type: string insecure: + description: Insecure will connect to the service + with TLS type: boolean key: + description: Key is the key in the bucket where + the artifact resides type: string region: + description: Region contains the optional bucket + region type: string roleARN: + description: RoleARN is the Amazon Resource Name + (ARN) of the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used for ephemeral + credentials like an IAM assume role or S3 access + grant properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact to be sourced + from a subpath within the specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : 0) + + (has(self.http) ? 1 : 0) + (has(self.artifactory) + ? 1 : 0) + (has(self.hdfs) ? 1 : 0) + (has(self.raw) + ? 1 : 0) + (has(self.oss) ? 1 : 0) + (has(self.gcs) + ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array parameters: + description: Parameters is the list of parameters to pass + to the template or workflow items: + description: Parameter indicate a passed string parameter + to a service template with an optional default value properties: default: + description: Default is the default value to use for + an input parameter if a value was not supplied type: string description: + description: Description is the parameter description type: string enum: + description: Enum holds a list of string values to choose + from, for the actual value of the parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source for the output + parameter's value properties: configMapKeyRef: + description: ConfigMapKeyRef is configmap selector + for input parameter configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap or + its key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies a value to be used + if retrieving the value from the specified source + fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the event to get the + value of the parameter. E.g. `payload.message` type: string expression: + description: Expression, if defined, is evaluated + to specify the value for the parameter type: string jqFilter: + description: JQFilter expression against the resource + object in resource templates type: string jsonPath: + description: JSONPath of a resource to retrieve + an output parameter value from in resource templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container to retrieve an + output parameter value from in container templates type: string supplied: + description: Supplied value to be filled in directly, + either through the CLI, API, etc. type: object type: object required: @@ -661,6 +1257,8 @@ spec: type: array type: object metadata: + description: Metadata optional means to customize select fields + of the workflow metadata properties: annotations: additionalProperties: @@ -682,10 +1280,14 @@ spec: type: string type: object workflowTemplateRef: + description: WorkflowTemplateRef the workflow template to submit properties: clusterScope: + description: ClusterScope indicates the referred template + is cluster scoped (i.e. a ClusterWorkflowTemplate). type: boolean name: + description: Name is the resource name of the workflow template. type: string type: object required: diff --git a/charts/argo-workflows/files/crds/minimal/argoproj.io_workflows.yaml b/charts/argo-workflows/files/crds/minimal/argoproj.io_workflows.yaml index 02c3d51f5..bb4d5954b 100644 --- a/charts/argo-workflows/files/crds/minimal/argoproj.io_workflows.yaml +++ b/charts/argo-workflows/files/crds/minimal/argoproj.io_workflows.yaml @@ -33,10 +33,22 @@ spec: name: v1alpha1 schema: openAPIV3Schema: + description: Workflow is the definition of a workflow resource 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 diff --git a/charts/argo-workflows/files/crds/minimal/argoproj.io_workflowtaskresults.yaml b/charts/argo-workflows/files/crds/minimal/argoproj.io_workflowtaskresults.yaml index 18e983ef2..672c09233 100644 --- a/charts/argo-workflows/files/crds/minimal/argoproj.io_workflowtaskresults.yaml +++ b/charts/argo-workflows/files/crds/minimal/argoproj.io_workflowtaskresults.yaml @@ -16,38 +16,77 @@ spec: - name: v1alpha1 schema: openAPIV3Schema: + description: |- + WorkflowTaskResult is a used to communicate a result back to the controller. Unlike WorkflowTaskSet, it has + more capacity. This is an internal type. Users should never create this resource directly, much like you would + never create a ReplicaSet directly. 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 message: type: string metadata: type: object outputs: + description: Outputs hold parameters, artifacts, and results from a step properties: artifacts: + description: Artifacts holds the list of output artifacts produced + by a step items: + description: Artifact indicates an artifact to place at a specified + path properties: archive: + description: Archive controls how the artifact will be saved + to the artifact repository. properties: none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. type: object tar: + description: TarStrategy will tar and gzip the file or directory + when saving properties: compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. format: int32 type: integer type: object zip: + description: ZipStrategy will unzip zipped input artifacts type: object type: object archiveLogs: + description: ArchiveLogs indicates if the container logs should + be archived type: boolean artifactGC: + description: ArtifactGC describes the strategy to use when to + deleting an artifact from completed or deleted workflows properties: podMetadata: + description: PodMetadata is an optional field for specifying + the Labels and Annotations that should be assigned to + the Pod doing the deletion properties: annotations: additionalProperties: @@ -59,8 +98,12 @@ spec: type: object type: object serviceAccountName: + description: ServiceAccountName is an optional field for + specifying the Service Account that should be assigned + to the Pod doing the deletion type: string strategy: + description: Strategy is the strategy to use. enum: - "" - OnWorkflowCompletion @@ -69,30 +112,57 @@ spec: type: string type: object artifactory: + description: Artifactory contains artifactory artifact location + details properties: passwordSecret: + description: PasswordSecret is the secret selector to the + repository password properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic url: + description: URL of the artifact type: string usernameSecret: + description: UsernameSecret is the secret selector to the + repository username properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key @@ -102,27 +172,49 @@ spec: - url type: object azure: + description: Azure contains Azure Storage artifact location + details properties: accountKeySecret: + description: AccountKeySecret is the secret selector to + the Azure Blob Storage account access key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic blob: + description: Blob is the blob name (i.e., path) in the container + where the artifact resides type: string container: + description: Container is the container where resources + will be stored type: string endpoint: + description: Endpoint is the service url associated with + an account. It is most likely "https://.blob.core.windows.net" type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure out + credentials based on sdk defaults. type: boolean required: - blob @@ -130,25 +222,46 @@ spec: - endpoint type: object deleted: + description: Has this been deleted? type: boolean from: + description: From allows an artifact to reference an artifact + from a previous step type: string fromExpression: + description: FromExpression, if defined, is evaluated to specify + the value for the artifact type: string gcs: + description: GCS contains GCS artifact location details properties: bucket: + description: Bucket is the name of the bucket type: string key: + description: Key is the path in the bucket where the artifact + resides type: string serviceAccountKeySecret: + description: ServiceAccountKeySecret is the secret selector + to the bucket's service account key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key @@ -158,62 +271,117 @@ spec: - key type: object git: + description: Git contains git artifact location details properties: branch: + description: Branch is the branch to fetch when `SingleBranch` + is enabled type: string depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip format: int64 type: integer disableSubmodules: + description: DisableSubmodules disables submodules during + git clone type: boolean fetch: + description: Fetch specifies a number of refs that should + be fetched before checkout items: type: string type: array insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables SSH strict host + key checking during git clone type: boolean insecureSkipTLS: + description: InsecureSkipTLS disables server certificate + verification resulting in insecure HTTPS connections type: boolean passwordSecret: + description: PasswordSecret is the secret selector to the + repository password properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic repo: + description: Repo is the git repository type: string revision: + description: Revision is the git commit, tag, branch to + checkout type: string singleBranch: + description: SingleBranch enables single branch clone, using + the `branch` parameter type: boolean sshPrivateKeySecret: + description: SSHPrivateKeySecret is the secret selector + to the repository ssh private key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector to the + repository username properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key @@ -223,96 +391,185 @@ spec: - repo type: object globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts type: string hdfs: + description: HDFS contains HDFS artifact location details properties: addresses: + description: Addresses is accessible addresses of HDFS name + nodes items: type: string type: array dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. type: string force: + description: Force copies a file forcibly even if it exists type: boolean hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. type: string krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. type: string krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. type: string krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. type: string path: + description: Path is a file path in HDFS type: string required: - path type: object http: + description: HTTP contains HTTP artifact location details properties: auth: + description: Auth contains information for client authentication properties: basicAuth: + description: BasicAuth describes the secret selectors + required for basic authentication properties: passwordSecret: + description: PasswordSecret is the secret selector + to the repository password properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic usernameSecret: + description: UsernameSecret is the secret selector + to the repository username properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key @@ -320,28 +577,54 @@ spec: x-kubernetes-map-type: atomic type: object clientCert: + description: ClientCertAuth holds necessary information + for client authentication via certificates properties: clientCertSecret: + description: SecretKeySelector selects a key of + a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientKeySecret: + description: SecretKeySelector selects a key of + a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key @@ -349,28 +632,54 @@ spec: x-kubernetes-map-type: atomic type: object oauth2: + description: OAuth2Auth holds all information for client + authentication via OAuth2 tokens properties: clientIDSecret: + description: SecretKeySelector selects a key of + a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic clientSecretSecret: + description: SecretKeySelector selects a key of + a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key @@ -378,10 +687,15 @@ spec: x-kubernetes-map-type: atomic endpointParams: items: + description: EndpointParam is for requesting optional + fields that should be sent in the oauth request properties: key: + description: Name is the header name type: string value: + description: Value is the literal value to + use for the header type: string required: - key @@ -392,13 +706,25 @@ spec: type: string type: array tokenURLSecret: + description: SecretKeySelector selects a key of + a Secret. properties: key: + description: The key of the secret to select + from. Must be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its + key must be defined type: boolean required: - key @@ -407,11 +733,18 @@ spec: type: object type: object headers: + description: Headers are an optional list of headers to + send with HTTP requests for artifacts items: + description: Header indicate a key-value request header + to be used when fetching artifacts over HTTP properties: name: + description: Name is the header name type: string value: + description: Value is the literal value to use for + the header type: string required: - name @@ -419,131 +752,269 @@ spec: type: object type: array url: + description: URL of the artifact type: string required: - url type: object mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. format: int32 + maximum: 511 + minimum: 0 type: integer name: + description: name of the artifact. must be unique within a template's + inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ type: string optional: + description: Make Artifacts optional, if Artifacts doesn't generate + or exist type: boolean oss: + description: OSS contains OSS artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector to the + bucket's access key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the driver to + attempt to create the OSS bucket for output artifacts, + if it doesn't exist type: boolean endpoint: + description: Endpoint is the hostname of the bucket endpoint type: string key: + description: Key is the path in the bucket where the artifact + resides type: string lifecycleRule: + description: LifecycleRule specifies how to manage bucket's + lifecycle properties: markDeletionAfterDays: + description: MarkDeletionAfterDays is the number of + days before we delete objects in the bucket format: int32 type: integer markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays is the number + of days before we convert the objects in the bucket + to Infrequent Access (IA) storage type format: int32 type: integer type: object secretKeySecret: + description: SecretKeySecret is the secret selector to the + bucket's secret key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic securityToken: + description: 'SecurityToken is the user''s temporary security + token. For more details, check out: https://www.alibabacloud.com/help/doc-detail/100624.htm' type: string useSDKCreds: + description: UseSDKCreds tells the driver to figure out + credentials based on sdk defaults. type: boolean required: - key type: object path: + description: Path is the container path to the artifact type: string + plugin: + description: Plugin contains plugin artifact location details + properties: + configuration: + description: Configuration is the plugin defined configuration + for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds is the timeout for + the artifact driver connection, overriding the driver's + timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact repository + where the artifact resides + type: string + name: + description: Name is the name of the artifact driver plugin + type: string + required: + - key + type: object raw: + description: Raw contains raw artifact location details properties: data: + description: Data is the string contents of the artifact type: string required: - data type: object recurseMode: + description: If mode is set, apply the permission recursively + into the artifact if it is a folder type: boolean s3: + description: S3 contains S3 artifact location details properties: accessKeySecret: + description: AccessKeySecret is the secret selector to the + bucket's access key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic bucket: + description: Bucket is the name of the bucket type: string caSecret: + description: CASecret specifies the secret that contains + the CA, used to verify the TLS connection properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the driver to + attempt to create the S3 bucket for output artifacts, + if it doesn't exist. Setting Enabled Encryption will apply + either SSE-S3 to the bucket if KmsKeyId is not set or + SSE-KMS if it is. properties: objectLocking: + description: ObjectLocking Enable object locking type: boolean type: object encryptionOptions: + description: S3EncryptionOptions used to determine encryption + options during s3 operations properties: enableEncryption: + description: EnableEncryption tells the driver to encrypt + objects if set to true. If kmsKeyId and serverSideCustomerKeySecret + are not set, SSE-S3 will be used type: boolean kmsEncryptionContext: + description: KmsEncryptionContext is a json blob that + contains an encryption context. See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information type: string kmsKeyId: + description: KMSKeyId tells the driver to encrypt the + object using the specified KMS Key. type: string serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret tells the driver + to encrypt the output artifacts using SSE-C with the + specified secret. properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key + must be defined type: boolean required: - key @@ -551,99 +1022,195 @@ spec: x-kubernetes-map-type: atomic type: object endpoint: + description: Endpoint is the hostname of the bucket endpoint type: string insecure: + description: Insecure will connect to the service with TLS type: boolean key: + description: Key is the key in the bucket where the artifact + resides type: string region: + description: Region contains the optional bucket region type: string roleARN: + description: RoleARN is the Amazon Resource Name (ARN) of + the role to assume. type: string secretKeySecret: + description: SecretKeySecret is the secret selector to the + bucket's secret key properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic sessionTokenSecret: + description: SessionTokenSecret is used for ephemeral credentials + like an IAM assume role or S3 access grant properties: key: + description: The key of the secret to select from. Must + be a valid secret key. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the Secret or its key must + be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic useSDKCreds: + description: UseSDKCreds tells the driver to figure out + credentials based on sdk defaults. type: boolean type: object subPath: + description: SubPath allows an artifact to be sourced from a + subpath within the specified source type: string required: - name type: object + x-kubernetes-validations: + - message: at most one artifact location can be specified + rule: '(has(self.s3) ? 1 : 0) + (has(self.git) ? 1 : 0) + (has(self.http) + ? 1 : 0) + (has(self.artifactory) ? 1 : 0) + (has(self.hdfs) + ? 1 : 0) + (has(self.raw) ? 1 : 0) + (has(self.oss) ? 1 : 0) + + (has(self.gcs) ? 1 : 0) + (has(self.azure) ? 1 : 0) + (has(self.plugin) + ? 1 : 0) <= 1' type: array exitCode: + description: ExitCode holds the exit code of a script template type: string parameters: + description: Parameters holds the list of output parameters produced + by a step items: + description: Parameter indicate a passed string parameter to a service + template with an optional default value properties: default: + description: Default is the default value to use for an input + parameter if a value was not supplied type: string description: + description: Description is the parameter description type: string enum: + description: Enum holds a list of string values to choose from, + for the actual value of the parameter items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. type: string + minItems: 1 type: array globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters type: string name: + description: Name is the parameter name + pattern: ^[-a-zA-Z0-9_]+$ type: string value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value type: string valueFrom: + description: ValueFrom is the source for the output parameter's + value properties: configMapKeyRef: + description: ConfigMapKeyRef is configmap selector for input + parameter configuration properties: key: + description: The key to select. type: string name: default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names type: string optional: + description: Specify whether the ConfigMap or its key + must be defined type: boolean required: - key type: object x-kubernetes-map-type: atomic default: + description: Default specifies a value to be used if retrieving + the value from the specified source fails type: string event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the event to get the value of + the parameter. E.g. `payload.message` type: string expression: + description: Expression, if defined, is evaluated to specify + the value for the parameter type: string jqFilter: + description: JQFilter expression against the resource object + in resource templates type: string jsonPath: + description: JSONPath of a resource to retrieve an output + parameter value from in resource templates type: string parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') type: string path: + description: Path in the container to retrieve an output + parameter value from in container templates type: string supplied: + description: Supplied value to be filled in directly, either + through the CLI, API, etc. type: object type: object required: @@ -651,11 +1218,17 @@ spec: type: object type: array result: + description: Result holds the result (stdout) of a script or container + template, or the response body of an HTTP template type: string type: object phase: + description: NodePhase is a label for the condition of a node at the current + time. type: string progress: + description: Progress in N/M format. N is number of task complete. M is + number of tasks. type: string required: - metadata diff --git a/charts/argo-workflows/files/crds/minimal/argoproj.io_workflowtasksets.yaml b/charts/argo-workflows/files/crds/minimal/argoproj.io_workflowtasksets.yaml index 3f2ae7672..48db4c155 100644 --- a/charts/argo-workflows/files/crds/minimal/argoproj.io_workflowtasksets.yaml +++ b/charts/argo-workflows/files/crds/minimal/argoproj.io_workflowtasksets.yaml @@ -20,19 +20,12131 @@ spec: openAPIV3Schema: 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: + properties: + tasks: + additionalProperties: + properties: + activeDeadlineSeconds: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + affinity: + properties: + nodeAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + items: + properties: + preference: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchFields: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + type: object + x-kubernetes-map-type: atomic + weight: + format: int32 + type: integer + required: + - preference + - weight + type: object + type: array + x-kubernetes-list-type: atomic + requiredDuringSchedulingIgnoredDuringExecution: + properties: + nodeSelectorTerms: + items: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchFields: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + type: object + x-kubernetes-map-type: atomic + type: array + x-kubernetes-list-type: atomic + required: + - nodeSelectorTerms + type: object + x-kubernetes-map-type: atomic + type: object + podAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + items: + properties: + podAffinityTerm: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + weight: + format: int32 + type: integer + required: + - podAffinityTerm + - weight + type: object + type: array + x-kubernetes-list-type: atomic + requiredDuringSchedulingIgnoredDuringExecution: + items: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + type: array + x-kubernetes-list-type: atomic + type: object + podAntiAffinity: + properties: + preferredDuringSchedulingIgnoredDuringExecution: + items: + properties: + podAffinityTerm: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + weight: + format: int32 + type: integer + required: + - podAffinityTerm + - weight + type: object + type: array + x-kubernetes-list-type: atomic + requiredDuringSchedulingIgnoredDuringExecution: + items: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + matchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + mismatchLabelKeys: + items: + type: string + type: array + x-kubernetes-list-type: atomic + namespaceSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + namespaces: + items: + type: string + type: array + x-kubernetes-list-type: atomic + topologyKey: + type: string + required: + - topologyKey + type: object + type: array + x-kubernetes-list-type: atomic + type: object + type: object + annotations: + additionalProperties: + type: string + type: object + archiveLocation: + properties: + archiveLogs: + type: boolean + artifactory: + properties: + passwordSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + url: + type: string + usernameSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + required: + - url + type: object + azure: + properties: + accountKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + blob: + type: string + container: + type: string + endpoint: + type: string + useSDKCreds: + type: boolean + required: + - blob + - container + - endpoint + type: object + gcs: + properties: + bucket: + type: string + key: + type: string + serviceAccountKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + required: + - key + type: object + git: + properties: + branch: + type: string + depth: + format: int64 + type: integer + disableSubmodules: + type: boolean + fetch: + items: + type: string + type: array + insecureIgnoreHostKey: + type: boolean + insecureSkipTLS: + type: boolean + passwordSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + repo: + type: string + revision: + type: string + singleBranch: + type: boolean + sshPrivateKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + usernameSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + required: + - repo + type: object + hdfs: + properties: + addresses: + items: + type: string + type: array + dataTransferProtection: + type: string + force: + type: boolean + hdfsUser: + type: string + krbCCacheSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + krbConfigConfigMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + krbKeytabSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + krbRealm: + type: string + krbServicePrincipalName: + type: string + krbUsername: + type: string + path: + type: string + required: + - path + type: object + http: + properties: + auth: + properties: + basicAuth: + properties: + passwordSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + usernameSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientCert: + properties: + clientCertSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + clientKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + oauth2: + properties: + clientIDSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + clientSecretSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + items: + properties: + key: + type: string + value: + type: string + required: + - key + type: object + type: array + scopes: + items: + type: string + type: array + tokenURLSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + type: object + headers: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + url: + type: string + required: + - url + type: object + oss: + properties: + accessKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + bucket: + type: string + createBucketIfNotPresent: + type: boolean + endpoint: + type: string + key: + type: string + lifecycleRule: + properties: + markDeletionAfterDays: + format: int32 + type: integer + markInfrequentAccessAfterDays: + format: int32 + type: integer + type: object + secretKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + securityToken: + type: string + useSDKCreds: + type: boolean + required: + - key + type: object + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object + raw: + properties: + data: + type: string + required: + - data + type: object + s3: + properties: + accessKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + bucket: + type: string + caSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + createBucketIfNotPresent: + properties: + objectLocking: + type: boolean + type: object + encryptionOptions: + properties: + enableEncryption: + type: boolean + kmsEncryptionContext: + type: string + kmsKeyId: + type: string + serverSideCustomerKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + endpoint: + type: string + insecure: + type: boolean + key: + type: string + region: + type: string + roleARN: + type: string + secretKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + sessionTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + useSDKCreds: + type: boolean + type: object + type: object + automountServiceAccountToken: + type: boolean + container: + properties: + args: + items: + type: string + type: array + x-kubernetes-list-type: atomic + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + envFrom: + items: + properties: + configMapRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + x-kubernetes-list-type: atomic + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + preStop: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + stopSignal: + type: string + type: object + livenessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + default: "" + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + name: + type: string + ports: + items: + properties: + containerPort: + format: int32 + type: integer + hostIP: + type: string + hostPort: + format: int32 + type: integer + name: + type: string + protocol: + default: TCP + type: string + required: + - containerPort + type: object + type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + default: "" + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + resizePolicy: + items: + properties: + resourceName: + type: string + restartPolicy: + type: string + required: + - resourceName + - restartPolicy + type: object + type: array + x-kubernetes-list-type: atomic + resources: + properties: + claims: + items: + properties: + name: + type: string + request: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + restartPolicy: + type: string + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + capabilities: + properties: + add: + items: + type: string + type: array + x-kubernetes-list-type: atomic + drop: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + startupProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + default: "" + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + stdin: + type: boolean + stdinOnce: + type: boolean + terminationMessagePath: + type: string + terminationMessagePolicy: + type: string + tty: + type: boolean + volumeDevices: + items: + properties: + devicePath: + type: string + name: + type: string + required: + - devicePath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - devicePath + x-kubernetes-list-type: map + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + recursiveReadOnly: + type: string + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - mountPath + x-kubernetes-list-type: map + workingDir: + type: string + required: + - name + type: object + containerSet: + properties: + containers: + items: + properties: + args: + items: + type: string + type: array + x-kubernetes-list-type: atomic + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + dependencies: + items: + type: string + type: array + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + envFrom: + items: + properties: + configMapRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + x-kubernetes-list-type: atomic + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + preStop: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + stopSignal: + type: string + type: object + livenessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + default: "" + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + name: + type: string + ports: + items: + properties: + containerPort: + format: int32 + type: integer + hostIP: + type: string + hostPort: + format: int32 + type: integer + name: + type: string + protocol: + default: TCP + type: string + required: + - containerPort + type: object + type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + default: "" + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + resizePolicy: + items: + properties: + resourceName: + type: string + restartPolicy: + type: string + required: + - resourceName + - restartPolicy + type: object + type: array + x-kubernetes-list-type: atomic + resources: + properties: + claims: + items: + properties: + name: + type: string + request: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + restartPolicy: + type: string + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + capabilities: + properties: + add: + items: + type: string + type: array + x-kubernetes-list-type: atomic + drop: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + startupProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + default: "" + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + stdin: + type: boolean + stdinOnce: + type: boolean + terminationMessagePath: + type: string + terminationMessagePolicy: + type: string + tty: + type: boolean + volumeDevices: + items: + properties: + devicePath: + type: string + name: + type: string + required: + - devicePath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - devicePath + x-kubernetes-list-type: map + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + recursiveReadOnly: + type: string + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - mountPath + x-kubernetes-list-type: map + workingDir: + type: string + required: + - name + type: object + type: array + retryStrategy: + properties: + duration: + type: string + retries: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - retries + type: object + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + recursiveReadOnly: + type: string + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + required: + - containers + type: object + daemon: + type: boolean + dag: + properties: + failFast: + type: boolean + target: + type: string + tasks: + items: + properties: + arguments: + properties: + artifacts: + items: + properties: + archive: + properties: + none: + type: object + tar: + properties: + compressionLevel: + format: int32 + type: integer + type: object + zip: + type: object + type: object + archiveLogs: + type: boolean + artifactGC: + properties: + podMetadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + type: object + serviceAccountName: + type: string + strategy: + enum: + - "" + - OnWorkflowCompletion + - OnWorkflowDeletion + - Never + type: string + type: object + artifactory: + properties: + passwordSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + url: + type: string + usernameSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + required: + - url + type: object + azure: + properties: + accountKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + blob: + type: string + container: + type: string + endpoint: + type: string + useSDKCreds: + type: boolean + required: + - blob + - container + - endpoint + type: object + deleted: + type: boolean + from: + type: string + fromExpression: + type: string + gcs: + properties: + bucket: + type: string + key: + type: string + serviceAccountKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + required: + - key + type: object + git: + properties: + branch: + type: string + depth: + format: int64 + type: integer + disableSubmodules: + type: boolean + fetch: + items: + type: string + type: array + insecureIgnoreHostKey: + type: boolean + insecureSkipTLS: + type: boolean + passwordSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + repo: + type: string + revision: + type: string + singleBranch: + type: boolean + sshPrivateKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + usernameSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + required: + - repo + type: object + globalName: + type: string + hdfs: + properties: + addresses: + items: + type: string + type: array + dataTransferProtection: + type: string + force: + type: boolean + hdfsUser: + type: string + krbCCacheSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + krbConfigConfigMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + krbKeytabSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + krbRealm: + type: string + krbServicePrincipalName: + type: string + krbUsername: + type: string + path: + type: string + required: + - path + type: object + http: + properties: + auth: + properties: + basicAuth: + properties: + passwordSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + usernameSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientCert: + properties: + clientCertSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + clientKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + oauth2: + properties: + clientIDSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + clientSecretSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + items: + properties: + key: + type: string + value: + type: string + required: + - key + type: object + type: array + scopes: + items: + type: string + type: array + tokenURLSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + type: object + headers: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + url: + type: string + required: + - url + type: object + mode: + format: int32 + maximum: 511 + minimum: 0 + type: integer + name: + pattern: ^[-a-zA-Z0-9_{}.]+$ + type: string + optional: + type: boolean + oss: + properties: + accessKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + bucket: + type: string + createBucketIfNotPresent: + type: boolean + endpoint: + type: string + key: + type: string + lifecycleRule: + properties: + markDeletionAfterDays: + format: int32 + type: integer + markInfrequentAccessAfterDays: + format: int32 + type: integer + type: object + secretKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + securityToken: + type: string + useSDKCreds: + type: boolean + required: + - key + type: object + path: + type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object + raw: + properties: + data: + type: string + required: + - data + type: object + recurseMode: + type: boolean + s3: + properties: + accessKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + bucket: + type: string + caSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + createBucketIfNotPresent: + properties: + objectLocking: + type: boolean + type: object + encryptionOptions: + properties: + enableEncryption: + type: boolean + kmsEncryptionContext: + type: string + kmsKeyId: + type: string + serverSideCustomerKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + endpoint: + type: string + insecure: + type: boolean + key: + type: string + region: + type: string + roleARN: + type: string + secretKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + sessionTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + useSDKCreds: + type: boolean + type: object + subPath: + type: string + required: + - name + type: object + type: array + parameters: + items: + properties: + default: + type: string + description: + type: string + enum: + items: + type: string + minItems: 1 + type: array + globalName: + type: string + name: + pattern: ^[-a-zA-Z0-9_]+$ + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + default: + type: string + event: + type: string + expression: + type: string + jqFilter: + type: string + jsonPath: + type: string + parameter: + type: string + path: + type: string + supplied: + type: object + type: object + required: + - name + type: object + type: array + type: object + continueOn: + properties: + error: + type: boolean + failed: + type: boolean + type: object + dependencies: + items: + type: string + type: array + depends: + type: string + hooks: + additionalProperties: + properties: + arguments: + properties: + artifacts: + items: + properties: + archive: + properties: + none: + type: object + tar: + properties: + compressionLevel: + format: int32 + type: integer + type: object + zip: + type: object + type: object + archiveLogs: + type: boolean + artifactGC: + properties: + podMetadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + type: object + serviceAccountName: + type: string + strategy: + enum: + - "" + - OnWorkflowCompletion + - OnWorkflowDeletion + - Never + type: string + type: object + artifactory: + properties: + passwordSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + url: + type: string + usernameSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + required: + - url + type: object + azure: + properties: + accountKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + blob: + type: string + container: + type: string + endpoint: + type: string + useSDKCreds: + type: boolean + required: + - blob + - container + - endpoint + type: object + deleted: + type: boolean + from: + type: string + fromExpression: + type: string + gcs: + properties: + bucket: + type: string + key: + type: string + serviceAccountKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + required: + - key + type: object + git: + properties: + branch: + type: string + depth: + format: int64 + type: integer + disableSubmodules: + type: boolean + fetch: + items: + type: string + type: array + insecureIgnoreHostKey: + type: boolean + insecureSkipTLS: + type: boolean + passwordSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + repo: + type: string + revision: + type: string + singleBranch: + type: boolean + sshPrivateKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + usernameSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + required: + - repo + type: object + globalName: + type: string + hdfs: + properties: + addresses: + items: + type: string + type: array + dataTransferProtection: + type: string + force: + type: boolean + hdfsUser: + type: string + krbCCacheSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + krbConfigConfigMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + krbKeytabSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + krbRealm: + type: string + krbServicePrincipalName: + type: string + krbUsername: + type: string + path: + type: string + required: + - path + type: object + http: + properties: + auth: + properties: + basicAuth: + properties: + passwordSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + usernameSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientCert: + properties: + clientCertSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + clientKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + oauth2: + properties: + clientIDSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + clientSecretSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + items: + properties: + key: + type: string + value: + type: string + required: + - key + type: object + type: array + scopes: + items: + type: string + type: array + tokenURLSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + type: object + headers: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + url: + type: string + required: + - url + type: object + mode: + format: int32 + maximum: 511 + minimum: 0 + type: integer + name: + pattern: ^[-a-zA-Z0-9_{}.]+$ + type: string + optional: + type: boolean + oss: + properties: + accessKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + bucket: + type: string + createBucketIfNotPresent: + type: boolean + endpoint: + type: string + key: + type: string + lifecycleRule: + properties: + markDeletionAfterDays: + format: int32 + type: integer + markInfrequentAccessAfterDays: + format: int32 + type: integer + type: object + secretKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + securityToken: + type: string + useSDKCreds: + type: boolean + required: + - key + type: object + path: + type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object + raw: + properties: + data: + type: string + required: + - data + type: object + recurseMode: + type: boolean + s3: + properties: + accessKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + bucket: + type: string + caSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + createBucketIfNotPresent: + properties: + objectLocking: + type: boolean + type: object + encryptionOptions: + properties: + enableEncryption: + type: boolean + kmsEncryptionContext: + type: string + kmsKeyId: + type: string + serverSideCustomerKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + endpoint: + type: string + insecure: + type: boolean + key: + type: string + region: + type: string + roleARN: + type: string + secretKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + sessionTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + useSDKCreds: + type: boolean + type: object + subPath: + type: string + required: + - name + type: object + type: array + parameters: + items: + properties: + default: + type: string + description: + type: string + enum: + items: + type: string + minItems: 1 + type: array + globalName: + type: string + name: + pattern: ^[-a-zA-Z0-9_]+$ + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + default: + type: string + event: + type: string + expression: + type: string + jqFilter: + type: string + jsonPath: + type: string + parameter: + type: string + path: + type: string + supplied: + type: object + type: object + required: + - name + type: object + type: array + type: object + expression: + type: string + template: + type: string + templateRef: + properties: + clusterScope: + type: boolean + name: + type: string + template: + type: string + type: object + type: object + type: object + inline: + x-kubernetes-preserve-unknown-fields: true + name: + maxLength: 128 + pattern: ^[a-zA-Z0-9][-a-zA-Z0-9]*$ + type: string + onExit: + type: string + template: + type: string + templateRef: + properties: + clusterScope: + type: boolean + name: + type: string + template: + type: string + type: object + when: + type: string + withItems: + x-kubernetes-preserve-unknown-fields: true + withParam: + type: string + withSequence: + properties: + count: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + end: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + format: + type: string + start: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + type: object + required: + - name + type: object + maxItems: 200 + minItems: 1 + type: array + required: + - tasks + type: object + data: + properties: + source: + properties: + artifactPaths: + properties: + archive: + properties: + none: + type: object + tar: + properties: + compressionLevel: + format: int32 + type: integer + type: object + zip: + type: object + type: object + archiveLogs: + type: boolean + artifactGC: + properties: + podMetadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + type: object + serviceAccountName: + type: string + strategy: + enum: + - "" + - OnWorkflowCompletion + - OnWorkflowDeletion + - Never + type: string + type: object + artifactory: + properties: + passwordSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + url: + type: string + usernameSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + required: + - url + type: object + azure: + properties: + accountKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + blob: + type: string + container: + type: string + endpoint: + type: string + useSDKCreds: + type: boolean + required: + - blob + - container + - endpoint + type: object + deleted: + type: boolean + from: + type: string + fromExpression: + type: string + gcs: + properties: + bucket: + type: string + key: + type: string + serviceAccountKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + required: + - key + type: object + git: + properties: + branch: + type: string + depth: + format: int64 + type: integer + disableSubmodules: + type: boolean + fetch: + items: + type: string + type: array + insecureIgnoreHostKey: + type: boolean + insecureSkipTLS: + type: boolean + passwordSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + repo: + type: string + revision: + type: string + singleBranch: + type: boolean + sshPrivateKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + usernameSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + required: + - repo + type: object + globalName: + type: string + hdfs: + properties: + addresses: + items: + type: string + type: array + dataTransferProtection: + type: string + force: + type: boolean + hdfsUser: + type: string + krbCCacheSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + krbConfigConfigMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + krbKeytabSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + krbRealm: + type: string + krbServicePrincipalName: + type: string + krbUsername: + type: string + path: + type: string + required: + - path + type: object + http: + properties: + auth: + properties: + basicAuth: + properties: + passwordSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + usernameSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientCert: + properties: + clientCertSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + clientKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + oauth2: + properties: + clientIDSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + clientSecretSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + items: + properties: + key: + type: string + value: + type: string + required: + - key + type: object + type: array + scopes: + items: + type: string + type: array + tokenURLSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + type: object + headers: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + url: + type: string + required: + - url + type: object + mode: + format: int32 + maximum: 511 + minimum: 0 + type: integer + name: + pattern: ^[-a-zA-Z0-9_{}.]+$ + type: string + optional: + type: boolean + oss: + properties: + accessKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + bucket: + type: string + createBucketIfNotPresent: + type: boolean + endpoint: + type: string + key: + type: string + lifecycleRule: + properties: + markDeletionAfterDays: + format: int32 + type: integer + markInfrequentAccessAfterDays: + format: int32 + type: integer + type: object + secretKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + securityToken: + type: string + useSDKCreds: + type: boolean + required: + - key + type: object + path: + type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object + raw: + properties: + data: + type: string + required: + - data + type: object + recurseMode: + type: boolean + s3: + properties: + accessKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + bucket: + type: string + caSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + createBucketIfNotPresent: + properties: + objectLocking: + type: boolean + type: object + encryptionOptions: + properties: + enableEncryption: + type: boolean + kmsEncryptionContext: + type: string + kmsKeyId: + type: string + serverSideCustomerKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + endpoint: + type: string + insecure: + type: boolean + key: + type: string + region: + type: string + roleARN: + type: string + secretKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + sessionTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + useSDKCreds: + type: boolean + type: object + subPath: + type: string + required: + - name + type: object + type: object + transformation: + items: + properties: + expression: + type: string + required: + - expression + type: object + type: array + required: + - source + - transformation + type: object + executor: + properties: + serviceAccountName: + type: string + type: object + failFast: + type: boolean + hostAliases: + items: + properties: + hostnames: + items: + type: string + type: array + x-kubernetes-list-type: atomic + ip: + type: string + required: + - ip + type: object + type: array + http: + properties: + body: + type: string + bodyFrom: + properties: + bytes: + format: byte + type: string + type: object + headers: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + secretKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + insecureSkipVerify: + type: boolean + method: + type: string + successCondition: + type: string + timeoutSeconds: + format: int64 + type: integer + url: + type: string + required: + - url + type: object + initContainers: + items: + properties: + args: + items: + type: string + type: array + x-kubernetes-list-type: atomic + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + envFrom: + items: + properties: + configMapRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + x-kubernetes-list-type: atomic + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + preStop: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + stopSignal: + type: string + type: object + livenessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + default: "" + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + mirrorVolumeMounts: + type: boolean + name: + type: string + ports: + items: + properties: + containerPort: + format: int32 + type: integer + hostIP: + type: string + hostPort: + format: int32 + type: integer + name: + type: string + protocol: + default: TCP + type: string + required: + - containerPort + type: object + type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + default: "" + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + resizePolicy: + items: + properties: + resourceName: + type: string + restartPolicy: + type: string + required: + - resourceName + - restartPolicy + type: object + type: array + x-kubernetes-list-type: atomic + resources: + properties: + claims: + items: + properties: + name: + type: string + request: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + restartPolicy: + type: string + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + capabilities: + properties: + add: + items: + type: string + type: array + x-kubernetes-list-type: atomic + drop: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + startupProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + default: "" + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + stdin: + type: boolean + stdinOnce: + type: boolean + terminationMessagePath: + type: string + terminationMessagePolicy: + type: string + tty: + type: boolean + volumeDevices: + items: + properties: + devicePath: + type: string + name: + type: string + required: + - devicePath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - devicePath + x-kubernetes-list-type: map + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + recursiveReadOnly: + type: string + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - mountPath + x-kubernetes-list-type: map + workingDir: + type: string + required: + - name + type: object + type: array + inputs: + properties: + artifacts: + items: + properties: + archive: + properties: + none: + type: object + tar: + properties: + compressionLevel: + format: int32 + type: integer + type: object + zip: + type: object + type: object + archiveLogs: + type: boolean + artifactGC: + properties: + podMetadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + type: object + serviceAccountName: + type: string + strategy: + enum: + - "" + - OnWorkflowCompletion + - OnWorkflowDeletion + - Never + type: string + type: object + artifactory: + properties: + passwordSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + url: + type: string + usernameSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + required: + - url + type: object + azure: + properties: + accountKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + blob: + type: string + container: + type: string + endpoint: + type: string + useSDKCreds: + type: boolean + required: + - blob + - container + - endpoint + type: object + deleted: + type: boolean + from: + type: string + fromExpression: + type: string + gcs: + properties: + bucket: + type: string + key: + type: string + serviceAccountKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + required: + - key + type: object + git: + properties: + branch: + type: string + depth: + format: int64 + type: integer + disableSubmodules: + type: boolean + fetch: + items: + type: string + type: array + insecureIgnoreHostKey: + type: boolean + insecureSkipTLS: + type: boolean + passwordSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + repo: + type: string + revision: + type: string + singleBranch: + type: boolean + sshPrivateKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + usernameSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + required: + - repo + type: object + globalName: + type: string + hdfs: + properties: + addresses: + items: + type: string + type: array + dataTransferProtection: + type: string + force: + type: boolean + hdfsUser: + type: string + krbCCacheSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + krbConfigConfigMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + krbKeytabSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + krbRealm: + type: string + krbServicePrincipalName: + type: string + krbUsername: + type: string + path: + type: string + required: + - path + type: object + http: + properties: + auth: + properties: + basicAuth: + properties: + passwordSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + usernameSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientCert: + properties: + clientCertSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + clientKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + oauth2: + properties: + clientIDSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + clientSecretSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + items: + properties: + key: + type: string + value: + type: string + required: + - key + type: object + type: array + scopes: + items: + type: string + type: array + tokenURLSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + type: object + headers: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + url: + type: string + required: + - url + type: object + mode: + format: int32 + maximum: 511 + minimum: 0 + type: integer + name: + pattern: ^[-a-zA-Z0-9_{}.]+$ + type: string + optional: + type: boolean + oss: + properties: + accessKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + bucket: + type: string + createBucketIfNotPresent: + type: boolean + endpoint: + type: string + key: + type: string + lifecycleRule: + properties: + markDeletionAfterDays: + format: int32 + type: integer + markInfrequentAccessAfterDays: + format: int32 + type: integer + type: object + secretKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + securityToken: + type: string + useSDKCreds: + type: boolean + required: + - key + type: object + path: + type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object + raw: + properties: + data: + type: string + required: + - data + type: object + recurseMode: + type: boolean + s3: + properties: + accessKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + bucket: + type: string + caSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + createBucketIfNotPresent: + properties: + objectLocking: + type: boolean + type: object + encryptionOptions: + properties: + enableEncryption: + type: boolean + kmsEncryptionContext: + type: string + kmsKeyId: + type: string + serverSideCustomerKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + endpoint: + type: string + insecure: + type: boolean + key: + type: string + region: + type: string + roleARN: + type: string + secretKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + sessionTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + useSDKCreds: + type: boolean + type: object + subPath: + type: string + required: + - name + type: object + type: array + parameters: + items: + properties: + default: + type: string + description: + type: string + enum: + items: + type: string + minItems: 1 + type: array + globalName: + type: string + name: + pattern: ^[-a-zA-Z0-9_]+$ + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + default: + type: string + event: + type: string + expression: + type: string + jqFilter: + type: string + jsonPath: + type: string + parameter: + type: string + path: + type: string + supplied: + type: object + type: object + required: + - name + type: object + maxItems: 500 + type: array + type: object + memoize: + properties: + cache: + properties: + configMap: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + required: + - configMap + type: object + key: + type: string + maxAge: + type: string + required: + - cache + - key + - maxAge + type: object + metadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + type: object + metrics: + properties: + prometheus: + items: + properties: + counter: + properties: + value: + minLength: 1 + type: string + required: + - value + type: object + gauge: + properties: + operation: + enum: + - Set + - Add + - Sub + type: string + realtime: + type: boolean + value: + maxLength: 256 + minLength: 1 + type: string + required: + - realtime + - value + type: object + help: + minLength: 1 + type: string + histogram: + properties: + buckets: + items: + type: number + type: array + value: + minLength: 1 + type: string + required: + - buckets + - value + type: object + labels: + items: + properties: + key: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + value: + type: string + required: + - key + - value + type: object + type: array + name: + pattern: ^[a-zA-Z_][a-zA-Z0-9_]*$ + type: string + when: + type: string + required: + - help + - name + type: object + maxItems: 100 + type: array + required: + - prometheus + type: object + name: + maxLength: 128 + pattern: ^[a-zA-Z0-9][-a-zA-Z0-9]*$ + type: string + nodeSelector: + additionalProperties: + type: string + type: object + outputs: + properties: + artifacts: + items: + properties: + archive: + properties: + none: + type: object + tar: + properties: + compressionLevel: + format: int32 + type: integer + type: object + zip: + type: object + type: object + archiveLogs: + type: boolean + artifactGC: + properties: + podMetadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + type: object + serviceAccountName: + type: string + strategy: + enum: + - "" + - OnWorkflowCompletion + - OnWorkflowDeletion + - Never + type: string + type: object + artifactory: + properties: + passwordSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + url: + type: string + usernameSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + required: + - url + type: object + azure: + properties: + accountKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + blob: + type: string + container: + type: string + endpoint: + type: string + useSDKCreds: + type: boolean + required: + - blob + - container + - endpoint + type: object + deleted: + type: boolean + from: + type: string + fromExpression: + type: string + gcs: + properties: + bucket: + type: string + key: + type: string + serviceAccountKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + required: + - key + type: object + git: + properties: + branch: + type: string + depth: + format: int64 + type: integer + disableSubmodules: + type: boolean + fetch: + items: + type: string + type: array + insecureIgnoreHostKey: + type: boolean + insecureSkipTLS: + type: boolean + passwordSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + repo: + type: string + revision: + type: string + singleBranch: + type: boolean + sshPrivateKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + usernameSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + required: + - repo + type: object + globalName: + type: string + hdfs: + properties: + addresses: + items: + type: string + type: array + dataTransferProtection: + type: string + force: + type: boolean + hdfsUser: + type: string + krbCCacheSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + krbConfigConfigMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + krbKeytabSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + krbRealm: + type: string + krbServicePrincipalName: + type: string + krbUsername: + type: string + path: + type: string + required: + - path + type: object + http: + properties: + auth: + properties: + basicAuth: + properties: + passwordSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + usernameSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientCert: + properties: + clientCertSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + clientKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + oauth2: + properties: + clientIDSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + clientSecretSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + items: + properties: + key: + type: string + value: + type: string + required: + - key + type: object + type: array + scopes: + items: + type: string + type: array + tokenURLSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + type: object + headers: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + url: + type: string + required: + - url + type: object + mode: + format: int32 + maximum: 511 + minimum: 0 + type: integer + name: + pattern: ^[-a-zA-Z0-9_{}.]+$ + type: string + optional: + type: boolean + oss: + properties: + accessKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + bucket: + type: string + createBucketIfNotPresent: + type: boolean + endpoint: + type: string + key: + type: string + lifecycleRule: + properties: + markDeletionAfterDays: + format: int32 + type: integer + markInfrequentAccessAfterDays: + format: int32 + type: integer + type: object + secretKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + securityToken: + type: string + useSDKCreds: + type: boolean + required: + - key + type: object + path: + type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object + raw: + properties: + data: + type: string + required: + - data + type: object + recurseMode: + type: boolean + s3: + properties: + accessKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + bucket: + type: string + caSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + createBucketIfNotPresent: + properties: + objectLocking: + type: boolean + type: object + encryptionOptions: + properties: + enableEncryption: + type: boolean + kmsEncryptionContext: + type: string + kmsKeyId: + type: string + serverSideCustomerKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + endpoint: + type: string + insecure: + type: boolean + key: + type: string + region: + type: string + roleARN: + type: string + secretKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + sessionTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + useSDKCreds: + type: boolean + type: object + subPath: + type: string + required: + - name + type: object + type: array + exitCode: + type: string + parameters: + items: + properties: + default: + type: string + description: + type: string + enum: + items: + type: string + minItems: 1 + type: array + globalName: + type: string + name: + pattern: ^[-a-zA-Z0-9_]+$ + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + default: + type: string + event: + type: string + expression: + type: string + jqFilter: + type: string + jsonPath: + type: string + parameter: + type: string + path: + type: string + supplied: + type: object + type: object + required: + - name + type: object + type: array + result: + type: string + type: object + parallelism: + format: int64 + minimum: 1 + type: integer + plugin: + type: object + x-kubernetes-preserve-unknown-fields: true + podSpecPatch: + type: string + priorityClassName: + type: string + resource: + properties: + action: + enum: + - get + - create + - apply + - delete + - replace + - patch + type: string + failureCondition: + type: string + flags: + items: + type: string + type: array + manifest: + type: string + manifestFrom: + properties: + artifact: + properties: + archive: + properties: + none: + type: object + tar: + properties: + compressionLevel: + format: int32 + type: integer + type: object + zip: + type: object + type: object + archiveLogs: + type: boolean + artifactGC: + properties: + podMetadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + type: object + serviceAccountName: + type: string + strategy: + enum: + - "" + - OnWorkflowCompletion + - OnWorkflowDeletion + - Never + type: string + type: object + artifactory: + properties: + passwordSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + url: + type: string + usernameSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + required: + - url + type: object + azure: + properties: + accountKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + blob: + type: string + container: + type: string + endpoint: + type: string + useSDKCreds: + type: boolean + required: + - blob + - container + - endpoint + type: object + deleted: + type: boolean + from: + type: string + fromExpression: + type: string + gcs: + properties: + bucket: + type: string + key: + type: string + serviceAccountKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + required: + - key + type: object + git: + properties: + branch: + type: string + depth: + format: int64 + type: integer + disableSubmodules: + type: boolean + fetch: + items: + type: string + type: array + insecureIgnoreHostKey: + type: boolean + insecureSkipTLS: + type: boolean + passwordSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + repo: + type: string + revision: + type: string + singleBranch: + type: boolean + sshPrivateKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + usernameSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + required: + - repo + type: object + globalName: + type: string + hdfs: + properties: + addresses: + items: + type: string + type: array + dataTransferProtection: + type: string + force: + type: boolean + hdfsUser: + type: string + krbCCacheSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + krbConfigConfigMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + krbKeytabSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + krbRealm: + type: string + krbServicePrincipalName: + type: string + krbUsername: + type: string + path: + type: string + required: + - path + type: object + http: + properties: + auth: + properties: + basicAuth: + properties: + passwordSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + usernameSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientCert: + properties: + clientCertSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + clientKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + oauth2: + properties: + clientIDSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + clientSecretSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + items: + properties: + key: + type: string + value: + type: string + required: + - key + type: object + type: array + scopes: + items: + type: string + type: array + tokenURLSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + type: object + headers: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + url: + type: string + required: + - url + type: object + mode: + format: int32 + maximum: 511 + minimum: 0 + type: integer + name: + pattern: ^[-a-zA-Z0-9_{}.]+$ + type: string + optional: + type: boolean + oss: + properties: + accessKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + bucket: + type: string + createBucketIfNotPresent: + type: boolean + endpoint: + type: string + key: + type: string + lifecycleRule: + properties: + markDeletionAfterDays: + format: int32 + type: integer + markInfrequentAccessAfterDays: + format: int32 + type: integer + type: object + secretKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + securityToken: + type: string + useSDKCreds: + type: boolean + required: + - key + type: object + path: + type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object + raw: + properties: + data: + type: string + required: + - data + type: object + recurseMode: + type: boolean + s3: + properties: + accessKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + bucket: + type: string + caSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + createBucketIfNotPresent: + properties: + objectLocking: + type: boolean + type: object + encryptionOptions: + properties: + enableEncryption: + type: boolean + kmsEncryptionContext: + type: string + kmsKeyId: + type: string + serverSideCustomerKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + endpoint: + type: string + insecure: + type: boolean + key: + type: string + region: + type: string + roleARN: + type: string + secretKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + sessionTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + useSDKCreds: + type: boolean + type: object + subPath: + type: string + required: + - name + type: object + required: + - artifact + type: object + mergeStrategy: + enum: + - strategic + - merge + - json + type: string + setOwnerReference: + type: boolean + successCondition: + type: string + required: + - action + type: object + retryStrategy: + properties: + affinity: + properties: + nodeAntiAffinity: + type: object + type: object + backoff: + properties: + cap: + type: string + duration: + type: string + factor: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + maxDuration: + type: string + type: object + expression: + type: string + limit: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + retryPolicy: + enum: + - Always + - OnFailure + - OnError + - OnTransientError + type: string + type: object + schedulerName: + type: string + script: + properties: + args: + items: + type: string + type: array + x-kubernetes-list-type: atomic + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + envFrom: + items: + properties: + configMapRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + x-kubernetes-list-type: atomic + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + preStop: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + stopSignal: + type: string + type: object + livenessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + default: "" + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + name: + type: string + ports: + items: + properties: + containerPort: + format: int32 + type: integer + hostIP: + type: string + hostPort: + format: int32 + type: integer + name: + type: string + protocol: + default: TCP + type: string + required: + - containerPort + type: object + type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + default: "" + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + resizePolicy: + items: + properties: + resourceName: + type: string + restartPolicy: + type: string + required: + - resourceName + - restartPolicy + type: object + type: array + x-kubernetes-list-type: atomic + resources: + properties: + claims: + items: + properties: + name: + type: string + request: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + restartPolicy: + type: string + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + capabilities: + properties: + add: + items: + type: string + type: array + x-kubernetes-list-type: atomic + drop: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + source: + type: string + startupProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + default: "" + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + stdin: + type: boolean + stdinOnce: + type: boolean + terminationMessagePath: + type: string + terminationMessagePolicy: + type: string + tty: + type: boolean + volumeDevices: + items: + properties: + devicePath: + type: string + name: + type: string + required: + - devicePath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - devicePath + x-kubernetes-list-type: map + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + recursiveReadOnly: + type: string + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - mountPath + x-kubernetes-list-type: map + workingDir: + type: string + required: + - name + type: object + securityContext: + properties: + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + fsGroup: + format: int64 + type: integer + fsGroupChangePolicy: + type: string + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxChangePolicy: + type: string + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + supplementalGroups: + items: + format: int64 + type: integer + type: array + x-kubernetes-list-type: atomic + supplementalGroupsPolicy: + type: string + sysctls: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + serviceAccountName: + type: string + sidecars: + items: + properties: + args: + items: + type: string + type: array + x-kubernetes-list-type: atomic + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + env: + items: + properties: + name: + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + secretKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + envFrom: + items: + properties: + configMapRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + prefix: + type: string + secretRef: + properties: + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + type: object + type: array + x-kubernetes-list-type: atomic + image: + type: string + imagePullPolicy: + type: string + lifecycle: + properties: + postStart: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + preStop: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + sleep: + properties: + seconds: + format: int64 + type: integer + required: + - seconds + type: object + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + type: object + stopSignal: + type: string + type: object + livenessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + default: "" + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + mirrorVolumeMounts: + type: boolean + name: + type: string + ports: + items: + properties: + containerPort: + format: int32 + type: integer + hostIP: + type: string + hostPort: + format: int32 + type: integer + name: + type: string + protocol: + default: TCP + type: string + required: + - containerPort + type: object + type: array + x-kubernetes-list-map-keys: + - containerPort + - protocol + x-kubernetes-list-type: map + readinessProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + default: "" + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + resizePolicy: + items: + properties: + resourceName: + type: string + restartPolicy: + type: string + required: + - resourceName + - restartPolicy + type: object + type: array + x-kubernetes-list-type: atomic + resources: + properties: + claims: + items: + properties: + name: + type: string + request: + type: string + required: + - name + type: object + type: array + x-kubernetes-list-map-keys: + - name + x-kubernetes-list-type: map + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + restartPolicy: + type: string + securityContext: + properties: + allowPrivilegeEscalation: + type: boolean + appArmorProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + capabilities: + properties: + add: + items: + type: string + type: array + x-kubernetes-list-type: atomic + drop: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + privileged: + type: boolean + procMount: + type: string + readOnlyRootFilesystem: + type: boolean + runAsGroup: + format: int64 + type: integer + runAsNonRoot: + type: boolean + runAsUser: + format: int64 + type: integer + seLinuxOptions: + properties: + level: + type: string + role: + type: string + type: + type: string + user: + type: string + type: object + seccompProfile: + properties: + localhostProfile: + type: string + type: + type: string + required: + - type + type: object + windowsOptions: + properties: + gmsaCredentialSpec: + type: string + gmsaCredentialSpecName: + type: string + hostProcess: + type: boolean + runAsUserName: + type: string + type: object + type: object + startupProbe: + properties: + exec: + properties: + command: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + failureThreshold: + format: int32 + type: integer + grpc: + properties: + port: + format: int32 + type: integer + service: + default: "" + type: string + required: + - port + type: object + httpGet: + properties: + host: + type: string + httpHeaders: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + x-kubernetes-list-type: atomic + path: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + scheme: + type: string + required: + - port + type: object + initialDelaySeconds: + format: int32 + type: integer + periodSeconds: + format: int32 + type: integer + successThreshold: + format: int32 + type: integer + tcpSocket: + properties: + host: + type: string + port: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + required: + - port + type: object + terminationGracePeriodSeconds: + format: int64 + type: integer + timeoutSeconds: + format: int32 + type: integer + type: object + stdin: + type: boolean + stdinOnce: + type: boolean + terminationMessagePath: + type: string + terminationMessagePolicy: + type: string + tty: + type: boolean + volumeDevices: + items: + properties: + devicePath: + type: string + name: + type: string + required: + - devicePath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - devicePath + x-kubernetes-list-type: map + volumeMounts: + items: + properties: + mountPath: + type: string + mountPropagation: + type: string + name: + type: string + readOnly: + type: boolean + recursiveReadOnly: + type: string + subPath: + type: string + subPathExpr: + type: string + required: + - mountPath + - name + type: object + type: array + x-kubernetes-list-map-keys: + - mountPath + x-kubernetes-list-type: map + workingDir: + type: string + required: + - name + type: object + type: array + steps: + items: + properties: + steps: + items: + properties: + arguments: + properties: + artifacts: + items: + properties: + archive: + properties: + none: + type: object + tar: + properties: + compressionLevel: + format: int32 + type: integer + type: object + zip: + type: object + type: object + archiveLogs: + type: boolean + artifactGC: + properties: + podMetadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + type: object + serviceAccountName: + type: string + strategy: + enum: + - "" + - OnWorkflowCompletion + - OnWorkflowDeletion + - Never + type: string + type: object + artifactory: + properties: + passwordSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + url: + type: string + usernameSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + required: + - url + type: object + azure: + properties: + accountKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + blob: + type: string + container: + type: string + endpoint: + type: string + useSDKCreds: + type: boolean + required: + - blob + - container + - endpoint + type: object + deleted: + type: boolean + from: + type: string + fromExpression: + type: string + gcs: + properties: + bucket: + type: string + key: + type: string + serviceAccountKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + required: + - key + type: object + git: + properties: + branch: + type: string + depth: + format: int64 + type: integer + disableSubmodules: + type: boolean + fetch: + items: + type: string + type: array + insecureIgnoreHostKey: + type: boolean + insecureSkipTLS: + type: boolean + passwordSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + repo: + type: string + revision: + type: string + singleBranch: + type: boolean + sshPrivateKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + usernameSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + required: + - repo + type: object + globalName: + type: string + hdfs: + properties: + addresses: + items: + type: string + type: array + dataTransferProtection: + type: string + force: + type: boolean + hdfsUser: + type: string + krbCCacheSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + krbConfigConfigMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + krbKeytabSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + krbRealm: + type: string + krbServicePrincipalName: + type: string + krbUsername: + type: string + path: + type: string + required: + - path + type: object + http: + properties: + auth: + properties: + basicAuth: + properties: + passwordSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + usernameSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientCert: + properties: + clientCertSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + clientKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + oauth2: + properties: + clientIDSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + clientSecretSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + items: + properties: + key: + type: string + value: + type: string + required: + - key + type: object + type: array + scopes: + items: + type: string + type: array + tokenURLSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + type: object + headers: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + url: + type: string + required: + - url + type: object + mode: + format: int32 + maximum: 511 + minimum: 0 + type: integer + name: + pattern: ^[-a-zA-Z0-9_{}.]+$ + type: string + optional: + type: boolean + oss: + properties: + accessKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + bucket: + type: string + createBucketIfNotPresent: + type: boolean + endpoint: + type: string + key: + type: string + lifecycleRule: + properties: + markDeletionAfterDays: + format: int32 + type: integer + markInfrequentAccessAfterDays: + format: int32 + type: integer + type: object + secretKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + securityToken: + type: string + useSDKCreds: + type: boolean + required: + - key + type: object + path: + type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object + raw: + properties: + data: + type: string + required: + - data + type: object + recurseMode: + type: boolean + s3: + properties: + accessKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + bucket: + type: string + caSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + createBucketIfNotPresent: + properties: + objectLocking: + type: boolean + type: object + encryptionOptions: + properties: + enableEncryption: + type: boolean + kmsEncryptionContext: + type: string + kmsKeyId: + type: string + serverSideCustomerKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + endpoint: + type: string + insecure: + type: boolean + key: + type: string + region: + type: string + roleARN: + type: string + secretKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + sessionTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + useSDKCreds: + type: boolean + type: object + subPath: + type: string + required: + - name + type: object + type: array + parameters: + items: + properties: + default: + type: string + description: + type: string + enum: + items: + type: string + minItems: 1 + type: array + globalName: + type: string + name: + pattern: ^[-a-zA-Z0-9_]+$ + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + default: + type: string + event: + type: string + expression: + type: string + jqFilter: + type: string + jsonPath: + type: string + parameter: + type: string + path: + type: string + supplied: + type: object + type: object + required: + - name + type: object + type: array + type: object + continueOn: + properties: + error: + type: boolean + failed: + type: boolean + type: object + hooks: + additionalProperties: + properties: + arguments: + properties: + artifacts: + items: + properties: + archive: + properties: + none: + type: object + tar: + properties: + compressionLevel: + format: int32 + type: integer + type: object + zip: + type: object + type: object + archiveLogs: + type: boolean + artifactGC: + properties: + podMetadata: + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + type: object + serviceAccountName: + type: string + strategy: + enum: + - "" + - OnWorkflowCompletion + - OnWorkflowDeletion + - Never + type: string + type: object + artifactory: + properties: + passwordSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + url: + type: string + usernameSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + required: + - url + type: object + azure: + properties: + accountKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + blob: + type: string + container: + type: string + endpoint: + type: string + useSDKCreds: + type: boolean + required: + - blob + - container + - endpoint + type: object + deleted: + type: boolean + from: + type: string + fromExpression: + type: string + gcs: + properties: + bucket: + type: string + key: + type: string + serviceAccountKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + required: + - key + type: object + git: + properties: + branch: + type: string + depth: + format: int64 + type: integer + disableSubmodules: + type: boolean + fetch: + items: + type: string + type: array + insecureIgnoreHostKey: + type: boolean + insecureSkipTLS: + type: boolean + passwordSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + repo: + type: string + revision: + type: string + singleBranch: + type: boolean + sshPrivateKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + usernameSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + required: + - repo + type: object + globalName: + type: string + hdfs: + properties: + addresses: + items: + type: string + type: array + dataTransferProtection: + type: string + force: + type: boolean + hdfsUser: + type: string + krbCCacheSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + krbConfigConfigMap: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + krbKeytabSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + krbRealm: + type: string + krbServicePrincipalName: + type: string + krbUsername: + type: string + path: + type: string + required: + - path + type: object + http: + properties: + auth: + properties: + basicAuth: + properties: + passwordSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + usernameSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientCert: + properties: + clientCertSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + clientKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + oauth2: + properties: + clientIDSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + clientSecretSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + items: + properties: + key: + type: string + value: + type: string + required: + - key + type: object + type: array + scopes: + items: + type: string + type: array + tokenURLSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + type: object + headers: + items: + properties: + name: + type: string + value: + type: string + required: + - name + - value + type: object + type: array + url: + type: string + required: + - url + type: object + mode: + format: int32 + maximum: 511 + minimum: 0 + type: integer + name: + pattern: ^[-a-zA-Z0-9_{}.]+$ + type: string + optional: + type: boolean + oss: + properties: + accessKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + bucket: + type: string + createBucketIfNotPresent: + type: boolean + endpoint: + type: string + key: + type: string + lifecycleRule: + properties: + markDeletionAfterDays: + format: int32 + type: integer + markInfrequentAccessAfterDays: + format: int32 + type: integer + type: object + secretKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + securityToken: + type: string + useSDKCreds: + type: boolean + required: + - key + type: object + path: + type: string + plugin: + properties: + configuration: + type: string + connectionTimeoutSeconds: + format: int32 + type: integer + key: + type: string + name: + type: string + required: + - key + type: object + raw: + properties: + data: + type: string + required: + - data + type: object + recurseMode: + type: boolean + s3: + properties: + accessKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + bucket: + type: string + caSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + createBucketIfNotPresent: + properties: + objectLocking: + type: boolean + type: object + encryptionOptions: + properties: + enableEncryption: + type: boolean + kmsEncryptionContext: + type: string + kmsKeyId: + type: string + serverSideCustomerKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + endpoint: + type: string + insecure: + type: boolean + key: + type: string + region: + type: string + roleARN: + type: string + secretKeySecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + sessionTokenSecret: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + useSDKCreds: + type: boolean + type: object + subPath: + type: string + required: + - name + type: object + type: array + parameters: + items: + properties: + default: + type: string + description: + type: string + enum: + items: + type: string + minItems: 1 + type: array + globalName: + type: string + name: + pattern: ^[-a-zA-Z0-9_]+$ + type: string + value: + type: string + valueFrom: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + default: + type: string + event: + type: string + expression: + type: string + jqFilter: + type: string + jsonPath: + type: string + parameter: + type: string + path: + type: string + supplied: + type: object + type: object + required: + - name + type: object + type: array + type: object + expression: + type: string + template: + type: string + templateRef: + properties: + clusterScope: + type: boolean + name: + type: string + template: + type: string + type: object + type: object + type: object + inline: + x-kubernetes-preserve-unknown-fields: true + name: + maxLength: 128 + pattern: ^[a-zA-Z0-9][-a-zA-Z0-9]*$ + type: string + onExit: + type: string + template: + type: string + templateRef: + properties: + clusterScope: + type: boolean + name: + type: string + template: + type: string + type: object + when: + type: string + withItems: + x-kubernetes-preserve-unknown-fields: true + withParam: + type: string + withSequence: + properties: + count: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + end: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + format: + type: string + start: + anyOf: + - type: integer + - type: string + x-kubernetes-int-or-string: true + type: object + type: object + type: array + required: + - steps + type: object + minItems: 1 + type: array + suspend: + properties: + duration: + type: string + type: object + synchronization: + properties: + mutexes: + items: + properties: + database: + type: boolean + name: + type: string + namespace: + type: string + type: object + type: array + semaphores: + items: + properties: + configMapKeyRef: + properties: + key: + type: string + name: + default: "" + type: string + optional: + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + database: + properties: + key: + type: string + required: + - key + type: object + namespace: + type: string + type: object + type: array + type: object + timeout: + type: string + tolerations: + items: + properties: + effect: + type: string + key: + type: string + operator: + type: string + tolerationSeconds: + format: int64 + type: integer + value: + type: string + type: object + type: array + volumes: + items: + properties: + awsElasticBlockStore: + properties: + fsType: + type: string + partition: + format: int32 + type: integer + readOnly: + type: boolean + volumeID: + type: string + required: + - volumeID + type: object + azureDisk: + properties: + cachingMode: + type: string + diskName: + type: string + diskURI: + type: string + fsType: + default: ext4 + type: string + kind: + type: string + readOnly: + default: false + type: boolean + required: + - diskName + - diskURI + type: object + azureFile: + properties: + readOnly: + type: boolean + secretName: + type: string + shareName: + type: string + required: + - secretName + - shareName + type: object + cephfs: + properties: + monitors: + items: + type: string + type: array + x-kubernetes-list-type: atomic + path: + type: string + readOnly: + type: boolean + secretFile: + type: string + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + user: + type: string + required: + - monitors + type: object + cinder: + properties: + fsType: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + volumeID: + type: string + required: + - volumeID + type: object + configMap: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + csi: + properties: + driver: + type: string + fsType: + type: string + nodePublishSecretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + readOnly: + type: boolean + volumeAttributes: + additionalProperties: + type: string + type: object + required: + - driver + type: object + downwardAPI: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + mode: + format: int32 + type: integer + path: + type: string + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + required: + - path + type: object + type: array + x-kubernetes-list-type: atomic + type: object + emptyDir: + properties: + medium: + type: string + sizeLimit: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + ephemeral: + properties: + volumeClaimTemplate: + properties: + metadata: + properties: + annotations: + additionalProperties: + type: string + type: object + finalizers: + items: + type: string + type: array + generateName: + type: string + labels: + additionalProperties: + type: string + type: object + name: + type: string + namespace: + type: string + type: object + spec: + properties: + accessModes: + items: + type: string + type: array + x-kubernetes-list-type: atomic + dataSource: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + required: + - kind + - name + type: object + x-kubernetes-map-type: atomic + dataSourceRef: + properties: + apiGroup: + type: string + kind: + type: string + name: + type: string + namespace: + type: string + required: + - kind + - name + type: object + resources: + properties: + limits: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + requests: + additionalProperties: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + type: object + type: object + selector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + storageClassName: + type: string + volumeAttributesClassName: + type: string + volumeMode: + type: string + volumeName: + type: string + type: object + required: + - spec + type: object + type: object + fc: + properties: + fsType: + type: string + lun: + format: int32 + type: integer + readOnly: + type: boolean + targetWWNs: + items: + type: string + type: array + x-kubernetes-list-type: atomic + wwids: + items: + type: string + type: array + x-kubernetes-list-type: atomic + type: object + flexVolume: + properties: + driver: + type: string + fsType: + type: string + options: + additionalProperties: + type: string + type: object + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + required: + - driver + type: object + flocker: + properties: + datasetName: + type: string + datasetUUID: + type: string + type: object + gcePersistentDisk: + properties: + fsType: + type: string + partition: + format: int32 + type: integer + pdName: + type: string + readOnly: + type: boolean + required: + - pdName + type: object + gitRepo: + properties: + directory: + type: string + repository: + type: string + revision: + type: string + required: + - repository + type: object + glusterfs: + properties: + endpoints: + type: string + path: + type: string + readOnly: + type: boolean + required: + - endpoints + - path + type: object + hostPath: + properties: + path: + type: string + type: + type: string + required: + - path + type: object + image: + properties: + pullPolicy: + type: string + reference: + type: string + type: object + iscsi: + properties: + chapAuthDiscovery: + type: boolean + chapAuthSession: + type: boolean + fsType: + type: string + initiatorName: + type: string + iqn: + type: string + iscsiInterface: + default: default + type: string + lun: + format: int32 + type: integer + portals: + items: + type: string + type: array + x-kubernetes-list-type: atomic + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + targetPortal: + type: string + required: + - iqn + - lun + - targetPortal + type: object + name: + type: string + nfs: + properties: + path: + type: string + readOnly: + type: boolean + server: + type: string + required: + - path + - server + type: object + persistentVolumeClaim: + properties: + claimName: + type: string + readOnly: + type: boolean + required: + - claimName + type: object + photonPersistentDisk: + properties: + fsType: + type: string + pdID: + type: string + required: + - pdID + type: object + portworxVolume: + properties: + fsType: + type: string + readOnly: + type: boolean + volumeID: + type: string + required: + - volumeID + type: object + projected: + properties: + defaultMode: + format: int32 + type: integer + sources: + items: + properties: + clusterTrustBundle: + properties: + labelSelector: + properties: + matchExpressions: + items: + properties: + key: + type: string + operator: + type: string + values: + items: + type: string + type: array + x-kubernetes-list-type: atomic + required: + - key + - operator + type: object + type: array + x-kubernetes-list-type: atomic + matchLabels: + additionalProperties: + type: string + type: object + type: object + x-kubernetes-map-type: atomic + name: + type: string + optional: + type: boolean + path: + type: string + signerName: + type: string + required: + - path + type: object + configMap: + properties: + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + downwardAPI: + properties: + items: + items: + properties: + fieldRef: + properties: + apiVersion: + type: string + fieldPath: + type: string + required: + - fieldPath + type: object + x-kubernetes-map-type: atomic + mode: + format: int32 + type: integer + path: + type: string + resourceFieldRef: + properties: + containerName: + type: string + divisor: + anyOf: + - type: integer + - type: string + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ + x-kubernetes-int-or-string: true + resource: + type: string + required: + - resource + type: object + x-kubernetes-map-type: atomic + required: + - path + type: object + type: array + x-kubernetes-list-type: atomic + type: object + secret: + properties: + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + name: + default: "" + type: string + optional: + type: boolean + type: object + x-kubernetes-map-type: atomic + serviceAccountToken: + properties: + audience: + type: string + expirationSeconds: + format: int64 + type: integer + path: + type: string + required: + - path + type: object + type: object + type: array + x-kubernetes-list-type: atomic + type: object + quobyte: + properties: + group: + type: string + readOnly: + type: boolean + registry: + type: string + tenant: + type: string + user: + type: string + volume: + type: string + required: + - registry + - volume + type: object + rbd: + properties: + fsType: + type: string + image: + type: string + keyring: + default: /etc/ceph/keyring + type: string + monitors: + items: + type: string + type: array + x-kubernetes-list-type: atomic + pool: + default: rbd + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + user: + default: admin + type: string + required: + - image + - monitors + type: object + scaleIO: + properties: + fsType: + default: xfs + type: string + gateway: + type: string + protectionDomain: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + sslEnabled: + type: boolean + storageMode: + default: ThinProvisioned + type: string + storagePool: + type: string + system: + type: string + volumeName: + type: string + required: + - gateway + - secretRef + - system + type: object + secret: + properties: + defaultMode: + format: int32 + type: integer + items: + items: + properties: + key: + type: string + mode: + format: int32 + type: integer + path: + type: string + required: + - key + - path + type: object + type: array + x-kubernetes-list-type: atomic + optional: + type: boolean + secretName: + type: string + type: object + storageos: + properties: + fsType: + type: string + readOnly: + type: boolean + secretRef: + properties: + name: + default: "" + type: string + type: object + x-kubernetes-map-type: atomic + volumeName: + type: string + volumeNamespace: + type: string + type: object + vsphereVolume: + properties: + fsType: + type: string + storagePolicyID: + type: string + storagePolicyName: + type: string + volumePath: + type: string + required: + - volumePath + type: object + required: + - name + type: object + type: array + type: object + type: object type: object - x-kubernetes-map-type: atomic - x-kubernetes-preserve-unknown-fields: true status: + properties: + nodes: + additionalProperties: + properties: + message: + type: string + outputs: + description: Outputs hold parameters, artifacts, and results + from a step + properties: + artifacts: + description: Artifacts holds the list of output artifacts + produced by a step + items: + description: Artifact indicates an artifact to place at + a specified path + properties: + archive: + description: Archive controls how the artifact will + be saved to the artifact repository. + properties: + none: + description: |- + NoneStrategy indicates to skip tar process and upload the files or directory tree as independent + files. Note that if the artifact is a directory, the artifact driver must support the ability to + save/load the directory appropriately. + type: object + tar: + description: TarStrategy will tar and gzip the + file or directory when saving + properties: + compressionLevel: + description: |- + CompressionLevel specifies the gzip compression level to use for the artifact. + Defaults to gzip.DefaultCompression. + format: int32 + type: integer + type: object + zip: + description: ZipStrategy will unzip zipped input + artifacts + type: object + type: object + archiveLogs: + description: ArchiveLogs indicates if the container + logs should be archived + type: boolean + artifactGC: + description: ArtifactGC describes the strategy to + use when to deleting an artifact from completed + or deleted workflows + properties: + podMetadata: + description: PodMetadata is an optional field + for specifying the Labels and Annotations that + should be assigned to the Pod doing the deletion + properties: + annotations: + additionalProperties: + type: string + type: object + labels: + additionalProperties: + type: string + type: object + type: object + serviceAccountName: + description: ServiceAccountName is an optional + field for specifying the Service Account that + should be assigned to the Pod doing the deletion + type: string + strategy: + description: Strategy is the strategy to use. + enum: + - "" + - OnWorkflowCompletion + - OnWorkflowDeletion + - Never + type: string + type: object + artifactory: + description: Artifactory contains artifactory artifact + location details + properties: + passwordSecret: + description: PasswordSecret is the secret selector + to the repository password + properties: + key: + description: The key of the secret to select + from. Must be a valid secret key. + type: string + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: Specify whether the Secret or + its key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + url: + description: URL of the artifact + type: string + usernameSecret: + description: UsernameSecret is the secret selector + to the repository username + properties: + key: + description: The key of the secret to select + from. Must be a valid secret key. + type: string + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: Specify whether the Secret or + its key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + required: + - url + type: object + azure: + description: Azure contains Azure Storage artifact + location details + properties: + accountKeySecret: + description: AccountKeySecret is the secret selector + to the Azure Blob Storage account access key + properties: + key: + description: The key of the secret to select + from. Must be a valid secret key. + type: string + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: Specify whether the Secret or + its key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + blob: + description: Blob is the blob name (i.e., path) + in the container where the artifact resides + type: string + container: + description: Container is the container where + resources will be stored + type: string + endpoint: + description: Endpoint is the service url associated + with an account. It is most likely "https://.blob.core.windows.net" + type: string + useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. + type: boolean + required: + - blob + - container + - endpoint + type: object + deleted: + description: Has this been deleted? + type: boolean + from: + description: From allows an artifact to reference + an artifact from a previous step + type: string + fromExpression: + description: FromExpression, if defined, is evaluated + to specify the value for the artifact + type: string + gcs: + description: GCS contains GCS artifact location details + properties: + bucket: + description: Bucket is the name of the bucket + type: string + key: + description: Key is the path in the bucket where + the artifact resides + type: string + serviceAccountKeySecret: + description: ServiceAccountKeySecret is the secret + selector to the bucket's service account key + properties: + key: + description: The key of the secret to select + from. Must be a valid secret key. + type: string + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: Specify whether the Secret or + its key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + required: + - key + type: object + git: + description: Git contains git artifact location details + properties: + branch: + description: Branch is the branch to fetch when + `SingleBranch` is enabled + type: string + depth: + description: |- + Depth specifies clones/fetches should be shallow and include the given + number of commits from the branch tip + format: int64 + type: integer + disableSubmodules: + description: DisableSubmodules disables submodules + during git clone + type: boolean + fetch: + description: Fetch specifies a number of refs + that should be fetched before checkout + items: + type: string + type: array + insecureIgnoreHostKey: + description: InsecureIgnoreHostKey disables SSH + strict host key checking during git clone + type: boolean + insecureSkipTLS: + description: InsecureSkipTLS disables server certificate + verification resulting in insecure HTTPS connections + type: boolean + passwordSecret: + description: PasswordSecret is the secret selector + to the repository password + properties: + key: + description: The key of the secret to select + from. Must be a valid secret key. + type: string + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: Specify whether the Secret or + its key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + repo: + description: Repo is the git repository + type: string + revision: + description: Revision is the git commit, tag, + branch to checkout + type: string + singleBranch: + description: SingleBranch enables single branch + clone, using the `branch` parameter + type: boolean + sshPrivateKeySecret: + description: SSHPrivateKeySecret is the secret + selector to the repository ssh private key + properties: + key: + description: The key of the secret to select + from. Must be a valid secret key. + type: string + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: Specify whether the Secret or + its key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + usernameSecret: + description: UsernameSecret is the secret selector + to the repository username + properties: + key: + description: The key of the secret to select + from. Must be a valid secret key. + type: string + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: Specify whether the Secret or + its key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + required: + - repo + type: object + globalName: + description: |- + GlobalName exports an output artifact to the global scope, making it available as + '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts + type: string + hdfs: + description: HDFS contains HDFS artifact location + details + properties: + addresses: + description: Addresses is accessible addresses + of HDFS name nodes + items: + type: string + type: array + dataTransferProtection: + description: |- + DataTransferProtection is the protection level for HDFS data transfer. + It corresponds to the dfs.data.transfer.protection configuration in HDFS. + type: string + force: + description: Force copies a file forcibly even + if it exists + type: boolean + hdfsUser: + description: |- + HDFSUser is the user to access HDFS file system. + It is ignored if either ccache or keytab is used. + type: string + krbCCacheSecret: + description: |- + KrbCCacheSecret is the secret selector for Kerberos ccache + Either ccache or keytab can be set to use Kerberos. + properties: + key: + description: The key of the secret to select + from. Must be a valid secret key. + type: string + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: Specify whether the Secret or + its key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + krbConfigConfigMap: + description: |- + KrbConfig is the configmap selector for Kerberos config as string + It must be set if either ccache or keytab is used. + properties: + key: + description: The key to select. + type: string + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: Specify whether the ConfigMap + or its key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + krbKeytabSecret: + description: |- + KrbKeytabSecret is the secret selector for Kerberos keytab + Either ccache or keytab can be set to use Kerberos. + properties: + key: + description: The key of the secret to select + from. Must be a valid secret key. + type: string + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: Specify whether the Secret or + its key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + krbRealm: + description: |- + KrbRealm is the Kerberos realm used with Kerberos keytab + It must be set if keytab is used. + type: string + krbServicePrincipalName: + description: |- + KrbServicePrincipalName is the principal name of Kerberos service + It must be set if either ccache or keytab is used. + type: string + krbUsername: + description: |- + KrbUsername is the Kerberos username used with Kerberos keytab + It must be set if keytab is used. + type: string + path: + description: Path is a file path in HDFS + type: string + required: + - path + type: object + http: + description: HTTP contains HTTP artifact location + details + properties: + auth: + description: Auth contains information for client + authentication + properties: + basicAuth: + description: BasicAuth describes the secret + selectors required for basic authentication + properties: + passwordSecret: + description: PasswordSecret is the secret + selector to the repository password + properties: + key: + description: The key of the secret + to select from. Must be a valid + secret key. + type: string + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: Specify whether the Secret + or its key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + usernameSecret: + description: UsernameSecret is the secret + selector to the repository username + properties: + key: + description: The key of the secret + to select from. Must be a valid + secret key. + type: string + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: Specify whether the Secret + or its key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + clientCert: + description: ClientCertAuth holds necessary + information for client authentication via + certificates + properties: + clientCertSecret: + description: SecretKeySelector selects + a key of a Secret. + properties: + key: + description: The key of the secret + to select from. Must be a valid + secret key. + type: string + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: Specify whether the Secret + or its key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + clientKeySecret: + description: SecretKeySelector selects + a key of a Secret. + properties: + key: + description: The key of the secret + to select from. Must be a valid + secret key. + type: string + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: Specify whether the Secret + or its key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + oauth2: + description: OAuth2Auth holds all information + for client authentication via OAuth2 tokens + properties: + clientIDSecret: + description: SecretKeySelector selects + a key of a Secret. + properties: + key: + description: The key of the secret + to select from. Must be a valid + secret key. + type: string + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: Specify whether the Secret + or its key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + clientSecretSecret: + description: SecretKeySelector selects + a key of a Secret. + properties: + key: + description: The key of the secret + to select from. Must be a valid + secret key. + type: string + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: Specify whether the Secret + or its key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + endpointParams: + items: + description: EndpointParam is for requesting + optional fields that should be sent + in the oauth request + properties: + key: + description: Name is the header + name + type: string + value: + description: Value is the literal + value to use for the header + type: string + required: + - key + type: object + type: array + scopes: + items: + type: string + type: array + tokenURLSecret: + description: SecretKeySelector selects + a key of a Secret. + properties: + key: + description: The key of the secret + to select from. Must be a valid + secret key. + type: string + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: Specify whether the Secret + or its key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + type: object + headers: + description: Headers are an optional list of headers + to send with HTTP requests for artifacts + items: + description: Header indicate a key-value request + header to be used when fetching artifacts + over HTTP + properties: + name: + description: Name is the header name + type: string + value: + description: Value is the literal value + to use for the header + type: string + required: + - name + - value + type: object + type: array + url: + description: URL of the artifact + type: string + required: + - url + type: object + mode: + description: |- + mode bits to use on this file, must be a value between 0 and 0777. + Set when loading input artifacts. It is recommended to set the mode value + to ensure the artifact has the expected permissions in your container. + format: int32 + maximum: 511 + minimum: 0 + type: integer + name: + description: name of the artifact. must be unique + within a template's inputs/outputs. + pattern: ^[-a-zA-Z0-9_{}.]+$ + type: string + optional: + description: Make Artifacts optional, if Artifacts + doesn't generate or exist + type: boolean + oss: + description: OSS contains OSS artifact location details + properties: + accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key + properties: + key: + description: The key of the secret to select + from. Must be a valid secret key. + type: string + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: Specify whether the Secret or + its key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + bucket: + description: Bucket is the name of the bucket + type: string + createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the + driver to attempt to create the OSS bucket for + output artifacts, if it doesn't exist + type: boolean + endpoint: + description: Endpoint is the hostname of the bucket + endpoint + type: string + key: + description: Key is the path in the bucket where + the artifact resides + type: string + lifecycleRule: + description: LifecycleRule specifies how to manage + bucket's lifecycle + properties: + markDeletionAfterDays: + description: MarkDeletionAfterDays is the + number of days before we delete objects + in the bucket + format: int32 + type: integer + markInfrequentAccessAfterDays: + description: MarkInfrequentAccessAfterDays + is the number of days before we convert + the objects in the bucket to Infrequent + Access (IA) storage type + format: int32 + type: integer + type: object + secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key + properties: + key: + description: The key of the secret to select + from. Must be a valid secret key. + type: string + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: Specify whether the Secret or + its key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + securityToken: + description: 'SecurityToken is the user''s temporary + security token. For more details, check out: + https://www.alibabacloud.com/help/doc-detail/100624.htm' + type: string + useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. + type: boolean + required: + - key + type: object + path: + description: Path is the container path to the artifact + type: string + plugin: + description: Plugin contains plugin artifact location + details + properties: + configuration: + description: Configuration is the plugin defined + configuration for the artifact driver plugin + type: string + connectionTimeoutSeconds: + description: ConnectionTimeoutSeconds is the timeout + for the artifact driver connection, overriding + the driver's timeout + format: int32 + type: integer + key: + description: Key is the path in the artifact repository + where the artifact resides + type: string + name: + description: Name is the name of the artifact + driver plugin + type: string + required: + - key + type: object + raw: + description: Raw contains raw artifact location details + properties: + data: + description: Data is the string contents of the + artifact + type: string + required: + - data + type: object + recurseMode: + description: If mode is set, apply the permission + recursively into the artifact if it is a folder + type: boolean + s3: + description: S3 contains S3 artifact location details + properties: + accessKeySecret: + description: AccessKeySecret is the secret selector + to the bucket's access key + properties: + key: + description: The key of the secret to select + from. Must be a valid secret key. + type: string + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: Specify whether the Secret or + its key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + bucket: + description: Bucket is the name of the bucket + type: string + caSecret: + description: CASecret specifies the secret that + contains the CA, used to verify the TLS connection + properties: + key: + description: The key of the secret to select + from. Must be a valid secret key. + type: string + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: Specify whether the Secret or + its key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + createBucketIfNotPresent: + description: CreateBucketIfNotPresent tells the + driver to attempt to create the S3 bucket for + output artifacts, if it doesn't exist. Setting + Enabled Encryption will apply either SSE-S3 + to the bucket if KmsKeyId is not set or SSE-KMS + if it is. + properties: + objectLocking: + description: ObjectLocking Enable object locking + type: boolean + type: object + encryptionOptions: + description: S3EncryptionOptions used to determine + encryption options during s3 operations + properties: + enableEncryption: + description: EnableEncryption tells the driver + to encrypt objects if set to true. If kmsKeyId + and serverSideCustomerKeySecret are not + set, SSE-S3 will be used + type: boolean + kmsEncryptionContext: + description: KmsEncryptionContext is a json + blob that contains an encryption context. + See https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#encrypt_context + for more information + type: string + kmsKeyId: + description: KMSKeyId tells the driver to + encrypt the object using the specified KMS + Key. + type: string + serverSideCustomerKeySecret: + description: ServerSideCustomerKeySecret tells + the driver to encrypt the output artifacts + using SSE-C with the specified secret. + properties: + key: + description: The key of the secret to + select from. Must be a valid secret + key. + type: string + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: Specify whether the Secret + or its key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + type: object + endpoint: + description: Endpoint is the hostname of the bucket + endpoint + type: string + insecure: + description: Insecure will connect to the service + with TLS + type: boolean + key: + description: Key is the key in the bucket where + the artifact resides + type: string + region: + description: Region contains the optional bucket + region + type: string + roleARN: + description: RoleARN is the Amazon Resource Name + (ARN) of the role to assume. + type: string + secretKeySecret: + description: SecretKeySecret is the secret selector + to the bucket's secret key + properties: + key: + description: The key of the secret to select + from. Must be a valid secret key. + type: string + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: Specify whether the Secret or + its key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + sessionTokenSecret: + description: SessionTokenSecret is used for ephemeral + credentials like an IAM assume role or S3 access + grant + properties: + key: + description: The key of the secret to select + from. Must be a valid secret key. + type: string + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: Specify whether the Secret or + its key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + useSDKCreds: + description: UseSDKCreds tells the driver to figure + out credentials based on sdk defaults. + type: boolean + type: object + subPath: + description: SubPath allows an artifact to be sourced + from a subpath within the specified source + type: string + required: + - name + type: object + type: array + exitCode: + description: ExitCode holds the exit code of a script template + type: string + parameters: + description: Parameters holds the list of output parameters + produced by a step + items: + description: Parameter indicate a passed string parameter + to a service template with an optional default value + properties: + default: + description: Default is the default value to use for + an input parameter if a value was not supplied + type: string + description: + description: Description is the parameter description + type: string + enum: + description: Enum holds a list of string values to + choose from, for the actual value of the parameter + items: + description: |- + * It's JSON type is just string. + * It will unmarshall int64, int32, float64, float32, boolean, a plain string and represents it as string. + * It will marshall back to string - marshalling is not symmetric. + type: string + minItems: 1 + type: array + globalName: + description: |- + GlobalName exports an output parameter to the global scope, making it available as + '{{workflow.outputs.parameters.XXXX}} and in workflow.status.outputs.parameters + type: string + name: + description: Name is the parameter name + pattern: ^[-a-zA-Z0-9_]+$ + type: string + value: + description: |- + Value is the literal value to use for the parameter. + If specified in the context of an input parameter, any passed values take precedence over the specified value + type: string + valueFrom: + description: ValueFrom is the source for the output + parameter's value + properties: + configMapKeyRef: + description: ConfigMapKeyRef is configmap selector + for input parameter configuration + properties: + key: + description: The key to select. + type: string + name: + default: "" + description: |- + Name of the referent. + This field is effectively required, but due to backwards compatibility is + allowed to be empty. Instances of this type with an empty value here are + almost certainly wrong. + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names + type: string + optional: + description: Specify whether the ConfigMap + or its key must be defined + type: boolean + required: + - key + type: object + x-kubernetes-map-type: atomic + default: + description: Default specifies a value to be used + if retrieving the value from the specified source + fails + type: string + event: + description: Selector (https://github.com/expr-lang/expr) + that is evaluated against the event to get the + value of the parameter. E.g. `payload.message` + type: string + expression: + description: Expression, if defined, is evaluated + to specify the value for the parameter + type: string + jqFilter: + description: JQFilter expression against the resource + object in resource templates + type: string + jsonPath: + description: JSONPath of a resource to retrieve + an output parameter value from in resource templates + type: string + parameter: + description: |- + Parameter reference to a step or dag task in which to retrieve an output parameter value from + (e.g. '{{steps.mystep.outputs.myparam}}') + type: string + path: + description: Path in the container to retrieve + an output parameter value from in container + templates + type: string + supplied: + description: Supplied value to be filled in directly, + either through the CLI, API, etc. + type: object + type: object + required: + - name + type: object + type: array + result: + description: Result holds the result (stdout) of a script + or container template, or the response body of an HTTP + template + type: string + type: object + phase: + description: NodePhase is a label for the condition of a node + at the current time. + type: string + progress: + description: Progress in N/M format. N is number of task complete. + M is number of tasks. + type: string + type: object + type: object type: object - x-kubernetes-map-type: atomic - x-kubernetes-preserve-unknown-fields: true required: - metadata - spec diff --git a/charts/argo-workflows/files/crds/minimal/argoproj.io_workflowtemplates.yaml b/charts/argo-workflows/files/crds/minimal/argoproj.io_workflowtemplates.yaml index 014e8e51f..8b1de3349 100644 --- a/charts/argo-workflows/files/crds/minimal/argoproj.io_workflowtemplates.yaml +++ b/charts/argo-workflows/files/crds/minimal/argoproj.io_workflowtemplates.yaml @@ -18,10 +18,22 @@ spec: - name: v1alpha1 schema: openAPIV3Schema: + description: WorkflowTemplate is the definition of a workflow template resource 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