...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
apiVersion: apps/v1 kind: Deployment metadata: namespace: yuuvis labels: app: yuuvis name: sothook name: sothook spec: replicas: 1 selector: matchLabels: name: sothook template: metadata: labels: app: yuuvis name: sothook spec: initContainers: - name: init-sothook image: busybox command: ["sh", "-c", "until wget -q --spider http://configservice/manage/health; do echo waiting for configservice; sleep 11; done;"] imagePullPolicy: IfNotPresent containers: - name: sothook image: docker.yuuvis.org/yuuvis/sandbox/sot-hook:1.0.0-RC01 imagePullPolicy: Always env: - name: JAVA_OPTS value: -Xmx256m - name: SPRING_PROFILES_ACTIVE value: prod,kubernetes - name: SPRING_CLOUD_CONFIG_URI value: "http://configservice/config" ports: - containerPort: 10779 restartPolicy: Always imagePullSecrets: - name: flexsecret |
In the cluster, the "appsapp/clientsystem/systemHookConfiguration.json
" file must be adapted in the CONFIGSERVICE - in the webhook
array, these two entries must be added:
...