[calico] add calico apiserver (#8690)

* [calico] add calico apiserver

* fix yamllint

* remove addext argument

* Configure API server with the CA bundle

* add check kdd
This commit is contained in:
Samuel Liu
2022-04-08 15:02:42 +08:00
committed by GitHub
parent 996ef98b87
commit 424ef3b3f9
15 changed files with 507 additions and 14 deletions

View File

@@ -59,3 +59,15 @@
msg: "Your inventory doesn't match the current cluster configuration"
when:
- calico_pool_conf is defined
- name: "Check kdd calico_datastore if calico_apiserver_enabled"
assert:
that: calico_datastore == "kdd"
when:
- calico_apiserver_enabled
- name: "Check kdd calico_datastore if typha_enabled"
assert:
that: calico_datastore == "kdd"
when:
- typha_enabled