Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Karbon Base #228

Merged
merged 24 commits into from
Jan 21, 2021
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
a859ba3
alpha version of Karbon implementation
yannickstruyf3 Dec 7, 2020
848fa57
Applied linting recommendations
yannickstruyf3 Oct 6, 2020
dc1cb90
added default values for CNI config
yannickstruyf3 Oct 7, 2020
357d189
added additional validation
yannickstruyf3 Oct 7, 2020
7a801a8
changed cni config to typelist
yannickstruyf3 Oct 7, 2020
e1abe6a
added constants
yannickstruyf3 Oct 7, 2020
72f5282
modified for linting
yannickstruyf3 Oct 7, 2020
08ec1f0
changed typeset to typelist for cni config and modified check existan…
yannickstruyf3 Oct 9, 2020
f1f4c3b
removed unchecked d.get() and reviewed todo comments
yannickstruyf3 Oct 14, 2020
fb9251a
modified code for Karbon 2.1.2
yannickstruyf3 Oct 26, 2020
2415186
added forcenew for CNI config
yannickstruyf3 Nov 13, 2020
11d2215
added scaling capabilities
yannickstruyf3 Dec 2, 2020
ca8f30e
added read for cni_config
yannickstruyf3 Dec 3, 2020
b63b6bb
rebased v1.2.0-beta
yannickstruyf3 Dec 7, 2020
32d24e0
removed print statement
yannickstruyf3 Dec 9, 2020
5565ec1
wip: karbon acc test
marinsalinas Dec 10, 2020
f33fe4e
test: add karbon acceptance test cases
marinsalinas Dec 15, 2020
da26cd8
chore: remove log
marinsalinas Dec 15, 2020
09117ea
refactor: test use for intead if to get the cluster id
marinsalinas Dec 15, 2020
a868194
test: add scaledown karbon cluster test case
marinsalinas Dec 16, 2020
e3c588b
test: add updateCNI test case for karbon resource
marinsalinas Dec 16, 2020
84631bf
chore: fix test
marinsalinas Dec 17, 2020
7a8c58f
docs: added docs for resource and datasource(s) of cluster and privat…
Dec 11, 2020
b33022d
docs: made changes suggested by yannick and gaby
Dec 21, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
added forcenew for CNI config
  • Loading branch information
yannickstruyf3 authored and marinsalinas committed Jan 21, 2021
commit 24151867bb41931ba3001d49a28b0490e6419fb0
4 changes: 4 additions & 0 deletions nutanix/resource_nutanix_karbon_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ func CNISchema() *schema.Schema {
"flannel_config": {
Type: schema.TypeList,
Optional: true,
ForceNew: true,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{},
},
Expand All @@ -279,16 +280,19 @@ func CNISchema() *schema.Schema {
Type: schema.TypeList,
Optional: true,
MaxItems: 1,
ForceNew: true,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"ip_pool_config": {
Type: schema.TypeList,
Optional: true,
ForceNew: true,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"cidr": {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
Default: DEFAULTPODIPV4CIDR,
ValidateFunc: validation.CIDRNetwork(0, 32),
},
Expand Down