runtime-parameters.yaml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. containerPorts:
  2. http: 8080
  3. https: 8443
  4. ingressClassResource:
  5. name: nginx
  6. enabled: true
  7. default: false
  8. controllerClass: k8s.io/ingress-nginx
  9. kind: Deployment
  10. podSecurityContext:
  11. enabled: true
  12. fsGroup: 1002
  13. containerSecurityContext:
  14. enabled: true
  15. runAsUser: 1002
  16. capabilities:
  17. drop: [ALL]
  18. add: [NET_BIND_SERVICE]
  19. defaultBackend:
  20. enabled: true
  21. containerPort: 8080
  22. serverBlockConfig: |-
  23. location /healthz {
  24. return 200;
  25. }
  26. location / {
  27. return 404;
  28. }
  29. service:
  30. ports:
  31. http: 80
  32. https: 444
  33. type: LoadBalancer
  34. serviceAccount:
  35. create: true
  36. automountServiceAccountToken: true
  37. rbac:
  38. create: true
  39. extraDeploy:
  40. - apiVersion: apps/v1
  41. kind: Deployment
  42. metadata:
  43. labels:
  44. app: dokuwiki
  45. name: dokuwiki
  46. spec:
  47. replicas: 1
  48. selector:
  49. matchLabels:
  50. app: dokuwiki
  51. template:
  52. metadata:
  53. labels:
  54. app: dokuwiki
  55. spec:
  56. containers:
  57. # Use the most recent Dokuwiki image available at https://hub.docker.com/r/bitnami/dokuwiki-archived/tags
  58. - image: docker.io/bitnami/dokuwiki-archived@sha256:f7be2f151520663fcba4e431b7130f3a9594f08070b3f750526c93d9cd80a1c7
  59. name: dokuwiki
  60. securityContext:
  61. runAsNonRoot: true
  62. privileged: false
  63. allowPrivilegeEscalation: false
  64. capabilities:
  65. drop: ["ALL"]
  66. seccompProfile:
  67. type: "RuntimeDefault"
  68. - apiVersion: v1
  69. kind: Service
  70. metadata:
  71. labels:
  72. app: dokuwiki
  73. name: dokuwiki-vib
  74. spec:
  75. ports:
  76. - port: 80
  77. protocol: TCP
  78. targetPort: 8080
  79. name: http
  80. - port: 443
  81. protocol: TCP
  82. targetPort: 8443
  83. name: https
  84. selector:
  85. app: dokuwiki
  86. sessionAffinity: None
  87. type: ClusterIP