Add smon/promrules to infisical secrets-operator
Description 📣
Add prometheus-operator objects for monitoring the operator.
@maidul98 somehow I managed to close https://github.com/Infisical/infisical/pull/1083 by mistake. Added feature flags and defaulted to false in order to keep it backward compatible as some users might not have the crds deployed at the time of deploying this chart.
Type ✨
- [ ] Bug fix
- [x] New feature
- [ ] Breaking change
- [ ] Documentation
Tests 🛠️
Tested on a local k8s cluster where I run the operator and a kps stack and started scraping the manager and added alerts
❯ helm lint ./secrets-operator
==> Linting ./secrets-operator
[INFO] Chart.yaml: icon is recommended
1 chart(s) linted, 0 chart(s) failed
helm template infisical ./secrets-operator
- [x] I have read the contributing guide, agreed and acknowledged the code of conduct. 📝
The changes you have made will get overwritten when we run the command to generate the helm chart. Can you please ensure that these changes do not get overwritten when we run this command https://github.com/Infisical/infisical/blob/main/k8-operator/Makefile#L41
@maidul98 Updated the kustomize manifests to generate correct helm manifests but after running make helm-chart some older stuff that was committed without generating came in the helm chart. Updated the helm chart version.
imho getting helm charts from kustomize is not ideal as the manifests lack flexibility but it's better than nothing I guess.
also interested in this one, @maidul98 are the updates from @Allex1 ok?