Skip to content

Commit

Permalink
Passing java_opts as parameter from values.yaml (#211)
Browse files Browse the repository at this point in the history
* Allowing pass of java_opts through the values files

* Bumping Atomix chart version

* updating versions
  • Loading branch information
Andrea-Campanella authored Oct 1, 2020
1 parent b779a15 commit 6fc7a21
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions onos-classic/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
apiVersion: v1
name: onos-classic
version: 0.1.9
version: 0.1.10
kubeVersion: ">=1.10.0"
appVersion: 2.2.4
appVersion: 2.2.6
description: ONOS cluster
keywords:
- onos
Expand Down
2 changes: 1 addition & 1 deletion onos-classic/requirements.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
dependencies:
- name: atomix
version: 0.1.3
version: 0.1.4
repository: https://charts.atomix.io
2 changes: 1 addition & 1 deletion onos-classic/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ spec:
cpu: {{ .Values.resources.requests.cpu }}
env:
- name: JAVA_OPTS
value: -Xmx{{ .Values.heap }}
value: {{ .Values.java_opts }}
{{- with .Values.apps }}
- name: ONOS_APPS
value: {{ template "onos-apps" . }}
Expand Down
2 changes: 1 addition & 1 deletion onos-classic/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ image:
pullSecrets: []

replicas: 3
heap: 4G
java_opts: -Xmx4G
apps:
- org.onosproject.openflow-base

Expand Down

0 comments on commit 6fc7a21

Please sign in to comment.