How we inject Kubernetes secret (Docker Registry Credentials) to memsql-cluster.yaml
this is a CRD’s so i don’t know where to put that secret in the manifest.
To solve this, we need to authenticated on docker hub using secrets that must be injected to Statefulsets.
Unfortunately, the cluster definition is CRD, so as i said, i don’t know where to put this secrets.
Please advice team, regarding we use this on production
If necessary you can modify the memsql-operator service account which is defined in the rbac.yaml config.
Another option is to download the container image and use your own self-hosted container repo.
Lastly, we’ve updated the CR image pull policy to use IfNotPresent for the memsql/node containers on our latest memsql/operator build 1.2.5-83e8133a which will reduce the number of pull requests – it’s probably a good idea you change the image pull policy in the operator deployment to IfNotPresent for your environment as well.