Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include dependent operators in diagnostics (#1570)
Operators that are children of other operators through dependencies are included in diagnostics bundles of their parent operator. Signed-off-by: Jan Schlicht <jan@d2iq.com>
- Loading branch information
Jan Schlicht
committed
Jun 29, 2020
1 parent
81be705
commit 6fc3086
Showing
24 changed files
with
197 additions
and
2,077 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 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,12 @@ | ||
apiVersion: kudo.dev/v1beta1 | ||
kind: Instance | ||
metadata: | ||
labels: | ||
kudo.dev/operator: zookeeper-instance-child | ||
name: zookeeper-instance-child-instance | ||
namespace: my-namespace | ||
ownerReferences: | ||
- uid: 4c46f7a2-3571-4047-9a15-be5043c6b357 | ||
spec: | ||
operatorVersion: | ||
name: zookeeper-instance-child-0.1.0 |
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,5 @@ | ||
apiVersion: kudo.dev/v1beta1 | ||
kind: Operator | ||
metadata: | ||
name: zookeeper-instance-child | ||
namespace: my-namespace |
9 changes: 9 additions & 0 deletions
9
pkg/kudoctl/cmd/diagnostics/testdata/child_operatorversion.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,9 @@ | ||
apiVersion: kudo.dev/v1beta1 | ||
kind: OperatorVersion | ||
metadata: | ||
name: zookeeper-instance-child-0.1.0 | ||
namespace: my-namespace | ||
spec: | ||
operator: | ||
kind: Operator | ||
name: zookeeper-instance-child |
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 |
---|---|---|
@@ -1,23 +1,4 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
annotations: | ||
rbac.authorization.kubernetes.io/autoupdate: "true" | ||
creationTimestamp: "2020-04-17T13:11:57Z" | ||
labels: | ||
kubernetes.io/bootstrapping: rbac-defaults | ||
name: cluster-admin | ||
resourceVersion: "44" | ||
selfLink: /apis/rbac.authorization.k8s.io/v1/clusterroles/cluster-admin | ||
uid: 00d4e229-e4ce-43f4-94e9-1c2930af13e3 | ||
rules: | ||
- apiGroups: | ||
- '*' | ||
resources: | ||
- '*' | ||
verbs: | ||
- '*' | ||
- nonResourceURLs: | ||
- '*' | ||
verbs: | ||
- '*' |
Oops, something went wrong.