Skip to content

Commit 2101683

Browse files
authored
Update to Seq 2025.2 (#63)
1 parent 2121e3f commit 2101683

File tree

5 files changed

+35
-11
lines changed

5 files changed

+35
-11
lines changed

.github/workflows/helm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ jobs:
2626
uses: helm/[email protected]
2727

2828
- name: Lint
29-
run: ct lint --charts charts/seq
29+
run: "ct lint --charts charts/seq --helm-lint-extra-args '--set firstRunNoAuthentication=true'"
3030

3131
- name: Create Cluster
3232
uses: helm/[email protected]
3333

3434
- name: Install
35-
run: ct install --charts charts/seq
35+
run: "ct install --charts charts/seq --helm-extra-set-args '--set firstRunAdminPassword=YourP@55word'"

charts/seq/Chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v1
22
name: seq
3-
version: "2025.1.1"
4-
appVersion: "2025.1"
5-
description: Seq is the easiest way for development teams to capture, search and visualize structured log events!
3+
version: "2025.2.1"
4+
appVersion: "2025.2"
5+
description: Seq is the easiest way for development teams to capture, search and visualize structured logs and traces
66
keywords:
77
- seq
88
- structured

charts/seq/templates/deployment.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ spec:
3939
- name: "SEQ_FIRSTRUN_ADMINUSERNAME"
4040
value: "{{ .Values.firstRunAdminUsername }}"
4141
{{- end }}
42+
{{- if .Values.firstRunAdminPassword }}
43+
- name: "SEQ_FIRSTRUN_ADMINPASSWORD"
44+
value: "{{ .Values.firstRunAdminPassword }}"
45+
{{- end }}
4246
{{- if .Values.firstRunAdminPasswordHash }}
4347
- name: "SEQ_FIRSTRUN_ADMINPASSWORDHASH"
4448
value: "{{ .Values.firstRunAdminPasswordHash }}"
@@ -47,6 +51,10 @@ spec:
4751
- name: "SEQ_FIRSTRUN_REQUIREAUTHENTICATIONFORHTTPINGESTION"
4852
value: "{{ .Values.firstRunRequireAuthenticationForHttpIngestion }}"
4953
{{- end }}
54+
{{- if .Values.firstRunNoAuthentication }}
55+
- name: "SEQ_FIRSTRUN_NOAUTHENTICATION"
56+
value: "True"
57+
{{- end }}
5058
{{- if .Values.extraEnvs }}
5159
{{ toYaml .Values.extraEnvs | indent 12 }}
5260
{{- end }}
@@ -169,3 +177,9 @@ spec:
169177
{{- if .Values.extraVolumes }}
170178
{{ toYaml .Values.extraVolumes | indent 8 }}
171179
{{- end }}
180+
181+
# At least one of the default password variables must be set; note that this ignores SEQ_PASSWORD, but
182+
# that variable is just a convenience alias for SEQ_FIRSTRUN_ADMINPASSWORD anyway.
183+
{{- if not (or .Values.firstRunNoAuthentication .Values.firstRunAdminPassword .Values.firstRunAdminPasswordHash) }}
184+
{{- fail "One of firstRunAdminPassword or firstRunAdminPasswordHash must be specified." }}
185+
{{- end }}

charts/seq/values.yaml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,18 @@ image:
1515
# that you intend to use.
1616
acceptEULA: "Y"
1717

18+
# Seq requires a default admin password in order to initialize a fresh container. Either
19+
# specify this here, or opt out using `firstRunNoAuthentication: true` (not suitable for production
20+
# deployment). See the `firstRunAdminPasswordHash` variant below for better confidentiality.
21+
firstRunNoAuthentication: false
22+
# firstRunAdminPassword: ""
23+
24+
# Further customization of the default security settings.
25+
# See here for docs on how to create a password hash: https://blog.datalust.co/setting-an-initial-password-when-deploying-seq-to-docker/
26+
# firstRunAdminUsername: "admin"
27+
# firstRunAdminPasswordHash: ""
28+
# firstRunRequireAuthenticationForHttpIngestion: true
29+
1830
# Set this URL if you enable ingress and/or AAD authentication.
1931
# Without this URL set to include HTTPS, Seq will try to set a login redirect
2032
# URL with HTTP instead of HTTPS and AAD's registration requires HTTPS.
@@ -26,12 +38,6 @@ acceptEULA: "Y"
2638
# will be used as the default when generating URIs for apps and notifications.
2739
# listenURI: "http://localhost:80,http://localhost:5341"
2840

29-
# Set this to create an admin user with given password hash at first run.
30-
# See here for docs on how to create the password hash: https://blog.datalust.co/setting-an-initial-password-when-deploying-seq-to-docker/
31-
# firstRunAdminUsername: "admin"
32-
# firstRunAdminPasswordHash: ""
33-
# firstRunRequireAuthenticationForHttpIngestion: true
34-
3541
securityContext:
3642
runAsUser: 0
3743
capabilities:

samples/seq/config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# This is an insecure default; don't use this for production deployments: instead specify
2+
# the `firstRunAdminPassword` or `firstRunAdminPasswordHash` options.
3+
firstRunNoAuthentication: true
4+
15
image:
26
tag: latest
37

0 commit comments

Comments
 (0)