Skip to content

Commit

Permalink
Use right type for CIDR ranges inside controlPlane.allowList
Browse files Browse the repository at this point in the history
  • Loading branch information
fiunchinho committed Jul 18, 2023
1 parent 7c91393 commit 1763b00
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 3 additions & 1 deletion helm/cluster-aws/templates/_aws_cluster.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ spec:
cidrBlocks:
- 95.179.153.65/32
- 185.102.95.187/32
{{- toYaml .Values.controlPlane.allowList | nindent 8 }}
{{- if .Values.controlPlane.allowList }}
{{- toYaml .Values.controlPlane.allowList | nindent 6 }}
{{- end }}
network:
cni:
cniIngressRules:
Expand Down
7 changes: 2 additions & 5 deletions helm/cluster-aws/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -483,11 +483,8 @@
"title": "Load Balancer Allow list",
"description": "IPs that are allowed to connect to the control plane load balancer.",
"items": {
"type": "object",
"title": "Subnet tag",
"additionalProperties": {
"$ref": "#/$defs/awsResourceTagValue"
}
"type": "string",
"title": "CIDR"
}
},
"apiMode": {
Expand Down

0 comments on commit 1763b00

Please sign in to comment.