diff --git a/operators/ack-rds-controller/0.0.14/bundle.Dockerfile b/operators/ack-rds-controller/0.0.14/bundle.Dockerfile new file mode 100644 index 00000000000..5dce09e3257 --- /dev/null +++ b/operators/ack-rds-controller/0.0.14/bundle.Dockerfile @@ -0,0 +1,21 @@ +FROM scratch + +# Core bundle labels. +LABEL operators.operatorframework.io.bundle.mediatype.v1=registry+v1 +LABEL operators.operatorframework.io.bundle.manifests.v1=manifests/ +LABEL operators.operatorframework.io.bundle.metadata.v1=metadata/ +LABEL operators.operatorframework.io.bundle.package.v1=ack-rds-controller +LABEL operators.operatorframework.io.bundle.channels.v1=alpha +LABEL operators.operatorframework.io.bundle.channel.default.v1=alpha +LABEL operators.operatorframework.io.metrics.builder=operator-sdk-v1.13.0+git +LABEL operators.operatorframework.io.metrics.mediatype.v1=metrics+v1 +LABEL operators.operatorframework.io.metrics.project_layout=unknown + +# Labels for testing. +LABEL operators.operatorframework.io.test.mediatype.v1=scorecard+v1 +LABEL operators.operatorframework.io.test.config.v1=tests/scorecard/ + +# Copy files to locations specified by labels. +COPY bundle/manifests /manifests/ +COPY bundle/metadata /metadata/ +COPY bundle/tests/scorecard /tests/scorecard/ diff --git a/operators/ack-rds-controller/0.0.14/manifests/ack-rds-controller.clusterserviceversion.yaml b/operators/ack-rds-controller/0.0.14/manifests/ack-rds-controller.clusterserviceversion.yaml new file mode 100644 index 00000000000..b32ce501f92 --- /dev/null +++ b/operators/ack-rds-controller/0.0.14/manifests/ack-rds-controller.clusterserviceversion.yaml @@ -0,0 +1,381 @@ +apiVersion: operators.coreos.com/v1alpha1 +kind: ClusterServiceVersion +metadata: + annotations: + alm-examples: |- + [ + { + "apiVersion": "rds.services.k8s.aws/v1alpha1", + "kind": "DBParameterGroup", + "metadata": { + "name": "example" + }, + "spec": {} + }, + { + "apiVersion": "rds.services.k8s.aws/v1alpha1", + "kind": "DBSecurityGroup", + "metadata": { + "name": "example" + }, + "spec": {} + }, + { + "apiVersion": "rds.services.k8s.aws/v1alpha1", + "kind": "DBSubnetGroup", + "metadata": { + "name": "example" + }, + "spec": {} + } + ] + capabilities: Basic Install + categories: Cloud Provider + certified: "false" + containerImage: public.ecr.aws/aws-controllers-k8s/rds-controller:v0.0.14 + createdAt: "2022-01-24 23:04:21" + description: AWS RDS controller is a service controller for managing RDS resources + in Kubernetes + operatorframework.io/suggested-namespace: ack-system + operators.operatorframework.io/builder: operator-sdk-v1.13.0+git + operators.operatorframework.io/project_layout: unknown + repository: https://github.com/aws-controllers-k8s + support: Community + name: ack-rds-controller.v0.0.14 + namespace: placeholder +spec: + apiservicedefinitions: {} + customresourcedefinitions: + owned: + - description: DBClusterParameterGroup represents the state of an AWS rds DBClusterParameterGroup + resource. + displayName: DBClusterParameterGroup + kind: DBClusterParameterGroup + name: dbclusterparametergroups.rds.services.k8s.aws + version: v1alpha1 + - description: DBCluster represents the state of an AWS rds DBCluster resource. + displayName: DBCluster + kind: DBCluster + name: dbclusters.rds.services.k8s.aws + version: v1alpha1 + - description: DBInstance represents the state of an AWS rds DBInstance resource. + displayName: DBInstance + kind: DBInstance + name: dbinstances.rds.services.k8s.aws + version: v1alpha1 + - description: DBParameterGroup represents the state of an AWS rds DBParameterGroup + resource. + displayName: DBParameterGroup + kind: DBParameterGroup + name: dbparametergroups.rds.services.k8s.aws + version: v1alpha1 + - description: DBSecurityGroup represents the state of an AWS rds DBSecurityGroup + resource. + displayName: DBSecurityGroup + kind: DBSecurityGroup + name: dbsecuritygroups.rds.services.k8s.aws + version: v1alpha1 + - description: DBSubnetGroup represents the state of an AWS rds DBSubnetGroup + resource. + displayName: DBSubnetGroup + kind: DBSubnetGroup + name: dbsubnetgroups.rds.services.k8s.aws + version: v1alpha1 + - description: GlobalCluster represents the state of an AWS rds GlobalCluster + resource. + displayName: GlobalCluster + kind: GlobalCluster + name: globalclusters.rds.services.k8s.aws + version: v1alpha1 + description: |- + Manage Amazon Relational Database Service ("RDS") resources in AWS from within your Kubernetes cluster. + + **About Amazon RDS** + + Amazon Relational Database Service (Amazon RDS) makes it easy to set up, operate, and scale a relational database in the cloud. It provides cost-efficient and resizable capacity while automating time-consuming administration tasks such as hardware provisioning, database setup, patching and backups. It frees you to focus on your applications so you can give them the fast performance, high availability, security and compatibility they need. + + Amazon RDS is available on several database instance types - optimized for memory, performance or I/O -and provides you with six familiar database engines to choose from, including Amazon Aurora, PostgreSQL, MySQL, MariaDB, Oracle Database, and SQL Server. You can use the AWS Database Migration Service to easily migrate or replicate your existing databases to Amazon RDS. + + **About the AWS Controllers for Kubernetes** + + This controller is a component of the [AWS Controller for Kubernetes](https://github.com/aws/aws-controllers-k8s) project. This project is currently in **developer preview**. + + **Pre-Installation Steps** + + Please follow the following link: [Red Hat OpenShift](https://aws-controllers-k8s.github.io/community/docs/user-docs/openshift/) + displayName: AWS Controllers for Kubernetes - Amazon RDS + icon: + - base64data: PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjAuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMzA0IDE4MiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMzA0IDE4MjsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiMyNTJGM0U7fQoJLnN0MXtmaWxsLXJ1bGU6ZXZlbm9kZDtjbGlwLXJ1bGU6ZXZlbm9kZDtmaWxsOiNGRjk5MDA7fQo8L3N0eWxlPgo8Zz4KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik04Ni40LDY2LjRjMCwzLjcsMC40LDYuNywxLjEsOC45YzAuOCwyLjIsMS44LDQuNiwzLjIsNy4yYzAuNSwwLjgsMC43LDEuNiwwLjcsMi4zYzAsMS0wLjYsMi0xLjksM2wtNi4zLDQuMiAgIGMtMC45LDAuNi0xLjgsMC45LTIuNiwwLjljLTEsMC0yLTAuNS0zLTEuNEM3Ni4yLDkwLDc1LDg4LjQsNzQsODYuOGMtMS0xLjctMi0zLjYtMy4xLTUuOWMtNy44LDkuMi0xNy42LDEzLjgtMjkuNCwxMy44ICAgYy04LjQsMC0xNS4xLTIuNC0yMC03LjJjLTQuOS00LjgtNy40LTExLjItNy40LTE5LjJjMC04LjUsMy0xNS40LDkuMS0yMC42YzYuMS01LjIsMTQuMi03LjgsMjQuNS03LjhjMy40LDAsNi45LDAuMywxMC42LDAuOCAgIGMzLjcsMC41LDcuNSwxLjMsMTEuNSwyLjJ2LTcuM2MwLTcuNi0xLjYtMTIuOS00LjctMTZjLTMuMi0zLjEtOC42LTQuNi0xNi4zLTQuNmMtMy41LDAtNy4xLDAuNC0xMC44LDEuM2MtMy43LDAuOS03LjMsMi0xMC44LDMuNCAgIGMtMS42LDAuNy0yLjgsMS4xLTMuNSwxLjNjLTAuNywwLjItMS4yLDAuMy0xLjYsMC4zYy0xLjQsMC0yLjEtMS0yLjEtMy4xdi00LjljMC0xLjYsMC4yLTIuOCwwLjctMy41YzAuNS0wLjcsMS40LTEuNCwyLjgtMi4xICAgYzMuNS0xLjgsNy43LTMuMywxMi42LTQuNWM0LjktMS4zLDEwLjEtMS45LDE1LjYtMS45YzExLjksMCwyMC42LDIuNywyNi4yLDguMWM1LjUsNS40LDguMywxMy42LDguMywyNC42VjY2LjR6IE00NS44LDgxLjYgICBjMy4zLDAsNi43LTAuNiwxMC4zLTEuOGMzLjYtMS4yLDYuOC0zLjQsOS41LTYuNGMxLjYtMS45LDIuOC00LDMuNC02LjRjMC42LTIuNCwxLTUuMywxLTguN3YtNC4yYy0yLjktMC43LTYtMS4zLTkuMi0xLjcgICBjLTMuMi0wLjQtNi4zLTAuNi05LjQtMC42Yy02LjcsMC0xMS42LDEuMy0xNC45LDRjLTMuMywyLjctNC45LDYuNS00LjksMTEuNWMwLDQuNywxLjIsOC4yLDMuNywxMC42ICAgQzM3LjcsODAuNCw0MS4yLDgxLjYsNDUuOCw4MS42eiBNMTI2LjEsOTIuNGMtMS44LDAtMy0wLjMtMy44LTFjLTAuOC0wLjYtMS41LTItMi4xLTMuOUw5Ni43LDEwLjJjLTAuNi0yLTAuOS0zLjMtMC45LTQgICBjMC0xLjYsMC44LTIuNSwyLjQtMi41aDkuOGMxLjksMCwzLjIsMC4zLDMuOSwxYzAuOCwwLjYsMS40LDIsMiwzLjlsMTYuOCw2Ni4ybDE1LjYtNjYuMmMwLjUtMiwxLjEtMy4zLDEuOS0zLjljMC44LTAuNiwyLjItMSw0LTEgICBoOGMxLjksMCwzLjIsMC4zLDQsMWMwLjgsMC42LDEuNSwyLDEuOSwzLjlsMTUuOCw2N2wxNy4zLTY3YzAuNi0yLDEuMy0zLjMsMi0zLjljMC44LTAuNiwyLjEtMSwzLjktMWg5LjNjMS42LDAsMi41LDAuOCwyLjUsMi41ICAgYzAsMC41LTAuMSwxLTAuMiwxLjZjLTAuMSwwLjYtMC4zLDEuNC0wLjcsMi41bC0yNC4xLDc3LjNjLTAuNiwyLTEuMywzLjMtMi4xLDMuOWMtMC44LDAuNi0yLjEsMS0zLjgsMWgtOC42Yy0xLjksMC0zLjItMC4zLTQtMSAgIGMtMC44LTAuNy0xLjUtMi0xLjktNEwxNTYsMjNsLTE1LjQsNjQuNGMtMC41LDItMS4xLDMuMy0xLjksNGMtMC44LDAuNy0yLjIsMS00LDFIMTI2LjF6IE0yNTQuNiw5NS4xYy01LjIsMC0xMC40LTAuNi0xNS40LTEuOCAgIGMtNS0xLjItOC45LTIuNS0xMS41LTRjLTEuNi0wLjktMi43LTEuOS0zLjEtMi44Yy0wLjQtMC45LTAuNi0xLjktMC42LTIuOHYtNS4xYzAtMi4xLDAuOC0zLjEsMi4zLTMuMWMwLjYsMCwxLjIsMC4xLDEuOCwwLjMgICBjMC42LDAuMiwxLjUsMC42LDIuNSwxYzMuNCwxLjUsNy4xLDIuNywxMSwzLjVjNCwwLjgsNy45LDEuMiwxMS45LDEuMmM2LjMsMCwxMS4yLTEuMSwxNC42LTMuM2MzLjQtMi4yLDUuMi01LjQsNS4yLTkuNSAgIGMwLTIuOC0wLjktNS4xLTIuNy03Yy0xLjgtMS45LTUuMi0zLjYtMTAuMS01LjJMMjQ2LDUyYy03LjMtMi4zLTEyLjctNS43LTE2LTEwLjJjLTMuMy00LjQtNS05LjMtNS0xNC41YzAtNC4yLDAuOS03LjksMi43LTExLjEgICBjMS44LTMuMiw0LjItNiw3LjItOC4yYzMtMi4zLDYuNC00LDEwLjQtNS4yYzQtMS4yLDguMi0xLjcsMTIuNi0xLjdjMi4yLDAsNC41LDAuMSw2LjcsMC40YzIuMywwLjMsNC40LDAuNyw2LjUsMS4xICAgYzIsMC41LDMuOSwxLDUuNywxLjZjMS44LDAuNiwzLjIsMS4yLDQuMiwxLjhjMS40LDAuOCwyLjQsMS42LDMsMi41YzAuNiwwLjgsMC45LDEuOSwwLjksMy4zdjQuN2MwLDIuMS0wLjgsMy4yLTIuMywzLjIgICBjLTAuOCwwLTIuMS0wLjQtMy44LTEuMmMtNS43LTIuNi0xMi4xLTMuOS0xOS4yLTMuOWMtNS43LDAtMTAuMiwwLjktMTMuMywyLjhjLTMuMSwxLjktNC43LDQuOC00LjcsOC45YzAsMi44LDEsNS4yLDMsNy4xICAgYzIsMS45LDUuNywzLjgsMTEsNS41bDE0LjIsNC41YzcuMiwyLjMsMTIuNCw1LjUsMTUuNSw5LjZjMy4xLDQuMSw0LjYsOC44LDQuNiwxNGMwLDQuMy0wLjksOC4yLTIuNiwxMS42ICAgYy0xLjgsMy40LTQuMiw2LjQtNy4zLDguOGMtMy4xLDIuNS02LjgsNC4zLTExLjEsNS42QzI2NC40LDk0LjQsMjU5LjcsOTUuMSwyNTQuNiw5NS4xeiIvPgoJPGc+CgkJPHBhdGggY2xhc3M9InN0MSIgZD0iTTI3My41LDE0My43Yy0zMi45LDI0LjMtODAuNywzNy4yLTEyMS44LDM3LjJjLTU3LjYsMC0xMDkuNS0yMS4zLTE0OC43LTU2LjdjLTMuMS0yLjgtMC4zLTYuNiwzLjQtNC40ICAgIGM0Mi40LDI0LjYsOTQuNywzOS41LDE0OC44LDM5LjVjMzYuNSwwLDc2LjYtNy42LDExMy41LTIzLjJDMjc0LjIsMTMzLjYsMjc4LjksMTM5LjcsMjczLjUsMTQzLjd6Ii8+CgkJPHBhdGggY2xhc3M9InN0MSIgZD0iTTI4Ny4yLDEyOC4xYy00LjItNS40LTI3LjgtMi42LTM4LjUtMS4zYy0zLjIsMC40LTMuNy0yLjQtMC44LTQuNWMxOC44LTEzLjIsNDkuNy05LjQsNTMuMy01ICAgIGMzLjYsNC41LTEsMzUuNC0xOC42LDUwLjJjLTIuNywyLjMtNS4zLDEuMS00LjEtMS45QzI4Mi41LDE1NS43LDI5MS40LDEzMy40LDI4Ny4yLDEyOC4xeiIvPgoJPC9nPgo8L2c+Cjwvc3ZnPg== + mediatype: image/svg+xml + install: + spec: + clusterPermissions: + - rules: + - apiGroups: + - "" + resources: + - configmaps + verbs: + - get + - list + - watch + - apiGroups: + - "" + resources: + - namespaces + verbs: + - get + - list + - watch + - apiGroups: + - "" + resources: + - secrets + verbs: + - get + - list + - watch + - apiGroups: + - rds.services.k8s.aws + resources: + - dbclusterparametergroups + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - rds.services.k8s.aws + resources: + - dbclusterparametergroups/status + verbs: + - get + - patch + - update + - apiGroups: + - rds.services.k8s.aws + resources: + - dbclusters + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - rds.services.k8s.aws + resources: + - dbclusters/status + verbs: + - get + - patch + - update + - apiGroups: + - rds.services.k8s.aws + resources: + - dbinstances + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - rds.services.k8s.aws + resources: + - dbinstances/status + verbs: + - get + - patch + - update + - apiGroups: + - rds.services.k8s.aws + resources: + - dbparametergroups + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - rds.services.k8s.aws + resources: + - dbparametergroups/status + verbs: + - get + - patch + - update + - apiGroups: + - rds.services.k8s.aws + resources: + - dbsecuritygroups + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - rds.services.k8s.aws + resources: + - dbsecuritygroups/status + verbs: + - get + - patch + - update + - apiGroups: + - rds.services.k8s.aws + resources: + - dbsubnetgroups + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - rds.services.k8s.aws + resources: + - dbsubnetgroups/status + verbs: + - get + - patch + - update + - apiGroups: + - rds.services.k8s.aws + resources: + - globalclusters + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - rds.services.k8s.aws + resources: + - globalclusters/status + verbs: + - get + - patch + - update + - apiGroups: + - services.k8s.aws + resources: + - adoptedresources + verbs: + - create + - delete + - get + - list + - patch + - update + - watch + - apiGroups: + - services.k8s.aws + resources: + - adoptedresources/status + verbs: + - get + - patch + - update + serviceAccountName: default + deployments: + - name: ack-rds-controller + spec: + replicas: 1 + selector: + matchLabels: + control-plane: controller + strategy: {} + template: + metadata: + labels: + control-plane: controller + spec: + containers: + - args: + - --aws-region + - $(AWS_REGION) + - --enable-development-logging + - $(ACK_ENABLE_DEVELOPMENT_LOGGING) + - --log-level + - $(ACK_LOG_LEVEL) + - --resource-tags + - $(ACK_RESOURCE_TAGS) + - --watch-namespace + - $(ACK_WATCH_NAMESPACE) + command: + - ./bin/controller + env: + - name: K8S_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace + envFrom: + - configMapRef: + name: ack-user-config + optional: false + - secretRef: + name: ack-user-secrets + optional: false + image: public.ecr.aws/aws-controllers-k8s/rds-controller:v0.0.14 + name: controller + ports: + - containerPort: 8080 + name: http + resources: + limits: + cpu: 100m + memory: 300Mi + requests: + cpu: 100m + memory: 200Mi + securityContext: + allowPrivilegeEscalation: false + capabilities: + drop: + - ALL + privileged: false + runAsNonRoot: true + terminationGracePeriodSeconds: 10 + strategy: deployment + installModes: + - supported: true + type: AllNamespaces + keywords: + - rds + - aws + - amazon + - ack + links: + - name: AWS Controllers for Kubernetes + url: https://github.com/aws-controllers-k8s/community + - name: Documentation + url: https://aws-controllers-k8s.github.io/community/ + - name: Amazon RDS Developer Resources + url: https://aws.amazon.com/rds/developer-resources/ + maintainers: + - email: ack-maintainers@amazon.com + name: rds maintainer team + maturity: alpha + provider: + name: Amazon, Inc. + url: https://aws.amazon.com + version: 0.0.14 diff --git a/operators/ack-rds-controller/0.0.14/manifests/ack-rds-metrics-service_v1_service.yaml b/operators/ack-rds-controller/0.0.14/manifests/ack-rds-metrics-service_v1_service.yaml new file mode 100644 index 00000000000..1bc52a9bae6 --- /dev/null +++ b/operators/ack-rds-controller/0.0.14/manifests/ack-rds-metrics-service_v1_service.yaml @@ -0,0 +1,16 @@ +apiVersion: v1 +kind: Service +metadata: + creationTimestamp: null + name: ack-rds-metrics-service +spec: + ports: + - name: metricsport + port: 8080 + protocol: TCP + targetPort: http + selector: + control-plane: controller + type: NodePort +status: + loadBalancer: {} diff --git a/operators/ack-rds-controller/0.0.14/manifests/ack-rds-reader_rbac.authorization.k8s.io_v1_role.yaml b/operators/ack-rds-controller/0.0.14/manifests/ack-rds-reader_rbac.authorization.k8s.io_v1_role.yaml new file mode 100644 index 00000000000..2579ab8b137 --- /dev/null +++ b/operators/ack-rds-controller/0.0.14/manifests/ack-rds-reader_rbac.authorization.k8s.io_v1_role.yaml @@ -0,0 +1,20 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + creationTimestamp: null + name: ack-rds-reader +rules: +- apiGroups: + - rds.services.k8s.aws + resources: + - dbclusters + - dbclusterparametergroups + - dbinstances + - dbparametergroups + - dbsecuritygroups + - dbsubnetgroups + - globalclusters + verbs: + - get + - list + - watch diff --git a/operators/ack-rds-controller/0.0.14/manifests/ack-rds-writer_rbac.authorization.k8s.io_v1_role.yaml b/operators/ack-rds-controller/0.0.14/manifests/ack-rds-writer_rbac.authorization.k8s.io_v1_role.yaml new file mode 100644 index 00000000000..f2c3f510ddc --- /dev/null +++ b/operators/ack-rds-controller/0.0.14/manifests/ack-rds-writer_rbac.authorization.k8s.io_v1_role.yaml @@ -0,0 +1,38 @@ +apiVersion: rbac.authorization.k8s.io/v1 +kind: Role +metadata: + creationTimestamp: null + name: ack-rds-writer +rules: +- apiGroups: + - rds.services.k8s.aws + resources: + - dbclusters + - dbclusterparametergroups + - dbinstances + - dbparametergroups + - dbsecuritygroups + - dbsubnetgroups + - globalclusters + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - rds.services.k8s.aws + resources: + - dbclusters + - dbclusterparametergroups + - dbinstances + - dbparametergroups + - dbsecuritygroups + - dbsubnetgroups + - globalclusters + verbs: + - get + - patch + - update diff --git a/operators/ack-rds-controller/0.0.14/manifests/rds.services.k8s.aws_dbclusterparametergroups.yaml b/operators/ack-rds-controller/0.0.14/manifests/rds.services.k8s.aws_dbclusterparametergroups.yaml new file mode 100644 index 00000000000..20cf4c42a17 --- /dev/null +++ b/operators/ack-rds-controller/0.0.14/manifests/rds.services.k8s.aws_dbclusterparametergroups.yaml @@ -0,0 +1,180 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.7.0 + creationTimestamp: null + name: dbclusterparametergroups.rds.services.k8s.aws +spec: + group: rds.services.k8s.aws + names: + kind: DBClusterParameterGroup + listKind: DBClusterParameterGroupList + plural: dbclusterparametergroups + singular: dbclusterparametergroup + scope: Namespaced + versions: + - name: v1alpha1 + schema: + openAPIV3Schema: + description: DBClusterParameterGroup is the Schema for the DBClusterParameterGroups + API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: "DBClusterParameterGroupSpec defines the desired state of + DBClusterParameterGroup. \n Contains the details of an Amazon RDS DB + cluster parameter group. \n This data type is used as a response element + in the DescribeDBClusterParameterGroups action." + properties: + description: + description: The description for the DB cluster parameter group. + type: string + family: + description: "The DB cluster parameter group family name. A DB cluster + parameter group can be associated with one and only one DB cluster + parameter group family, and can be applied only to a DB cluster + running a database engine and engine version compatible with that + DB cluster parameter group family. \n Aurora MySQL \n Example: aurora5.6, + aurora-mysql5.7 \n Aurora PostgreSQL \n Example: aurora-postgresql9.6" + type: string + name: + description: "The name of the DB cluster parameter group. \n Constraints: + \n * Must match the name of an existing DB cluster parameter + group. \n This value is stored as a lowercase string." + type: string + parameters: + description: A list of parameters in the DB cluster parameter group + to modify. + items: + description: "This data type is used as a request parameter in the + ModifyDBParameterGroup and ResetDBParameterGroup actions. \n This + data type is used as a response element in the DescribeEngineDefaultParameters + and DescribeDBParameters actions." + properties: + allowedValues: + type: string + applyMethod: + type: string + applyType: + type: string + dataType: + type: string + description: + type: string + isModifiable: + type: boolean + minimumEngineVersion: + type: string + parameterName: + type: string + parameterValue: + type: string + source: + type: string + supportedEngineModes: + items: + type: string + type: array + type: object + type: array + tags: + description: Tags to assign to the DB cluster parameter group. + items: + description: Metadata assigned to an Amazon RDS resource consisting + of a key-value pair. + properties: + key: + type: string + value: + type: string + type: object + type: array + required: + - description + - family + - name + type: object + status: + description: DBClusterParameterGroupStatus defines the observed state + of DBClusterParameterGroup + properties: + ackResourceMetadata: + description: All CRs managed by ACK have a common `Status.ACKResourceMetadata` + member that is used to contain resource sync state, account ownership, + constructed ARN for the resource + properties: + arn: + description: 'ARN is the Amazon Resource Name for the resource. + This is a globally-unique identifier and is set only by the + ACK service controller once the controller has orchestrated + the creation of the resource OR when it has verified that an + "adopted" resource (a resource where the ARN annotation was + set by the Kubernetes user on the CR) exists and matches the + supplied CR''s Spec field values. TODO(vijat@): Find a better + strategy for resources that do not have ARN in CreateOutputResponse + https://github.com/aws/aws-controllers-k8s/issues/270' + type: string + ownerAccountID: + description: OwnerAccountID is the AWS Account ID of the account + that owns the backend AWS service API resource. + type: string + required: + - ownerAccountID + type: object + conditions: + description: All CRS managed by ACK have a common `Status.Conditions` + member that contains a collection of `ackv1alpha1.Condition` objects + that describe the various terminal states of the CR and its backend + AWS service API resource + items: + description: Condition is the common struct used by all CRDs managed + by ACK service controllers to indicate terminal states of the + CR and its backend AWS service API resource + properties: + lastTransitionTime: + description: Last time the condition transitioned from one status + to another. + format: date-time + type: string + message: + description: A human readable message indicating details about + the transition. + type: string + reason: + description: The reason for the condition's last transition. + type: string + status: + description: Status of the condition, one of True, False, Unknown. + type: string + type: + description: Type is the type of the Condition + type: string + required: + - status + - type + type: object + type: array + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/operators/ack-rds-controller/0.0.14/manifests/rds.services.k8s.aws_dbclusters.yaml b/operators/ack-rds-controller/0.0.14/manifests/rds.services.k8s.aws_dbclusters.yaml new file mode 100644 index 00000000000..8a0ed1aa8f2 --- /dev/null +++ b/operators/ack-rds-controller/0.0.14/manifests/rds.services.k8s.aws_dbclusters.yaml @@ -0,0 +1,721 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.7.0 + creationTimestamp: null + name: dbclusters.rds.services.k8s.aws +spec: + group: rds.services.k8s.aws + names: + kind: DBCluster + listKind: DBClusterList + plural: dbclusters + singular: dbcluster + scope: Namespaced + versions: + - name: v1alpha1 + schema: + openAPIV3Schema: + description: DBCluster is the Schema for the DBClusters API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: "DBClusterSpec defines the desired state of DBCluster. \n + Contains the details of an Amazon Aurora DB cluster. \n This data type + is used as a response element in the DescribeDBClusters, StopDBCluster, + and StartDBCluster actions." + properties: + availabilityZones: + description: A list of Availability Zones (AZs) where instances in + the DB cluster can be created. For information on AWS Regions and + Availability Zones, see Choosing the Regions and Availability Zones + (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Concepts.RegionsAndAvailabilityZones.html) + in the Amazon Aurora User Guide. + items: + type: string + type: array + backtrackWindow: + description: "The target backtrack window, in seconds. To disable + backtracking, set this value to 0. \n Currently, Backtrack is only + supported for Aurora MySQL DB clusters. \n Default: 0 \n Constraints: + \n * If specified, this value must be set to a number from 0 + to 259,200 (72 hours)." + format: int64 + type: integer + backupRetentionPeriod: + description: "The number of days for which automated backups are retained. + \n Default: 1 \n Constraints: \n * Must be a value from 1 to + 35" + format: int64 + type: integer + characterSetName: + description: A value that indicates that the DB cluster should be + associated with the specified CharacterSet. + type: string + copyTagsToSnapshot: + description: A value that indicates whether to copy all tags from + the DB cluster to snapshots of the DB cluster. The default is not + to copy them. + type: boolean + databaseName: + description: The name for your database of up to 64 alphanumeric characters. + If you do not provide a name, Amazon RDS doesn't create a database + in the DB cluster you are creating. + type: string + dbClusterIdentifier: + description: "The DB cluster identifier. This parameter is stored + as a lowercase string. \n Constraints: \n * Must contain from + 1 to 63 letters, numbers, or hyphens. \n * First character must + be a letter. \n * Can't end with a hyphen or contain two consecutive + hyphens. \n Example: my-cluster1" + type: string + dbClusterParameterGroupName: + description: "The name of the DB cluster parameter group to associate + with this DB cluster. If you do not specify a value, then the default + DB cluster parameter group for the specified DB engine and version + is used. \n Constraints: \n * If supplied, must match the name + of an existing DB cluster parameter group." + type: string + dbSubnetGroupName: + description: "A DB subnet group to associate with this DB cluster. + \n Constraints: Must match the name of an existing DBSubnetGroup. + Must not be default. \n Example: mySubnetgroup" + type: string + deletionProtection: + description: A value that indicates whether the DB cluster has deletion + protection enabled. The database can't be deleted when deletion + protection is enabled. By default, deletion protection is disabled. + type: boolean + destinationRegion: + description: DestinationRegion is used for presigning the request + to a given region. + type: string + domain: + description: "The Active Directory directory ID to create the DB cluster + in. \n For Amazon Aurora DB clusters, Amazon RDS can use Kerberos + Authentication to authenticate users that connect to the DB cluster. + For more information, see Kerberos Authentication (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/kerberos-authentication.html) + in the Amazon Aurora User Guide." + type: string + domainIAMRoleName: + description: Specify the name of the IAM role to be used when making + API calls to the Directory Service. + type: string + enableCloudwatchLogsExports: + description: "The list of log types that need to be enabled for exporting + to CloudWatch Logs. The values in the list depend on the DB engine + being used. For more information, see Publishing Database Logs to + Amazon CloudWatch Logs (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) + in the Amazon Aurora User Guide. \n Aurora MySQL \n Possible values + are audit, error, general, and slowquery. \n Aurora PostgreSQL \n + Possible values are postgresql and upgrade." + items: + type: string + type: array + enableGlobalWriteForwarding: + description: "A value that indicates whether to enable this DB cluster + to forward write operations to the primary cluster of an Aurora + global database (GlobalCluster). By default, write operations are + not allowed on Aurora DB clusters that are secondary clusters in + an Aurora global database. \n You can set this value only on Aurora + DB clusters that are members of an Aurora global database. With + this parameter enabled, a secondary cluster can forward writes to + the current primary cluster and the resulting changes are replicated + back to this cluster. For the primary DB cluster of an Aurora global + database, this value is used immediately if the primary is demoted + by the FailoverGlobalCluster API operation, but it does nothing + until then." + type: boolean + enableHTTPEndpoint: + description: "A value that indicates whether to enable the HTTP endpoint + for an Aurora Serverless DB cluster. By default, the HTTP endpoint + is disabled. \n When enabled, the HTTP endpoint provides a connectionless + web service API for running SQL queries on the Aurora Serverless + DB cluster. You can also query your database from inside the RDS + console with the query editor. \n For more information, see Using + the Data API for Aurora Serverless (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html) + in the Amazon Aurora User Guide." + type: boolean + enableIAMDatabaseAuthentication: + description: "A value that indicates whether to enable mapping of + AWS Identity and Access Management (IAM) accounts to database accounts. + By default, mapping is disabled. \n For more information, see IAM + Database Authentication (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html) + in the Amazon Aurora User Guide." + type: boolean + engine: + description: "The name of the database engine to be used for this + DB cluster. \n Valid Values: aurora (for MySQL 5.6-compatible Aurora), + aurora-mysql (for MySQL 5.7-compatible Aurora), and aurora-postgresql" + type: string + engineMode: + description: "The DB engine mode of the DB cluster, either provisioned, + serverless, parallelquery, global, or multimaster. \n The parallelquery + engine mode isn't required for Aurora MySQL version 1.23 and higher + 1.x versions, and version 2.09 and higher 2.x versions. \n The global + engine mode isn't required for Aurora MySQL version 1.22 and higher + 1.x versions, and global engine mode isn't required for any 2.x + versions. \n The multimaster engine mode only applies for DB clusters + created with Aurora MySQL version 5.6.10a. \n For Aurora PostgreSQL, + the global engine mode isn't required, and both the parallelquery + and the multimaster engine modes currently aren't supported. \n + Limitations and requirements apply to some DB engine modes. For + more information, see the following sections in the Amazon Aurora + User Guide: \n * Limitations of Aurora Serverless (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html#aurora-serverless.limitations) + \n * Limitations of Parallel Query (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-mysql-parallel-query.html#aurora-mysql-parallel-query-limitations) + \n * Limitations of Aurora Global Databases (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database.html#aurora-global-database.limitations) + \n * Limitations of Multi-Master Clusters (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-multi-master.html#aurora-multi-master-limitations)" + type: string + engineVersion: + description: "The version number of the database engine to use. \n + To list all of the available engine versions for aurora (for MySQL + 5.6-compatible Aurora), use the following command: \n aws rds describe-db-engine-versions + --engine aurora --query \"DBEngineVersions[].EngineVersion\" \n + To list all of the available engine versions for aurora-mysql (for + MySQL 5.7-compatible Aurora), use the following command: \n aws + rds describe-db-engine-versions --engine aurora-mysql --query \"DBEngineVersions[].EngineVersion\" + \n To list all of the available engine versions for aurora-postgresql, + use the following command: \n aws rds describe-db-engine-versions + --engine aurora-postgresql --query \"DBEngineVersions[].EngineVersion\" + \n Aurora MySQL \n Example: 5.6.10a, 5.6.mysql_aurora.1.19.2, 5.7.12, + 5.7.mysql_aurora.2.04.5 \n Aurora PostgreSQL \n Example: 9.6.3, + 10.7" + type: string + globalClusterIdentifier: + description: The global cluster ID of an Aurora cluster that becomes + the primary cluster in the new global database cluster. + type: string + kmsKeyID: + description: "The AWS KMS key identifier for an encrypted DB cluster. + \n The AWS KMS key identifier is the key ARN, key ID, alias ARN, + or alias name for the AWS KMS customer master key (CMK). To use + a CMK in a different AWS account, specify the key ARN or alias ARN. + \n When a CMK isn't specified in KmsKeyId: \n * If ReplicationSourceIdentifier + identifies an encrypted source, then Amazon RDS will use the + CMK used to encrypt the source. Otherwise, Amazon RDS will use + your default CMK. \n * If the StorageEncrypted parameter is enabled + and ReplicationSourceIdentifier isn't specified, then Amazon + RDS will use your default CMK. \n There is a default CMK for your + AWS account. Your AWS account has a different default CMK for each + AWS Region. \n If you create a read replica of an encrypted DB cluster + in another AWS Region, you must set KmsKeyId to a AWS KMS key identifier + that is valid in the destination AWS Region. This CMK is used to + encrypt the read replica in that AWS Region." + type: string + masterUserPassword: + description: "The password for the master database user. This password + can contain any printable ASCII character except \"/\", \"\"\", + or \"@\". \n Constraints: Must contain from 8 to 41 characters." + properties: + key: + description: Key is the key within the secret + type: string + name: + description: Name is unique within a namespace to reference a + secret resource. + type: string + namespace: + description: Namespace defines the space within which the secret + name must be unique. + type: string + required: + - key + type: object + masterUsername: + description: "The name of the master user for the DB cluster. \n Constraints: + \n * Must be 1 to 16 letters or numbers. \n * First character + must be a letter. \n * Can't be a reserved word for the chosen + database engine." + type: string + optionGroupName: + description: "A value that indicates that the DB cluster should be + associated with the specified option group. \n Permanent options + can't be removed from an option group. The option group can't be + removed from a DB cluster once it is associated with a DB cluster." + type: string + port: + description: "The port number on which the instances in the DB cluster + accept connections. \n Default: 3306 if engine is set as aurora + or 5432 if set to aurora-postgresql." + format: int64 + type: integer + preSignedURL: + description: "A URL that contains a Signature Version 4 signed request + for the CreateDBCluster action to be called in the source AWS Region + where the DB cluster is replicated from. You only need to specify + PreSignedUrl when you are performing cross-region replication from + an encrypted DB cluster. \n The pre-signed URL must be a valid request + for the CreateDBCluster API action that can be executed in the source + AWS Region that contains the encrypted DB cluster to be copied. + \n The pre-signed URL request must contain the following parameter + values: \n * KmsKeyId - The AWS KMS key identifier for the key + to use to encrypt the copy of the DB cluster in the destination + AWS Region. This should refer to the same AWS KMS CMK for both + the CreateDBCluster action that is called in the destination + AWS Region, and the action contained in the pre-signed URL. \n + \ * DestinationRegion - The name of the AWS Region that Aurora + read replica will be created in. \n * ReplicationSourceIdentifier + - The DB cluster identifier for the encrypted DB cluster to be + copied. This identifier must be in the Amazon Resource Name (ARN) + format for the source AWS Region. For example, if you are copying + \ an encrypted DB cluster from the us-west-2 AWS Region, then + your ReplicationSourceIdentifier would look like Example: arn:aws:rds:us-west-2:123456789012:cluster:aurora-cluster1. + \n To learn how to generate a Signature Version 4 signed request, + see Authenticating Requests: Using Query Parameters (AWS Signature + Version 4) (https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html) + and Signature Version 4 Signing Process (https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html). + \n If you are using an AWS SDK tool or the AWS CLI, you can specify + SourceRegion (or --source-region for the AWS CLI) instead of specifying + PreSignedUrl manually. Specifying SourceRegion autogenerates a pre-signed + URL that is a valid request for the operation that can be executed + in the source AWS Region." + type: string + preferredBackupWindow: + description: "The daily time range during which automated backups + are created if automated backups are enabled using the BackupRetentionPeriod + parameter. \n The default is a 30-minute window selected at random + from an 8-hour block of time for each AWS Region. To see the time + blocks available, see Adjusting the Preferred DB Cluster Maintenance + Window (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow.Aurora) + in the Amazon Aurora User Guide. \n Constraints: \n * Must be + in the format hh24:mi-hh24:mi. \n * Must be in Universal Coordinated + Time (UTC). \n * Must not conflict with the preferred maintenance + window. \n * Must be at least 30 minutes." + type: string + preferredMaintenanceWindow: + description: "The weekly time range during which system maintenance + can occur, in Universal Coordinated Time (UTC). \n Format: ddd:hh24:mi-ddd:hh24:mi + \n The default is a 30-minute window selected at random from an + 8-hour block of time for each AWS Region, occurring on a random + day of the week. To see the time blocks available, see Adjusting + the Preferred DB Cluster Maintenance Window (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow.Aurora) + in the Amazon Aurora User Guide. \n Valid Days: Mon, Tue, Wed, Thu, + Fri, Sat, Sun. \n Constraints: Minimum 30-minute window." + type: string + replicationSourceIdentifier: + description: The Amazon Resource Name (ARN) of the source DB instance + or DB cluster if this DB cluster is created as a read replica. + type: string + scalingConfiguration: + description: For DB clusters in serverless DB engine mode, the scaling + properties of the DB cluster. + properties: + autoPause: + type: boolean + maxCapacity: + format: int64 + type: integer + minCapacity: + format: int64 + type: integer + secondsUntilAutoPause: + format: int64 + type: integer + timeoutAction: + type: string + type: object + sourceRegion: + description: SourceRegion is the source region where the resource + exists. This is not sent over the wire and is only used for presigning. + This value should always have the same region as the source ARN. + type: string + storageEncrypted: + description: A value that indicates whether the DB cluster is encrypted. + type: boolean + tags: + description: Tags to assign to the DB cluster. + items: + description: Metadata assigned to an Amazon RDS resource consisting + of a key-value pair. + properties: + key: + type: string + value: + type: string + type: object + type: array + vpcSecurityGroupIDs: + description: A list of EC2 VPC security groups to associate with this + DB cluster. + items: + type: string + type: array + required: + - dbClusterIdentifier + - engine + type: object + status: + description: DBClusterStatus defines the observed state of DBCluster + properties: + ackResourceMetadata: + description: All CRs managed by ACK have a common `Status.ACKResourceMetadata` + member that is used to contain resource sync state, account ownership, + constructed ARN for the resource + properties: + arn: + description: 'ARN is the Amazon Resource Name for the resource. + This is a globally-unique identifier and is set only by the + ACK service controller once the controller has orchestrated + the creation of the resource OR when it has verified that an + "adopted" resource (a resource where the ARN annotation was + set by the Kubernetes user on the CR) exists and matches the + supplied CR''s Spec field values. TODO(vijat@): Find a better + strategy for resources that do not have ARN in CreateOutputResponse + https://github.com/aws/aws-controllers-k8s/issues/270' + type: string + ownerAccountID: + description: OwnerAccountID is the AWS Account ID of the account + that owns the backend AWS service API resource. + type: string + required: + - ownerAccountID + type: object + activityStreamKMSKeyID: + description: "The AWS KMS key identifier used for encrypting messages + in the database activity stream. \n The AWS KMS key identifier is + the key ARN, key ID, alias ARN, or alias name for the AWS KMS customer + master key (CMK)." + type: string + activityStreamKinesisStreamName: + description: The name of the Amazon Kinesis data stream used for the + database activity stream. + type: string + activityStreamMode: + description: The mode of the database activity stream. Database events + such as a change or access generate an activity stream event. The + database session can handle these events either synchronously or + asynchronously. + type: string + activityStreamStatus: + description: The status of the database activity stream. + type: string + allocatedStorage: + description: For all database engines except Amazon Aurora, AllocatedStorage + specifies the allocated storage size in gibibytes (GiB). For Aurora, + AllocatedStorage always returns 1, because Aurora DB cluster storage + size isn't fixed, but instead automatically adjusts as needed. + format: int64 + type: integer + associatedRoles: + description: Provides a list of the AWS Identity and Access Management + (IAM) roles that are associated with the DB cluster. IAM roles that + are associated with a DB cluster grant permission for the DB cluster + to access other AWS services on your behalf. + items: + description: Describes an AWS Identity and Access Management (IAM) + role that is associated with a DB cluster. + properties: + featureName: + type: string + roleARN: + type: string + status: + type: string + type: object + type: array + backtrackConsumedChangeRecords: + description: The number of change records stored for Backtrack. + format: int64 + type: integer + capacity: + description: "The current capacity of an Aurora Serverless DB cluster. + The capacity is 0 (zero) when the cluster is paused. \n For more + information about Aurora Serverless, see Using Amazon Aurora Serverless + (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html) + in the Amazon Aurora User Guide." + format: int64 + type: integer + cloneGroupID: + description: Identifies the clone group to which the DB cluster is + associated. + type: string + clusterCreateTime: + description: Specifies the time when the DB cluster was created, in + Universal Coordinated Time (UTC). + format: date-time + type: string + conditions: + description: All CRS managed by ACK have a common `Status.Conditions` + member that contains a collection of `ackv1alpha1.Condition` objects + that describe the various terminal states of the CR and its backend + AWS service API resource + items: + description: Condition is the common struct used by all CRDs managed + by ACK service controllers to indicate terminal states of the + CR and its backend AWS service API resource + properties: + lastTransitionTime: + description: Last time the condition transitioned from one status + to another. + format: date-time + type: string + message: + description: A human readable message indicating details about + the transition. + type: string + reason: + description: The reason for the condition's last transition. + type: string + status: + description: Status of the condition, one of True, False, Unknown. + type: string + type: + description: Type is the type of the Condition + type: string + required: + - status + - type + type: object + type: array + crossAccountClone: + description: Specifies whether the DB cluster is a clone of a DB cluster + owned by a different AWS account. + type: boolean + customEndpoints: + description: Identifies all custom endpoints associated with the cluster. + items: + type: string + type: array + dbClusterMembers: + description: Provides the list of instances that make up the DB cluster. + items: + description: Contains information about an instance that is part + of a DB cluster. + properties: + dbClusterParameterGroupStatus: + type: string + dbInstanceIdentifier: + type: string + isClusterWriter: + type: boolean + promotionTier: + format: int64 + type: integer + type: object + type: array + dbClusterOptionGroupMemberships: + description: Provides the list of option group memberships for this + DB cluster. + items: + description: Contains status information for a DB cluster option + group. + properties: + dbClusterOptionGroupName: + type: string + status: + type: string + type: object + type: array + dbClusterParameterGroup: + description: Specifies the name of the DB cluster parameter group + for the DB cluster. + type: string + dbClusterResourceID: + description: The AWS Region-unique, immutable identifier for the DB + cluster. This identifier is found in AWS CloudTrail log entries + whenever the AWS KMS CMK for the DB cluster is accessed. + type: string + dbSubnetGroup: + description: Specifies information on the subnet group associated + with the DB cluster, including the name, description, and subnets + in the subnet group. + type: string + domainMemberships: + description: The Active Directory Domain membership records associated + with the DB cluster. + items: + description: An Active Directory Domain membership record associated + with the DB instance or cluster. + properties: + domain: + type: string + fQDN: + type: string + iamRoleName: + type: string + status: + type: string + type: object + type: array + earliestBacktrackTime: + description: The earliest time to which a DB cluster can be backtracked. + format: date-time + type: string + earliestRestorableTime: + description: The earliest time to which a database can be restored + with point-in-time restore. + format: date-time + type: string + enabledCloudwatchLogsExports: + description: "A list of log types that this DB cluster is configured + to export to CloudWatch Logs. \n Log types vary by DB engine. For + information about the log types for each DB engine, see Amazon RDS + Database Log Files (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_LogAccess.html) + in the Amazon Aurora User Guide." + items: + type: string + type: array + endpoint: + description: Specifies the connection endpoint for the primary instance + of the DB cluster. + type: string + globalWriteForwardingRequested: + description: Specifies whether you have requested to enable write + forwarding for a secondary cluster in an Aurora global database. + Because write forwarding takes time to enable, check the value of + GlobalWriteForwardingStatus to confirm that the request has completed + before using the write forwarding feature for this cluster. + type: boolean + globalWriteForwardingStatus: + description: Specifies whether a secondary cluster in an Aurora global + database has write forwarding enabled, not enabled, or is in the + process of enabling it. + type: string + hostedZoneID: + description: Specifies the ID that Amazon Route 53 assigns when you + create a hosted zone. + type: string + httpEndpointEnabled: + description: "A value that indicates whether the HTTP endpoint for + an Aurora Serverless DB cluster is enabled. \n When enabled, the + HTTP endpoint provides a connectionless web service API for running + SQL queries on the Aurora Serverless DB cluster. You can also query + your database from inside the RDS console with the query editor. + \n For more information, see Using the Data API for Aurora Serverless + (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/data-api.html) + in the Amazon Aurora User Guide." + type: boolean + iamDatabaseAuthenticationEnabled: + description: A value that indicates whether the mapping of AWS Identity + and Access Management (IAM) accounts to database accounts is enabled. + type: boolean + latestRestorableTime: + description: Specifies the latest time to which a database can be + restored with point-in-time restore. + format: date-time + type: string + multiAZ: + description: Specifies whether the DB cluster has instances in multiple + Availability Zones. + type: boolean + pendingModifiedValues: + description: A value that specifies that changes to the DB cluster + are pending. This element is only included when changes are pending. + Specific changes are identified by subelements. + properties: + dbClusterIdentifier: + type: string + engineVersion: + type: string + iamDatabaseAuthenticationEnabled: + type: boolean + masterUserPassword: + type: string + pendingCloudwatchLogsExports: + description: A list of the log types whose configuration is still + pending. In other words, these log types are in the process + of being activated or deactivated. + properties: + logTypesToDisable: + items: + type: string + type: array + logTypesToEnable: + items: + type: string + type: array + type: object + type: object + percentProgress: + description: Specifies the progress of the operation as a percentage. + type: string + readReplicaIdentifiers: + description: Contains one or more identifiers of the read replicas + associated with this DB cluster. + items: + type: string + type: array + readerEndpoint: + description: "The reader endpoint for the DB cluster. The reader endpoint + for a DB cluster load-balances connections across the Aurora Replicas + that are available in a DB cluster. As clients request new connections + to the reader endpoint, Aurora distributes the connection requests + among the Aurora Replicas in the DB cluster. This functionality + can help balance your read workload across multiple Aurora Replicas + in your DB cluster. \n If a failover occurs, and the Aurora Replica + that you are connected to is promoted to be the primary instance, + your connection is dropped. To continue sending your read workload + to other Aurora Replicas in the cluster, you can then reconnect + to the reader endpoint." + type: string + scalingConfigurationInfo: + description: "Shows the scaling configuration for an Aurora DB cluster + in serverless DB engine mode. \n For more information, see Using + Amazon Aurora Serverless (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.html) + in the Amazon Aurora User Guide." + properties: + autoPause: + type: boolean + maxCapacity: + format: int64 + type: integer + minCapacity: + format: int64 + type: integer + secondsUntilAutoPause: + format: int64 + type: integer + timeoutAction: + type: string + type: object + status: + description: Specifies the current state of this DB cluster. + type: string + tagList: + items: + description: Metadata assigned to an Amazon RDS resource consisting + of a key-value pair. + properties: + key: + type: string + value: + type: string + type: object + type: array + vpcSecurityGroups: + description: Provides a list of VPC security groups that the DB cluster + belongs to. + items: + description: This data type is used as a response element for queries + on VPC security group membership. + properties: + status: + type: string + vpcSecurityGroupID: + type: string + type: object + type: array + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/operators/ack-rds-controller/0.0.14/manifests/rds.services.k8s.aws_dbinstances.yaml b/operators/ack-rds-controller/0.0.14/manifests/rds.services.k8s.aws_dbinstances.yaml new file mode 100644 index 00000000000..49b43ae8766 --- /dev/null +++ b/operators/ack-rds-controller/0.0.14/manifests/rds.services.k8s.aws_dbinstances.yaml @@ -0,0 +1,1003 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.7.0 + creationTimestamp: null + name: dbinstances.rds.services.k8s.aws +spec: + group: rds.services.k8s.aws + names: + kind: DBInstance + listKind: DBInstanceList + plural: dbinstances + singular: dbinstance + scope: Namespaced + versions: + - name: v1alpha1 + schema: + openAPIV3Schema: + description: DBInstance is the Schema for the DBInstances API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: "DBInstanceSpec defines the desired state of DBInstance. + \n Contains the details of an Amazon RDS DB instance. \n This data type + is used as a response element in the DescribeDBInstances action." + properties: + allocatedStorage: + description: "The amount of storage (in gibibytes) to allocate for + the DB instance. \n Type: Integer \n Amazon Aurora \n Not applicable. + Aurora cluster volumes automatically grow as the amount of data + in your database increases, though you are only charged for the + space that you use in an Aurora cluster volume. \n MySQL \n Constraints + to the amount of storage for each storage type are the following: + \n * General Purpose (SSD) storage (gp2): Must be an integer + from 20 to 65536. \n * Provisioned IOPS storage (io1): Must be + an integer from 100 to 65536. \n * Magnetic storage (standard): + Must be an integer from 5 to 3072. \n MariaDB \n Constraints to + the amount of storage for each storage type are the following: \n + \ * General Purpose (SSD) storage (gp2): Must be an integer from + 20 to 65536. \n * Provisioned IOPS storage (io1): Must be an + integer from 100 to 65536. \n * Magnetic storage (standard): + Must be an integer from 5 to 3072. \n PostgreSQL \n Constraints + to the amount of storage for each storage type are the following: + \n * General Purpose (SSD) storage (gp2): Must be an integer + from 20 to 65536. \n * Provisioned IOPS storage (io1): Must be + an integer from 100 to 65536. \n * Magnetic storage (standard): + Must be an integer from 5 to 3072. \n Oracle \n Constraints to the + amount of storage for each storage type are the following: \n * + General Purpose (SSD) storage (gp2): Must be an integer from 20 + to 65536. \n * Provisioned IOPS storage (io1): Must be an integer + from 100 to 65536. \n * Magnetic storage (standard): Must be + an integer from 10 to 3072. \n SQL Server \n Constraints to the + amount of storage for each storage type are the following: \n * + General Purpose (SSD) storage (gp2): Enterprise and Standard editions: + \ Must be an integer from 200 to 16384. Web and Express editions: + Must be an integer from 20 to 16384. \n * Provisioned IOPS + storage (io1): Enterprise and Standard editions: Must be an integer + from 200 to 16384. Web and Express editions: Must be an integer + from 100 to 16384. \n * Magnetic storage (standard): Enterprise + and Standard editions: Must be an integer from 200 to 1024. Web + and Express editions: Must be an integer from 20 to 1024." + format: int64 + type: integer + autoMinorVersionUpgrade: + description: A value that indicates whether minor engine upgrades + are applied automatically to the DB instance during the maintenance + window. By default, minor engine upgrades are applied automatically. + type: boolean + availabilityZone: + description: "The Availability Zone (AZ) where the database will be + created. For information on AWS Regions and Availability Zones, + see Regions and Availability Zones (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html). + \n Default: A random, system-chosen Availability Zone in the endpoint's + AWS Region. \n Example: us-east-1d \n Constraint: The AvailabilityZone + parameter can't be specified if the DB instance is a Multi-AZ deployment. + The specified Availability Zone must be in the same AWS Region as + the current endpoint. \n If you're creating a DB instance in an + RDS on VMware environment, specify the identifier of the custom + Availability Zone to create the DB instance in. \n For more information + about RDS on VMware, see the RDS on VMware User Guide. (https://docs.aws.amazon.com/AmazonRDS/latest/RDSonVMwareUserGuide/rds-on-vmware.html)" + type: string + backupRetentionPeriod: + description: "The number of days for which automated backups are retained. + Setting this parameter to a positive number enables backups. Setting + this parameter to 0 disables automated backups. \n Amazon Aurora + \n Not applicable. The retention period for automated backups is + managed by the DB cluster. \n Default: 1 \n Constraints: \n * + Must be a value from 0 to 35 \n * Can't be set to 0 if the DB + instance is a source to read replicas" + format: int64 + type: integer + characterSetName: + description: "For supported engines, indicates that the DB instance + should be associated with the specified CharacterSet. \n Amazon + Aurora \n Not applicable. The character set is managed by the DB + cluster. For more information, see CreateDBCluster." + type: string + copyTagsToSnapshot: + description: "A value that indicates whether to copy tags from the + DB instance to snapshots of the DB instance. By default, tags are + not copied. \n Amazon Aurora \n Not applicable. Copying tags to + snapshots is managed by the DB cluster. Setting this value for an + Aurora DB instance has no effect on the DB cluster setting." + type: boolean + dbClusterIdentifier: + description: The identifier of the DB cluster that the instance will + belong to. + type: string + dbInstanceClass: + description: The compute and memory capacity of the DB instance, for + example, db.m4.large. Not all DB instance classes are available + in all AWS Regions, or for all database engines. For the full list + of DB instance classes, and availability for your engine, see DB + Instance Class (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) + in the Amazon RDS User Guide. + type: string + dbInstanceIdentifier: + description: "The DB instance identifier. This parameter is stored + as a lowercase string. \n Constraints: \n * Must contain from + 1 to 63 letters, numbers, or hyphens. \n * First character must + be a letter. \n * Can't end with a hyphen or contain two consecutive + hyphens. \n Example: mydbinstance" + type: string + dbName: + description: "The meaning of this parameter differs according to the + database engine you use. \n MySQL \n The name of the database to + create when the DB instance is created. If this parameter isn't + specified, no database is created in the DB instance. \n Constraints: + \n * Must contain 1 to 64 letters or numbers. \n * Must begin + with a letter. Subsequent characters can be letters, underscores, + \ or digits (0-9). \n * Can't be a word reserved by the specified + database engine \n MariaDB \n The name of the database to create + when the DB instance is created. If this parameter isn't specified, + no database is created in the DB instance. \n Constraints: \n * + Must contain 1 to 64 letters or numbers. \n * Must begin with + a letter. Subsequent characters can be letters, underscores, or + digits (0-9). \n * Can't be a word reserved by the specified + database engine \n PostgreSQL \n The name of the database to create + when the DB instance is created. If this parameter isn't specified, + a database named postgres is created in the DB instance. \n Constraints: + \n * Must contain 1 to 63 letters, numbers, or underscores. \n + \ * Must begin with a letter. Subsequent characters can be letters, + underscores, or digits (0-9). \n * Can't be a word reserved + by the specified database engine \n Oracle \n The Oracle System + ID (SID) of the created DB instance. If you specify null, the default + value ORCL is used. You can't specify the string NULL, or any other + reserved word, for DBName. \n Default: ORCL \n Constraints: \n * + Can't be longer than 8 characters \n SQL Server \n Not applicable. + Must be null. \n Amazon Aurora MySQL \n The name of the database + to create when the primary DB instance of the Aurora MySQL DB cluster + is created. If this parameter isn't specified for an Aurora MySQL + DB cluster, no database is created in the DB cluster. \n Constraints: + \n * It must contain 1 to 64 alphanumeric characters. \n * + It can't be a word reserved by the database engine. \n Amazon Aurora + PostgreSQL \n The name of the database to create when the primary + DB instance of the Aurora PostgreSQL DB cluster is created. If this + parameter isn't specified for an Aurora PostgreSQL DB cluster, a + database named postgres is created in the DB cluster. \n Constraints: + \n * It must contain 1 to 63 alphanumeric characters. \n * + It must begin with a letter or an underscore. Subsequent characters + \ can be letters, underscores, or digits (0 to 9). \n * It + can't be a word reserved by the database engine." + type: string + dbParameterGroupName: + description: "The name of the DB parameter group to associate with + this DB instance. If you do not specify a value, then the default + DB parameter group for the specified DB engine and version is used. + \n Constraints: \n * Must be 1 to 255 letters, numbers, or hyphens. + \n * First character must be a letter \n * Can't end with + a hyphen or contain two consecutive hyphens" + type: string + dbSecurityGroups: + description: "A list of DB security groups to associate with this + DB instance. \n Default: The default DB security group for the database + engine." + items: + type: string + type: array + dbSubnetGroupName: + description: "A DB subnet group to associate with this DB instance. + \n If there is no DB subnet group, then it is a non-VPC DB instance." + type: string + deletionProtection: + description: "A value that indicates whether the DB instance has deletion + protection enabled. The database can't be deleted when deletion + protection is enabled. By default, deletion protection is disabled. + For more information, see Deleting a DB Instance (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html). + \n Amazon Aurora \n Not applicable. You can enable or disable deletion + protection for the DB cluster. For more information, see CreateDBCluster. + DB instances in a DB cluster can be deleted even when deletion protection + is enabled for the DB cluster." + type: boolean + domain: + description: "The Active Directory directory ID to create the DB instance + in. Currently, only MySQL, Microsoft SQL Server, Oracle, and PostgreSQL + DB instances can be created in an Active Directory Domain. \n For + more information, see Kerberos Authentication (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/kerberos-authentication.html) + in the Amazon RDS User Guide." + type: string + domainIAMRoleName: + description: Specify the name of the IAM role to be used when making + API calls to the Directory Service. + type: string + enableCloudwatchLogsExports: + description: "The list of log types that need to be enabled for exporting + to CloudWatch Logs. The values in the list depend on the DB engine + being used. For more information, see Publishing Database Logs to + Amazon CloudWatch Logs (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html#USER_LogAccess.Procedural.UploadtoCloudWatch) + in the Amazon Relational Database Service User Guide. \n Amazon + Aurora \n Not applicable. CloudWatch Logs exports are managed by + the DB cluster. \n MariaDB \n Possible values are audit, error, + general, and slowquery. \n Microsoft SQL Server \n Possible values + are agent and error. \n MySQL \n Possible values are audit, error, + general, and slowquery. \n Oracle \n Possible values are alert, + audit, listener, trace, and oemagent. \n PostgreSQL \n Possible + values are postgresql and upgrade." + items: + type: string + type: array + enableCustomerOwnedIP: + description: "A value that indicates whether to enable a customer-owned + IP address (CoIP) for an RDS on Outposts DB instance. \n A CoIP + provides local or external connectivity to resources in your Outpost + subnets through your on-premises network. For some use cases, a + CoIP can provide lower latency for connections to the DB instance + from outside of its virtual private cloud (VPC) on your local network. + \n For more information about RDS on Outposts, see Working with + Amazon RDS on AWS Outposts (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) + in the Amazon RDS User Guide. \n For more information about CoIPs, + see Customer-owned IP addresses (https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#ip-addressing) + in the AWS Outposts User Guide." + type: boolean + enableIAMDatabaseAuthentication: + description: "A value that indicates whether to enable mapping of + AWS Identity and Access Management (IAM) accounts to database accounts. + By default, mapping is disabled. \n This setting doesn't apply to + Amazon Aurora. Mapping AWS IAM accounts to database accounts is + managed by the DB cluster. \n For more information, see IAM Database + Authentication for MySQL and PostgreSQL (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html) + in the Amazon RDS User Guide." + type: boolean + enablePerformanceInsights: + description: "A value that indicates whether to enable Performance + Insights for the DB instance. \n For more information, see Using + Amazon Performance Insights (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PerfInsights.html) + in the Amazon Relational Database Service User Guide." + type: boolean + engine: + description: "The name of the database engine to be used for this + instance. \n Not every database engine is available for every AWS + Region. \n Valid Values: \n * aurora (for MySQL 5.6-compatible + Aurora) \n * aurora-mysql (for MySQL 5.7-compatible Aurora) \n + \ * aurora-postgresql \n * mariadb \n * mysql \n * oracle-ee + \n * oracle-se2 \n * oracle-se1 \n * oracle-se \n * + postgres \n * sqlserver-ee \n * sqlserver-se \n * sqlserver-ex + \n * sqlserver-web" + type: string + engineVersion: + description: "The version number of the database engine to use. \n + For a list of valid engine versions, use the DescribeDBEngineVersions + action. \n The following are the database engines and links to information + about the major and minor versions that are available with Amazon + RDS. Not every database engine is available for every AWS Region. + \n Amazon Aurora \n Not applicable. The version number of the database + engine to be used by the DB instance is managed by the DB cluster. + \n MariaDB \n See MariaDB on Amazon RDS Versions (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MariaDB.html#MariaDB.Concepts.VersionMgmt) + in the Amazon RDS User Guide. \n Microsoft SQL Server \n See Microsoft + SQL Server Versions on Amazon RDS (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.VersionSupport) + in the Amazon RDS User Guide. \n MySQL \n See MySQL on Amazon RDS + Versions (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_MySQL.html#MySQL.Concepts.VersionMgmt) + in the Amazon RDS User Guide. \n Oracle \n See Oracle Database Engine + Release Notes (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.PatchComposition.html) + in the Amazon RDS User Guide. \n PostgreSQL \n See Amazon RDS for + PostgreSQL versions and extensions (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_PostgreSQL.html#PostgreSQL.Concepts) + in the Amazon RDS User Guide." + type: string + iops: + description: "The amount of Provisioned IOPS (input/output operations + per second) to be initially allocated for the DB instance. For information + about valid Iops values, see Amazon RDS Provisioned IOPS Storage + to Improve Performance (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS) + in the Amazon RDS User Guide. \n Constraints: For MariaDB, MySQL, + Oracle, and PostgreSQL DB instances, must be a multiple between + .5 and 50 of the storage amount for the DB instance. For SQL Server + DB instances, must be a multiple between 1 and 50 of the storage + amount for the DB instance." + format: int64 + type: integer + kmsKeyID: + description: "The AWS KMS key identifier for an encrypted DB instance. + \n The AWS KMS key identifier is the key ARN, key ID, alias ARN, + or alias name for the AWS KMS customer master key (CMK). To use + a CMK in a different AWS account, specify the key ARN or alias ARN. + \n Amazon Aurora \n Not applicable. The AWS KMS key identifier is + managed by the DB cluster. For more information, see CreateDBCluster. + \n If StorageEncrypted is enabled, and you do not specify a value + for the KmsKeyId parameter, then Amazon RDS uses your default CMK. + There is a default CMK for your AWS account. Your AWS account has + a different default CMK for each AWS Region." + type: string + licenseModel: + description: "License model information for this DB instance. \n Valid + values: license-included | bring-your-own-license | general-public-license" + type: string + masterUserPassword: + description: "The password for the master user. The password can include + any printable ASCII character except \"/\", \"\"\", or \"@\". \n + Amazon Aurora \n Not applicable. The password for the master user + is managed by the DB cluster. \n MariaDB \n Constraints: Must contain + from 8 to 41 characters. \n Microsoft SQL Server \n Constraints: + Must contain from 8 to 128 characters. \n MySQL \n Constraints: + Must contain from 8 to 41 characters. \n Oracle \n Constraints: + Must contain from 8 to 30 characters. \n PostgreSQL \n Constraints: + Must contain from 8 to 128 characters." + properties: + key: + description: Key is the key within the secret + type: string + name: + description: Name is unique within a namespace to reference a + secret resource. + type: string + namespace: + description: Namespace defines the space within which the secret + name must be unique. + type: string + required: + - key + type: object + masterUsername: + description: "The name for the master user. \n Amazon Aurora \n Not + applicable. The name for the master user is managed by the DB cluster. + \n MariaDB \n Constraints: \n * Required for MariaDB. \n * + Must be 1 to 16 letters or numbers. \n * Can't be a reserved + word for the chosen database engine. \n Microsoft SQL Server \n + Constraints: \n * Required for SQL Server. \n * Must be 1 + to 128 letters or numbers. \n * The first character must be a + letter. \n * Can't be a reserved word for the chosen database + engine. \n MySQL \n Constraints: \n * Required for MySQL. \n + \ * Must be 1 to 16 letters or numbers. \n * First character + must be a letter. \n * Can't be a reserved word for the chosen + database engine. \n Oracle \n Constraints: \n * Required for + Oracle. \n * Must be 1 to 30 letters or numbers. \n * First + character must be a letter. \n * Can't be a reserved word for + the chosen database engine. \n PostgreSQL \n Constraints: \n * + Required for PostgreSQL. \n * Must be 1 to 63 letters or numbers. + \n * First character must be a letter. \n * Can't be a reserved + word for the chosen database engine." + type: string + maxAllocatedStorage: + description: "The upper limit to which Amazon RDS can automatically + scale the storage of the DB instance. \n For more information about + this setting, including limitations that apply to it, see Managing + capacity automatically with Amazon RDS storage autoscaling (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.StorageTypes.html#USER_PIOPS.Autoscaling) + in the Amazon RDS User Guide." + format: int64 + type: integer + monitoringInterval: + description: "The interval, in seconds, between points when Enhanced + Monitoring metrics are collected for the DB instance. To disable + collecting Enhanced Monitoring metrics, specify 0. The default is + 0. \n If MonitoringRoleArn is specified, then you must also set + MonitoringInterval to a value other than 0. \n Valid Values: 0, + 1, 5, 10, 15, 30, 60" + format: int64 + type: integer + monitoringRoleARN: + description: "The ARN for the IAM role that permits RDS to send enhanced + monitoring metrics to Amazon CloudWatch Logs. For example, arn:aws:iam:123456789012:role/emaccess. + For information on creating a monitoring role, go to Setting Up + and Enabling Enhanced Monitoring (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html#USER_Monitoring.OS.Enabling) + in the Amazon RDS User Guide. \n If MonitoringInterval is set to + a value other than 0, then you must supply a MonitoringRoleArn value." + type: string + multiAZ: + description: A value that indicates whether the DB instance is a Multi-AZ + deployment. You can't set the AvailabilityZone parameter if the + DB instance is a Multi-AZ deployment. + type: boolean + ncharCharacterSetName: + description: The name of the NCHAR character set for the Oracle DB + instance. + type: string + optionGroupName: + description: "A value that indicates that the DB instance should be + associated with the specified option group. \n Permanent options, + such as the TDE option for Oracle Advanced Security TDE, can't be + removed from an option group. Also, that option group can't be removed + from a DB instance once it is associated with a DB instance" + type: string + performanceInsightsKMSKeyID: + description: "The AWS KMS key identifier for encryption of Performance + Insights data. \n The AWS KMS key identifier is the key ARN, key + ID, alias ARN, or alias name for the AWS KMS customer master key + (CMK). \n If you do not specify a value for PerformanceInsightsKMSKeyId, + then Amazon RDS uses your default CMK. There is a default CMK for + your AWS account. Your AWS account has a different default CMK for + each AWS Region." + type: string + performanceInsightsRetentionPeriod: + description: The amount of time, in days, to retain Performance Insights + data. Valid values are 7 or 731 (2 years). + format: int64 + type: integer + port: + description: "The port number on which the database accepts connections. + \n MySQL \n Default: 3306 \n Valid values: 1150-65535 \n Type: Integer + \n MariaDB \n Default: 3306 \n Valid values: 1150-65535 \n Type: + Integer \n PostgreSQL \n Default: 5432 \n Valid values: 1150-65535 + \n Type: Integer \n Oracle \n Default: 1521 \n Valid values: 1150-65535 + \n SQL Server \n Default: 1433 \n Valid values: 1150-65535 except + 1234, 1434, 3260, 3343, 3389, 47001, and 49152-49156. \n Amazon + Aurora \n Default: 3306 \n Valid values: 1150-65535 \n Type: Integer" + format: int64 + type: integer + preferredBackupWindow: + description: "The daily time range during which automated backups + are created if automated backups are enabled, using the BackupRetentionPeriod + parameter. For more information, see The Backup Window (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow) + in the Amazon RDS User Guide. \n Amazon Aurora \n Not applicable. + The daily time range for creating automated backups is managed by + the DB cluster. \n The default is a 30-minute window selected at + random from an 8-hour block of time for each AWS Region. To see + the time blocks available, see Adjusting the Preferred DB Instance + Maintenance Window (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow) + in the Amazon RDS User Guide. \n Constraints: \n * Must be in + the format hh24:mi-hh24:mi. \n * Must be in Universal Coordinated + Time (UTC). \n * Must not conflict with the preferred maintenance + window. \n * Must be at least 30 minutes." + type: string + preferredMaintenanceWindow: + description: "The time range each week during which system maintenance + can occur, in Universal Coordinated Time (UTC). For more information, + see Amazon RDS Maintenance Window (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance). + \n Format: ddd:hh24:mi-ddd:hh24:mi \n The default is a 30-minute + window selected at random from an 8-hour block of time for each + AWS Region, occurring on a random day of the week. \n Valid Days: + Mon, Tue, Wed, Thu, Fri, Sat, Sun. \n Constraints: Minimum 30-minute + window." + type: string + processorFeatures: + description: The number of CPU cores and the number of threads per + core for the DB instance class of the DB instance. + items: + description: "Contains the processor features of a DB instance class. + \n To specify the number of CPU cores, use the coreCount feature + name for the Name parameter. To specify the number of threads + per core, use the threadsPerCore feature name for the Name parameter. + \n You can set the processor features of the DB instance class + for a DB instance when you call one of the following actions: + \n * CreateDBInstance \n * ModifyDBInstance \n * RestoreDBInstanceFromDBSnapshot + \n * RestoreDBInstanceFromS3 \n * RestoreDBInstanceToPointInTime + \n You can view the valid processor values for a particular instance + class by calling the DescribeOrderableDBInstanceOptions action + and specifying the instance class for the DBInstanceClass parameter. + \n In addition, you can use the following actions for DB instance + class processor information: \n * DescribeDBInstances \n * + DescribeDBSnapshots \n * DescribeValidDBInstanceModifications + \n If you call DescribeDBInstances, ProcessorFeature returns non-null + values only if the following conditions are met: \n * You are + accessing an Oracle DB instance. \n * Your Oracle DB instance + class supports configuring the number of CPU cores and threads + per core. \n * The current number CPU cores and threads is + set to a non-default value. \n For more information, see Configuring + the Processor of the DB Instance Class (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html#USER_ConfigureProcessor) + in the Amazon RDS User Guide." + properties: + name: + type: string + value: + type: string + type: object + type: array + promotionTier: + description: "A value that specifies the order in which an Aurora + Replica is promoted to the primary instance after a failure of the + existing primary instance. For more information, see Fault Tolerance + for an Aurora DB Cluster (https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Managing.Backups.html#Aurora.Managing.FaultTolerance) + in the Amazon Aurora User Guide. \n Default: 1 \n Valid Values: + 0 - 15" + format: int64 + type: integer + publiclyAccessible: + description: "A value that indicates whether the DB instance is publicly + accessible. \n When the DB instance is publicly accessible, its + DNS endpoint resolves to the private IP address from within the + DB instance's VPC, and to the public IP address from outside of + the DB instance's VPC. Access to the DB instance is ultimately controlled + by the security group it uses, and that public access is not permitted + if the security group assigned to the DB instance doesn't permit + it. \n When the DB instance isn't publicly accessible, it is an + internal DB instance with a DNS name that resolves to a private + IP address. \n Default: The default behavior varies depending on + whether DBSubnetGroupName is specified. \n If DBSubnetGroupName + isn't specified, and PubliclyAccessible isn't specified, the following + applies: \n * If the default VPC in the target region doesn’t + have an Internet gateway attached to it, the DB instance is private. + \n * If the default VPC in the target region has an Internet + gateway attached to it, the DB instance is public. \n If DBSubnetGroupName + is specified, and PubliclyAccessible isn't specified, the following + applies: \n * If the subnets are part of a VPC that doesn’t have + an Internet gateway attached to it, the DB instance is private. + \n * If the subnets are part of a VPC that has an Internet gateway + attached to it, the DB instance is public." + type: boolean + storageEncrypted: + description: "A value that indicates whether the DB instance is encrypted. + By default, it isn't encrypted. \n Amazon Aurora \n Not applicable. + The encryption for DB instances is managed by the DB cluster." + type: boolean + storageType: + description: "Specifies the storage type to be associated with the + DB instance. \n Valid values: standard | gp2 | io1 \n If you specify + io1, you must also include a value for the Iops parameter. \n Default: + io1 if the Iops parameter is specified, otherwise gp2" + type: string + tags: + description: Tags to assign to the DB instance. + items: + description: Metadata assigned to an Amazon RDS resource consisting + of a key-value pair. + properties: + key: + type: string + value: + type: string + type: object + type: array + tdeCredentialARN: + description: The ARN from the key store with which to associate the + instance for TDE encryption. + type: string + tdeCredentialPassword: + description: The password for the given ARN from the key store in + order to access the device. + type: string + timezone: + description: The time zone of the DB instance. The time zone parameter + is currently supported only by Microsoft SQL Server (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone). + type: string + vpcSecurityGroupIDs: + description: "A list of Amazon EC2 VPC security groups to associate + with this DB instance. \n Amazon Aurora \n Not applicable. The associated + list of EC2 VPC security groups is managed by the DB cluster. \n + Default: The default EC2 VPC security group for the DB subnet group's + VPC." + items: + type: string + type: array + required: + - dbInstanceClass + - dbInstanceIdentifier + - engine + type: object + status: + description: DBInstanceStatus defines the observed state of DBInstance + properties: + ackResourceMetadata: + description: All CRs managed by ACK have a common `Status.ACKResourceMetadata` + member that is used to contain resource sync state, account ownership, + constructed ARN for the resource + properties: + arn: + description: 'ARN is the Amazon Resource Name for the resource. + This is a globally-unique identifier and is set only by the + ACK service controller once the controller has orchestrated + the creation of the resource OR when it has verified that an + "adopted" resource (a resource where the ARN annotation was + set by the Kubernetes user on the CR) exists and matches the + supplied CR''s Spec field values. TODO(vijat@): Find a better + strategy for resources that do not have ARN in CreateOutputResponse + https://github.com/aws/aws-controllers-k8s/issues/270' + type: string + ownerAccountID: + description: OwnerAccountID is the AWS Account ID of the account + that owns the backend AWS service API resource. + type: string + required: + - ownerAccountID + type: object + associatedRoles: + description: The AWS Identity and Access Management (IAM) roles associated + with the DB instance. + items: + description: Describes an AWS Identity and Access Management (IAM) + role that is associated with a DB instance. + properties: + featureName: + type: string + roleARN: + type: string + status: + type: string + type: object + type: array + caCertificateIdentifier: + description: The identifier of the CA certificate for this DB instance. + type: string + conditions: + description: All CRS managed by ACK have a common `Status.Conditions` + member that contains a collection of `ackv1alpha1.Condition` objects + that describe the various terminal states of the CR and its backend + AWS service API resource + items: + description: Condition is the common struct used by all CRDs managed + by ACK service controllers to indicate terminal states of the + CR and its backend AWS service API resource + properties: + lastTransitionTime: + description: Last time the condition transitioned from one status + to another. + format: date-time + type: string + message: + description: A human readable message indicating details about + the transition. + type: string + reason: + description: The reason for the condition's last transition. + type: string + status: + description: Status of the condition, one of True, False, Unknown. + type: string + type: + description: Type is the type of the Condition + type: string + required: + - status + - type + type: object + type: array + customerOwnedIPEnabled: + description: "Specifies whether a customer-owned IP address (CoIP) + is enabled for an RDS on Outposts DB instance. \n A CoIP provides + local or external connectivity to resources in your Outpost subnets + through your on-premises network. For some use cases, a CoIP can + provide lower latency for connections to the DB instance from outside + of its virtual private cloud (VPC) on your local network. \n For + more information about RDS on Outposts, see Working with Amazon + RDS on AWS Outposts (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) + in the Amazon RDS User Guide. \n For more information about CoIPs, + see Customer-owned IP addresses (https://docs.aws.amazon.com/outposts/latest/userguide/outposts-networking-components.html#ip-addressing) + in the AWS Outposts User Guide." + type: boolean + dbInstanceAutomatedBackupsReplications: + description: The list of replicated automated backups associated with + the DB instance. + items: + description: Automated backups of a DB instance replicated to another + AWS Region. They consist of system backups, transaction logs, + and database instance properties. + properties: + dbInstanceAutomatedBackupsARN: + type: string + type: object + type: array + dbInstancePort: + description: Specifies the port that the DB instance listens on. If + the DB instance is part of a DB cluster, this can be a different + port than the DB cluster port. + format: int64 + type: integer + dbInstanceStatus: + description: "Specifies the current state of this database. \n For + information about DB instance statuses, see DB Instance Status (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.DBInstance.Status.html) + in the Amazon RDS User Guide." + type: string + dbParameterGroups: + description: Provides the list of DB parameter groups applied to this + DB instance. + items: + description: "The status of the DB parameter group. \n This data + type is used as a response element in the following actions: \n + \ * CreateDBInstance \n * CreateDBInstanceReadReplica \n + \ * DeleteDBInstance \n * ModifyDBInstance \n * RebootDBInstance + \n * RestoreDBInstanceFromDBSnapshot" + properties: + dbParameterGroupName: + type: string + parameterApplyStatus: + type: string + type: object + type: array + dbSubnetGroup: + description: Specifies information on the subnet group associated + with the DB instance, including the name, description, and subnets + in the subnet group. + properties: + dbSubnetGroupARN: + type: string + dbSubnetGroupDescription: + type: string + dbSubnetGroupName: + type: string + subnetGroupStatus: + type: string + subnets: + items: + description: This data type is used as a response element for + the DescribeDBSubnetGroups operation. + properties: + subnetAvailabilityZone: + description: "Contains Availability Zone information. \n + This data type is used as an element in the OrderableDBInstanceOption + data type." + properties: + name: + type: string + type: object + subnetIdentifier: + type: string + subnetOutpost: + description: "A data type that represents an Outpost. \n + For more information about RDS on Outposts, see Amazon + RDS on AWS Outposts (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) + in the Amazon RDS User Guide." + properties: + arn: + type: string + type: object + subnetStatus: + type: string + type: object + type: array + vpcID: + type: string + type: object + dbiResourceID: + description: The AWS Region-unique, immutable identifier for the DB + instance. This identifier is found in AWS CloudTrail log entries + whenever the AWS KMS customer master key (CMK) for the DB instance + is accessed. + type: string + domainMemberships: + description: The Active Directory Domain membership records associated + with the DB instance. + items: + description: An Active Directory Domain membership record associated + with the DB instance or cluster. + properties: + domain: + type: string + fQDN: + type: string + iamRoleName: + type: string + status: + type: string + type: object + type: array + enabledCloudwatchLogsExports: + description: "A list of log types that this DB instance is configured + to export to CloudWatch Logs. \n Log types vary by DB engine. For + information about the log types for each DB engine, see Amazon RDS + Database Log Files (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_LogAccess.html) + in the Amazon RDS User Guide." + items: + type: string + type: array + endpoint: + description: Specifies the connection endpoint. + properties: + address: + type: string + hostedZoneID: + type: string + port: + format: int64 + type: integer + type: object + enhancedMonitoringResourceARN: + description: The Amazon Resource Name (ARN) of the Amazon CloudWatch + Logs log stream that receives the Enhanced Monitoring metrics data + for the DB instance. + type: string + iamDatabaseAuthenticationEnabled: + description: "True if mapping of AWS Identity and Access Management + (IAM) accounts to database accounts is enabled, and otherwise false. + \n IAM database authentication can be enabled for the following + database engines \n * For MySQL 5.6, minor version 5.6.34 or + higher \n * For MySQL 5.7, minor version 5.7.16 or higher \n + \ * Aurora 5.6 or higher. To enable IAM database authentication + for Aurora, see DBCluster Type." + type: boolean + instanceCreateTime: + description: Provides the date and time the DB instance was created. + format: date-time + type: string + latestRestorableTime: + description: Specifies the latest time to which a database can be + restored with point-in-time restore. + format: date-time + type: string + listenerEndpoint: + description: Specifies the listener connection endpoint for SQL Server + Always On. + properties: + address: + type: string + hostedZoneID: + type: string + port: + format: int64 + type: integer + type: object + optionGroupMemberships: + description: Provides the list of option group memberships for this + DB instance. + items: + description: Provides information on the option groups the DB instance + is a member of. + properties: + optionGroupName: + type: string + status: + type: string + type: object + type: array + pendingModifiedValues: + description: A value that specifies that changes to the DB instance + are pending. This element is only included when changes are pending. + Specific changes are identified by subelements. + properties: + allocatedStorage: + format: int64 + type: integer + backupRetentionPeriod: + format: int64 + type: integer + caCertificateIdentifier: + type: string + dbInstanceClass: + type: string + dbInstanceIdentifier: + type: string + dbSubnetGroupName: + type: string + engineVersion: + type: string + iamDatabaseAuthenticationEnabled: + type: boolean + iops: + format: int64 + type: integer + licenseModel: + type: string + masterUserPassword: + type: string + multiAZ: + type: boolean + pendingCloudwatchLogsExports: + description: A list of the log types whose configuration is still + pending. In other words, these log types are in the process + of being activated or deactivated. + properties: + logTypesToDisable: + items: + type: string + type: array + logTypesToEnable: + items: + type: string + type: array + type: object + port: + format: int64 + type: integer + processorFeatures: + items: + description: "Contains the processor features of a DB instance + class. \n To specify the number of CPU cores, use the coreCount + feature name for the Name parameter. To specify the number + of threads per core, use the threadsPerCore feature name for + the Name parameter. \n You can set the processor features + of the DB instance class for a DB instance when you call one + of the following actions: \n * CreateDBInstance \n * + ModifyDBInstance \n * RestoreDBInstanceFromDBSnapshot \n + \ * RestoreDBInstanceFromS3 \n * RestoreDBInstanceToPointInTime + \n You can view the valid processor values for a particular + instance class by calling the DescribeOrderableDBInstanceOptions + action and specifying the instance class for the DBInstanceClass + parameter. \n In addition, you can use the following actions + for DB instance class processor information: \n * DescribeDBInstances + \n * DescribeDBSnapshots \n * DescribeValidDBInstanceModifications + \n If you call DescribeDBInstances, ProcessorFeature returns + non-null values only if the following conditions are met: + \n * You are accessing an Oracle DB instance. \n * Your + Oracle DB instance class supports configuring the number of + CPU cores and threads per core. \n * The current number + CPU cores and threads is set to a non-default value. \n For + more information, see Configuring the Processor of the DB + Instance Class (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html#USER_ConfigureProcessor) + in the Amazon RDS User Guide." + properties: + name: + type: string + value: + type: string + type: object + type: array + storageType: + type: string + type: object + performanceInsightsEnabled: + description: True if Performance Insights is enabled for the DB instance, + and otherwise false. + type: boolean + readReplicaDBClusterIdentifiers: + description: "Contains one or more identifiers of Aurora DB clusters + to which the RDS DB instance is replicated as a read replica. For + example, when you create an Aurora read replica of an RDS MySQL + DB instance, the Aurora MySQL DB cluster for the Aurora read replica + is shown. This output does not contain information about cross region + Aurora read replicas. \n Currently, each RDS DB instance can have + only one Aurora read replica." + items: + type: string + type: array + readReplicaDBInstanceIdentifiers: + description: Contains one or more identifiers of the read replicas + associated with this DB instance. + items: + type: string + type: array + readReplicaSourceDBInstanceIdentifier: + description: Contains the identifier of the source DB instance if + this DB instance is a read replica. + type: string + replicaMode: + description: "The open mode of an Oracle read replica. The default + is open-read-only. For more information, see Working with Oracle + Read Replicas for Amazon RDS (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html) + in the Amazon RDS User Guide. \n This attribute is only supported + in RDS for Oracle." + type: string + secondaryAvailabilityZone: + description: If present, specifies the name of the secondary Availability + Zone for a DB instance with multi-AZ support. + type: string + statusInfos: + description: The status of a read replica. If the instance isn't a + read replica, this is blank. + items: + description: Provides a list of status information for a DB instance. + properties: + message: + type: string + normal: + type: boolean + status: + type: string + statusType: + type: string + type: object + type: array + tagList: + items: + description: Metadata assigned to an Amazon RDS resource consisting + of a key-value pair. + properties: + key: + type: string + value: + type: string + type: object + type: array + vpcSecurityGroups: + description: Provides a list of VPC security group elements that the + DB instance belongs to. + items: + description: This data type is used as a response element for queries + on VPC security group membership. + properties: + status: + type: string + vpcSecurityGroupID: + type: string + type: object + type: array + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/operators/ack-rds-controller/0.0.14/manifests/rds.services.k8s.aws_dbparametergroups.yaml b/operators/ack-rds-controller/0.0.14/manifests/rds.services.k8s.aws_dbparametergroups.yaml new file mode 100644 index 00000000000..c98c0542420 --- /dev/null +++ b/operators/ack-rds-controller/0.0.14/manifests/rds.services.k8s.aws_dbparametergroups.yaml @@ -0,0 +1,188 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.7.0 + creationTimestamp: null + name: dbparametergroups.rds.services.k8s.aws +spec: + group: rds.services.k8s.aws + names: + kind: DBParameterGroup + listKind: DBParameterGroupList + plural: dbparametergroups + singular: dbparametergroup + scope: Namespaced + versions: + - name: v1alpha1 + schema: + openAPIV3Schema: + description: DBParameterGroup is the Schema for the DBParameterGroups API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: "DBParameterGroupSpec defines the desired state of DBParameterGroup. + \n Contains the details of an Amazon RDS DB parameter group. \n This + data type is used as a response element in the DescribeDBParameterGroups + action." + properties: + description: + description: The description for the DB parameter group. + type: string + family: + description: "The DB parameter group family name. A DB parameter group + can be associated with one and only one DB parameter group family, + and can be applied only to a DB instance running a database engine + and engine version compatible with that DB parameter group family. + \n To list all of the available parameter group families, use the + following command: \n aws rds describe-db-engine-versions --query + \"DBEngineVersions[].DBParameterGroupFamily\" \n The output contains + duplicates." + type: string + name: + description: "The name of the DB parameter group. \n Constraints: + \n * Must be 1 to 255 letters, numbers, or hyphens. \n * First + character must be a letter \n * Can't end with a hyphen or contain + two consecutive hyphens \n This value is stored as a lowercase string." + type: string + parameters: + description: "An array of parameter names, values, and the apply method + for the parameter update. At least one parameter name, value, and + apply method must be supplied; later arguments are optional. A maximum + of 20 parameters can be modified in a single request. \n Valid Values + (for the application method): immediate | pending-reboot \n You + can use the immediate value with dynamic parameters only. You can + use the pending-reboot value for both dynamic and static parameters, + and changes are applied when you reboot the DB instance without + failover." + items: + description: "This data type is used as a request parameter in the + ModifyDBParameterGroup and ResetDBParameterGroup actions. \n This + data type is used as a response element in the DescribeEngineDefaultParameters + and DescribeDBParameters actions." + properties: + allowedValues: + type: string + applyMethod: + type: string + applyType: + type: string + dataType: + type: string + description: + type: string + isModifiable: + type: boolean + minimumEngineVersion: + type: string + parameterName: + type: string + parameterValue: + type: string + source: + type: string + supportedEngineModes: + items: + type: string + type: array + type: object + type: array + tags: + description: Tags to assign to the DB parameter group. + items: + description: Metadata assigned to an Amazon RDS resource consisting + of a key-value pair. + properties: + key: + type: string + value: + type: string + type: object + type: array + required: + - description + - family + - name + type: object + status: + description: DBParameterGroupStatus defines the observed state of DBParameterGroup + properties: + ackResourceMetadata: + description: All CRs managed by ACK have a common `Status.ACKResourceMetadata` + member that is used to contain resource sync state, account ownership, + constructed ARN for the resource + properties: + arn: + description: 'ARN is the Amazon Resource Name for the resource. + This is a globally-unique identifier and is set only by the + ACK service controller once the controller has orchestrated + the creation of the resource OR when it has verified that an + "adopted" resource (a resource where the ARN annotation was + set by the Kubernetes user on the CR) exists and matches the + supplied CR''s Spec field values. TODO(vijat@): Find a better + strategy for resources that do not have ARN in CreateOutputResponse + https://github.com/aws/aws-controllers-k8s/issues/270' + type: string + ownerAccountID: + description: OwnerAccountID is the AWS Account ID of the account + that owns the backend AWS service API resource. + type: string + required: + - ownerAccountID + type: object + conditions: + description: All CRS managed by ACK have a common `Status.Conditions` + member that contains a collection of `ackv1alpha1.Condition` objects + that describe the various terminal states of the CR and its backend + AWS service API resource + items: + description: Condition is the common struct used by all CRDs managed + by ACK service controllers to indicate terminal states of the + CR and its backend AWS service API resource + properties: + lastTransitionTime: + description: Last time the condition transitioned from one status + to another. + format: date-time + type: string + message: + description: A human readable message indicating details about + the transition. + type: string + reason: + description: The reason for the condition's last transition. + type: string + status: + description: Status of the condition, one of True, False, Unknown. + type: string + type: + description: Type is the type of the Condition + type: string + required: + - status + - type + type: object + type: array + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/operators/ack-rds-controller/0.0.14/manifests/rds.services.k8s.aws_dbsecuritygroups.yaml b/operators/ack-rds-controller/0.0.14/manifests/rds.services.k8s.aws_dbsecuritygroups.yaml new file mode 100644 index 00000000000..7facdcd4023 --- /dev/null +++ b/operators/ack-rds-controller/0.0.14/manifests/rds.services.k8s.aws_dbsecuritygroups.yaml @@ -0,0 +1,172 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.7.0 + creationTimestamp: null + name: dbsecuritygroups.rds.services.k8s.aws +spec: + group: rds.services.k8s.aws + names: + kind: DBSecurityGroup + listKind: DBSecurityGroupList + plural: dbsecuritygroups + singular: dbsecuritygroup + scope: Namespaced + versions: + - name: v1alpha1 + schema: + openAPIV3Schema: + description: DBSecurityGroup is the Schema for the DBSecurityGroups API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: "DBSecurityGroupSpec defines the desired state of DBSecurityGroup. + \n Contains the details for an Amazon RDS DB security group. \n This + data type is used as a response element in the DescribeDBSecurityGroups + action." + properties: + description: + description: The description for the DB security group. + type: string + name: + description: "The name for the DB security group. This value is stored + as a lowercase string. \n Constraints: \n * Must be 1 to 255 + letters, numbers, or hyphens. \n * First character must be a + letter \n * Can't end with a hyphen or contain two consecutive + hyphens \n * Must not be \"Default\" \n Example: mysecuritygroup" + type: string + tags: + description: Tags to assign to the DB security group. + items: + description: Metadata assigned to an Amazon RDS resource consisting + of a key-value pair. + properties: + key: + type: string + value: + type: string + type: object + type: array + required: + - description + - name + type: object + status: + description: DBSecurityGroupStatus defines the observed state of DBSecurityGroup + properties: + ackResourceMetadata: + description: All CRs managed by ACK have a common `Status.ACKResourceMetadata` + member that is used to contain resource sync state, account ownership, + constructed ARN for the resource + properties: + arn: + description: 'ARN is the Amazon Resource Name for the resource. + This is a globally-unique identifier and is set only by the + ACK service controller once the controller has orchestrated + the creation of the resource OR when it has verified that an + "adopted" resource (a resource where the ARN annotation was + set by the Kubernetes user on the CR) exists and matches the + supplied CR''s Spec field values. TODO(vijat@): Find a better + strategy for resources that do not have ARN in CreateOutputResponse + https://github.com/aws/aws-controllers-k8s/issues/270' + type: string + ownerAccountID: + description: OwnerAccountID is the AWS Account ID of the account + that owns the backend AWS service API resource. + type: string + required: + - ownerAccountID + type: object + conditions: + description: All CRS managed by ACK have a common `Status.Conditions` + member that contains a collection of `ackv1alpha1.Condition` objects + that describe the various terminal states of the CR and its backend + AWS service API resource + items: + description: Condition is the common struct used by all CRDs managed + by ACK service controllers to indicate terminal states of the + CR and its backend AWS service API resource + properties: + lastTransitionTime: + description: Last time the condition transitioned from one status + to another. + format: date-time + type: string + message: + description: A human readable message indicating details about + the transition. + type: string + reason: + description: The reason for the condition's last transition. + type: string + status: + description: Status of the condition, one of True, False, Unknown. + type: string + type: + description: Type is the type of the Condition + type: string + required: + - status + - type + type: object + type: array + ec2SecurityGroups: + description: Contains a list of EC2SecurityGroup elements. + items: + description: "This data type is used as a response element in the + following actions: \n * AuthorizeDBSecurityGroupIngress \n + \ * DescribeDBSecurityGroups \n * RevokeDBSecurityGroupIngress" + properties: + ec2SecurityGroupID: + type: string + ec2SecurityGroupName: + type: string + ec2SecurityGroupOwnerID: + type: string + status: + type: string + type: object + type: array + iPRanges: + description: Contains a list of IPRange elements. + items: + description: This data type is used as a response element in the + DescribeDBSecurityGroups action. + properties: + cidrIP: + type: string + status: + type: string + type: object + type: array + ownerID: + description: Provides the AWS ID of the owner of a specific DB security + group. + type: string + vpcID: + description: Provides the VpcId of the DB security group. + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/operators/ack-rds-controller/0.0.14/manifests/rds.services.k8s.aws_dbsubnetgroups.yaml b/operators/ack-rds-controller/0.0.14/manifests/rds.services.k8s.aws_dbsubnetgroups.yaml new file mode 100644 index 00000000000..2421403bf69 --- /dev/null +++ b/operators/ack-rds-controller/0.0.14/manifests/rds.services.k8s.aws_dbsubnetgroups.yaml @@ -0,0 +1,175 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.7.0 + creationTimestamp: null + name: dbsubnetgroups.rds.services.k8s.aws +spec: + group: rds.services.k8s.aws + names: + kind: DBSubnetGroup + listKind: DBSubnetGroupList + plural: dbsubnetgroups + singular: dbsubnetgroup + scope: Namespaced + versions: + - name: v1alpha1 + schema: + openAPIV3Schema: + description: DBSubnetGroup is the Schema for the DBSubnetGroups API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: "DBSubnetGroupSpec defines the desired state of DBSubnetGroup. + \n Contains the details of an Amazon RDS DB subnet group. \n This data + type is used as a response element in the DescribeDBSubnetGroups action." + properties: + description: + description: The description for the DB subnet group. + type: string + name: + description: "The name for the DB subnet group. This value is stored + as a lowercase string. \n Constraints: Must contain no more than + 255 letters, numbers, periods, underscores, spaces, or hyphens. + Must not be default. \n Example: mySubnetgroup" + type: string + subnetIDs: + description: The EC2 Subnet IDs for the DB subnet group. + items: + type: string + type: array + tags: + description: Tags to assign to the DB subnet group. + items: + description: Metadata assigned to an Amazon RDS resource consisting + of a key-value pair. + properties: + key: + type: string + value: + type: string + type: object + type: array + required: + - description + - name + - subnetIDs + type: object + status: + description: DBSubnetGroupStatus defines the observed state of DBSubnetGroup + properties: + ackResourceMetadata: + description: All CRs managed by ACK have a common `Status.ACKResourceMetadata` + member that is used to contain resource sync state, account ownership, + constructed ARN for the resource + properties: + arn: + description: 'ARN is the Amazon Resource Name for the resource. + This is a globally-unique identifier and is set only by the + ACK service controller once the controller has orchestrated + the creation of the resource OR when it has verified that an + "adopted" resource (a resource where the ARN annotation was + set by the Kubernetes user on the CR) exists and matches the + supplied CR''s Spec field values. TODO(vijat@): Find a better + strategy for resources that do not have ARN in CreateOutputResponse + https://github.com/aws/aws-controllers-k8s/issues/270' + type: string + ownerAccountID: + description: OwnerAccountID is the AWS Account ID of the account + that owns the backend AWS service API resource. + type: string + required: + - ownerAccountID + type: object + conditions: + description: All CRS managed by ACK have a common `Status.Conditions` + member that contains a collection of `ackv1alpha1.Condition` objects + that describe the various terminal states of the CR and its backend + AWS service API resource + items: + description: Condition is the common struct used by all CRDs managed + by ACK service controllers to indicate terminal states of the + CR and its backend AWS service API resource + properties: + lastTransitionTime: + description: Last time the condition transitioned from one status + to another. + format: date-time + type: string + message: + description: A human readable message indicating details about + the transition. + type: string + reason: + description: The reason for the condition's last transition. + type: string + status: + description: Status of the condition, one of True, False, Unknown. + type: string + type: + description: Type is the type of the Condition + type: string + required: + - status + - type + type: object + type: array + subnetGroupStatus: + description: Provides the status of the DB subnet group. + type: string + subnets: + description: Contains a list of Subnet elements. + items: + description: This data type is used as a response element for the + DescribeDBSubnetGroups operation. + properties: + subnetAvailabilityZone: + description: "Contains Availability Zone information. \n This + data type is used as an element in the OrderableDBInstanceOption + data type." + properties: + name: + type: string + type: object + subnetIdentifier: + type: string + subnetOutpost: + description: "A data type that represents an Outpost. \n For + more information about RDS on Outposts, see Amazon RDS on + AWS Outposts (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html) + in the Amazon RDS User Guide." + properties: + arn: + type: string + type: object + subnetStatus: + type: string + type: object + type: array + vpcID: + description: Provides the VpcId of the DB subnet group. + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/operators/ack-rds-controller/0.0.14/manifests/rds.services.k8s.aws_globalclusters.yaml b/operators/ack-rds-controller/0.0.14/manifests/rds.services.k8s.aws_globalclusters.yaml new file mode 100644 index 00000000000..4734dbbed6b --- /dev/null +++ b/operators/ack-rds-controller/0.0.14/manifests/rds.services.k8s.aws_globalclusters.yaml @@ -0,0 +1,178 @@ +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + annotations: + controller-gen.kubebuilder.io/version: v0.7.0 + creationTimestamp: null + name: globalclusters.rds.services.k8s.aws +spec: + group: rds.services.k8s.aws + names: + kind: GlobalCluster + listKind: GlobalClusterList + plural: globalclusters + singular: globalcluster + scope: Namespaced + versions: + - name: v1alpha1 + schema: + openAPIV3Schema: + description: GlobalCluster is the Schema for the GlobalClusters API + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: "GlobalClusterSpec defines the desired state of GlobalCluster. + \n A data type representing an Aurora global database." + properties: + databaseName: + description: The name for your database of up to 64 alpha-numeric + characters. If you do not provide a name, Amazon Aurora will not + create a database in the global database cluster you are creating. + type: string + deletionProtection: + description: The deletion protection setting for the new global database. + The global database can't be deleted when deletion protection is + enabled. + type: boolean + engine: + description: The name of the database engine to be used for this DB + cluster. + type: string + engineVersion: + description: The engine version of the Aurora global database. + type: string + globalClusterIdentifier: + description: The cluster identifier of the new global database cluster. + type: string + sourceDBClusterIdentifier: + description: The Amazon Resource Name (ARN) to use as the primary + cluster of the global database. This parameter is optional. + type: string + storageEncrypted: + description: The storage encryption setting for the new global database + cluster. + type: boolean + type: object + status: + description: GlobalClusterStatus defines the observed state of GlobalCluster + properties: + ackResourceMetadata: + description: All CRs managed by ACK have a common `Status.ACKResourceMetadata` + member that is used to contain resource sync state, account ownership, + constructed ARN for the resource + properties: + arn: + description: 'ARN is the Amazon Resource Name for the resource. + This is a globally-unique identifier and is set only by the + ACK service controller once the controller has orchestrated + the creation of the resource OR when it has verified that an + "adopted" resource (a resource where the ARN annotation was + set by the Kubernetes user on the CR) exists and matches the + supplied CR''s Spec field values. TODO(vijat@): Find a better + strategy for resources that do not have ARN in CreateOutputResponse + https://github.com/aws/aws-controllers-k8s/issues/270' + type: string + ownerAccountID: + description: OwnerAccountID is the AWS Account ID of the account + that owns the backend AWS service API resource. + type: string + required: + - ownerAccountID + type: object + conditions: + description: All CRS managed by ACK have a common `Status.Conditions` + member that contains a collection of `ackv1alpha1.Condition` objects + that describe the various terminal states of the CR and its backend + AWS service API resource + items: + description: Condition is the common struct used by all CRDs managed + by ACK service controllers to indicate terminal states of the + CR and its backend AWS service API resource + properties: + lastTransitionTime: + description: Last time the condition transitioned from one status + to another. + format: date-time + type: string + message: + description: A human readable message indicating details about + the transition. + type: string + reason: + description: The reason for the condition's last transition. + type: string + status: + description: Status of the condition, one of True, False, Unknown. + type: string + type: + description: Type is the type of the Condition + type: string + required: + - status + - type + type: object + type: array + failoverState: + description: A data object containing all properties for the current + state of an in-process or pending failover process for this Aurora + global database. This object is empty unless the FailoverGlobalCluster + API operation has been called on this Aurora global database (GlobalCluster). + properties: + fromDBClusterARN: + type: string + status: + type: string + toDBClusterARN: + type: string + type: object + globalClusterMembers: + description: The list of cluster IDs for secondary clusters within + the global database cluster. Currently limited to 1 item. + items: + description: A data structure with information about any primary + and secondary clusters associated with an Aurora global database. + properties: + dbClusterARN: + type: string + globalWriteForwardingStatus: + type: string + isWriter: + type: boolean + readers: + items: + type: string + type: array + type: object + type: array + globalClusterResourceID: + description: The AWS Region-unique, immutable identifier for the global + database cluster. This identifier is found in AWS CloudTrail log + entries whenever the AWS KMS customer master key (CMK) for the DB + cluster is accessed. + type: string + status: + description: Specifies the current state of this global database cluster. + type: string + type: object + type: object + served: true + storage: true + subresources: + status: {} +status: + acceptedNames: + kind: "" + plural: "" + conditions: [] + storedVersions: [] diff --git a/operators/ack-rds-controller/0.0.14/metadata/annotations.yaml b/operators/ack-rds-controller/0.0.14/metadata/annotations.yaml new file mode 100644 index 00000000000..9e85bafba7d --- /dev/null +++ b/operators/ack-rds-controller/0.0.14/metadata/annotations.yaml @@ -0,0 +1,15 @@ +annotations: + # Core bundle annotations. + operators.operatorframework.io.bundle.mediatype.v1: registry+v1 + operators.operatorframework.io.bundle.manifests.v1: manifests/ + operators.operatorframework.io.bundle.metadata.v1: metadata/ + operators.operatorframework.io.bundle.package.v1: ack-rds-controller + operators.operatorframework.io.bundle.channels.v1: alpha + operators.operatorframework.io.bundle.channel.default.v1: alpha + operators.operatorframework.io.metrics.builder: operator-sdk-v1.13.0+git + operators.operatorframework.io.metrics.mediatype.v1: metrics+v1 + operators.operatorframework.io.metrics.project_layout: unknown + + # Annotations for testing. + operators.operatorframework.io.test.mediatype.v1: scorecard+v1 + operators.operatorframework.io.test.config.v1: tests/scorecard/ diff --git a/operators/ack-rds-controller/0.0.14/tests/scorecard/config.yaml b/operators/ack-rds-controller/0.0.14/tests/scorecard/config.yaml new file mode 100644 index 00000000000..382ddefd156 --- /dev/null +++ b/operators/ack-rds-controller/0.0.14/tests/scorecard/config.yaml @@ -0,0 +1,50 @@ +apiVersion: scorecard.operatorframework.io/v1alpha3 +kind: Configuration +metadata: + name: config +stages: +- parallel: true + tests: + - entrypoint: + - scorecard-test + - basic-check-spec + image: quay.io/operator-framework/scorecard-test:v1.7.1 + labels: + suite: basic + test: basic-check-spec-test + storage: + spec: + mountPath: {} + - entrypoint: + - scorecard-test + - olm-bundle-validation + image: quay.io/operator-framework/scorecard-test:v1.7.1 + labels: + suite: olm + test: olm-bundle-validation-test + storage: + spec: + mountPath: {} + - entrypoint: + - scorecard-test + - olm-crds-have-validation + image: quay.io/operator-framework/scorecard-test:v1.7.1 + labels: + suite: olm + test: olm-crds-have-validation-test + storage: + spec: + mountPath: {} + - entrypoint: + - scorecard-test + - olm-spec-descriptors + image: quay.io/operator-framework/scorecard-test:v1.7.1 + labels: + suite: olm + test: olm-spec-descriptors-test + storage: + spec: + mountPath: {} +storage: + spec: + mountPath: {}