Support both standard Calico and Calico Tigera #511
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#473 is not the right way to install Calico since the previous deployment method before that change was to deploy the on-premise YAML which installs the daemon sets to
kube-systemnamespace which is still valid with all recent versions: https://docs.projectcalico.org/getting-started/kubernetes/self-managed-onprem/onpremises.The Tigera install is documented as the "quickstart" method: https://docs.projectcalico.org/getting-started/kubernetes/quickstart but is not where close to what used to be previous behavior of this module.
If this solution of changing to using
calico-tigerais not preferred let me know and I can adjust maybe to make the namespace dynamic. But the whole idea of modifying a file line from YAML is 100% not needed for on premise deployments of Calico which is the behavior that existed before #473