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

Unify configuration format for CCM and Volume Provisioner #282

Merged
merged 5 commits into from Nov 19, 2018

Conversation

owainlewis
Copy link
Member

This change unifies the configuration logic between CCM and Volume Provisioner.

  • Remove duplication of logic between CCM and Volume Provisioner configuration.
  • Ensure that defaults are always set when loading configuration (backwards compatibility)
  • CCM now pulls useInstancePrincipals from top level construct.

@owainlewis
Copy link
Member Author

An example (reference) configuration file https://gist.github.com/owainlewis/1acff8621e5970db4cfdab89ab0f5740

@@ -219,7 +218,7 @@ func (cp *CloudProvider) HasClusterID() bool {
}

func buildConfigurationProvider(logger *zap.Logger, config *providercfg.Config) (common.ConfigurationProvider, error) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Are we able to do away with this as well now?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good spot. Thanks. Fixed.

- Fix minor typo in test framework code
@prydie prydie merged commit 01f65eb into master Nov 19, 2018
ayushverma14 pushed a commit to ayushverma14/oci-cloud-controller-manager that referenced this pull request Jul 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants