Skip to content

Commit 46290c1

Browse files
committed
add extraEnv
1 parent 3d48db4 commit 46290c1

File tree

7 files changed

+29
-11
lines changed

7 files changed

+29
-11
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Change Log
22

3+
## 2024-08-23
4+
### Changed
5+
- Management Agent docker image has been updated to version 1.5.0
6+
- Extra environment (extraEnv) added to Management Agent.
7+
38
## 2024-07-08
49
### Added
510
- Option to disable JRE default security property for Agent.

charts/mgmt-agent/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type: application
1818
# This is the chart version. This version number should be incremented each time you make changes
1919
# to the chart and its templates, including the app version.
2020
# Versions are expected to follow Semantic Versioning (https://semver.org/)
21-
version: 3.0.3
21+
version: 3.0.4
2222

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

charts/mgmt-agent/templates/env-configmap.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,3 @@ data:
1515
{{- if .Values.deployment.cleanupEpochTime }}
1616
POD_CLEANUP_ID: "{{ .Values.deployment.cleanupEpochTime }}"
1717
{{- end }}
18-
19-
# Modifiable properties
20-
# Add new or change the below existing properties as required
21-
22-
# Openjdk on RHEL with FIPS requires the default security property to be disabled,
23-
# so that Management Agent can use its own bcfips security provider.
24-
# Set this to true to disable, and pass disableJREDefaultSecurityPropertiesFile=true via the rsp file.
25-
DISABLE_JRE_DEFAULT_SECURITY_PROPERTIES_FILE: "false"

charts/mgmt-agent/templates/mgmt-agent-daemonset.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ spec:
3838
envFrom:
3939
- configMapRef:
4040
name: {{ include "mgmt-agent.resourceNamePrefix" . }}-env
41+
env:
42+
{{- if .Values.mgmtagent.extraEnv }}
43+
{{- range .Values.mgmtagent.extraEnv }}
44+
- name: {{ .name }}
45+
value: {{ .value | quote }}
46+
{{- end }}
47+
{{- end }}
4148
resources:
4249
requests:
4350
cpu: {{ .Values.deployment.resource.request.cpuCore }}

charts/mgmt-agent/templates/mgmt-agent-statefulset.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,13 @@ spec:
3939
envFrom:
4040
- configMapRef:
4141
name: {{ include "mgmt-agent.resourceNamePrefix" . }}-env
42+
env:
43+
{{- if .Values.mgmtagent.extraEnv }}
44+
{{- range .Values.mgmtagent.extraEnv }}
45+
- name: {{ .name }}
46+
value: {{ .value | quote }}
47+
{{- end }}
48+
{{- end }}
4249
resources:
4350
requests:
4451
cpu: {{ .Values.deployment.resource.request.cpuCore }}

charts/mgmt-agent/values.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ mgmtagent:
3232
url:
3333
# -- Image secrets to use for pulling container image (base64 encoded content of ~/.docker/config.json file)
3434
secret:
35+
# Please specify additional environment variables in name:value pairs
36+
extraEnv:
37+
# Openjdk on RHEL with FIPS requires the default security property to be disabled,
38+
# so that Management Agent can use its own bcfips security provider.
39+
# Set this to true to disable, and pass disableJREDefaultSecurityPropertiesFile=true via the rsp file.
40+
- name: DISABLE_JRE_DEFAULT_SECURITY_PROPERTIES_FILE
41+
value: "false"
3542

3643
# -- Kubernetes namespace to create and install this helm chart in
3744
namespace: "{{ .Values.global.namespace }}"

charts/oci-onm/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type: application
1818
# This is the chart version. This version number should be incremented each time you make changes
1919
# to the chart and its templates, including the app version.
2020
# Versions are expected to follow Semantic Versioning (https://semver.org/)
21-
version: 3.4.4
21+
version: 3.4.5
2222

2323
# This is the version number of the application being deployed. This version number should be
2424
# incremented each time you make changes to the application. Versions are not expected to
@@ -36,6 +36,6 @@ dependencies:
3636
repository: "file://../logan"
3737
condition: oci-onm-logan.enabled
3838
- name: oci-onm-mgmt-agent
39-
version: "3.0.3"
39+
version: "3.0.4"
4040
repository: "file://../mgmt-agent"
4141
condition: oci-onm-mgmt-agent.enabled

0 commit comments

Comments
 (0)