From d17a0890882a07e78645c4d5a8b650e57423facf Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sun, 23 Feb 2025 16:56:15 -0600 Subject: [PATCH] enable init --- .../cl01tl/applications/freshrss/values.yaml | 98 +++++++++---------- 1 file changed, 49 insertions(+), 49 deletions(-) diff --git a/clusters/cl01tl/applications/freshrss/values.yaml b/clusters/cl01tl/applications/freshrss/values.yaml index 93f0f9568..f263c884a 100644 --- a/clusters/cl01tl/applications/freshrss/values.yaml +++ b/clusters/cl01tl/applications/freshrss/values.yaml @@ -5,55 +5,55 @@ freshrss: replicas: 1 strategy: Recreate revisionHistoryLimit: 3 - # initContainers: - # init-download-extension-1: - # securityContext: - # runAsUser: 0 - # image: - # repository: alpine - # tag: 3.21.3 - # pullPolicy: IfNotPresent - # command: - # - /bin/sh - # - -ec - # - | - # apk add --no-cache git; - # cd /tmp; - # git clone -n --depth=1 --filter=tree:0 https://github.com/cn-tools/cntools_FreshRssExtensions.git; - # cd cntools_FreshRssExtensions; - # git sparse-checkout set --no-cone /xExtension-YouTubeChannel2RssFeed; - # git checkout; - # rm -rf /var/www/FreshRSS/extensions/xExtension-YouTubeChannel2RssFeed - # cp -r xExtension-YouTubeChannel2RssFeed /var/www/FreshRSS/extensions - # chown -R 568:568 /var/www/FreshRSS/extensions/xExtension-YouTubeChannel2RssFeed - # resources: - # requests: - # cpu: 100m - # memory: 128Mi - # init-download-extension-2: - # securityContext: - # runAsUser: 0 - # image: - # repository: alpine - # tag: 3.21.3 - # pullPolicy: IfNotPresent - # command: - # - /bin/sh - # - -ec - # - | - # apk add --no-cache git; - # cd /tmp; - # git clone -n --depth=1 --filter=tree:0 https://github.com/FreshRSS/Extensions.git; - # cd cntools_FreshRssExtensions; - # git sparse-checkout set --no-cone /xExtension-ImageProxy; - # git checkout; - # rm -rf /var/www/FreshRSS/extensions/xExtension-ImageProxy - # cp -r xExtension-ImageProxy /var/www/FreshRSS/extensions - # chown -R 568:568 /var/www/FreshRSS/extensions/xExtension-YouTubeChannel2RssFeed - # resources: - # requests: - # cpu: 100m - # memory: 128Mi + initContainers: + init-download-extension-1: + securityContext: + runAsUser: 0 + image: + repository: alpine + tag: 3.21.3 + pullPolicy: IfNotPresent + command: + - /bin/sh + - -ec + - | + apk add --no-cache git; + cd /tmp; + git clone -n --depth=1 --filter=tree:0 https://github.com/cn-tools/cntools_FreshRssExtensions.git; + cd cntools_FreshRssExtensions; + git sparse-checkout set --no-cone /xExtension-YouTubeChannel2RssFeed; + git checkout; + rm -rf /var/www/FreshRSS/extensions/xExtension-YouTubeChannel2RssFeed + cp -r xExtension-YouTubeChannel2RssFeed /var/www/FreshRSS/extensions + chown -R 568:568 /var/www/FreshRSS/extensions/xExtension-YouTubeChannel2RssFeed + resources: + requests: + cpu: 100m + memory: 128Mi + init-download-extension-2: + securityContext: + runAsUser: 0 + image: + repository: alpine + tag: 3.21.3 + pullPolicy: IfNotPresent + command: + - /bin/sh + - -ec + - | + apk add --no-cache git; + cd /tmp; + git clone -n --depth=1 --filter=tree:0 https://github.com/FreshRSS/Extensions.git; + cd Extensions; + git sparse-checkout set --no-cone /xExtension-ImageProxy; + git checkout; + rm -rf /var/www/FreshRSS/extensions/xExtension-ImageProxy + cp -r xExtension-ImageProxy /var/www/FreshRSS/extensions + chown -R 568:568 /var/www/FreshRSS/extensions/xExtension-YouTubeChannel2RssFeed + resources: + requests: + cpu: 100m + memory: 128Mi containers: main: image: