Skip to main content
Version: Next 🚧

Creating a Git configuration

As described in the Git Configuration reference page, Epinio Git Configurations are Kubernetes secrets with a particular label.

Creation is done with the epinio gitconfig create command.

For example:

epinio gitconfig create github-epinio-example-go-configuration \
--git-provider github \
--user-org epinio \
--repository example-go \
--skip-ssl \
--username myuser \
--password abcde12345 \
--cert-file /path/to/some/certfile

The only required arguments are the name of the git configuration, and the repository URL. Everything else is optional, and specified through flags.

If, for example, to skip the SSL configuration for a particular provider use:

epinio gitconfig create mygit-config --skip-ssl