-
Notifications
You must be signed in to change notification settings - Fork 93
[helm] Add support for external monitoring option #1330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
b81d2ab to
ddea450
Compare
| "type": "string" | ||
| }, | ||
| "allowedIPs": { | ||
| "description": "List of IP allowed to connect to the service, for AWS only", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "description": "List of IP allowed to connect to the service, for AWS only", | |
| "description": "List of IP ranges allowed to connect to the service, for AWS only", |
| kind: Ingress | ||
| metadata: | ||
| annotations: | ||
| {{- include (printf "%s-ingress-dss-gateway-annotations" $cloudProvider) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| {{- include (printf "%s-ingress-dss-gateway-annotations" $cloudProvider) | |
| {{- include (printf "%s-ingress-prometheus-annotations" $cloudProvider) |
| selector: | ||
| app.kubernetes.io/instance: "{{$.Release.Name}}" | ||
| app.kubernetes.io/name: "prometheus" | ||
| type: NodePort |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why using a Nodeport here instead of a LoadBalancer ?
| apiVersion: cloud.google.com/v1 | ||
| kind: BackendConfig | ||
| metadata: | ||
| name: promtheus-external |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| name: promtheus-external | |
| name: prometheus-external |
| app: {{$.Release.Name}}-prometheus | ||
| name: {{$.Release.Name}}-prometheus-external | ||
| annotations: | ||
| cloud.google.com/backend-config: '{"default": "promtheus-external"}' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| cloud.google.com/backend-config: '{"default": "promtheus-external"}' | |
| cloud.google.com/backend-config: '{"default": "prometheus-external"}' |
|
|
||
| monitoring: | ||
| enabled: false | ||
| externalService: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we want any example values in this file since it is default values taken into account by the chart.
Please move them to values.example.yaml.
Add support for the external monitoring option on helm chart as well.
Implementation is better than the tanka one, as it's support https, a following up PR will bring it up to date.