Added voltha-infra chart
Added voltha-stack chart
Moved "defaults" values to "global" so that they can be managed by the
macro charts
Added examples for different workflows
Change-Id: I5fb2bfa54a1be725892445e93bd8a35d608e5d14
diff --git a/voltha/values.yaml b/voltha/values.yaml
index 9dac911..644bba3 100644
--- a/voltha/values.yaml
+++ b/voltha/values.yaml
@@ -18,7 +18,8 @@
# Default Values
# The following are the default values used for every container in the
# template.
-defaults:
+global:
+ stack_name: voltha
log_level: "WARN"
image_registry: ''
image_org: "voltha/"
@@ -26,13 +27,12 @@
image_pullPolicy: "Always"
rw_core:
timeout: "10s"
- topics:
- core_topic: "rwcore"
-
- # Define prefix path for etcd
- # If you're running multiple voltha stacks the this value
- # should be unique across the stacks.
- kv_store_data_prefix: "service/voltha"
+ # Configure Log Correlation
+ log_correlation:
+ enabled: true
+ # Configure Tracing
+ tracing:
+ enabled: true
# Default security context under which the containers run
securityContext:
@@ -65,14 +65,6 @@
profiler:
enabled: false
-# Configure Log Correlation
-log_correlation:
- enabled: true
-
-# Configure Tracing
-tracing:
- enabled: false
-
# Define the replica count for everything
replicas:
# For R/W cores the templates translate the number of replicas
@@ -83,24 +75,27 @@
ofagent: 1
rw_core:
- log_level: '{{ .Values.defaults.log_level }}'
- core_timeout: '{{ .Values.defaults.rw_core.timeout }}'
- timeout_long_request: '{{ .Values.defaults.rw_core.timeout }}'
- timeout_request: '{{ .Values.defaults.rw_core.timeout }}'
+ log_level: '{{ .Values.global.log_level }}'
+ core_timeout: '{{ .Values.global.rw_core.timeout }}'
+ timeout_long_request: '{{ .Values.global.rw_core.timeout }}'
+ timeout_request: '{{ .Values.global.rw_core.timeout }}'
+ kv_store_data_prefix: 'service/{{ .Values.global.stack_name }}_voltha'
+ topics:
+ core_topic: "{{ .Values.global.stack_name }}_rwcore"
ofagent:
- log_level: '{{ .Values.defaults.log_level }}'
+ log_level: '{{ .Values.global.log_level }}'
# Define Docker images to be used
images:
ofagent:
- registry: '{{ .Values.defaults.image_registry }}'
- repository: '{{ .Values.defaults.image_org }}voltha-ofagent-go'
- tag: '{{- if hasKey .Values.defaults "image_tag" }}{{- if .Values.defaults.image_tag }}{{ .Values.defaults.image_tag }}{{- else }}1.4.2{{- end }}{{- else }}1.4.2{{- end }}'
- pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
+ registry: '{{ .Values.global.image_registry }}'
+ repository: '{{ .Values.global.image_org }}voltha-ofagent-go'
+ tag: '{{- if hasKey .Values.global "image_tag" }}{{- if .Values.global.image_tag }}{{ .Values.global.image_tag }}{{- else }}1.4.2{{- end }}{{- else }}1.4.2{{- end }}'
+ pullPolicy: '{{ .Values.global.image_pullPolicy }}'
rw_core:
- registry: '{{ .Values.defaults.image_registry }}'
- repository: '{{ .Values.defaults.image_org }}voltha-rw-core'
- tag: '{{- if hasKey .Values.defaults "image_tag" }}{{- if .Values.defaults.image_tag }}{{ .Values.defaults.image_tag }}{{- else }}2.6.3{{- end }}{{- else }}2.6.3{{- end }}'
- pullPolicy: '{{ .Values.defaults.image_pullPolicy }}'
+ registry: '{{ .Values.global.image_registry }}'
+ repository: '{{ .Values.global.image_org }}voltha-rw-core'
+ tag: '{{- if hasKey .Values.global "image_tag" }}{{- if .Values.global.image_tag }}{{ .Values.global.image_tag }}{{- else }}2.6.3{{- end }}{{- else }}2.6.3{{- end }}'
+ pullPolicy: '{{ .Values.global.image_pullPolicy }}'