Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build/vmcluster: properly mount ServiceAccount for
vmauth
load-bala…
…ncer Initially `ServiceAccount` wasn't defined for `vmauth`'s `Deployment`. Since there was no practial use for it. At older versions of operator it made sense to mount `serviceAccount` for `vminsert` and `vmselect` components because of `PodSecurityPolicy` Kubernetes resources. But it's deprecated now and it makes `serviceAccount` irrelevant for these components. But for production use cases it could be useful. Strict security policy may require to disable auto service account mount. On of possible solutions for it to use `ServiceAccount` with disabled auto-mount option. This commit adds `serviceAccount` of `VMCluster` to the load-balancer `Deployment`. Related issue: #1210 Signed-off-by: f41gh7 <[email protected]>
- Loading branch information