add config for secret to wiki and increase resources
All checks were successful
Mirror to GitHub / mirror (push) Successful in 8s
All checks were successful
Mirror to GitHub / mirror (push) Successful in 8s
This commit is contained in:
@@ -18,29 +18,23 @@ spec:
|
||||
containers:
|
||||
- name: mediawiki-app
|
||||
image: mediawiki:1.45
|
||||
env:
|
||||
- name: MEDIAWIKI_DB_USER
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: ptp-chat-secret
|
||||
key: SPRING_DATASOURCE_USERNAME
|
||||
- name: MEDIAWIKI_DB_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: ptp-chat-secret
|
||||
key: SPRING_DATASOURCE_PASSWORD
|
||||
- name: MEDIAWIKI_DB_NAME
|
||||
value: mediawiki
|
||||
- name: MEDIAWIKI_DB_HOST
|
||||
value: mediawiki-db.ptp-chat.svc.cluster.local
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 80
|
||||
resources:
|
||||
requests:
|
||||
memory: 0.1Gi
|
||||
cpu: 0.01
|
||||
limits:
|
||||
memory: 0.4Gi
|
||||
memory: 0.3Gi
|
||||
cpu: 0.05
|
||||
limits:
|
||||
memory: 0.6Gi
|
||||
cpu: 0.2
|
||||
volumeMounts:
|
||||
- name: localsettings
|
||||
mountPath: /var/www/html/LocalSettings.php
|
||||
subPath: LocalSettings.php
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: localsettings
|
||||
secret:
|
||||
secretName: localsettings
|
||||
|
||||
|
||||
Reference in New Issue
Block a user