Skip to content

Commit

Permalink
Merge branch 'main' into sink-api
Browse files Browse the repository at this point in the history
  • Loading branch information
ryannedolan committed Jul 19, 2023
2 parents df6d48c + c064a16 commit aa5abc8
Show file tree
Hide file tree
Showing 22 changed files with 182 additions and 2,789 deletions.
6 changes: 3 additions & 3 deletions deploy/dev/rbac.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: hoptimator-controller
name: hoptimator-operator
namespace: default
subjects:
- kind: ServiceAccount
name: default
name: hoptimator-operator
namespace: default
roleRef:
kind: Role
name: hoptimator-controller
name: hoptimator-operator
apiGroup: rbac.authorization.k8s.io
1 change: 1 addition & 0 deletions deploy/hoptimator-operator-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ spec:
labels:
app: hoptimator-operator
spec:
serviceAccountName: hoptimator-operator
containers:
- name: hoptimator-operator
image: docker.io/library/hoptimator
Expand Down
7 changes: 5 additions & 2 deletions deploy/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
namespace: default
name: hoptimator-controller
name: hoptimator-operator
rules:
- apiGroups: ["hoptimator.linkedin.com"]
resources: ["acls", "kafkatopics", "subscriptions"]
verbs: ["get", "watch", "list", "update", "create"]
- apiGroups: ["hoptimator.linkedin.com"]
resources: ["kafkatopics/status", "subscriptions/status", "acls/status"]
verbs: ["get", "patch"]
- apiGroups: ["flink.apache.org"]
resources: ["flinkdeployments"]
verbs: ["update", "create"]
verbs: ["get", "update", "create"]

12 changes: 12 additions & 0 deletions deploy/subscriptions.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,21 @@ spec:
message:
description: Error or success message, for information only.
type: string
sql:
description: The SQL being implemented by this pipeline.
type: string
resources:
description: The YAML generated to implement this pipeline.
type: array
items:
type: string
subresources:
status: {}
additionalPrinterColumns:
- name: STATUS
type: string
description: Status message from the operator.
jsonPath: .status.message
- name: DB
type: string
description: The database where the subscription is materialized.
Expand Down

This file was deleted.

Loading

0 comments on commit aa5abc8

Please sign in to comment.