diff --git a/charts/atuin/Chart.yaml b/charts/atuin/Chart.yaml index 60f7b76..aa5894b 100644 --- a/charts/atuin/Chart.yaml +++ b/charts/atuin/Chart.yaml @@ -3,7 +3,7 @@ name: atuin description: A Helm chart for Atuin, the shell sync tool maintainers: - name: Ellie Huxtable - email: ellie@elliehuxtable.com + email: ellie@atuin.sh url: https://ellie.wtf # A chart can be either an 'application' or a 'library' chart. @@ -19,10 +19,10 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.2.1 +version: 0.3.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "17.1.0" +appVersion: "17.2.0" diff --git a/charts/atuin/templates/deployment.yaml b/charts/atuin/templates/deployment.yaml index 7e806d5..c0a1dbf 100644 --- a/charts/atuin/templates/deployment.yaml +++ b/charts/atuin/templates/deployment.yaml @@ -59,6 +59,12 @@ spec: secretKeyRef: name: {{ .Values.postgresql.uri.secretName }} key: {{ .Values.postgresql.uri.secretKey }} + - name: ATUIN_TLS__ENABLE + value: "false" + - name: ATUIN_TLS__CERT_PATH + value: "" + - name: ATUIN_TLS__PKEY_PATH + value: "" {{- if .Values.atuin.hooks.enabled }} - name: ATUIN_REGISTER_WEBHOOK_URL @@ -69,11 +75,11 @@ spec: {{- if .Values.atuin.metrics.enabled }} - name: ATUIN_METRICS__ENABLE - value: true + value: "true" - name: ATUIN_METRICS__HOST value: {{ .Values.atuin.metrics.host }} - name: ATUIN_METRICS__PORT - value: {{ .Values.atuin.metrics.port}} + value: "{{ .Values.atuin.metrics.port}}" {{- end }} ports: - name: http diff --git a/charts/atuin/templates/servicemonitor.yaml b/charts/atuin/templates/servicemonitor.yaml new file mode 100644 index 0000000..c2e0fa6 --- /dev/null +++ b/charts/atuin/templates/servicemonitor.yaml @@ -0,0 +1,15 @@ +{{- if .Values.serviceMonitor.enabled }} +apiVersion: monitoring.coreos.com/v1 +kind: ServiceMonitor +metadata: + name: atuin +spec: + endpoints: + - interval: 60s + path: /metrics + port: metrics + selector: + matchLabels: + app.kubernetes.io/instance: atuin + app.kubernetes.io/name: atuin +{{- end}} diff --git a/charts/atuin/values.yaml b/charts/atuin/values.yaml index 3e92f0f..8c7c182 100644 --- a/charts/atuin/values.yaml +++ b/charts/atuin/values.yaml @@ -22,6 +22,9 @@ postgresql: secretName: atuin secretKey: dbUri +serviceMonitor: + enabled: false + atuin: # Setup Atuin webhook notifications # Currently only register webhooks are supported, and are sent in the slack format