| Giorgi Lekveishvili | 106a935 | 2023-12-04 11:20:11 +0400 | [diff] [blame^] | 1 | apiVersion: helm.toolkit.fluxcd.io/v2beta1 |
| 2 | kind: HelmRelease |
| 3 | metadata: |
| Giorgi Lekveishvili | 6bcc497 | 2023-11-27 20:02:29 +0400 | [diff] [blame] | 4 | name: coredns |
| Giorgi Lekveishvili | 106a935 | 2023-12-04 11:20:11 +0400 | [diff] [blame^] | 5 | namespace: {{ .Release.Namespace }} |
| 6 | spec: |
| 7 | chart: |
| 8 | spec: |
| 9 | chart: charts/coredns |
| 10 | sourceRef: |
| 11 | kind: GitRepository |
| 12 | name: pcloud |
| 13 | namespace: {{ .Global.PCloudEnvName }} |
| 14 | interval: 1m0s |
| 15 | values: |
| 16 | image: |
| 17 | repository: coredns/coredns |
| 18 | tag: 1.11.1 |
| 19 | pullPolicy: IfNotPresent |
| 20 | replicaCount: 1 |
| 21 | resources: |
| 22 | limits: |
| 23 | cpu: 100m |
| 24 | memory: 128Mi |
| 25 | requests: |
| 26 | cpu: 100m |
| 27 | memory: 128Mi |
| 28 | rollingUpdate: |
| 29 | maxUnavailable: 1 |
| 30 | maxSurge: 25% |
| 31 | terminationGracePeriodSeconds: 30 |
| 32 | serviceType: "ClusterIP" |
| 33 | service: |
| 34 | name: coredns |
| 35 | serviceAccount: |
| 36 | create: false |
| 37 | rbac: |
| 38 | create: true |
| 39 | pspEnable: false |
| 40 | isClusterService: true |
| 41 | securityContext: |
| 42 | capabilities: |
| 43 | add: |
| 44 | - NET_BIND_SERVICE |
| 45 | servers: |
| 46 | - zones: |
| 47 | - zone: . |
| 48 | port: 53 |
| 49 | plugins: |
| 50 | - name: log |
| 51 | - name: health |
| 52 | configBlock: |- |
| 53 | lameduck 5s |
| 54 | - name: ready |
| 55 | extraConfig: |
| 56 | import: |
| 57 | parameters: {{ .Values.Volume.MountPath }}/coredns.conf |
| 58 | extraVolumes: |
| 59 | - name: zone-configs |
| 60 | persistentVolumeClaim: |
| 61 | claimName: {{ .Values.Volume.ClaimName }} |
| 62 | extraVolumeMounts: |
| 63 | - name: zone-configs |
| 64 | mountPath: {{ .Values.Volume.MountPath}} |
| 65 | livenessProbe: |
| 66 | enabled: true |
| 67 | initialDelaySeconds: 60 |
| 68 | periodSeconds: 10 |
| 69 | timeoutSeconds: 5 |
| 70 | failureThreshold: 5 |
| 71 | successThreshold: 1 |
| 72 | readinessProbe: |
| 73 | enabled: true |
| 74 | initialDelaySeconds: 30 |
| 75 | periodSeconds: 10 |
| 76 | timeoutSeconds: 5 |
| 77 | failureThreshold: 5 |
| 78 | successThreshold: 1 |
| 79 | zoneFiles: [] |
| 80 | hpa: |
| 81 | enabled: false |
| 82 | autoscaler: |
| 83 | enabled: false |
| 84 | deployment: |
| 85 | enabled: true |