Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

Commit

Permalink
Fix adc name and cluster selector
Browse files Browse the repository at this point in the history
  • Loading branch information
chenlin07 committed Apr 7, 2023
1 parent 00ac65d commit dbb19e9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ spec:
#@overlay/match missing_ok=True
clusterSelector:
matchLabels: #@ json.decode(values.akoOperator.config.avi_labels)
#@ end
#@ if values.akoOperator.config.avi_controller_version != "":
#@overlay/match missing_ok=True
controllerVersion: #@ values.akoOperator.config.avi_controller_version
#@ end
cloudName: #@ values.akoOperator.config.avi_cloud_name
serviceEngineGroup: #@ values.akoOperator.config.avi_service_engine_group
Expand All @@ -35,10 +31,6 @@ spec:
name: #@ values.akoOperator.config.avi_control_plane_network
cidr: #@ values.akoOperator.config.avi_control_plane_network_cidr
extraConfigs:
#@ if values.akoOperator.config.avi_cni_plugin:
#@overlay/match missing_ok=True
cniPlugin: #@ values.akoOperator.config.avi_cni_plugin
#@ end
disableStaticRouteSync: #@ values.akoOperator.config.avi_disable_static_route_sync
ingress:
disableIngressClass: #@ values.akoOperator.config.avi_disable_ingress_class
Expand Down Expand Up @@ -72,10 +64,6 @@ spec:
clusterSelector:
matchLabels:
cluster-role.tkg.tanzu.vmware.com/management: ""
#@ if values.akoOperator.config.avi_controller_version != "":
#@overlay/match missing_ok=True
controllerVersion: #@ values.akoOperator.config.avi_controller_version
#@ end
dataNetwork:
name: #@ values.akoOperator.config.avi_management_cluster_vip_network_name
cidr: #@ values.akoOperator.config.avi_management_cluster_vip_network_cidr
Expand All @@ -92,10 +80,6 @@ spec:
name: #@ values.akoOperator.config.avi_ca_name
namespace: #@ values.akoOperator.namespace
extraConfigs:
#@ if values.akoOperator.config.avi_cni_plugin:
#@overlay/match missing_ok=True
cniPlugin: #@ values.akoOperator.config.avi_cni_plugin
#@ end
disableStaticRouteSync: #@ values.akoOperator.config.avi_disable_static_route_sync
ingress:
disableIngressClass: #@ values.akoOperator.config.avi_disable_ingress_class
Expand Down Expand Up @@ -124,16 +108,12 @@ spec:
apiVersion: networking.tkg.tanzu.vmware.com/v1alpha1
kind: AKODeploymentConfig
metadata:
name: install-ako-for-all-npl
name: install-ako-for-node-port-local
spec:
#@overlay/match missing_ok=True
clusterSelector:
matchLabels:
nodeportlocal: "true"
#@ if values.akoOperator.config.avi_controller_version != "":
#@overlay/match missing_ok=True
controllerVersion: #@ values.akoOperator.config.avi_controller_version
#@ end
networking.tkg.tanzu.vmware.com/nodeportlocal: ""
cloudName: #@ values.akoOperator.config.avi_cloud_name
serviceEngineGroup: #@ values.akoOperator.config.avi_service_engine_group
controller: #@ values.akoOperator.config.avi_controller
Expand All @@ -150,10 +130,6 @@ spec:
name: #@ values.akoOperator.config.avi_control_plane_network
cidr: #@ values.akoOperator.config.avi_control_plane_network_cidr
extraConfigs:
#@ if values.akoOperator.config.avi_cni_plugin:
#@overlay/match missing_ok=True
cniPlugin: #@ values.akoOperator.config.avi_cni_plugin
#@ end
disableStaticRouteSync: #@ values.akoOperator.config.avi_disable_static_route_sync
ingress:
disableIngressClass: #@ values.akoOperator.config.avi_disable_ingress_class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ spec:
name: ""
cidr: ""
extraConfigs:
cniPlugin: antrea
disableStaticRouteSync: false
ingress:
disableIngressClass: true
Expand Down Expand Up @@ -50,6 +51,7 @@ spec:
name: ""
cidr: ""
extraConfigs:
cniPlugin: antrea
disableStaticRouteSync: false
ingress:
disableIngressClass: true
Expand All @@ -59,7 +61,7 @@ spec:
apiVersion: networking.tkg.tanzu.vmware.com/v1alpha1
kind: AKODeploymentConfig
metadata:
name: install-ako-for-all-npl
name: install-ako-for-node-port-local
spec:
cloudName: ""
serviceEngineGroup: ""
Expand All @@ -77,6 +79,7 @@ spec:
name: ""
cidr: ""
extraConfigs:
cniPlugin: antrea
disableStaticRouteSync: false
ingress:
disableIngressClass: true
Expand Down

0 comments on commit dbb19e9

Please sign in to comment.