Merge "Add default value for property in x-kubernetes-list-map-keys"
This commit is contained in:
commit
4665fdad03
@ -15,6 +15,6 @@ apiVersion: v1
|
|||||||
appVersion: v1.0.0
|
appVersion: v1.0.0
|
||||||
description: A Helm chart for DaemonjobController
|
description: A Helm chart for DaemonjobController
|
||||||
name: daemonjob-controller
|
name: daemonjob-controller
|
||||||
version: 0.1.1
|
version: 0.1.2
|
||||||
home: https://opendev.org/openstack
|
home: https://opendev.org/openstack
|
||||||
...
|
...
|
||||||
|
@ -17,7 +17,6 @@ limitations under the License.
|
|||||||
{{ $groupVersion := .Values.crds.group_version }}
|
{{ $groupVersion := .Values.crds.group_version }}
|
||||||
{{ $groupVersionFormat := printf "%s/%s" $groupName $groupVersion }}
|
{{ $groupVersionFormat := printf "%s/%s" $groupName $groupVersion }}
|
||||||
{{ $crdName := printf "%s.%s" "daemonjobs" $groupName }}
|
{{ $crdName := printf "%s.%s" "daemonjobs" $groupName }}
|
||||||
{{- if not (.Capabilities.APIVersions.Has $groupVersionFormat) }}
|
|
||||||
apiVersion: apiextensions.k8s.io/v1
|
apiVersion: apiextensions.k8s.io/v1
|
||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
@ -1204,6 +1203,7 @@ spec:
|
|||||||
description: Protocol for port. Must be UDP, TCP,
|
description: Protocol for port. Must be UDP, TCP,
|
||||||
or SCTP. Defaults to "TCP".
|
or SCTP. Defaults to "TCP".
|
||||||
type: string
|
type: string
|
||||||
|
default: "TCP"
|
||||||
required:
|
required:
|
||||||
- containerPort
|
- containerPort
|
||||||
type: object
|
type: object
|
||||||
@ -4122,4 +4122,3 @@ status:
|
|||||||
conditions: []
|
conditions: []
|
||||||
storedVersions: []
|
storedVersions: []
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user