Skip to content

Commit d3aa5a1

Browse files
creydrknative-prow-robot
authored andcommitted
Add volume template for kafka-*-dispatcher statefulsets to avoid kafka-*-dispatcher" is invalid: spec.template.spec.containers[0].volumeMounts[1].name: Not found: "contract-resources" error
1 parent e422f83 commit d3aa5a1

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

‎data-plane/config/broker/500-dispatcher.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@ spec:
171171
- name: config-observability
172172
configMap:
173173
name: config-observability
174+
- name: contract-resources
175+
# only a placeholder. Will be replaced later by our pod defaulting webhook
176+
emptyDir: {}
174177
restartPolicy: Always
175178
dnsConfig:
176179
options:

‎data-plane/config/channel/500-dispatcher.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@ spec:
171171
- name: config-observability
172172
configMap:
173173
name: config-observability
174+
- name: contract-resources
175+
# only a placeholder. Will be replaced later by our pod defaulting webhook
176+
emptyDir: {}
174177
restartPolicy: Always
175178
dnsConfig:
176179
options:

‎data-plane/config/source/500-dispatcher.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@ spec:
171171
- name: config-observability
172172
configMap:
173173
name: config-observability
174+
- name: contract-resources
175+
# only a placeholder. Will be replaced later by our pod defaulting webhook
176+
emptyDir: {}
174177
restartPolicy: Always
175178
dnsConfig:
176179
options:

0 commit comments

Comments
 (0)