Skip to content

Commit

Permalink
Removed configmap. Now configuread via a secret (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
89Q12 authored Mar 13, 2023
1 parent 4945bf0 commit 3f4833c
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 34 deletions.
2 changes: 1 addition & 1 deletion charts/invidious/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: invidious
description: Invidious is an alternative front-end to YouTube
version: 1.1.3
version: 1.2.3
appVersion: "latest"
keywords:
- youtube
Expand Down
3 changes: 1 addition & 2 deletions charts/invidious/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# invidious

![Version: 1.1.3](https://img.shields.io/badge/Version-1.1.3-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)
![Version: 1.2.3](https://img.shields.io/badge/Version-1.2.3-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square)

Invidious is an alternative front-end to YouTube

Expand Down Expand Up @@ -29,7 +29,6 @@ $ helm install my-release 11tuvork28/invidious
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| autoscaling | object | See below | Configure the HPA minReplicas should match replicaCount |
| config | object | See below | Configure invidious to your needs Note that the hmac parametes is generated behind the scenes for you. [[ref]](https://github.com/11tuvork28/invidious/blob/master/config/config.example.yml) |
| image.pullPolicy | string | `"Always"` | |
| image.repository | string | `"ghcr.io/11tuvork28/invidious"` | |
| image.tag | string | `"latest"` | |
Expand Down
11 changes: 0 additions & 11 deletions charts/invidious/templates/configmap.yaml

This file was deleted.

12 changes: 1 addition & 11 deletions charts/invidious/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,10 @@ spec:
- containerPort: 3000
env:
- name: INVIDIOUS_CONFIG
valueFrom:
configMapKeyRef:
key: INVIDIOUS_CONFIG
name: {{ template "invidious.fullname" . }}
- name: INVIDIOUS_CONFIG_DB
valueFrom:
secretKeyRef:
name: {{ template "invidious.fullname" . }}-secret
key: db_values
- name: INVIDIOUS_CONFIG_HMAC
valueFrom:
secretKeyRef:
key: INVIDIOUS_CONFIG
name: {{ template "invidious.fullname" . }}-secret
key: hmac_key
securityContext:
allowPrivilegeEscalation: {{ .Values.securityContext.allowPrivilegeEscalation }}
capabilities:
Expand Down
9 changes: 0 additions & 9 deletions charts/invidious/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,3 @@ ingress:
externalDns:
enabled: true
ttl: "3600"

# -- Configure invidious to your needs
# Note that the hmac parametes is generated behind the scenes for you.
# [[ref]](https://github.com/11tuvork28/invidious/blob/master/config/config.example.yml)
# @default -- See below
config:
https_only: true
domain: ""
statistics_enabled: true

0 comments on commit 3f4833c

Please sign in to comment.