Skip to content

Commit

Permalink
OPSEXP-2116 fixup alfresco-connector-ms365 chart (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
slohe1 authored Jul 31, 2023
1 parent 39670fb commit e5d1fa6
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/alfresco-connector-ms365/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: alfresco-connector-ms365
description: A Helm chart for deploying Alfresco connector ms365 service
type: application
version: 0.3.1
version: 0.3.2
appVersion: "2.0.0"
dependencies:
- name: alfresco-common
Expand Down
2 changes: 1 addition & 1 deletion charts/alfresco-connector-ms365/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# alfresco-connector-ms365

![Version: 0.3.1](https://img.shields.io/badge/Version-0.3.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.0.0](https://img.shields.io/badge/AppVersion-2.0.0-informational?style=flat-square)
![Version: 0.3.2](https://img.shields.io/badge/Version-0.3.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.0.0](https://img.shields.io/badge/AppVersion-2.0.0-informational?style=flat-square)

A Helm chart for deploying Alfresco connector ms365 service

Expand Down
3 changes: 3 additions & 0 deletions charts/alfresco-connector-ms365/ci/default-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ resources:
limits:
cpu: "1"
memory: "500Mi"
repository:
host: acs-alfresco-cs-repository
port: 80
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ spec:
env:
{{- range $key, $value := (omit .Values.environment "JAVA_OPTS") }}
- name: {{ $key }}
value: {{ $value }}
value: {{ $value | quote }}
{{- end }}
- name: JAVA_OPTS
value: >-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,15 @@ tests:
path: spec.template.spec.containers[0].env[2].valueFrom.configMapKeyRef.name
value: myns/mycm
template: deployment-connector-ms365.yaml

- it: should set environment variables correctly with quotes
set:
environment:
test_data: 80
asserts:
- equal:
path: spec.template.spec.containers[0].env[0]
value:
name: test_data
value: "80"
template: deployment-connector-ms365.yaml

0 comments on commit e5d1fa6

Please sign in to comment.