From 8c780752497165af4f92d1b581d5906e5dfba42e Mon Sep 17 00:00:00 2001 From: Julien Cabillot Date: Tue, 13 Jun 2023 16:38:37 -0400 Subject: [PATCH] wip --- 99-rssbridge-deployment.yaml | 54 ++++++++++++++++++++++++++++++++++++ charts/ttrss/Chart.yaml | 2 +- charts/ttrss/values.yaml | 10 +++---- 3 files changed, 60 insertions(+), 6 deletions(-) create mode 100644 99-rssbridge-deployment.yaml diff --git a/99-rssbridge-deployment.yaml b/99-rssbridge-deployment.yaml new file mode 100644 index 0000000..7330d3c --- /dev/null +++ b/99-rssbridge-deployment.yaml @@ -0,0 +1,54 @@ +#--- +#apiVersion: apps/v1 +#kind: Deployment +#metadata: +# # TODO: add rssbridge +# name: {{ include "common.names.fullname" . }} +# labels: +# {{- include "common.labels" . | nindent 4 }} +# {{- with .Values.controller.labels }} +# {{- toYaml . | nindent 4 }} +# {{- end }} +# {{- with .Values.controller.annotations }} +# annotations: +# {{- toYaml . | nindent 4 }} +# {{- end }} +#spec: +# revisionHistoryLimit: {{ .Values.controller.revisionHistoryLimit }} +# replicas: {{ .Values.controller.replicas }} +# {{- $strategy := default "Recreate" .Values.controller.strategy }} +# {{- if and (ne $strategy "Recreate") (ne $strategy "RollingUpdate") }} +# {{- fail (printf "Not a valid strategy type for Deployment (%s)" $strategy) }} +# {{- end }} +# strategy: +# type: {{ $strategy }} +# {{- with .Values.controller.rollingUpdate }} +# {{- if and (eq $strategy "RollingUpdate") (or .surge .unavailable) }} +# rollingUpdate: +# {{- with .unavailable }} +# maxUnavailable: {{ . }} +# {{- end }} +# {{- with .surge }} +# maxSurge: {{ . }} +# {{- end }} +# {{- end }} +# {{- end }} +# selector: +# matchLabels: +# # TODO: add rssbridge +# {{- include "common.labels.selectorLabels" . | nindent 6 }} +# template: +# metadata: +# {{- with .Values.podAnnotations }} +# annotations: +# {{- toYaml . | nindent 8 }} +# {{- end }} +# labels: +# # TODO: add rssbridge +# {{- include "common.labels.selectorLabels" . | nindent 8 }} +# {{- with .Values.podLabels }} +# {{- toYaml . | nindent 8 }} +# {{- end }} +# spec: +# # TODO: add rssbridge +# diff --git a/charts/ttrss/Chart.yaml b/charts/ttrss/Chart.yaml index 91815b5..659f9f7 100644 --- a/charts/ttrss/Chart.yaml +++ b/charts/ttrss/Chart.yaml @@ -3,7 +3,7 @@ apiVersion: v2 description: Helm chart for ttrss name: ttrss type: application -version: 0.0.1 +version: 0.0.5 kubeVersion: ">=1.16.0-0" keywords: - ttrss diff --git a/charts/ttrss/values.yaml b/charts/ttrss/values.yaml index 6589097..fb11511 100644 --- a/charts/ttrss/values.yaml +++ b/charts/ttrss/values.yaml @@ -16,10 +16,10 @@ env: TZ: America/New_York TTRSS_DB_NAME: web_ttrss TTRSS_DB_USER: web_ttrss - TTRSS_DB_PASS: TODO: + TTRSS_DB_PASS: TODO TTRSS_DB_TYPE: mysql TTRSS_DB_PORT: 3306 - TTRSS_DB_PORT_3306_TCP_ADDR: TODO: + TTRSS_DB_PORT_3306_TCP_ADDR: TODO TTRSS_DB_PORT_3306_TCP_PORT: 3306 TTRSS_SELF_URL_PATH: https://rss.opti.cabillot.eu/ TTRSS_SELF_URL: https://rss.opti.cabillot.eu/ @@ -52,13 +52,13 @@ automountServiceAccountToken: false # Enabled mariadb # ... for more options see https://github.com/bitnami/charts/tree/master/bitnami/mariadb mariadb: - enabled: false + enabled: true architecture: standalone auth: database: web_ttrss username: web_ttrss - password: TODO: - rootPassword: TODO: + password: TODO + rootPassword: TODO primary: persistence: enabled: true