forked from ryuheiyokokawa/strapi-helm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalues.yaml
94 lines (79 loc) · 2.64 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
# Default values for strapi-ry.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
#Since this chart should use shared file and data stores you should be able to up the replicas if needed.
replicaCount: 1
#Had to make a kubernetes happy version of the strapi docker image. Look here: https://github.com/ryuheiyokokawa/strapi-docker
#Might have to host your own registry. I based above on this: https://github.com/strapi/strapi-docker/strapi/
image:
repository: registry.default.com/ry/strapi
pullPolicy: IfNotPresent
#Used NFS as a datastore for this project since I already had a server running.
nfs:
server: "nfs.default.com"
path: "/srv/strapi-store"
#Strapi wants to know how its going to be exposed to the outside world through a proxy.
proxy:
enabled: true
ssl: true
domain: "strapi.default.com"
port: 443
#RDS or similar can be used here obviously. Look at strapi's docs for more options:
#https://strapi.io/documentation/3.0.0-beta.x/concepts/configurations.html#database
db:
client: mysql
host: "localhost"
name: strapi
pass: "strapi-sql-pass"
port: "3306"
username: strapi
#Registry credentials might be required if you have a private registry: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
imagePullSecrets:
- name: regcred
nameOverride: ""
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:
podSecurityContext: {}
# fsGroup: 2000
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
#Below is totally up to you. Could be nodeport or whatever you need.
service:
type: LoadBalancer
port: 1337
#Make sure to set your host
ingress:
enabled: false
hosts:
- host: strapi.default.com
paths: []
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
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
nodeSelector: {}
tolerations: []
affinity: {}