forked from grafeas/grafeas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalues.yaml
80 lines (70 loc) · 2.28 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
replicaCount: 1
secret:
enabled: false
## Grafeas image version
image:
repository: us.gcr.io/grafeas
name: grafeas-server
tag: v0.1.6
pullPolicy: IfNotPresent
nameOverride: "grafeas-server"
fullnameOverride: "grafeas-server"
## Specify a service type
## ClusterIP is default
## ref: http://kubernetes.io/docs/user-guide/services/
##
service:
type: ClusterIP
port: 8080
container:
port: 8080
## Persist data to a persistent volume. This is both a volume for certificates, Grafeas config and data volume.
## enabled: false results in no persistent volumes and persistent volume claims being created
## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
##
persistence:
enabled: false
# The name of persistent volume to use
# persistent volume is used for storing the embedded grafeas data
claimName: "grafeas"
# The type of storage used, supported options: memstore or embedded
# REMARK: embedded storage requires a persistent volume
storageType: "memstore"
# Certificates for mutual authentication
certificates:
enabled: false
name: grafeas-ssl-certs
ca: |-
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
cert: |-
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
key: |-
-----BEGIN RSA PRIVATE KEY-----
...
-----END RSA PRIVATE KEY-----
## Configure resource requests and limits
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 100m
memory: 128Mi
## Customize liveness, readiness and startup probes
livenessprobe:
# Initial delay for liveness probe - value based on pod startup average of ~12 seconds using default resource limits above
initialDelaySeconds: 15
periodSeconds: 10
# Failure threshold is calculated as initialDelaySeconds + (failureThreshold * periodSeconds) based on worst case startup time of 45 seconds
failureThreshold: 3
readinessprobe:
# Initial delay for readiness probe - value based on pod startup average of ~12 seconds using default resource limits above
initialDelaySeconds: 15
periodSeconds: 10
# Failure threshold is calculated as initialDelaySeconds + (failureThreshold * periodSeconds) based on worst case startup time of 45 seconds
failureThreshold: 3