generated from kubernetes/kubernetes-template-project
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Creating 'TLSOptions' in favor of 'PullOptions' and 'PushOptions'.
The `build` object, always push to the same registry that the `kernelMapping` will pull from, therefore, there is not need to duplicate the config. In addition that, I have also renamed some of the fields for better self-documented code. Here is how this field is used in the module: * `kernelMapping[].build.baseImageRegistryTLS` is only meant for pulling the base image of the Dockerfile specified in the build. * `kernelMapping[].registryTLS` is meant for specifying the TLS options for pulling the image we want to deploy or for pushing it in case we are building it in-cluster (because they will always be the same). * `moduleLoaderContainerSpec.registryTLS` is just the global value of all kernelMapping[]'s entries. Signed-off-by: Yoni Bettan <yonibettan@gmail.com>
- Loading branch information
Showing
16 changed files
with
224 additions
and
286 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.