Skip to content

Commit 25d9bff

Browse files
authored
chore: set etcd tls verify to false by default (#87)
Signed-off-by: Nic <[email protected]>
1 parent 4c7b86a commit 25d9bff

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

charts/gateway/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,16 +127,16 @@ The command removes all the Kubernetes components associated with the chart and
127127
| dns.resolvers[5] | string | `"8.8.8.8"` | |
128128
| dns.timeout | int | `5` | |
129129
| dns.validity | int | `30` | |
130-
| etcd | object | `{"auth":{"rbac":{"create":false,"rootPassword":""},"tls":{"certFilename":"","certKeyFilename":"","enabled":false,"existingSecret":"","sni":"","verify":true}},"enabled":false,"host":["http://etcd.host:2379"],"password":"","prefix":"/apisix","replicaCount":3,"service":{"port":2379},"timeout":30,"user":""}` | etcd configuration use the FQDN address or the IP of the etcd |
131-
| etcd.auth | object | `{"rbac":{"create":false,"rootPassword":""},"tls":{"certFilename":"","certKeyFilename":"","enabled":false,"existingSecret":"","sni":"","verify":true}}` | if etcd.enabled is true, set more values of bitnami/etcd helm chart |
130+
| etcd | object | `{"auth":{"rbac":{"create":false,"rootPassword":""},"tls":{"certFilename":"","certKeyFilename":"","enabled":false,"existingSecret":"","sni":"","verify":false}},"enabled":false,"host":["http://etcd.host:2379"],"password":"","prefix":"/apisix","replicaCount":3,"service":{"port":2379},"timeout":30,"user":""}` | etcd configuration use the FQDN address or the IP of the etcd |
131+
| etcd.auth | object | `{"rbac":{"create":false,"rootPassword":""},"tls":{"certFilename":"","certKeyFilename":"","enabled":false,"existingSecret":"","sni":"","verify":false}}` | if etcd.enabled is true, set more values of bitnami/etcd helm chart |
132132
| etcd.auth.rbac.create | bool | `false` | No authentication by default. Switch to enable RBAC authentication |
133133
| etcd.auth.rbac.rootPassword | string | `""` | root password for etcd. Requires etcd.auth.rbac.create to be true. |
134134
| etcd.auth.tls.certFilename | string | `""` | etcd client cert filename using in etcd.auth.tls.existingSecret |
135135
| etcd.auth.tls.certKeyFilename | string | `""` | etcd client cert key filename using in etcd.auth.tls.existingSecret |
136136
| etcd.auth.tls.enabled | bool | `false` | enable etcd client certificate |
137137
| etcd.auth.tls.existingSecret | string | `""` | name of the secret contains etcd client cert |
138138
| etcd.auth.tls.sni | string | `""` | specify the TLS Server Name Indication extension, the ETCD endpoint hostname will be used when this setting is unset. |
139-
| etcd.auth.tls.verify | bool | `true` | whether to verify the etcd endpoint certificate when setup a TLS connection to etcd |
139+
| etcd.auth.tls.verify | bool | `false` | whether to verify the etcd endpoint certificate when setup a TLS connection to etcd |
140140
| etcd.enabled | bool | `false` | install etcd(v3) by default, set false if do not want to install etcd(v3) together |
141141
| etcd.host | list | `["http://etcd.host:2379"]` | if etcd.enabled is false, use external etcd, support multiple address, if your etcd cluster enables TLS, please use https scheme, e.g. https://127.0.0.1:2379. |
142142
| etcd.password | string | `""` | if etcd.enabled is false, password for external etcd. If etcd.enabled is true, use etcd.auth.rbac.rootPassword instead. |

charts/gateway/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ etcd:
541541
# -- etcd client cert key filename using in etcd.auth.tls.existingSecret
542542
certKeyFilename: ""
543543
# -- whether to verify the etcd endpoint certificate when setup a TLS connection to etcd
544-
verify: true
544+
verify: false
545545
# -- specify the TLS Server Name Indication extension, the ETCD endpoint hostname will be used when this setting is unset.
546546
sni: ""
547547

0 commit comments

Comments
 (0)