-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathvalues.yaml
More file actions
175 lines (154 loc) · 5.69 KB
/
Copy pathvalues.yaml
File metadata and controls
175 lines (154 loc) · 5.69 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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
# Default values for CodeTogether Intel.
# This is a YAML-formatted file.
#
# Kubernetes required version: v1.18+
#
# Example 'values.yaml' file for running CodeTogether Intel On-Premises.
# Use this file as a template to create your own 'codetogether-values.yaml' file.
# For full detail on the chart's prerequisites, settings and configuration, please refer to our official Helm repository at:
# https://artifacthub.io/packages/helm/codetogether/codetogether
nameOverride: ""
fullnameOverride: ""
image:
repository: hub.edge.codetogether.com/releases/codetogether-intel
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"
# Optional: specify a digest to use a specific image version, if provided will override the
digest: ""
#
# Configure the source location for the Docker image, using the
# credentials provided by your CodeTogether Sales Representative.
#
imageCredentials:
# pullSecret: "my-customer-pull-secret"
# Use pullSecret or configure credentials if using private Docker registry.
enabled: true
registry: hub.edge.codetogether.com
username: "my-customer-username"
password: "my-customer-password"
email: unused
#
# Set CodeTogether runing mode and server's FQDN (HTTPS is mandatory for CodeTogether)
# Use 'direct' for simple evaluations and small deployments. CodeTogether can provide
# guidance on the best deployment option based on your needs.
#
codetogether:
url: https://<server-fqdn>
hqproperties:
hq.sso.client.id: CLIENTID.apps.googleusercontent.com
hq.sso.client.secret: CLIENTSECRET
hq.sso.client.issuer.url: https://accounts.google.com
name.attr: name
hq.db.type: CASSANDRA
hq.secret: SECRET1
hq.encryption.secret: SECRET2
hq.base.url: https://<server-fqdn>
hq.cassandra.db.name: insights
hq.cassandra.db.port: 9042
hq.cassandra.db.host: codetogether-cassandra.default.svc.cluster.local
hq.sso.redirect.uri: https://<server-fqdn>/api/v1/auth/sso/success/insights
hq.cassandra.db.password: cassandra
hq.cassandra.db.username: cassandra
hq.collab.url: https://<server-fqdn>
hq.collab.secret: SECRET3
# default datacenter name is 'datacenter1'
# hq.cassandra.db.localdatacenter: datacenter1
# Optional properties, if enabled is true, the values in the secret will be used as the hqproperties secret
hqpropertiessecret:
enabled: false
ref: "intel-test-hqproperties-arbitrary"
java:
customCacerts:
enabled: false # Set to 'true' to enable custom Java trust store (cacerts) support.
# Name of the Kubernetes secret that contains the custom Java trust store (cacerts) file.
# This secret should be created before deploying the application using:
# kubectl create secret generic custom-java-cacerts \
# --from-file=cacerts=/path/to/custom/cacerts
#
# If a password is required for the trust store, it can optionally be added to the same secret (see below).
#
# The 'cacerts' file is mounted to the container at '/etc/ssl/certs/java/cacerts'.
cacertsSecretName: "custom-java-cacerts"
# (Optional) The key inside the Kubernetes secret that holds the trust store password.
# If a password is required for the custom trust store, store it in the same secret as a key-value pair:
# kubectl create secret generic custom-java-cacerts \
# --from-file=cacerts=/path/to/custom/cacerts \
# --from-literal=trustStorePassword='your-secure-password'
#
# If this key is not present in the secret, no trust store password will be set.
# trustStorePasswordKey: "trustStorePassword"
# Additional custom Java options to be passed to the application.
# These options will be appended to the CT_JAVA_OPTIONS environment variable.
#
# Example:
# customJavaOptions: "-Xms512m -Xmx2g -XX:+UseG1GC"
customJavaOptions: ""
#
# Enables and configures Ingress (default = Nginx). The className value can be used
# to change the default behavior. Please read the comments below to see details.
#
ingress:
enabled: true
annotations:
# For reference: This is required for k8 version < 1.18
# kubernetes.io/ingress.class: nginx
# external-dns.alpha.kubernetes.io/hostname: <server-fqdn>
# There are 3 ways to handle ingressClassName for the CodeTogether Ingress object:
# (1) set className to 'codetogether-nginx' to use the predefined IngressClass
# (2) set className to a custom value to use your own IngressClass
# (3) do not specify className to rely on the default IngressClass for the cluster (default)
# className: codetogether-nginx
tls:
secretName: codetogether-intel-tls
#
# The following sections provide default configurations for the
# container and normally do not need to be modified.
# -------------------------------------------------------------------------
#
service:
# annotations:
# external-dns.alpha.kubernetes.io/hostname: <server-fqdn>
type: ClusterIP
port: 1080
serviceAccount:
create: true
annotations: {}
name: "codetogether-intel"
podAnnotations: {}
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
ai:
enabled: false
mode: "bundled" # Options: bundled | external
image:
repository: hub.edge.codetogether.com/releases/codetogether-llm
tag: latest
# resources: # Recommended resources configuration
# requests:
# cpu: "2"
# memory: "4Gi"
#limits:
# cpu: "4"
#memory: "4Gi"
readinessProbe:
initialDelaySeconds: 60
periodSeconds: 60
timeoutSeconds: 15
successThreshold: 1
failureThreshold: 1
livenessProbe:
initialDelaySeconds: 60
periodSeconds: 60
timeoutSeconds: 15
successThreshold: 1
failureThreshold: 1
nodeSelector: {}
tolerations: []
affinity: {}
replicaCount: 1