Skip to content

Commit 40fffc8

Browse files
committed
configuring ini files
1 parent 9a68ffa commit 40fffc8

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

README.md

+10-5
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This project contains necessary artifacts for deploying queuemanager on Openshif
1010

1111
## Introduction
1212

13-
This guide provides a walkthrough on how to set up an Queuemanager. The Github repository is a template containing a Dockerfile and Helm Chart which is used with the [Cloud Native Toolkit](https://cloudnativetoolkit.dev/) to register a Tekton pipeline to build a Queuemanager image and deploy it on a containerized instance of IBM MQ.
13+
This guide provides a walkthrough on how to set up an Queuemanager. The Github repository is a template containing a Dockerfile and Helm Chart which is used with the [Cloud Native Toolkit](https://cloudnativetoolkit.dev/) to register a Tekton pipeline to build a Queuemanager image and deploy it on a containerized instance of IBM MQ.
1414

1515
This repo contains the below artifacts.
1616

@@ -38,7 +38,7 @@ This repo contains the below artifacts.
3838

3939
- [IBM Catalog Operator](https://www.ibm.com/docs/en/app-connect/11.0.0?topic=iicia-enabling-operator-catalog-cloud-pak-foundational-services-operator)
4040
- [IBM Common Services](https://github.com/IBM/ibm-common-service-operator)
41-
- [IBM MQ Operator](https://www.ibm.com/docs/en/ibm-mq/9.2?topic=integration-using-mq-in-cloud-pak-openshift)
41+
- [IBM MQ Operator](https://www.ibm.com/docs/en/ibm-mq/9.2?topic=integration-using-mq-in-cloud-pak-openshift)
4242
- [Cloudnative toolkit](https://cloudnativetoolkit.dev/overview)
4343

4444
## Deploy Queuemanager
@@ -69,7 +69,12 @@ oc pipeline --tekton
6969

7070
- To make sure the queuemanager is successfully deployed, run `oc get queuemanager`.
7171

72+
Note: This pipeline demonstrates how to add in the `mqsc` configuration files. Similarly, if you want to configure an `qm.ini`, please create a configMap for the same and inject it under `spec.queueManager` in the `qm-template.yaml` using the below snippet.
7273

73-
74-
75-
74+
```yaml
75+
ini:
76+
- configMap:
77+
name: {{ .Values.ini.configmap }}
78+
items:
79+
- {{ .Values.ini.name }}
80+
```

chart/base/values.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ mqsc:
5959
queue: queue.mqsc
6060
channel: channel.mqsc
6161

62+
ini:
63+
configmap:
64+
name:
65+
6266
securityContext:
6367
initVolumeAsRoot: false
6468

0 commit comments

Comments
 (0)