File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,15 +72,35 @@ reposilite:
7272 value : " -Xmx128M"
7373 - name : REPOSILITE_OPTS
7474 value : " --token admin:changeme --shared-configuration=/etc/reposilite/configuration.shared.json"
75+ - name : REPOSILITE_PROMETHEUS_USER
76+ value : " admin"
77+ - name : REPOSILITE_PROMETHEUS_PASSWORD
78+ value : " changeme"
7579
76- # Mount shared configuration into Reposilite pod (outside /app/data to avoid PVC conflict)
80+ # Mount shared configuration + plugins into Reposilite pod
7781 deployment :
82+ initContainers :
83+ - name : download-prometheus-plugin
84+ image : busybox:1.36
85+ command :
86+ - sh
87+ - -c
88+ - |
89+ wget -O /plugins/prometheus-plugin.jar \
90+ "https://maven.reposilite.com/releases/com/reposilite/plugin/prometheus-plugin/3.5.26/prometheus-plugin-3.5.26-all.jar"
91+ volumeMounts :
92+ - name : plugins
93+ mountPath : /plugins
7894 additionalVolumes :
7995 - name : shared-config
8096 configMap :
8197 name : reposilite-shared-config
98+ - name : plugins
99+ emptyDir : {}
82100 additionalVolumeMounts :
83101 - name : shared-config
84102 mountPath : /etc/reposilite/configuration.shared.json
85103 subPath : configuration.shared.json
86- readOnly : true
104+ readOnly : true
105+ - name : plugins
106+ mountPath : /app/data/plugins
You can’t perform that action at this time.
0 commit comments