Skip to content

Commit aaa2958

Browse files
committed
mintmaker: add controller config for stone-stg-rh01
Add cluster-specific configuration for the stone-stg-rh01 staging environment to enable Kite integration: - Create config.json to enable Kite integration and add the API URL - Add kustomization.yaml that generates a ConfigMap from config.json - Add patch to mount the config as a volume at /etc/mintmaker
1 parent 1723a3b commit aaa2958

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"kite": {
3+
"enabled": true,
4+
"api-url": "https://konflux-kite-api-konflux-kite.apps.stone-stg-rh01.l2vh.p1.openshiftapps.com"
5+
}
6+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
resources:
4+
- ../base
5+
namespace: mintmaker
6+
7+
configMapGenerator:
8+
- name: controller-config
9+
files:
10+
- config.json
11+
12+
patches:
13+
- path: manager-mount-config-patch.yaml
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
apiVersion: apps/v1
2+
kind: Deployment
3+
metadata:
4+
name: controller-manager
5+
namespace: system
6+
spec:
7+
template:
8+
spec:
9+
containers:
10+
- name: manager
11+
volumeMounts:
12+
- name: controller-config
13+
mountPath: /etc/mintmaker
14+
volumes:
15+
- name: controller-config
16+
configMap:
17+
name: controller-config

0 commit comments

Comments
 (0)