Skip to content

Conversation

@jbornemann
Copy link
Contributor

Notable things this PR accomplishes:

  • gofmt errors that were failing the build initially

  • kubeconfig for flexvolume component is generated from the install pod

  • flexvolume installer doesn't require particular oci-configuration names/paths, or mount paths. Can be invoked much like other provider components (CCM, provisioner)

  • flexvolume uses common provider configuration

  • fields generated by the metadata service provide useful log hints if they can not be retrieved

  • additional common provider configuration unit test coverage

@jbornemann
Copy link
Contributor Author

I'm not able to see what failed in the pipeline. Could I get access?

@owainlewis
Copy link
Member

owainlewis commented Mar 11, 2019

@jbornemann previously there was a blip with Wercker that I have now fixed. The build is now failing due to gofmt errors.

Checking gofmt: FAIL - the following files need to be gofmt'ed:
    pkg/oci/client/load_balancer.go
    pkg/cloudprovider/providers/oci/load_balancer_util.go
    pkg/cloudprovider/providers/oci/load_balancer_spec_test.go
    pkg/cloudprovider/providers/oci/load_balancer_spec.go
    pkg/cloudprovider/providers/oci/load_balancer_util_test.go

@jbornemann jbornemann force-pushed the config_restructure_upstream branch 2 times, most recently from 706b499 to efb54c1 Compare March 11, 2019 18:42
@jbornemann
Copy link
Contributor Author

Is it still complaining about gofmt? My go build didn't detect any formatting errors. I did squash the commits in case it was trying to lint a a particular commit (Its possible one of the commits had those lint errors).

@jbornemann jbornemann force-pushed the config_restructure_upstream branch from 6db3fec to dbccc79 Compare March 18, 2019 20:04
@jbornemann
Copy link
Contributor Author

@prydie I had a different version of go than the one in the CI image, so things were formatted differently by gofmt. All fixed now

@jbornemann jbornemann requested a review from 3dinfluence March 19, 2019 14:06
Fix gofmt errors

config.go restructure, in support of flex driver using common config struct/validation

Additional unit tests for config_test.go

Additional unit tests on config_validate.go

Have flexvolume driver use common config, and delete flexvolume/block/config.go

install.py that generates kubeconfig, rather than requiring it in a secret

boilerplate change

Fix a few typos, and change worker node message to Info, rather than Error.
@jbornemann jbornemann force-pushed the config_restructure_upstream branch from dbccc79 to 929289a Compare March 19, 2019 19:37
@jbornemann jbornemann merged commit f648ea3 into master Mar 19, 2019
@jbornemann jbornemann deleted the config_restructure_upstream branch March 19, 2019 21:07
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.

2 participants