Skip to content

Commit

Permalink
Merge pull request #877 from porter-dev/addons/rds-chart
Browse files Browse the repository at this point in the history
Sync: aws-controllers-k8s/rds-controller - helm
  • Loading branch information
jose-fully-ported authored Oct 17, 2023
2 parents c3a9de3 + b27245a commit 31fc37f
Show file tree
Hide file tree
Showing 23 changed files with 4,952 additions and 0 deletions.
18 changes: 18 additions & 0 deletions addons/rds-chart/helm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: v1
name: rds-chart
description: A Helm chart for the ACK service controller for Amazon Relational Database Service (RDS)
version: 1.1.7
appVersion: 1.1.7
home: https://github.com/aws-controllers-k8s/rds-controller
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
sources:
- https://github.com/aws-controllers-k8s/rds-controller
maintainers:
- name: ACK Admins
url: https://github.com/orgs/aws-controllers-k8s/teams/ack-admin
- name: RDS Admins
url: https://github.com/orgs/aws-controllers-k8s/teams/rds-maintainer
keywords:
- aws
- kubernetes
- rds
Original file line number Diff line number Diff line change
@@ -0,0 +1,242 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.9.2
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, aurora-mysql8.0 \n # Aurora PostgreSQL
\n Example: aurora-postgresql9.6 \n # RDS for MySQL \n Example:
mysql8.0 \n # RDS for PostgreSQL \n Example: postgres12 \n To list
all of the available parameter group families for a DB engine, use
the following command: \n aws rds describe-db-engine-versions --query
\"DBEngineVersions[].DBParameterGroupFamily\" --engine <engine>
\n For example, to list all of the available parameter group families
for the Aurora PostgreSQL DB engine, use the following command:
\n aws rds describe-db-engine-versions --query \"DBEngineVersions[].DBParameterGroupFamily\"
--engine aurora-postgresql \n The output contains duplicates. \n
The following are the valid DB engine values: \n - aurora (for MySQL
5.6-compatible Aurora) \n - aurora-mysql (for MySQL 5.7-compatible
and MySQL 8.0-compatible Aurora) \n - aurora-postgresql \n - mysql
\n - postgres"
type: string
name:
description: "The name of the DB cluster parameter group. \n Constraints:
\n - Must not match the name of an existing DB cluster parameter
group. \n This value is stored as a lowercase string."
type: string
parameterOverrides:
additionalProperties:
type: string
type: object
parameters:
description: "A list of parameters in the DB cluster parameter group
to modify. \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. \n When the application method is immediate,
changes to dynamic parameters are applied immediately to the DB
clusters associated with the parameter group. When the application
method is pending-reboot, changes to dynamic and static parameters
are applied after a reboot without failover to the DB clusters associated
with the parameter group."
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. \n For more information, see Tagging Amazon
RDS Resources (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html)
in the Amazon RDS User Guide."
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
region:
description: Region is the AWS region in which the resource exists
or will exist.
type: string
required:
- ownerAccountID
- region
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
parameterOverrideStatuses:
description: Provides a list of parameters for the DB cluster parameter
group.
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
type: object
type: object
served: true
storage: true
subresources:
status: {}
Loading

0 comments on commit 31fc37f

Please sign in to comment.