This command helps to manage pull secrets used in the bootstrapping process of Hybrid Manager (HM).
Commands
edbctl image-pull-secret command has the following options available:
- edbctl image-pull-secret create — Create or update the Kubernetes namespaces and ImagePullSecrets.
- edbctl image-pull-secret list — Lists the Kubernetes namespaces and ImagePullSecrets.
edbctl image-pull-secret create
Create or update the necessary Kubernetes namespaces and ImagePullSecrets using the provided credentials to prepare for HM bootstrapping. Use --force if you need to update existing secrets with new credentials.
edbctl image-pull-secret create --username <username> --password <password> --registry <registry> [options]
Where options are:
--username string Registry username (required).
--password string Registry password (required).
--registry string Container registry (required). The URL of the container registry.
--operator-username string EDB Postgres AI Operator registry username (optional).
--operator-password string EDB Postgres AI Operator registry password (optional).
--operator-registry string EDB Postgres AI Operator container registry (optional).
--force Force update of existing secrets.
-I, --interactive Execute command interactively.
-y, --yes Auto-confirm all confirmations.
-h, --help Help for create.These examples show how to create Kubernetes namespaces and ImagePullSecrets:
edbctl image-pull-secret create --username <username> --password <password> --registry <registry> edbctl image-pull-secret create --username <username> --password <password> --registry <registry> --operator-username <operator-username> --operator-password <operator-password> --operator-registry <operator-registry> edbctl image-pull-secret create --username <username> --password <password> --registry <registry> --operator-username <operator-username> --operator-password <operator-password> --operator-registry <operator-registry> --force
edbctl image-pull-secret list
Retrieves and lists the Kubernetes namespaces and AssetPullSecrets used in HM bootstrapping.
edbctl image-pull-secret list [options]
Where options are:
-h, --help help for list command