Skip to content

Commit

Permalink
Merge branch 'main' of github.com:k8sgpt-ai/k8sgpt-operator
Browse files Browse the repository at this point in the history
  • Loading branch information
thschue committed Apr 27, 2023
2 parents 1ec4e8e + cc8ef82 commit f8bc93b
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 9 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,13 @@ you will be able to see the Results objects of the analysis after some minutes (
<img src="images/1.png" width="600px;" />
## Contributing
Please see our community [contributing guidelines](https://github.com/k8sgpt-ai/community) for more information on how to get involved.
## Helm values
| Parameter | Description | Default |
| --------- | ----------- | ------- |
| `serviceMonitor.enabled` | Enable Prometheus Operator ServiceMonitor | `false` |
| `controllerManager.manager.image.repository` | Image repository | `k8sgpt/k8sgpt-operator` |
| `controllerManager.manager.image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `controllerManager.manager.image.tag` | Image tag | `v0.2.7` |
| `controllerManager.manager.imagePullSecrets` | Image pull secrets | `[]` |
21 changes: 21 additions & 0 deletions chart/templates/controller-manager-metrics-monitor.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: {{ include "chart.fullname" . }}-controller-manager-metrics-monitor
labels:
app.kubernetes.io/component: metrics
app.kubernetes.io/created-by: k8sgpt-operator
app.kubernetes.io/part-of: k8sgpt-operator
control-plane: controller-manager
{{- include "chart.labels" . | nindent 4 }}
spec:
endpoints:
- bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
path: /metrics
port: https
scheme: https
tlsConfig:
insecureSkipVerify: true
selector:
matchLabels:
control-plane: controller-manager
Binary file modified charts/k8sgpt-operator-v0.0.3.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion config/default/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ bases:
# [CERTMANAGER] To enable cert-manager, uncomment all sections with 'CERTMANAGER'. 'WEBHOOK' components are required.
#- ../certmanager
# [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'.
#- ../prometheus
- ../prometheus

patchesStrategicMerge:
# Protect the /metrics endpoint by putting it behind auth.
Expand Down
10 changes: 5 additions & 5 deletions index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@ entries:
k8sgpt-operator:
- apiVersion: v2
appVersion: 0.1.0
created: "2023-04-27T08:20:12.671029+02:00"
created: "2023-04-27T09:16:53.562871+02:00"
description: A Helm chart for Kubernetes
digest: 757ee19557e12b630f25db5bdcab4736e9d4ae80e92d547ef752bf725f65a43f
digest: 48138af5e01194ac73cabb698bd9f5245fcff1955123632be37c8b6f03826e69
name: k8sgpt-operator
type: application
urls:
- https://charts.k8sgpt.ai/charts/k8sgpt-operator-v0.0.3.tgz
version: v0.0.3
- apiVersion: v2
appVersion: 0.2.4
created: "2023-04-27T08:20:12.670806+02:00"
created: "2023-04-27T09:16:53.562637+02:00"
description: A Helm chart for Kubernetes
digest: e0dbf56b6e036a1eaf9f03a0c6a1b4a2a360a339c5b82b24a58fbc7df23a89c6
name: k8sgpt-operator
Expand All @@ -23,12 +23,12 @@ entries:
version: v0.0.2
- apiVersion: v2
appVersion: 0.2.4
created: "2023-04-27T08:20:12.670506+02:00"
created: "2023-04-27T09:16:53.56221+02:00"
description: A Helm chart for Kubernetes
digest: cd4a0ca2651f617ff7c1b81de031d9ae9acc23f291e46dc940a51f6a01857154
name: k8sgpt-operator
type: application
urls:
- https://charts.k8sgpt.ai/charts/k8sgpt-operator-v0.0.1.tgz
version: v0.0.1
generated: "2023-04-27T08:20:12.670096+02:00"
generated: "2023-04-27T09:16:53.560128+02:00"

0 comments on commit f8bc93b

Please sign in to comment.