-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathagent.registration.yaml
More file actions
67 lines (64 loc) · 1.61 KB
/
agent.registration.yaml
File metadata and controls
67 lines (64 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#
# Copyright (c) 2026 Metaform Systems, Inc.
#
# This program and the accompanying materials are made available under the
# terms of the Apache License, Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-2.0
#
# Contributors:
# Metaform Systems, Inc. - initial API and implementation
#
apiVersion: apps/v1
kind: Deployment
metadata:
name: cfm-new-registration-agent
namespace: edc-v
labels:
app: cfm-new-registration-agent
platform: edcv
type: edcv-app
spec:
replicas: 1
selector:
matchLabels:
app: cfm-new-registration-agent
template:
metadata:
labels:
app: cfm-new-registration-agent
platform: edcv
type: edcv-app
spec:
containers:
- name: cfm-new-registration-agent
image: reg-agent:latest
imagePullPolicy: Never
command: [ "/root/server" ]
args: [
"--mode=debug"
]
envFrom:
- configMapRef:
name: telemetry-config # this is created by JAD
volumeMounts:
- name: cfm-new-registration-agent-config
mountPath: /etc/appname
readOnly: true
volumes:
- name: cfm-new-registration-agent-config
configMap:
name: cfm-new-registration-agent-config
restartPolicy: Always
---
apiVersion: v1
kind: ConfigMap
metadata:
name: cfm-new-registration-agent-config
namespace: edc-v
data:
agent.registration.env: |
uri: nats://nats.edc-v.svc.cluster.local:4222
bucket: cfm-bucket
stream: cfm-stream