Unverified Commit 9123e44b authored by Lucheng Bao's avatar Lucheng Bao Committed by GitHub
Browse files

Fix typos and bugs in updateStrategy overlay (#4230)

Signed-off-by: default avatarLucheng Bao <luchengb@vmware.com>
parent 0827201c
Showing with 70 additions and 70 deletions
+70 -70
......@@ -13,10 +13,10 @@ deployment:
#@schema/nullable
updateStrategy: ""
rollingUpdate:
#@schema/desc "The maxUnavailable of rollingUpdate. Applied only if rollingUpdate is used as updateStrategy"
#@schema/desc "The maxUnavailable of rollingUpdate. Applied only if RollingUpdate is used as updateStrategy"
#@schema/nullable
maxUnavailable: 1
#@schema/desc "The maxSurge of rollingUpdate. Applied only if rollingUpdate is used as updateStrategy"
#@schema/desc "The maxSurge of rollingUpdate. Applied only if RollingUpdate is used as updateStrategy"
#@schema/nullable
maxSurge: 0
daemonset:
......
......@@ -13,7 +13,7 @@ spec:
syncPeriod: 5m
fetch:
- imgpkgBundle:
image: projects.registry.vmware.com/tce/antrea@sha256:6330f3edca394fb0eff6eca4c5f4d3b246313e0a2c675889ffd694cd539a91bc
image: projects.registry.vmware.com/tce/antrea@sha256:ce72e3ce09f83cc4afee2f6b3d1b83309c1e381915f4a2f966cde1225a495703
template:
- ytt:
paths:
......@@ -34,44 +34,44 @@ spec:
properties:
infraProvider:
type: string
default: vsphere
description: The cloud provider in use. One of the following options => aws, azure, vsphere, docker
default: vsphere
nodeSelector:
nullable: true
default: null
description: NodeSelector configuration applied to all the deployments
default: null
deployment:
type: object
additionalProperties: false
properties:
updateStrategy:
type: string
default: null
nullable: true
description: Update strategy of deployments
default: null
rollingUpdate:
type: object
additionalProperties: false
properties:
maxUnavailable:
type: integer
default: null
nullable: true
description: The maxUnavailable of rollingUpdate. Applied only if rollingUpdate is used as updateStrategy
description: The maxUnavailable of rollingUpdate. Applied only if RollingUpdate is used as updateStrategy
default: null
maxSurge:
type: integer
default: null
nullable: true
description: The maxSurge of rollingUpdate. Applied only if rollingUpdate is used as updateStrategy
description: The maxSurge of rollingUpdate. Applied only if RollingUpdate is used as updateStrategy
default: null
daemonset:
type: object
additionalProperties: false
properties:
updateStrategy:
type: string
default: null
nullable: true
description: Update strategy of daemonsets
default: null
antrea:
type: object
additionalProperties: false
......@@ -83,34 +83,34 @@ spec:
properties:
serviceCIDR:
type: string
default: 10.96.0.0/12
description: ClusterIP CIDR range for IPv4 Services
default: 10.96.0.0/12
serviceCIDRv6:
type: string
default: null
nullable: true
description: ClusterIP CIDR range for IPv6 Services
default: null
trafficEncapMode:
type: string
default: encap
description: The traffic encapsulation mode. One of the following options => encap, noEncap, hybrid, networkPolicyOnly
default: encap
noSNAT:
type: boolean
default: false
description: Flag to enable/disable SNAT for the egress traffic from a Pod to the external network
default: false
disableUdpTunnelOffload:
type: boolean
default: false
description: Disable UDP tunnel offload feature on default NIC
default: false
defaultMTU:
type: string
default: null
nullable: true
description: Default MTU to use for the host gateway interface and the network interface of each Pod
default: null
tlsCipherSuites:
type: string
default: TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_AES_256_GCM_SHA384
description: List of allowed cipher suites. If omitted, the default Go Cipher Suites will be used
default: TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_AES_256_GCM_SHA384
featureGates:
type: object
additionalProperties: false
......@@ -118,33 +118,33 @@ spec:
properties:
AntreaProxy:
type: boolean
default: false
description: Flag to enable/disable antrea proxy
default: false
EndpointSlice:
type: boolean
default: false
description: Flag to enable/disable EndpointSlice support in AntreaProxy. If AntreaProxy is not enabled, this flag will not take effect
default: false
AntreaPolicy:
type: boolean
default: true
description: Flag to enable/disable antrea policy
default: true
FlowExporter:
type: boolean
default: false
description: Flag to enable/disable flow exporter
default: false
Egress:
type: boolean
default: false
description: Flag to enable/disable SNAT IPs of Pod egress traffic
default: false
NodePortLocal:
type: boolean
default: false
description: Flag to enable/disable NodePortLocal feature to make the pods reachable externally through NodePort
default: false
AntreaTraceflow:
type: boolean
default: false
description: Flag to enable/disable antrea traceflow
default: false
NetworkPolicyStats:
type: boolean
default: false
description: Flag to enable/disable network policy stats
default: false
......@@ -10,7 +10,7 @@
#! This overlay makes configuring the above parameters possible
#! Reference: https://github.com/vmware-tanzu/tanzu-framework/issues/1850
#@overlay/match missing_ok=True,by=overlay.subset({"kind":"Deployment"})
#@overlay/match expects="0+",by=overlay.subset({"kind":"Deployment"})
---
kind: Deployment
spec:
......@@ -39,7 +39,7 @@ spec:
#@ end
#@ end
#@overlay/match missing_ok=True,by=overlay.subset({"kind":"DaemonSet"})
#@overlay/match expects="0+",by=overlay.subset({"kind":"DaemonSet"})
---
kind: DaemonSet
spec:
......
......@@ -17,10 +17,10 @@ deployment:
#@schema/nullable
updateStrategy: ""
rollingUpdate:
#@schema/desc "The maxUnavailable of rollingUpdate. Applied only if rollingUpdate is used as updateStrategy"
#@schema/desc "The maxUnavailable of rollingUpdate. Applied only if RollingUpdate is used as updateStrategy"
#@schema/nullable
maxUnavailable: 1
#@schema/desc "The maxSurge of rollingUpdate. Applied only if rollingUpdate is used as updateStrategy"
#@schema/desc "The maxSurge of rollingUpdate. Applied only if RollingUpdate is used as updateStrategy"
#@schema/nullable
maxSurge: 0
daemonset:
......
......@@ -39,12 +39,12 @@ spec:
maxUnavailable:
type: integer
nullable: true
description: The maxUnavailable of rollingUpdate. Applied only if rollingUpdate is used as updateStrategy
description: The maxUnavailable of rollingUpdate. Applied only if RollingUpdate is used as updateStrategy
default: null
maxSurge:
type: integer
nullable: true
description: The maxSurge of rollingUpdate. Applied only if rollingUpdate is used as updateStrategy
description: The maxSurge of rollingUpdate. Applied only if RollingUpdate is used as updateStrategy
default: null
daemonset:
type: object
......@@ -164,7 +164,7 @@ spec:
syncPeriod: 5m
fetch:
- imgpkgBundle:
image: projects.registry.vmware.com/tce/calico@sha256:397278a428d4434515cb85197889976b96423c0daddacad2ace813ec1abb57c0
image: projects.registry.vmware.com/tce/calico@sha256:a523083d6eaf0ddbe02be35506ee16cb3f4b3471a8acfa9ababc39a1ddb5c234
template:
- ytt:
paths:
......
......@@ -10,7 +10,7 @@
#! This overlay makes configuring the above parameters possible
#! Reference: https://github.com/vmware-tanzu/tanzu-framework/issues/1850
#@overlay/match missing_ok=True,by=overlay.subset({"kind":"Deployment"})
#@overlay/match expects="0+",by=overlay.subset({"kind":"Deployment"})
---
kind: Deployment
spec:
......@@ -19,7 +19,7 @@ spec:
strategy:
type: #@ data.values.deployment.updateStrategy
#@overlay/match missing_ok=True
#@ if data.values.deployment.updateStrategy == "rollingUpdate":
#@ if data.values.deployment.updateStrategy == "RollingUpdate":
rollingUpdate:
#@ if/end data.values.deployment.rollingUpdate.maxUnavailable != None:
maxUnavailable: #@ data.values.deployment.rollingUpdate.maxUnavailable
......@@ -39,7 +39,7 @@ spec:
#@ end
#@ end
#@overlay/match missing_ok=True,by=overlay.subset({"kind":"DaemonSet"})
#@overlay/match expects="0+",by=overlay.subset({"kind":"DaemonSet"})
---
kind: DaemonSet
spec:
......
......@@ -12,7 +12,7 @@ spec:
spec:
fetch:
- imgpkgBundle:
image: projects.registry.vmware.com/tce/kapp-controller@sha256:3d6f1b0fc987714913a6d3f2673f43b9c35c4ce87d7845d0213324cbac5a4dac
image: projects.registry.vmware.com/tce/kapp-controller@sha256:6649d06214b2527d47c9b1d146799841656988c682ae7ec46ec4d0edb37c56fa
template:
- ytt:
paths:
......
......@@ -10,7 +10,7 @@
#! This overlay makes configuring the above parameters possible
#! Reference: https://github.com/vmware-tanzu/tanzu-framework/issues/1850
#@overlay/match missing_ok=True,by=overlay.subset({"kind":"Deployment"})
#@overlay/match expects="0+",by=overlay.subset({"kind":"Deployment"})
---
kind: Deployment
spec:
......@@ -19,7 +19,7 @@ spec:
strategy:
type: #@ data.values.deployment.updateStrategy
#@overlay/match missing_ok=True
#@ if data.values.deployment.updateStrategy == "rollingUpdate":
#@ if data.values.deployment.updateStrategy == "RollingUpdate":
rollingUpdate:
#@ if/end data.values.deployment.rollingUpdate.maxUnavailable != None:
maxUnavailable: #@ data.values.deployment.rollingUpdate.maxUnavailable
......@@ -39,7 +39,7 @@ spec:
#@ end
#@ end
#@overlay/match missing_ok=True,by=overlay.subset({"kind":"DaemonSet"})
#@overlay/match expects="0+",by=overlay.subset({"kind":"DaemonSet"})
---
kind: DaemonSet
spec:
......
......@@ -13,10 +13,10 @@ deployment:
#@schema/nullable
updateStrategy: ""
rollingUpdate:
#@schema/desc "The maxUnavailable of rollingUpdate. Applied only if rollingUpdate is used as updateStrategy"
#@schema/desc "The maxUnavailable of rollingUpdate. Applied only if RollingUpdate is used as updateStrategy"
#@schema/nullable
maxUnavailable: 1
#@schema/desc "The maxSurge of rollingUpdate. Applied only if rollingUpdate is used as updateStrategy"
#@schema/desc "The maxSurge of rollingUpdate. Applied only if RollingUpdate is used as updateStrategy"
#@schema/nullable
maxSurge: 0
daemonset:
......
......@@ -33,12 +33,12 @@ spec:
maxUnavailable:
type: integer
nullable: true
description: The maxUnavailable of rollingUpdate. Applied only if rollingUpdate is used as updateStrategy
description: The maxUnavailable of rollingUpdate. Applied only if RollingUpdate is used as updateStrategy
default: null
maxSurge:
type: integer
nullable: true
description: The maxSurge of rollingUpdate. Applied only if rollingUpdate is used as updateStrategy
description: The maxSurge of rollingUpdate. Applied only if RollingUpdate is used as updateStrategy
default: null
daemonset:
type: object
......@@ -113,7 +113,7 @@ spec:
spec:
fetch:
- imgpkgBundle:
image: projects.registry.vmware.com/tce/metrics-server@sha256:20638483ef09afaec9d5f034d5ff3083439ff90d6a8b02e5d9dae2f43ecefc02
image: projects.registry.vmware.com/tce/metrics-server@sha256:12b6aac40e2893d345fd82c22b11afd7149ac68efbc1dcd907a8f0c66cea768a
template:
- ytt:
paths:
......
......@@ -10,7 +10,7 @@
#! This overlay makes configuring the above parameters possible
#! Reference: https://github.com/vmware-tanzu/tanzu-framework/issues/1850
#@overlay/match missing_ok=True,by=overlay.subset({"kind":"Deployment"})
#@overlay/match expects="0+",by=overlay.subset({"kind":"Deployment"})
---
kind: Deployment
spec:
......@@ -19,7 +19,7 @@ spec:
strategy:
type: #@ data.values.deployment.updateStrategy
#@overlay/match missing_ok=True
#@ if data.values.deployment.updateStrategy == "rollingUpdate":
#@ if data.values.deployment.updateStrategy == "RollingUpdate":
rollingUpdate:
#@ if/end data.values.deployment.rollingUpdate.maxUnavailable != None:
maxUnavailable: #@ data.values.deployment.rollingUpdate.maxUnavailable
......@@ -39,7 +39,7 @@ spec:
#@ end
#@ end
#@overlay/match missing_ok=True,by=overlay.subset({"kind":"DaemonSet"})
#@overlay/match expects="0+",by=overlay.subset({"kind":"DaemonSet"})
---
kind: DaemonSet
spec:
......
......@@ -12,7 +12,7 @@ spec:
spec:
fetch:
- imgpkgBundle:
image: projects.registry.vmware.com/tce/pinniped@sha256:9a90c6e8f9f8d53897f53fa63dc3cc8de71c99b3081e5a7ad72a1413c638878d
image: projects.registry.vmware.com/tce/pinniped@sha256:211bbc5be32137ca0ec71202855894387ee3b78bacad9f04e27e579d3a6e43ed
template:
- ytt:
paths:
......
......@@ -10,7 +10,7 @@
#! This overlay makes configuring the above parameters possible
#! Reference: https://github.com/vmware-tanzu/tanzu-framework/issues/1850
#@overlay/match missing_ok=True,by=overlay.subset({"kind":"Deployment"})
#@overlay/match expects="0+",by=overlay.subset({"kind":"Deployment"})
---
kind: Deployment
spec:
......@@ -19,7 +19,7 @@ spec:
strategy:
type: #@ data.values.deployment.updateStrategy
#@overlay/match missing_ok=True
#@ if data.values.deployment.updateStrategy == "rollingUpdate":
#@ if data.values.deployment.updateStrategy == "RollingUpdate":
rollingUpdate:
#@ if/end data.values.deployment.rollingUpdate.maxUnavailable != None:
maxUnavailable: #@ data.values.deployment.rollingUpdate.maxUnavailable
......@@ -39,7 +39,7 @@ spec:
#@ end
#@ end
#@overlay/match missing_ok=True,by=overlay.subset({"kind":"DaemonSet"})
#@overlay/match expects="0+",by=overlay.subset({"kind":"DaemonSet"})
---
kind: DaemonSet
spec:
......
......@@ -11,10 +11,10 @@ deployment:
#@schema/nullable
updateStrategy: ""
rollingUpdate:
#@schema/desc "The maxUnavailable of rollingUpdate. Applied only if rollingUpdate is used as updateStrategy"
#@schema/desc "The maxUnavailable of rollingUpdate. Applied only if RollingUpdate is used as updateStrategy"
#@schema/nullable
maxUnavailable: 1
#@schema/desc "The maxSurge of rollingUpdate. Applied only if rollingUpdate is used as updateStrategy"
#@schema/desc "The maxSurge of rollingUpdate. Applied only if RollingUpdate is used as updateStrategy"
#@schema/nullable
maxSurge: 0
daemonset:
......
......@@ -12,7 +12,7 @@ spec:
spec:
fetch:
- imgpkgBundle:
image: projects.registry.vmware.com/tce/secretgen-controller@sha256:ef25443ee64e80e94132148d8e62eec5ba810b295638df2e9883933ad77525d9
image: projects.registry.vmware.com/tce/secretgen-controller@sha256:98006b60d67680663f8bdb3d717ca2bdbaba0cdb54e56afc2a3a2f5874fdab30
template:
- ytt:
paths:
......@@ -49,12 +49,12 @@ spec:
maxUnavailable:
type: integer
nullable: true
description: The maxUnavailable of rollingUpdate. Applied only if rollingUpdate is used as updateStrategy
description: The maxUnavailable of rollingUpdate. Applied only if RollingUpdate is used as updateStrategy
default: null
maxSurge:
type: integer
nullable: true
description: The maxSurge of rollingUpdate. Applied only if rollingUpdate is used as updateStrategy
description: The maxSurge of rollingUpdate. Applied only if RollingUpdate is used as updateStrategy
default: null
daemonset:
type: object
......
......@@ -10,7 +10,7 @@
#! This overlay makes configuring the above parameters possible
#! Reference: https://github.com/vmware-tanzu/tanzu-framework/issues/1850
#@overlay/match missing_ok=True,by=overlay.subset({"kind":"Deployment"})
#@overlay/match expects="0+",by=overlay.subset({"kind":"Deployment"})
---
kind: Deployment
spec:
......@@ -19,7 +19,7 @@ spec:
strategy:
type: #@ data.values.deployment.updateStrategy
#@overlay/match missing_ok=True
#@ if data.values.deployment.updateStrategy == "rollingUpdate":
#@ if data.values.deployment.updateStrategy == "RollingUpdate":
rollingUpdate:
#@ if/end data.values.deployment.rollingUpdate.maxUnavailable != None:
maxUnavailable: #@ data.values.deployment.rollingUpdate.maxUnavailable
......@@ -39,7 +39,7 @@ spec:
#@ end
#@ end
#@overlay/match missing_ok=True,by=overlay.subset({"kind":"DaemonSet"})
#@overlay/match expects="0+",by=overlay.subset({"kind":"DaemonSet"})
---
kind: DaemonSet
spec:
......
......@@ -11,10 +11,10 @@ deployment:
#@schema/nullable
updateStrategy: ""
rollingUpdate:
#@schema/desc "The maxUnavailable of rollingUpdate. Applied only if rollingUpdate is used as updateStrategy"
#@schema/desc "The maxUnavailable of rollingUpdate. Applied only if RollingUpdate is used as updateStrategy"
#@schema/nullable
maxUnavailable: 1
#@schema/desc "The maxSurge of rollingUpdate. Applied only if rollingUpdate is used as updateStrategy"
#@schema/desc "The maxSurge of rollingUpdate. Applied only if RollingUpdate is used as updateStrategy"
#@schema/nullable
maxSurge: 0
daemonset:
......
......@@ -12,7 +12,7 @@ spec:
spec:
fetch:
- imgpkgBundle:
image: projects.registry.vmware.com/tce/vsphere-cpi@sha256:a864df70d1f88aff1c7aa6c6fc24dde9e37bfc9704a33028eb4ac4bcfdd686b2
image: projects.registry.vmware.com/tce/vsphere-cpi@sha256:310b88cc84b7de4ed743cd3fa58e42076058a25e4ba19cc263e3319ba00cf69e
template:
- ytt:
paths:
......@@ -49,12 +49,12 @@ spec:
maxUnavailable:
type: integer
nullable: true
description: The maxUnavailable of rollingUpdate. Applied only if rollingUpdate is used as updateStrategy
description: The maxUnavailable of rollingUpdate. Applied only if RollingUpdate is used as updateStrategy
default: null
maxSurge:
type: integer
nullable: true
description: The maxSurge of rollingUpdate. Applied only if rollingUpdate is used as updateStrategy
description: The maxSurge of rollingUpdate. Applied only if RollingUpdate is used as updateStrategy
default: null
daemonset:
type: object
......
......@@ -10,7 +10,7 @@
#! This overlay makes configuring the above parameters possible
#! Reference: https://github.com/vmware-tanzu/tanzu-framework/issues/1850
#@overlay/match missing_ok=True,by=overlay.subset({"kind":"Deployment"})
#@overlay/match expects="0+",by=overlay.subset({"kind":"Deployment"})
---
kind: Deployment
spec:
......@@ -19,7 +19,7 @@ spec:
strategy:
type: #@ data.values.deployment.updateStrategy
#@overlay/match missing_ok=True
#@ if data.values.deployment.updateStrategy == "rollingUpdate":
#@ if data.values.deployment.updateStrategy == "RollingUpdate":
rollingUpdate:
#@ if/end data.values.deployment.rollingUpdate.maxUnavailable != None:
maxUnavailable: #@ data.values.deployment.rollingUpdate.maxUnavailable
......@@ -39,7 +39,7 @@ spec:
#@ end
#@ end
#@overlay/match missing_ok=True,by=overlay.subset({"kind":"DaemonSet"})
#@overlay/match expects="0+",by=overlay.subset({"kind":"DaemonSet"})
---
kind: DaemonSet
spec:
......
......@@ -11,10 +11,10 @@ deployment:
#@schema/nullable
updateStrategy: ""
rollingUpdate:
#@schema/desc "The maxUnavailable of rollingUpdate. Applied only if rollingUpdate is used as updateStrategy"
#@schema/desc "The maxUnavailable of rollingUpdate. Applied only if RollingUpdate is used as updateStrategy"
#@schema/nullable
maxUnavailable: 1
#@schema/desc "The maxSurge of rollingUpdate. Applied only if rollingUpdate is used as updateStrategy"
#@schema/desc "The maxSurge of rollingUpdate. Applied only if RollingUpdate is used as updateStrategy"
#@schema/nullable
maxSurge: 0
daemonset:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment