Skip to content

Commit

Permalink
Merge pull request #16 from jessebot/add-context-to-sidekiq
Browse files Browse the repository at this point in the history
add context to sidekick values evaluation for deployment s3 secrets
  • Loading branch information
jessebot authored Oct 26, 2023
2 parents 18bec67 + afcdec8 commit ca80588
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/mastodon/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ 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: 4.4.3
version: 4.4.4

# renovate: image=ghcr.io/mastodon/mastodon
appVersion: v4.2.1
Expand Down
2 changes: 1 addition & 1 deletion charts/mastodon/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# mastodon

![Version: 4.4.3](https://img.shields.io/badge/Version-4.4.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v4.2.1](https://img.shields.io/badge/AppVersion-v4.2.1-informational?style=flat-square)
![Version: 4.4.4](https://img.shields.io/badge/Version-4.4.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v4.2.1](https://img.shields.io/badge/AppVersion-v4.2.1-informational?style=flat-square)

Mastodon is a free, open-source social network server based on ActivityPub.

Expand Down
4 changes: 2 additions & 2 deletions charts/mastodon/templates/deployment-sidekiq.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ spec:
name: {{ include "mastodon.smtp.secretName" $context }}
key: password
{{- if (and $context.Values.mastodon.s3.enabled $context.Values.mastodon.s3.existingSecret) }}
{{- if .Values.mastodon.s3.secretKeys.s3Hostname }}
{{- if $context.Values.mastodon.s3.secretKeys.s3Hostname }}
- name: "S3_HOSTNAME"
valueFrom:
secretKeyRef:
Expand All @@ -125,7 +125,7 @@ spec:
secretKeyRef:
name: {{ .Values.mastodon.s3.existingSecret }}
key: {{ .Values.mastodon.s3.secretKeys.s3Endpoint }}
{{- if .Values.mastodon.s3.secretKeys.s3Region }}
{{- if $context.Values.mastodon.s3.secretKeys.s3Region }}
- name: "S3_REGION"
valueFrom:
secretKeyRef:
Expand Down

0 comments on commit ca80588

Please sign in to comment.