Role for ansible. Create kubernetes secret for pull image from docker registry
- namespace - Namespace for creation secret
- secret_name - Name of secret entity (Default: registry-credentials)
- registry_name - Registry hostname (Example: registry.gitlab.com)
- username - Registry auth username
- password - Registry auth password
- email - Email for registry
- hosts: deploy
roles:
- { role: zyuskin.k8s_registry_credentials, namespace: payment-gate, username: username, password: password, registry_name: registry.gitlab.com, email: test@test.ru}
MIT