forked from aws-controllers-k8s/kafka-controller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgenerator.yaml
60 lines (60 loc) · 1.71 KB
/
generator.yaml
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
ignore:
resource_names:
#- Cluster
- ClusterV2
#- Configuration
resources:
Configuration:
fields:
Tags:
compare:
is_ignored: true
tags:
ignore: true
Cluster:
renames:
operations:
CreateCluster:
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
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
ZookeeperConnectString:
type: string
is_read_only: true
ZookeeperConnectStringTls:
type: string
is_read_only: true
tags:
# TODO(jaypipes): Ignore tags for now... we will add support later
ignore: true