Kubernetes RabbitMQ operator https://github.com/tekliner/rabbitmq-operator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
843B

  1. apiVersion: apps/v1
  2. kind: Deployment
  3. metadata:
  4. name: rabbitmq-operator
  5. spec:
  6. replicas: 1
  7. selector:
  8. matchLabels:
  9. name: rabbitmq-operator
  10. template:
  11. metadata:
  12. labels:
  13. name: rabbitmq-operator
  14. spec:
  15. serviceAccountName: rabbitmq-operator
  16. containers:
  17. - name: rabbitmq-operator
  18. # Replace this with the built image name
  19. image: REPLACE_IMAGE
  20. command:
  21. - rabbitmq-operator
  22. imagePullPolicy: Always
  23. env:
  24. - name: WATCH_NAMESPACE
  25. valueFrom:
  26. fieldRef:
  27. fieldPath: metadata.namespace
  28. - name: POD_NAME
  29. valueFrom:
  30. fieldRef:
  31. fieldPath: metadata.name
  32. - name: OPERATOR_NAME
  33. value: "rabbitmq-operator"