Skip to content

Commit

Permalink
Refactor and clean Helm chart options
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpollet authored May 22, 2020
1 parent 3f9529d commit fff1f0b
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ spec:
{{- if .Values.controller.logLevel }}
- "--logLevel={{ .Values.controller.logLevel }}"
{{- end }}
{{- if .Values.mesh }}
{{- if .Values.mesh.defaultMode }}
- "--defaultMode={{ .Values.mesh.defaultMode }}"
{{- end }}
{{- if .Values.acl }}
Expand Down
67 changes: 36 additions & 31 deletions helm/chart/maesh/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,46 +8,58 @@ image:
# (Optional)
# pullSecret: xxx

# acl: true

# kubedns: true

# clusterDomain: cluster.local

limits:
http: 10
tcp: 25
udp: 25

controller:
# logLevel: error
# ignoreNamespaces:
# - example

resources:
limit:
mem: "100Mi"
cpu: "200m"
mem: 100Mi
cpu: 200m
request:
mem: "50Mi"
cpu: "100m"
logLevel: error
ignoreNamespaces:
mem: 50Mi
cpu: 100m

# Added so we can launch on nodes with restrictions
nodeSelector: {}
tolerations: []
affinity: {}

kubedns: false
#clusterDomain: cluster.local

mesh:
pollInterval: 1s
pollTimeout: 1s
# defaultMode: http
# logLevel: error
# forwardingTimeouts:
# dialTimeout: 30s
# (Optional)
# responseHeaderTimeout: 0s
# (Optional)
# idleConnTimeout: 1s

resources:
limit:
mem: "100Mi"
cpu: "200m"
mem: 100Mi
cpu: 200m
request:
mem: "50Mi"
cpu: "100m"
defaultMode: http
pollInterval: "1s"
pollTimeout: "1s"
logLevel: error
mem: 50Mi
cpu: 100m

# Added so we can launch on nodes with restrictions
nodeSelector: {}
tolerations: []
# forwardingTimeouts:
# (Optional)
# dialTimeout: "30s"
# (Optional)
# responseHeaderTimeout: "0s"
# (Optional)
# idleConnTimeout: "1s"

#
# Tracing configuration
Expand Down Expand Up @@ -147,10 +159,3 @@ metrics:
# addServiceLabels: true
# (Optional)
# pushInterval: 10s

acl: false

limits:
http: 10
tcp: 25
udp: 25

0 comments on commit fff1f0b

Please sign in to comment.