Skip to content

Commit 28aa346

Browse files
authored
release artifacts for release v0.0.2 (#16)
release artifacts for RDS controller v0.0.2 with support for DBCluster resources. aws-controllers-k8s/community#626 By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 433cbf3 commit 28aa346

10 files changed

+70
-7
lines changed

helm/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v1
22
name: ack-rds-controller
33
description: A Helm chart for the ACK service controller for rds
4-
version: v0.0.1
5-
appVersion: v0.0.1
4+
version: v0.0.2
5+
appVersion: v0.0.2
66
home: https://github.com/aws-controllers-k8s/rds-controller
77
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
88
sources:

helm/crds/rds.services.k8s.aws_dbinstances.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ spec:
3434
metadata:
3535
type: object
3636
spec:
37-
description: DBInstanceSpec defines the desired state of DBInstance
37+
description: "DBInstanceSpec defines the desired state of DBInstance.
38+
\n Contains the details of an Amazon RDS DB instance. \n This data type
39+
is used as a response element in the DescribeDBInstances action."
3840
properties:
3941
allocatedStorage:
4042
description: "The amount of storage (in gibibytes) to allocate for

helm/crds/rds.services.k8s.aws_dbparametergroups.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ spec:
3434
metadata:
3535
type: object
3636
spec:
37-
description: DBParameterGroupSpec defines the desired state of DBParameterGroup
37+
description: "DBParameterGroupSpec defines the desired state of DBParameterGroup.
38+
\n Contains the details of an Amazon RDS DB parameter group. \n This
39+
data type is used as a response element in the DescribeDBParameterGroups
40+
action."
3841
properties:
3942
description:
4043
description: The description for the DB parameter group.

helm/crds/rds.services.k8s.aws_dbsecuritygroups.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ spec:
3434
metadata:
3535
type: object
3636
spec:
37-
description: DBSecurityGroupSpec defines the desired state of DBSecurityGroup
37+
description: "DBSecurityGroupSpec defines the desired state of DBSecurityGroup.
38+
\n Contains the details for an Amazon RDS DB security group. \n This
39+
data type is used as a response element in the DescribeDBSecurityGroups
40+
action."
3841
properties:
3942
description:
4043
description: The description for the DB security group.

helm/crds/rds.services.k8s.aws_dbsubnetgroups.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ spec:
3434
metadata:
3535
type: object
3636
spec:
37-
description: DBSubnetGroupSpec defines the desired state of DBSubnetGroup
37+
description: "DBSubnetGroupSpec defines the desired state of DBSubnetGroup.
38+
\n Contains the details of an Amazon RDS DB subnet group. \n This data
39+
type is used as a response element in the DescribeDBSubnetGroups action."
3840
properties:
3941
description:
4042
description: The description for the DB subnet group.

helm/templates/cluster-role-controller.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,34 @@ rules:
2222
- get
2323
- list
2424
- watch
25+
- apiGroups:
26+
- ""
27+
resources:
28+
- secrets
29+
verbs:
30+
- get
31+
- list
32+
- watch
33+
- apiGroups:
34+
- rds.services.k8s.aws
35+
resources:
36+
- dbclusters
37+
verbs:
38+
- create
39+
- delete
40+
- get
41+
- list
42+
- patch
43+
- update
44+
- watch
45+
- apiGroups:
46+
- rds.services.k8s.aws
47+
resources:
48+
- dbclusters/status
49+
verbs:
50+
- get
51+
- patch
52+
- update
2553
- apiGroups:
2654
- rds.services.k8s.aws
2755
resources:

helm/templates/deployment.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,16 @@ spec:
6060
valueFrom:
6161
fieldRef:
6262
fieldPath: metadata.namespace
63+
- name: AWS_ACCOUNT_ID
64+
value: {{ .Values.aws.account_id | quote }}
6365
- name: AWS_REGION
6466
value: {{ .Values.aws.region }}
6567
- name: ACK_WATCH_NAMESPACE
6668
value: {{ .Values.watchNamespace }}
69+
- name: ACK_ENABLE_DEVELOPMENT_LOGGING
70+
value: {{ .Values.log.enable_development_logging | quote }}
71+
- name: ACK_LOG_LEVEL
72+
value: {{ .Values.log.level | quote }}
6773
- name: ACK_RESOURCE_TAGS
6874
value: {{ join "," .Values.resourceTags | quote }}
6975
terminationGracePeriodSeconds: 10

helm/templates/role-reader.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ rules:
99
- apiGroups:
1010
- rds.services.k8s.aws
1111
resources:
12+
- dbclusters
1213
- dbinstances
1314
- dbparametergroups
1415
- dbsecuritygroups

helm/templates/role-writer.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ rules:
99
- apiGroups:
1010
- rds.services.k8s.aws
1111
resources:
12+
- dbclusters
13+
1214
- dbinstances
1315

1416
- dbparametergroups
@@ -28,6 +30,7 @@ rules:
2830
- apiGroups:
2931
- rds.services.k8s.aws
3032
resources:
33+
- dbclusters
3134
- dbinstances
3235
- dbparametergroups
3336
- dbsecuritygroups

helm/values.yaml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
image:
66
repository: public.ecr.aws/aws-controllers-k8s/controller
7-
tag: rds-v0.0.1
7+
tag: rds-v0.0.2
88
pullPolicy: IfNotPresent
99
pullSecrets: []
1010

@@ -16,6 +16,15 @@ deployment:
1616
labels: {}
1717
containerPort: 8080
1818

19+
metrics:
20+
service:
21+
# Set to true to automatically create a Kubernetes Service resource for the
22+
# Prometheus metrics server endpoint in controller
23+
create: false
24+
# Which Type to use for the Kubernetes Service?
25+
# See: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
26+
type: "ClusterIP"
27+
1928
resources:
2029
requests:
2130
memory: "64Mi"
@@ -27,6 +36,12 @@ resources:
2736
aws:
2837
# If specified, use the AWS region for AWS API calls
2938
region: ""
39+
account_id: ""
40+
41+
# log level for the controller
42+
log:
43+
enable_development_logging: false
44+
level: info
3045

3146
# If specified, the service controller will watch for object creation only in the provided namespace
3247
watchNamespace: ""

0 commit comments

Comments
 (0)