enable init

This commit is contained in:
2025-02-23 16:56:15 -06:00
parent 54860ce1ed
commit d17a089088

View File

@@ -5,55 +5,55 @@ freshrss:
replicas: 1 replicas: 1
strategy: Recreate strategy: Recreate
revisionHistoryLimit: 3 revisionHistoryLimit: 3
# initContainers: initContainers:
# init-download-extension-1: init-download-extension-1:
# securityContext: securityContext:
# runAsUser: 0 runAsUser: 0
# image: image:
# repository: alpine repository: alpine
# tag: 3.21.3 tag: 3.21.3
# pullPolicy: IfNotPresent pullPolicy: IfNotPresent
# command: command:
# - /bin/sh - /bin/sh
# - -ec - -ec
# - | - |
# apk add --no-cache git; apk add --no-cache git;
# cd /tmp; cd /tmp;
# git clone -n --depth=1 --filter=tree:0 https://github.com/cn-tools/cntools_FreshRssExtensions.git; git clone -n --depth=1 --filter=tree:0 https://github.com/cn-tools/cntools_FreshRssExtensions.git;
# cd cntools_FreshRssExtensions; cd cntools_FreshRssExtensions;
# git sparse-checkout set --no-cone /xExtension-YouTubeChannel2RssFeed; git sparse-checkout set --no-cone /xExtension-YouTubeChannel2RssFeed;
# git checkout; git checkout;
# rm -rf /var/www/FreshRSS/extensions/xExtension-YouTubeChannel2RssFeed rm -rf /var/www/FreshRSS/extensions/xExtension-YouTubeChannel2RssFeed
# cp -r xExtension-YouTubeChannel2RssFeed /var/www/FreshRSS/extensions cp -r xExtension-YouTubeChannel2RssFeed /var/www/FreshRSS/extensions
# chown -R 568:568 /var/www/FreshRSS/extensions/xExtension-YouTubeChannel2RssFeed chown -R 568:568 /var/www/FreshRSS/extensions/xExtension-YouTubeChannel2RssFeed
# resources: resources:
# requests: requests:
# cpu: 100m cpu: 100m
# memory: 128Mi memory: 128Mi
# init-download-extension-2: init-download-extension-2:
# securityContext: securityContext:
# runAsUser: 0 runAsUser: 0
# image: image:
# repository: alpine repository: alpine
# tag: 3.21.3 tag: 3.21.3
# pullPolicy: IfNotPresent pullPolicy: IfNotPresent
# command: command:
# - /bin/sh - /bin/sh
# - -ec - -ec
# - | - |
# apk add --no-cache git; apk add --no-cache git;
# cd /tmp; cd /tmp;
# git clone -n --depth=1 --filter=tree:0 https://github.com/FreshRSS/Extensions.git; git clone -n --depth=1 --filter=tree:0 https://github.com/FreshRSS/Extensions.git;
# cd cntools_FreshRssExtensions; cd Extensions;
# git sparse-checkout set --no-cone /xExtension-ImageProxy; git sparse-checkout set --no-cone /xExtension-ImageProxy;
# git checkout; git checkout;
# rm -rf /var/www/FreshRSS/extensions/xExtension-ImageProxy rm -rf /var/www/FreshRSS/extensions/xExtension-ImageProxy
# cp -r xExtension-ImageProxy /var/www/FreshRSS/extensions cp -r xExtension-ImageProxy /var/www/FreshRSS/extensions
# chown -R 568:568 /var/www/FreshRSS/extensions/xExtension-YouTubeChannel2RssFeed chown -R 568:568 /var/www/FreshRSS/extensions/xExtension-YouTubeChannel2RssFeed
# resources: resources:
# requests: requests:
# cpu: 100m cpu: 100m
# memory: 128Mi memory: 128Mi
containers: containers:
main: main:
image: image: