Skip to content

Commit

Permalink
v1.0.2-b1 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mershad-manesh committed Aug 17, 2023
1 parent 4d72d20 commit 9b817e3
Show file tree
Hide file tree
Showing 8 changed files with 50 additions and 12 deletions.
2 changes: 1 addition & 1 deletion horizon/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.2-rc1
version: 1.0.2-b1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion horizon/templates/opennms-core.route.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if eq (include "omOpenShift" .) "true" }}
{{- if and (eq (include "onOpenShift" .) "true") ((.Values.dependencies.securitycontext).route) }}
kind: Route
apiVersion: route.openshift.io/v1
metadata:
Expand Down
2 changes: 1 addition & 1 deletion horizon/templates/opennms-core.sa.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if eq (include "omOpenShift" .) "true" }}
{{- if and (eq (include "onOpenShift" .) "true") ((.Values.dependencies.securitycontext).serviceaccount) }}
apiVersion: v1
kind: ServiceAccount
metadata:
Expand Down
2 changes: 1 addition & 1 deletion horizon/templates/opennms-core.scc.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if eq (include "omOpenShift" .) "true" }}
{{- if and (eq (include "onOpenShift" .) "true") ((.Values.dependencies.securitycontext).securitycontextconstraints) }}
---
kind: SecurityContextConstraints
metadata:
Expand Down
4 changes: 2 additions & 2 deletions horizon/templates/opennms-core.statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ spec:
name: app-credentials
env:
- name: JAVA_HOME
value: /usr/lib/jvm/java-nocap
value: /usr/lib/jvm/java
- name: OPENNMS_DATABASE_CONNECTION_MAXPOOL
value: {{ .Values.core.configuration.database.poolSize | default "50" | quote }}
volumeMounts:
Expand Down Expand Up @@ -164,7 +164,7 @@ spec:
resource: requests.memory
divisor: 1Mi
- name: JAVA_HOME
value: /usr/lib/jvm/java-nocap
value: /usr/lib/jvm/java
- name: JAVA_OPTS
value: -Xms$(MEM_TOTAL_MB)m -Xmx$(MEM_TOTAL_MB)m {{ $opt }}
{{- end }}
Expand Down
41 changes: 36 additions & 5 deletions horizon/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
"32.0.0",
"32.0.1",
"32.0.2",
"bleeding"
"33.0.0-SNAPSHOT",
"develop"
]
}
}
Expand Down Expand Up @@ -162,7 +163,10 @@
"default": "1Gi"
},
"mibs": {
"type": ["string", "null"],
"type": [
"string",
"null"
],
"default": null
}
}
Expand Down Expand Up @@ -193,15 +197,24 @@
"default": "newer"
},
"nodeSelector": {
"type": ["string", "null"],
"type": [
"string",
"null"
],
"default": null
},
"affinity": {
"type": ["string", "null"],
"type": [
"string",
"null"
],
"default": null
},
"tolerations": {
"type": ["string", "null"],
"type": [
"string",
"null"
],
"default": null
}
},
Expand Down Expand Up @@ -244,6 +257,24 @@
"form": true,
"title": "Dependencies",
"properties": {
"securitycontext": {
"type": "object",
"form": true,
"properties": {
"securitycontextconstraints": {
"type": "boolean",
"default": true
},
"serviceaccount": {
"type": "boolean",
"default": true
},
"route": {
"type": "boolean",
"default": true
}
}
},
"truststore": {
"type": "object",
"form": true,
Expand Down
4 changes: 4 additions & 0 deletions horizon/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ imagePullSecrets: []
# dockerEmail: [email protected]

dependencies:
securitycontext:
securitycontextconstraints: true
serviceAccount: true
route: true

# A common JKS to white-list all CA certificates for all the dependencies OpenNMS or Sentinel uses.
truststore:
Expand Down
5 changes: 4 additions & 1 deletion minion/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: minion
description: A Helm chart for running OpenNMS Minion in Kubernetes
home: https://github.com/OpenNMS/helm-charts
icon: https://www.opennms.com/wp-content/uploads/2021/04/OpenNMS_Favicon_36px.png
kubeVersion: ">=1.17.1-0"
annotations:
charts.openshift.io/name: OpenNMS Minion

# A chart can be either an 'application' or a 'library' chart.
#
Expand All @@ -17,7 +20,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.2-rc1
version: 1.0.2-b1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down

0 comments on commit 9b817e3

Please sign in to comment.