Federated the controller configmap

This commit is contained in:
Pünkösd Marcell 2021-12-14 17:23:55 +01:00
parent 6f18a83d43
commit aa67cd984b
2 changed files with 16 additions and 9 deletions

View File

@ -14,8 +14,8 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.1.4
version: 0.1.5
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: 0.1.0
appVersion: 0.1.1

View File

@ -48,12 +48,19 @@ data:
URSIM_CONTROL_IMAGE: "registry.kmlabz.com/universalrobots/single_ursim_control:latest"
URSIM_CONTROL_CONFIGMAP: "single-ursim-controller-config"
---
apiVersion: v1
kind: ConfigMap
apiVersion: types.kubefed.io/v1beta1
kind: FederatedConfigMap
metadata:
name: single-ursim-controller-config
data:
DRY_RUN: "{{ .Values.singleURSimControl.dry_run }}"
REDIS_URL: "redis://controller-redis/0"
SENTRY_DSN: "{{ .Values.singleURSimControl.sentry_dsn }}"
DEBUG: "{{ .Values.singleURSimControl.debug }}"
spec:
template:
data:
DRY_RUN: "{{ .Values.singleURSimControl.dry_run }}"
REDIS_URL: "redis://controller-redis/0"
SENTRY_DSN: "{{ .Values.singleURSimControl.sentry_dsn }}"
DEBUG: "{{ .Values.singleURSimControl.debug }}"
placement:
clusters:
- name: cloud
- name: edge-1
- name: edge-2