-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Break into one object per yaml file to appease yamllint
- Loading branch information
Steve Keay
committed
Sep 11, 2024
1 parent
e1c2647
commit 92e4c91
Showing
10 changed files
with
94 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: EventSource | ||
metadata: | ||
name: openstack-keystone | ||
spec: | ||
amqp: | ||
notifications: | ||
# amqp server url | ||
url: amqp://rabbitmq-server-0.rabbitmq-nodes.openstack.svc.cluster.local:5672/keystone | ||
# jsonBody specifies that all event body payload coming from this | ||
# source will be JSON | ||
jsonBody: true | ||
# name of the exchange. | ||
exchangeName: keystone | ||
exchangeType: topic | ||
exchangeDeclare: | ||
durable: false | ||
# routing key for messages within the exchange | ||
routingKey: 'notifications.info' | ||
# optional consume settings | ||
# if not provided, default values will be used | ||
consume: | ||
consumerTag: "argo-events" | ||
autoAck: true | ||
exclusive: false | ||
noLocal: false | ||
# username and password for authentication | ||
# use secret selectors | ||
auth: | ||
username: | ||
name: argo-user-credentials | ||
key: username | ||
password: | ||
name: argo-user-credentials | ||
key: password |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
workflows/openstack/poddisruptionbudget-eventbus-default-pdb.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
apiVersion: policy/v1 | ||
kind: PodDisruptionBudget | ||
metadata: | ||
name: eventbus-default-pdb | ||
spec: | ||
maxUnavailable: 1 | ||
selector: | ||
matchLabels: | ||
controller: eventbus-controller | ||
eventbus-name: default |
16 changes: 16 additions & 0 deletions
16
workflows/openstack/rabbitmq-permission-argo-to-ironic-permission.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
apiVersion: rabbitmq.com/v1beta1 | ||
kind: Permission | ||
metadata: | ||
name: argo-to-ironic-permission | ||
spec: | ||
vhost: "ironic" | ||
userReference: | ||
name: "argo" # name of a user.rabbitmq.com in the same namespace; must specify either spec.userReference or spec.user | ||
permissions: | ||
write: ".*" | ||
configure: ".*" | ||
read: ".*" | ||
rabbitmqClusterReference: | ||
name: rabbitmq # rabbitmqCluster must exist in the same namespace as this resource | ||
namespace: openstack |
16 changes: 16 additions & 0 deletions
16
workflows/openstack/rabbitmq-permission-argo-to-keystone-permission.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
apiVersion: rabbitmq.com/v1beta1 | ||
kind: Permission | ||
metadata: | ||
name: argo-to-keystone-permission | ||
spec: | ||
vhost: "keystone" | ||
userReference: | ||
name: "argo" # name of a user.rabbitmq.com in the same namespace; must specify either spec.userReference or spec.user | ||
permissions: | ||
write: ".*" | ||
configure: ".*" | ||
read: ".*" | ||
rabbitmqClusterReference: | ||
name: rabbitmq # rabbitmqCluster must exist in the same namespace as this resource | ||
namespace: openstack |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
apiVersion: rabbitmq.com/v1beta1 | ||
kind: User | ||
metadata: | ||
name: argo | ||
spec: | ||
rabbitmqClusterReference: | ||
name: rabbitmq # rabbitmqCluster must exist in the same namespace as this resource | ||
namespace: openstack |