Skip to content
8 changes: 7 additions & 1 deletion instance-applications/100-ibm-sls/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
IBM Suite License Service
===============================================================================

## Overview

Installs the `ibm-sls` operator and creates an instance of the `LicenseService`.

<!--docs-include-start-->


Contains a job that runs last (`07-postsync-update-sm_Job.yaml`). This registers the `${ACCOUNT_ID}/${CLUSTER_ID}/${INSTANCE_ID}/sls` secret in the **Secrets Vault** used to share some information that is generated at runtime with other ArgoCD Applications.

## Resources Created
Expand Down Expand Up @@ -69,6 +71,10 @@ ibm_sls:
- alias: string
crt: string (multiline)

# Pod Templates (optional)
sls_pod_templates:
key: value

# Certificate Authority (optional)
internal_certificate_authority: string
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ spec:
{{ .Values.mongo_spec | toYaml | indent 4 }}
license:
accept: true
{{- if not (empty .Values.sls_pod_templates) }}
podTemplates:
{{ .Values.sls_pod_templates | toYaml | indent 4 }}
{{- end }}
settings:
auth:
enforce: true
Expand Down
1 change: 1 addition & 0 deletions instance-applications/100-ibm-sls/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ sls_mongo_secret_name: xxx
mongo_spec: {}
sls_entitlement_file: xxx
sls_channel: 3.x
sls_pod_templates: {}
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ spec:
mongo_spec: {{ .Values.ibm_sls.mongo_spec | toYaml | nindent 14}}
{{- if .Values.custom_labels }}
custom_labels: {{ .Values.custom_labels | toYaml | nindent 14 }}
{{- end }}
{{- if .Values.ibm_sls.sls_pod_templates }}
sls_pod_templates:
{{ .Values.ibm_sls.sls_pod_templates | toYaml | indent 14 }}
{{- end }}
junitreporter:
reporter_name: "ibm-sls-{{ .Values.instance.id }}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ spec:
mongo_spec: {{ .Values.ibm_sls_standalone.mongo_spec | toYaml | nindent 14}}
{{- if .Values.custom_labels }}
custom_labels: {{ .Values.custom_labels | toYaml | nindent 14 }}
{{- end }}
{{- if .Values.ibm_sls_standalone.sls_pod_templates }}
sls_pod_templates:
{{ .Values.ibm_sls_standalone.sls_pod_templates | toYaml | indent 14 }}
{{- end }}
junitreporter:
reporter_name: "ibm-sls-{{ .Values.ibm_sls_standalone.ibm_customer_number | lower }}-{{ .Values.ibm_sls_standalone.subscription_id}}"
Expand Down
3 changes: 3 additions & 0 deletions sls-applications/100-ibm-sls/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
IBM Suite License Service
===============================================================================

## Overview

Installs the `ibm-sls` operator and creates an instance of the `LicenseService`.

Contains a job that runs last (`07-postsync-update-sm_Job.yaml`). This registers the `${ACCOUNT_ID}/${ICN}/${SAAS_SUB_ID}/sls` secret in the **Secrets Vault** used to share some information that is generated at runtime with other ArgoCD Applications.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ spec:
{{ .Values.mongo_spec | toYaml | indent 4 }}
license:
accept: true
{{- if not (empty .Values.sls_pod_templates) }}
podTemplates:
{{ .Values.sls_pod_templates | toYaml | indent 4 }}
{{- end }}
settings:
auth:
enforce: true
Expand Down
1 change: 1 addition & 0 deletions sls-applications/100-ibm-sls/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ sls_mongo_secret_name: sls-mongo-credentials
mongo_spec: {}
sls_entitlement_file: xxx
sls_channel: 3.x
sls_pod_templates: {}
Loading