-
Notifications
You must be signed in to change notification settings - Fork 44
/
values.yaml
192 lines (171 loc) Β· 5.02 KB
/
values.yaml
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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
# Default values for mopsos.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
# -- number of replicas to launch
replicaCount: 1
image:
# -- repository where the image is located
repository: ghcr.io/adfinis/mopsos
# -- pullPolicy to use
pullPolicy: IfNotPresent
# -- Overrides the image tag whose default is the chart appVersion.
tag: ""
# -- imagePullSecrets for pulling the image
imagePullSecrets: []
# -- nameOverride configuration
nameOverride: ""
# -- fullnameOverride configuration
fullnameOverride: ""
serviceAccount:
# -- Specifies whether a service account should be created
create: true
# -- Annotations to add to the service account
annotations: {}
# -- The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
# -- Pod annotations to add
podAnnotations: {}
# -- Pod securityContext configuration
podSecurityContext: {}
# fsGroup: 2000
# -- Deployment securityContext configuration
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
# -- service type of the application
type: ClusterIP
# -- port where the service listens to
port: 8080
ingress:
# -- enable ingress for mopsos
enabled: false
# -- which ingressClassname to use
className: ""
# -- ingress annotations
annotations: {}
# kubernetes.io/tls-acme: "true"
# -- ingress hostnames
hosts:
- host: mopsos.local
paths:
- path: /
pathType: ImplementationSpecific
# -- ingress TLS configuration
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
# -- Pod resources to define
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
autoscaling:
# -- enable Pod autoscaling
enabled: false
# -- minimal count of replicas for Pod autoscaling
minReplicas: 1
# -- maixmal count of replicas for Pod autoscaling
maxReplicas: 100
# -- CPU threshold for scaling up
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80
# -- Pod nodeSelector configuration
nodeSelector: {}
# -- Pod tolerations configuration
tolerations: []
# -- Pod affinity configuration
affinity: {}
config:
# -- Connection string for Database
dbdsn: ~
# -- wheter or not to migrate the DB upon bootup
dbmigrate: false
# -- DB Provider to use (sqlite/postgres)
dbprovider: "postgres"
# -- enable otel metrics
otel: false
# -- define otel collector endpoint
otelcollector: "localhost:30079"
# -- enable debugging loglevel
debug: false
# -- enable verbose
verbose: false
# -- HTTP Basic Auth Users. Comma-separated list of clusters and tokens, e.g. 'cluster1:token1,cluster2:token2'
basicauthusers: ""
# -- use an existing Secret instead of creating one
existingSecret: ""
grafana:
enabled: true
# -- Grafana Ingress config
# @default -- see values.yaml
ingress:
# -- Enable Grafana Ingress creation
enabled: false
annotations: {}
labels: {}
# -- Hostnames for Grafana Ingress
hosts: []
path: /grafana
tls: []
grafana.ini:
# -- Grafana service config
# @default -- see values.yaml
server:
# -- hostname for Grafana, must match Ingress
domain: ~
root_url: "%(protocol)s://%(domain)s:%(http_port)s/grafana/"
serve_from_sub_path: true
dashboards:
default_home_dashboard_path: /tmp/dashboards/mopsos-data.json
# -- Configure postgres datasource for Grafana
# @default -- see values.yaml
datasources:
datasources.yaml:
apiVersion: 1
datasources:
- name: Mopsos
uid: mopsos
type: postgres
isDefault: true
access: proxy
# -- `hostname:port` for postgresql server to be used
url: ~
database: mopsos
user: mopsos_ro
secureJsonData:
password: $POSTGRESQL_RO_PASSWORD
# -- Load mopsos secrets into grafana env
envFromSecret: mopsos-secret
sidecar:
dashboards:
# -- Deploy dashboards via ConfigMap
enabled: true
# -- Label used to discover dashboards
label: k8s.adfinis.com/grafana_dashboards
# -- Value of ConfigMap label
labelValue: mopsos
rollout:
# -- Enable Argo Rollouts based delivery
enabled: false
# -- Delivery mode to use for Argo Rollouts
mode: "blueGreen"
# -- Configure Argo Rollouts strategy, applied with `tpl`
# @default -- basic blue-green config
strategy: |
blueGreen:
activeService: {{ template "mopsos.fullname" . }}
previewService: {{ template "mopsos.fullname" . }}-preview