|
| 1 | +# This is to override the chart name. |
| 2 | +nameOverride: "" |
| 3 | +fullnameOverride: "" |
| 4 | + |
| 5 | +# This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/ |
| 6 | +image: |
| 7 | + repository: ghcr.io/stacklok/codegate |
| 8 | + # This sets the pull policy for images. |
| 9 | + pullPolicy: IfNotPresent |
| 10 | + # Overrides the image tag whose default is the chart appVersion. |
| 11 | + tag: "v0.1.22" |
| 12 | + |
| 13 | +# This is for the secretes for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/ |
| 14 | +imagePullSecrets: [] |
| 15 | + |
| 16 | +# This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/ |
| 17 | +replicaCount: 1 |
| 18 | + |
| 19 | +# This section builds out the service account more information can be found here: https://kubernetes.io/docs/concepts/security/service-accounts/ |
| 20 | +serviceAccount: |
| 21 | + # Specifies whether a service account should be created |
| 22 | + create: true |
| 23 | + # Automatically mount a ServiceAccount's API credentials? |
| 24 | + automount: true |
| 25 | + # Annotations to add to the service account |
| 26 | + annotations: {} |
| 27 | + # The name of the service account to use. |
| 28 | + # If not set and create is true, a name is generated using the fullname template |
| 29 | + name: "codegate" |
| 30 | + |
| 31 | +# This is for setting Kubernetes Annotations to a Pod. |
| 32 | +# For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/ |
| 33 | +podAnnotations: {} |
| 34 | +# This is for setting Kubernetes Labels to a Pod. |
| 35 | +# For more information checkout: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ |
| 36 | +podLabels: {} |
| 37 | + |
| 38 | +podSecurityContext: {} |
| 39 | + # fsGroup: 2000 |
| 40 | + |
| 41 | +securityContext: {} |
| 42 | + # capabilities: |
| 43 | + # drop: |
| 44 | + # - ALL |
| 45 | + # readOnlyRootFilesystem: true |
| 46 | + # runAsNonRoot: true |
| 47 | + # runAsUser: 1000 |
| 48 | + |
| 49 | +# This is for setting up a service more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/ |
| 50 | +service: |
| 51 | + # This sets the service type more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types |
| 52 | + type: ClusterIP |
| 53 | + # This sets the ports more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/#field-spec-ports |
| 54 | + port: 8989 |
| 55 | + |
| 56 | + extraServicePorts: |
| 57 | + - port: 9090 |
| 58 | + targetPort: 9090 |
| 59 | + protocol: TCP |
| 60 | + name: http-dashboard |
| 61 | + - port: 8990 |
| 62 | + targetPort: 8990 |
| 63 | + protocol: TCP |
| 64 | + name: http-copilot-proxy |
| 65 | + |
| 66 | +# This block is for setting up the ingress for more information can be found here: https://kubernetes.io/docs/concepts/services-networking/ingress/ |
| 67 | +ingress: |
| 68 | + enabled: false |
| 69 | + className: "" |
| 70 | + annotations: {} |
| 71 | + # kubernetes.io/ingress.class: nginx |
| 72 | + # kubernetes.io/tls-acme: "true" |
| 73 | + hosts: |
| 74 | + - host: chart-example.local |
| 75 | + paths: |
| 76 | + - path: / |
| 77 | + pathType: ImplementationSpecific |
| 78 | + tls: [] |
| 79 | + # - secretName: chart-example-tls |
| 80 | + # hosts: |
| 81 | + # - chart-example.local |
| 82 | + |
| 83 | +resources: {} |
| 84 | + # We usually recommend not to specify default resources and to leave this as a conscious |
| 85 | + # choice for the user. This also increases chances charts run on environments with little |
| 86 | + # resources, such as Minikube. If you do want to specify resources, uncomment the following |
| 87 | + # lines, adjust them as necessary, and remove the curly braces after 'resources:'. |
| 88 | + # limits: |
| 89 | + # cpu: 100m |
| 90 | + # memory: 128Mi |
| 91 | + # requests: |
| 92 | + # cpu: 100m |
| 93 | + # memory: 128Mi |
| 94 | + |
| 95 | +# This is to setup the liveness and readiness probes more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/ |
| 96 | +livenessProbe: |
| 97 | + httpGet: |
| 98 | + path: /health |
| 99 | + port: http |
| 100 | +readinessProbe: |
| 101 | + httpGet: |
| 102 | + path: /health |
| 103 | + port: http |
| 104 | + |
| 105 | +# This section is for setting up autoscaling more information can be found here: https://kubernetes.io/docs/concepts/workloads/autoscaling/ |
| 106 | +autoscaling: |
| 107 | + enabled: false |
| 108 | + minReplicas: 1 |
| 109 | + maxReplicas: 100 |
| 110 | + targetCPUUtilizationPercentage: 80 |
| 111 | + # targetMemoryUtilizationPercentage: 80 |
| 112 | + |
| 113 | +# Additional volumes on the output Deployment definition. |
| 114 | +volumes: |
| 115 | +- name: codegate-volume |
| 116 | + persistentVolumeClaim: |
| 117 | + claimName: codegate-0 |
| 118 | + |
| 119 | +# Additional volumeMounts on the output Deployment definition. |
| 120 | +volumeMounts: |
| 121 | +- mountPath: /app/codegate-volume |
| 122 | + name: codegate-volume |
| 123 | + |
| 124 | +# Creates a PVC for a PV volume for persisting codegate data |
| 125 | +# Only 1 PV will be created because codegate is not a statefulset |
| 126 | +volumePersistence: |
| 127 | + enabled: true |
| 128 | + pvcName: codegate-0 |
| 129 | + resources: |
| 130 | + requests: |
| 131 | + storage: 10Gi |
| 132 | + storageClassName: gp2 |
| 133 | + volumeMode: Filesystem |
| 134 | + |
| 135 | + |
| 136 | +nodeSelector: {} |
| 137 | + |
| 138 | +tolerations: [] |
| 139 | + |
| 140 | +affinity: {} |
0 commit comments