forked from aws-controllers-k8s/kafka-controller
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgenerator.yaml
More file actions
108 lines (107 loc) · 3.12 KB
/
Copy pathgenerator.yaml
File metadata and controls
108 lines (107 loc) · 3.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
ignore:
resource_names:
#- Cluster
- ClusterV2
- VpcConnection
- Replicator
#- Configuration
field_paths:
- ConnectivityInfo.VpcConnectivity
- DescribeClusterOutput.ClusterInfo.BrokerNodeGroupInfo.ZoneIds
resources:
Configuration:
fields:
Tags:
compare:
is_ignored: true
tags:
ignore: true
Cluster:
renames:
operations:
CreateCluster:
input_fields:
ClusterName: Name
DescribeCluster:
input_fields:
ClusterName: Name
hooks:
sdk_read_one_post_set_output:
template_path: hooks/cluster/sdk_read_one_post_set_output.go.tpl
sdk_create_post_set_output:
template_path: hooks/cluster/sdk_create_post_set_output.go.tpl
sdk_update_pre_build_request:
template_path: hooks/cluster/sdk_update_pre_build_request.go.tpl
sdk_delete_pre_build_request:
template_path: hooks/cluster/sdk_delete_pre_build_request.go.tpl
delta_pre_compare:
code: customPreCompare(delta, a, b)
update_operation:
custom_method_name: customUpdate
synced:
when:
- path: Status.State
in:
- ACTIVE
exceptions:
terminal_codes:
- BadRequestException
fields:
# In order to support associating zero or more scram secrets to a cluster, we use
# custom update code path that uses the BatchAssociate/BatchDisassociateScramSecret API
# calls to manage the set of SecretARNs associated to this Cluster.
AssociatedScramSecrets:
type: "[]*string"
references:
resource: Secret
service_name: secretsmanager
path: Status.ACKResourceMetadata.ARN
Tags:
compare:
is_ignored: true
BrokerNodeGroupInfo.ConnectivityInfo.PublicAccess.Type:
go_tag: json:"type,omitempty"
ZookeeperConnectString:
type: string
is_read_only: true
ZookeeperConnectStringTls:
type: string
is_read_only: true
BootstrapBrokerString:
type: string
is_read_only: true
BootstrapBrokerStringPublicSaslIam:
type: string
is_read_only: true
BootstrapBrokerStringPublicSaslScram:
type: string
is_read_only: true
BootstrapBrokerStringPublicTls:
type: string
is_read_only: true
BootstrapBrokerStringSaslIam:
type: string
is_read_only: true
BootstrapBrokerStringSaslScram:
type: string
is_read_only: true
BootstrapBrokerStringTls:
type: string
is_read_only: true
BootstrapBrokerStringVpcConnectivitySaslIam:
type: string
is_read_only: true
BootstrapBrokerStringVpcConnectivitySaslScram:
type: string
is_read_only: true
BootstrapBrokerStringVpcConnectivityTls:
type: string
is_read_only: true
CurrentVersion:
from:
operation: DescribeCluster
path: ClusterInfo.CurrentVersion
is_read_only: true
tags:
# TODO(jaypipes): Ignore tags for now... we will add support later
ignore: true