remove init containers
This commit is contained in:
@@ -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 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
|
||||
containers:
|
||||
main:
|
||||
image:
|
||||
|
Reference in New Issue
Block a user