Skip to content

Commit

Permalink
charts: move serverName to toplevel of values.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ushitora-anqou committed Sep 14, 2024
1 parent 1b55d75 commit 437dfc8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/magout/templates/gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ data:
server {
listen 80;
listen [::]:80;
server_name {{ .Values.gateway.serverName }};
server_name {{ .Values.serverName }};
keepalive_timeout 70;
sendfile on;
Expand Down
3 changes: 2 additions & 1 deletion charts/magout/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

fullnameOverride: ""

serverName: "" # CHANGE HERE

mastodonVersion:
image: ghcr.io/mastodon/mastodon:v4.2.12
streamingImage: ghcr.io/mastodon/mastodon:v4.2.12
Expand Down Expand Up @@ -120,7 +122,6 @@ controller:
affinity: {}

gateway:
serverName: "" # CHANGE HERE
deploy:
replicas: 1
image: nginx:1
Expand Down

0 comments on commit 437dfc8

Please sign in to comment.