Skip to content

Commit

Permalink
Merge pull request #490 from ludovicm67/trifid-extra-env
Browse files Browse the repository at this point in the history
[Trifid] Add `extraEnv` support
  • Loading branch information
psy-q authored Aug 17, 2023
2 parents d7ae9f0 + ceb3efb commit bc7ca9a
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ helm repo add appuio https://charts.appuio.ch
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/snappass-1.0.0/total)](https://github.com/appuio/charts/releases/tag/snappass-1.0.0) | [snappass](appuio/snappass/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/stardog-0.19.0/total)](https://github.com/appuio/charts/releases/tag/stardog-0.19.0) | [stardog](appuio/stardog/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/stardog-userrole-operator-0.2.3/total)](https://github.com/appuio/charts/releases/tag/stardog-userrole-operator-0.2.3) | [stardog-userrole-operator](appuio/stardog-userrole-operator/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/trifid-2.0.1/total)](https://github.com/appuio/charts/releases/tag/trifid-2.0.1) | [trifid](appuio/trifid/README.md) |
| [![chart downloads](https://img.shields.io/github/downloads/appuio/charts/trifid-2.0.2/total)](https://github.com/appuio/charts/releases/tag/trifid-2.0.2) | [trifid](appuio/trifid/README.md) |

## Add / Update Charts

Expand Down
4 changes: 2 additions & 2 deletions appuio/trifid/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v1
name: trifid
description: Trifid provides a lightweight and easy way to access Linked Data URIs via HTTP.
version: 2.0.1
version: 2.0.2
appVersion: 2.3.7
home: "https://github.com/zazuko/trifid"
sources:
- https://github.com/zazuko/trifid
- https://github.com/zazuko/trifid
2 changes: 1 addition & 1 deletion appuio/trifid/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# trifid

![Version: 2.0.1](https://img.shields.io/badge/Version-2.0.1-informational?style=flat-square) ![AppVersion: 2.3.7](https://img.shields.io/badge/AppVersion-2.3.7-informational?style=flat-square)
![Version: 2.0.2](https://img.shields.io/badge/Version-2.0.2-informational?style=flat-square) ![AppVersion: 2.3.7](https://img.shields.io/badge/AppVersion-2.3.7-informational?style=flat-square)

Trifid provides a lightweight and easy way to access Linked Data URIs via HTTP.

Expand Down
4 changes: 4 additions & 0 deletions appuio/trifid/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ spec:
secretKeyRef:
name: {{ if $endpoint.secretName }}{{ $endpoint.secretName }}{{ else }}{{ include "trifid.fullname" . }}{{ end }}
key: password
{{- range $key, $value := .Values.extraEnv }}
- name: {{ $key }}
value: {{ $value }}
{{- end }}
ports:
- name: http
containerPort: 8080
Expand Down
9 changes: 7 additions & 2 deletions appuio/trifid/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ podSecurityContext:
securityContext:
capabilities:
drop:
- ALL
- ALL
runAsNonRoot: true
runAsUser: 1000
readOnlyRootFilesystem: true
Expand All @@ -46,7 +46,8 @@ service:

ingress:
enabled: false
annotations: {}
annotations:
{}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
Expand All @@ -68,3 +69,7 @@ resources:
nodeSelector: {}

tolerations: []

extraEnv:
{}
# VARIABLE_NAME: value

0 comments on commit bc7ca9a

Please sign in to comment.