Skip to content

Commit

Permalink
Merge pull request #1 from atuinsh/update
Browse files Browse the repository at this point in the history
chore(release): upgrade to Atuin v17.2.0
  • Loading branch information
ellie authored Jan 3, 2024
2 parents 8d7534a + 391ff86 commit d4b57bd
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 5 deletions.
6 changes: 3 additions & 3 deletions charts/atuin/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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"
10 changes: 8 additions & 2 deletions charts/atuin/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
15 changes: 15 additions & 0 deletions charts/atuin/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
@@ -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}}
3 changes: 3 additions & 0 deletions charts/atuin/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d4b57bd

Please sign in to comment.