runtime-parameters.yaml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. sourceController:
  2. enabled: true
  3. containerPorts:
  4. health: 8772
  5. http: 4567
  6. metrics: 4889
  7. service:
  8. type: LoadBalancer
  9. ports:
  10. http: 80
  11. metrics:
  12. enabled: true
  13. service:
  14. ports:
  15. metrics: 8881
  16. podSecurityContext:
  17. enabled: true
  18. fsGroup: 1002
  19. containerSecurityContext:
  20. enabled: true
  21. runAsUser: 1002
  22. persistence:
  23. enabled: true
  24. mountPath: /test/bitnami/path
  25. serviceAccount:
  26. create: true
  27. automountServiceAccountToken: true
  28. rbac:
  29. create: true
  30. kustomizeController:
  31. enabled: true
  32. metrics:
  33. enabled: true
  34. service:
  35. ports:
  36. metrics: 8882
  37. rbac:
  38. create: true
  39. helmController:
  40. enabled: true
  41. metrics:
  42. enabled: true
  43. service:
  44. ports:
  45. metrics: 8883
  46. rbac:
  47. create: true
  48. notificationController:
  49. enabled: true
  50. metrics:
  51. enabled: true
  52. service:
  53. ports:
  54. metrics: 8884
  55. rbac:
  56. create: true
  57. imageAutomationController:
  58. enabled: true
  59. metrics:
  60. enabled: true
  61. service:
  62. ports:
  63. metrics: 8885
  64. rbac:
  65. create: true
  66. imageReflectorController:
  67. enabled: true
  68. metrics:
  69. enabled: true
  70. service:
  71. ports:
  72. metrics: 8886
  73. rbac:
  74. create: true
  75. extraDeploy:
  76. # This is for kustomize-controller and source-controller
  77. # Source: https://fluxcd.io/flux/components/kustomize/kustomization/
  78. - apiVersion: source.toolkit.fluxcd.io/v1
  79. kind: GitRepository
  80. metadata:
  81. name: vib-podinfo
  82. namespace: '{{ include "common.names.namespace" . }}'
  83. annotations:
  84. "helm.sh/hook": post-install
  85. spec:
  86. interval: 5m
  87. url: https://github.com/mdhont/podinfo
  88. ref:
  89. branch: '{{ ternary "openshift" "master" (.Capabilities.APIVersions.Has "security.openshift.io/v1") }}'
  90. - apiVersion: kustomize.toolkit.fluxcd.io/v1
  91. kind: Kustomization
  92. metadata:
  93. name: vib-podinfo
  94. namespace: '{{ include "common.names.namespace" . }}'
  95. annotations:
  96. "helm.sh/hook": post-install
  97. spec:
  98. interval: 10m
  99. targetNamespace: '{{ include "common.names.namespace" . }}'
  100. sourceRef:
  101. kind: GitRepository
  102. name: vib-podinfo
  103. path: "./kustomize"
  104. prune: false
  105. # This is for helm-controller and source-controller
  106. # We use bitnami charts for not causing conflicts with the deployment above
  107. - apiVersion: source.toolkit.fluxcd.io/v1
  108. kind: GitRepository
  109. metadata:
  110. name: vib-bitnami-charts
  111. namespace: '{{ include "common.names.namespace" . }}'
  112. annotations:
  113. "helm.sh/hook": post-install
  114. spec:
  115. interval: 5m0s
  116. url: https://github.com/bitnami/charts
  117. ref:
  118. branch: main
  119. - apiVersion: helm.toolkit.fluxcd.io/v2beta2
  120. kind: HelmRelease
  121. metadata:
  122. name: vib-nginx
  123. namespace: '{{ include "common.names.namespace" . }}'
  124. annotations:
  125. "helm.sh/hook": post-install
  126. spec:
  127. interval: 5m
  128. chart:
  129. spec:
  130. chart: ./bitnami/nginx
  131. sourceRef:
  132. kind: GitRepository
  133. name: vib-bitnami-charts
  134. namespace: '{{ include "common.names.namespace" . }}'
  135. interval: 1m
  136. values:
  137. global:
  138. compatibility:
  139. openshift:
  140. adaptSecurityContext: auto
  141. fullnameOverride: vib-nginx
  142. persistence:
  143. enabled: false
  144. # This is for image-notification-controller. We will use the metrics to ensure that it is consumed
  145. # and therefore RBAC is correct. The values do not need to be correct
  146. # Source: https://fluxcd.io/flux/components/notification/receiver/
  147. - apiVersion: notification.toolkit.fluxcd.io/v1
  148. kind: Receiver
  149. metadata:
  150. name: vib-github-receiver
  151. namespace: '{{ include "common.names.namespace" . }}'
  152. annotations:
  153. "helm.sh/hook": post-install
  154. spec:
  155. type: github
  156. events:
  157. - "ping"
  158. - "push"
  159. secretRef:
  160. name: receiver-token
  161. resources:
  162. - apiVersion: source.toolkit.fluxcd.io/v1
  163. kind: GitRepository
  164. name: bitnami-charts
  165. namespace: '{{ include "common.names.namespace" . }}'
  166. # This is for image-reflector-controller. We will use the metrics to ensure that it is consumed
  167. # and therefore RBAC is correct. The values do not need to be correct
  168. # Source: https://fluxcd.io/flux/components/image/imagerepositories/
  169. - apiVersion: image.toolkit.fluxcd.io/v1beta2
  170. kind: ImageRepository
  171. metadata:
  172. name: vib-image-rep-podinfo
  173. namespace: '{{ include "common.names.namespace" . }}'
  174. annotations:
  175. "helm.sh/hook": post-install
  176. spec:
  177. image: stefanprodan/podinfo
  178. interval: 1h
  179. provider: generic
  180. # This is for image-automation-controller. We will use the metrics to ensure that it is consumed
  181. # and therefore RBAC is correct. The values do not need to be correct
  182. # Source: https://fluxcd.io/flux/components/image/imagerepositories/
  183. - apiVersion: image.toolkit.fluxcd.io/v1beta1
  184. kind: ImageUpdateAutomation
  185. metadata:
  186. name: vib-update-automation
  187. namespace: '{{ include "common.names.namespace" . }}'
  188. annotations:
  189. "helm.sh/hook": post-install
  190. spec:
  191. interval: 5m
  192. sourceRef:
  193. kind: GitRepository
  194. name: '{{ include "common.names.namespace" . }}'
  195. namespace: bitnami-charts