-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathvalues.yaml
More file actions
133 lines (126 loc) · 4.77 KB
/
values.yaml
File metadata and controls
133 lines (126 loc) · 4.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# These values are dervied from https://github.com/sourcegraph/deploy-sourcegraph-helm/blob/main/charts/sourcegraph/values.yaml
### Common Configuration ###
sourcegraph:
image:
# -- Global docker image tag
defaultTag: '{{ .Chart.AppVersion }}'
# -- Global docker image pull policy
pullPolicy: IfNotPresent
# -- Global docker image registry or prefix
repository: us-docker.pkg.dev/sourcegraph-images/internal
# -- When set to true, sourcegraph.image.defaultTag is used as the default defaultTag for all services, instead of service-specific default defaultTags
useGlobalTagAsDefault: false
# -- Mount named secrets containing docker credentials
imagePullSecrets: []
# -- Add a global label to all resources
labels: {}
# -- Set a custom name for the app.kubernetes.io/name annotation
nameOverride: ""
# -- Affinity,
# learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity)
affinity: {}
# -- NodeSelector,
# learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector)
nodeSelector: {}
# -- Tolerations,
# learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/)
tolerations: []
# -- Add extra annotations to attach to all pods
podAnnotations: {}
# -- Add extra labels to attach to all pods
podLabels: {}
# -- Assign a priorityClass to all pods (daemonSets, deployments, and statefulSets)
priorityClassName: ""
# Generic application configuration options, used by most applications below
# app: # Generally matches directory name
# replicaCount: 1
#
# image:
# # Application-specific default tag. Overrides the global tag. Do not modify - use tag instead
# defaultTag:
# # Override the default tag on a service-specific basis
# tag:
# # Override the default docker image name
# name:
#
# # Add additional labels and annotations to various resources
# labels: {}
# podLabels: {}
# podAnnotations: {}
# serviceLabels: {}
# serviceAnnotations: {}
# # Override default service/deployment names
# name: ""
# # Provide custom environment variables
# env: {}
# # Set resource requests / limits
# resources: {}
# podSecurityContext: {}
# securityContext: {}
# # Add additional volumes and mounts to deployments
# extraVolumeMounts: {}
# extraVolumes: {}
# # Add sidecars
# extraContainers: {}
# # Toggle serviceAccount creation
# serviceAccount.create: true
# # Customize service account name
# serviceAccount.name: ""
# # Override service type (defaults to ClusterIP)
# serviceType: ""
# # Set disk size on PVC's for stateful deployments
# storageSize: ""
# # Optionally bind PVC's to an existing PV
# volumeName: ""
# # Use an existing configmap (specified by name) instead of creating one
# existingConfig: ""
# # Toggle deployment of applications on/off. Applies to databases and third-party applications
# enabled: true
codeInsightsDB:
name: "codeinsights-db"
auth:
# -- Name of existing secret to use for codeinsights-db credentials
# This should match the setting in the sourcegraph chart values
existingSecret: ""
codeIntelDB:
name: "codeintel-db"
auth:
# -- Name of existing secret to use for codeintel-db credentials
# This should match the setting in the sourcegraph chart values
existingSecret: ""
pgsql:
name: "pgsql"
auth:
# -- Name of existing secret to use for pgsql credentials
# This should match the setting in the sourcegraph chart values
existingSecret: ""
migrator:
image:
# -- Docker image tag for the `migrator` image
defaultTag: 6.12.1792@sha256:ad38b7d371fe951df2490d21293f24f3c581cfb8f5c5f9363c6a4fe8dfb6a504
# -- Docker image name for the `migrator` image
name: "migrator"
# -- Environment variables for the `migrator` container
env: {}
# -- Resource requests & limits for the `migrator` container,
# learn more from the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/)
resources:
limits:
cpu: 500m
memory: 100M
requests:
cpu: 100m
memory: 50M
# -- Security context for the `migrator` container,
# learn more from the [Kubernetes documentation](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container)
containerSecurityContext:
allowPrivilegeEscalation: false
runAsUser: 100
runAsGroup: 101
readOnlyRootFilesystem: true
# -- Override default `migrator` container args
# Available commands can be found at
# https://docs.sourcegraph.com/admin/how-to/manual_database_migrations
args:
- up
- -db=all