mirror of
https://github.com/argoproj/argo-cd
synced 2026-05-04 07:08:19 +00:00
Add additional strimzi custom resource health checks, including: * Kafka * KafkaTopic * KafkaUser Contributes to argoproj/argo-cd#5577 Signed-off-by: Nick Groszewski <groszewn@gmail.com>
58 lines
1.3 KiB
YAML
58 lines
1.3 KiB
YAML
apiVersion: kafka.strimzi.io/v1beta1
|
|
kind: KafkaUser
|
|
metadata:
|
|
creationTimestamp: "2021-02-22T15:59:18Z"
|
|
generation: 1
|
|
labels:
|
|
strimzi.io/cluster: my-cluster
|
|
name: my-user
|
|
namespace: default
|
|
resourceVersion: "134744742"
|
|
selfLink: /apis/kafka.strimzi.io/v1beta1/namespaces/default/kafkausers/my-user
|
|
uid: 4610a4d8-bd73-4ab9-bed8-971ee5dabf7d
|
|
spec:
|
|
authentication:
|
|
type: tls
|
|
authorization:
|
|
acls:
|
|
- host: '*'
|
|
operation: Read
|
|
resource:
|
|
name: my-topic
|
|
patternType: literal
|
|
type: topic
|
|
- host: '*'
|
|
operation: Describe
|
|
resource:
|
|
name: my-topic
|
|
patternType: literal
|
|
type: topic
|
|
- host: '*'
|
|
operation: Read
|
|
resource:
|
|
name: my-group
|
|
patternType: literal
|
|
type: group
|
|
- host: '*'
|
|
operation: Write
|
|
resource:
|
|
name: my-topic
|
|
patternType: literal
|
|
type: topic
|
|
- host: '*'
|
|
operation: Create
|
|
resource:
|
|
name: my-topic
|
|
patternType: literal
|
|
type: topic
|
|
type: simple
|
|
status:
|
|
conditions:
|
|
- lastTransitionTime: "2021-02-22T16:05:09.386834Z"
|
|
message: Authorization needs to be enabled in the Kafka custom resource
|
|
reason: InvalidResourceException
|
|
status: "True"
|
|
type: NotReady
|
|
observedGeneration: 1
|
|
secret: my-user
|
|
username: CN=my-user
|