Skip to content

Commit af74b42

Browse files
committed
Update deployment manifests for new DaemonSpec API structure
Migrate Config CR definitions and kustomize patches to use the new daemon spec structure, moving image and logLevel fields accordingly. Signed-off-by: Andrew McDermott <amcdermo@redhat.com>
1 parent 61fb9d3 commit af74b42

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

config/bpfman-deployment/config.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ metadata:
44
name: config
55
spec:
66
namespace: kube-system
7-
image: quay.io/bpfman/bpfman:latest
8-
logLevel: info
97
configuration: |
108
[database]
119
max_retries = 30
@@ -16,3 +14,6 @@ spec:
1614
agent:
1715
image: quay.io/bpfman/bpfman-agent:latest
1816
logLevel: info
17+
daemon:
18+
image: quay.io/bpfman/bpfman:latest
19+
logLevel: info

config/bpfman-deployment/kustomization.yaml.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ patches:
88
name: config
99
patch: |-
1010
- op: replace
11-
path: /spec/image
11+
path: /spec/daemon/image
1212
value: quay.io/bpfman/bpfman:latest
1313
- op: replace
1414
path: /spec/agent/image

config/openshift/patch.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ metadata:
1919
spec:
2020
## Can be configured at runtime
2121
namespace: bpfman
22-
logLevel: info
2322
agent:
2423
logLevel: info
24+
daemon:
25+
logLevel: info

0 commit comments

Comments
 (0)