Skip to content
This repository was archived by the owner on Oct 30, 2024. It is now read-only.

Add CNI attributes#412

Closed
paurosello wants to merge 9 commits intoimprove-generationfrom
pod-cidr-cr
Closed

Add CNI attributes#412
paurosello wants to merge 9 commits intoimprove-generationfrom
pod-cidr-cr

Conversation

@paurosello
Copy link
Contributor

@paurosello paurosello commented Apr 16, 2020

Checklist

  • Consider SIG UX feedback.
  • Update changelog in CHANGELOG.md.

pipo02mix and others added 4 commits April 14, 2020 22:32
* Add Chart CR

* Add changelog
* Generate YAML files

* Add property descriptions

* Update infrastructure.giantswarm.io_g8scontrolplane.yaml

* Fix comment
AWS-specific configuration details.
type: object
properties:
cni:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just as a heads-up. With Cluster API this value gets defined in the provider independent ClusterSpec. Since we aren't able to handle this structure in the aws-operator at the moment we decided to keep it here for now.

See: https://github.com/kubernetes-sigs/cluster-api/blob/master/api/v1alpha3/cluster_types.go#L78

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why we don't use the same structure then?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed the field to match upstream, but not as an array, I think that would cause more confusion...

@teemow teemow changed the base branch from master to improve-generation April 16, 2020 11:45
}
}

func Test_GenerateChartYAML(t *testing.T) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tfussell doesn't that collide with your work on generating CRDs?

@paurosello paurosello requested review from kopiczko and teemow April 16, 2020 12:22
@paurosello paurosello requested review from a team and removed request for anvddriesch and xh3b4sd April 16, 2020 12:25
@paurosello paurosello marked this pull request as ready for review April 16, 2020 12:26
@paurosello
Copy link
Contributor Author

Closing in favor of #413

@paurosello paurosello closed this Apr 16, 2020
## [Unreleased]

## [0.2.3] - 2020-04-08
- Add pod networking parameters
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like those changelogs to be more meaningful. The biggest value for me (as a dev) is to see the migration path from one version to another. What those changes are doing can be figured from the docs.

Suggested change
- Add pod networking parameters
### Added
- Add add `.spec.pods` field to `awsconfigs.infrastructure.giantswarm.io` CR.

@paurosello paurosello deleted the pod-cidr-cr branch April 16, 2020 12:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants