Skip to content

Commit

Permalink
TLS config for mongoDB, Issuer ref for mysql,percona,postgres,proxysql (
Browse files Browse the repository at this point in the history
kubedb#496)

Signed-off-by: iamrz1 <[email protected]>

Co-authored-by: Rezoan Tamal <[email protected]>
  • Loading branch information
tamalsaha and iamrz1 authored Jan 28, 2020
1 parent a02d04e commit b5069f3
Show file tree
Hide file tree
Showing 19 changed files with 1,012 additions and 316 deletions.
20 changes: 10 additions & 10 deletions api/crds/bindata.go

Large diffs are not rendered by default.

66 changes: 64 additions & 2 deletions api/crds/kubedb.com_mongodbs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15368,8 +15368,9 @@ spec:
format: int32
type: integer
strategy:
description: The deployment strategy to use to replace existing
pods with new ones.
description: 'The deployment strategy to use to replace existing
pods with new ones. Deprecated: Deployment has been Replaced
by StatefulSet. MongosNode now uses spec.updateStrategy'
properties:
rollingUpdate:
description: 'Rolling update config params. Present only
Expand Down Expand Up @@ -19697,6 +19698,67 @@ spec:
terminationPolicy:
description: TerminationPolicy controls the delete operation for database
type: string
tls:
description: TLS contains tls configurations for client and server.
properties:
certificate:
description: 'Certificate provides server certificate options used
by PgBouncer pods. These options are passed to a cert-manager
Certificate object. xref: https://github.com/jetstack/cert-manager/blob/v0.12.0/pkg/apis/certmanager/v1alpha2/types_certificate.go#L71-L146'
properties:
dnsNames:
description: DNSNames is a list of subject alt names to be used
on the Certificate.
items:
type: string
type: array
duration:
description: Certificate default Duration
type: string
ipAddresses:
description: IPAddresses is a list of IP addresses to be used
on the Certificate
items:
type: string
type: array
organization:
description: Organization is the organization to be used on
the Certificate
items:
type: string
type: array
renewBefore:
description: Certificate renew before expiration duration
type: string
uriSANs:
description: URISANs is a list of URI Subject Alternative Names
to be set on this Certificate.
items:
type: string
type: array
type: object
issuerRef:
description: IssuerRef is a reference to a Certificate Issuer.
properties:
apiGroup:
description: APIGroup is the group for the resource being referenced.
If APIGroup is not specified, the specified Kind must be in
the core API group. For any other third-party types, APIGroup
is required.
type: string
kind:
description: Kind is the type of resource being referenced
type: string
name:
description: Name is the name of resource being referenced
type: string
required:
- kind
- name
type: object
required:
- issuerRef
type: object
updateStrategy:
description: updateStrategy indicates the StatefulSetUpdateStrategy
that will be employed to update Pods in the StatefulSet when a revision
Expand Down
61 changes: 61 additions & 0 deletions api/crds/kubedb.com_mysqls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7198,6 +7198,67 @@ spec:
terminationPolicy:
description: TerminationPolicy controls the delete operation for database
type: string
tls:
description: TLS contains tls configurations for client and server.
properties:
certificate:
description: 'Certificate provides server certificate options used
by PgBouncer pods. These options are passed to a cert-manager
Certificate object. xref: https://github.com/jetstack/cert-manager/blob/v0.12.0/pkg/apis/certmanager/v1alpha2/types_certificate.go#L71-L146'
properties:
dnsNames:
description: DNSNames is a list of subject alt names to be used
on the Certificate.
items:
type: string
type: array
duration:
description: Certificate default Duration
type: string
ipAddresses:
description: IPAddresses is a list of IP addresses to be used
on the Certificate
items:
type: string
type: array
organization:
description: Organization is the organization to be used on
the Certificate
items:
type: string
type: array
renewBefore:
description: Certificate renew before expiration duration
type: string
uriSANs:
description: URISANs is a list of URI Subject Alternative Names
to be set on this Certificate.
items:
type: string
type: array
type: object
issuerRef:
description: IssuerRef is a reference to a Certificate Issuer.
properties:
apiGroup:
description: APIGroup is the group for the resource being referenced.
If APIGroup is not specified, the specified Kind must be in
the core API group. For any other third-party types, APIGroup
is required.
type: string
kind:
description: Kind is the type of resource being referenced
type: string
name:
description: Name is the name of resource being referenced
type: string
required:
- kind
- name
type: object
required:
- issuerRef
type: object
topology:
description: MySQL cluster topology
properties:
Expand Down
61 changes: 61 additions & 0 deletions api/crds/kubedb.com_perconaxtradbs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7198,6 +7198,67 @@ spec:
terminationPolicy:
description: TerminationPolicy controls the delete operation for database
type: string
tls:
description: TLS contains tls configurations for client and server.
properties:
certificate:
description: 'Certificate provides server certificate options used
by PgBouncer pods. These options are passed to a cert-manager
Certificate object. xref: https://github.com/jetstack/cert-manager/blob/v0.12.0/pkg/apis/certmanager/v1alpha2/types_certificate.go#L71-L146'
properties:
dnsNames:
description: DNSNames is a list of subject alt names to be used
on the Certificate.
items:
type: string
type: array
duration:
description: Certificate default Duration
type: string
ipAddresses:
description: IPAddresses is a list of IP addresses to be used
on the Certificate
items:
type: string
type: array
organization:
description: Organization is the organization to be used on
the Certificate
items:
type: string
type: array
renewBefore:
description: Certificate renew before expiration duration
type: string
uriSANs:
description: URISANs is a list of URI Subject Alternative Names
to be set on this Certificate.
items:
type: string
type: array
type: object
issuerRef:
description: IssuerRef is a reference to a Certificate Issuer.
properties:
apiGroup:
description: APIGroup is the group for the resource being referenced.
If APIGroup is not specified, the specified Kind must be in
the core API group. For any other third-party types, APIGroup
is required.
type: string
kind:
description: Kind is the type of resource being referenced
type: string
name:
description: Name is the name of resource being referenced
type: string
required:
- kind
- name
type: object
required:
- issuerRef
type: object
updateStrategy:
description: updateStrategy indicates the StatefulSetUpdateStrategy
that will be employed to update Pods in the StatefulSet when a revision
Expand Down
61 changes: 61 additions & 0 deletions api/crds/kubedb.com_postgreses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8665,6 +8665,67 @@ spec:
terminationPolicy:
description: TerminationPolicy controls the delete operation for database
type: string
tls:
description: TLS contains tls configurations for client and server.
properties:
certificate:
description: 'Certificate provides server certificate options used
by PgBouncer pods. These options are passed to a cert-manager
Certificate object. xref: https://github.com/jetstack/cert-manager/blob/v0.12.0/pkg/apis/certmanager/v1alpha2/types_certificate.go#L71-L146'
properties:
dnsNames:
description: DNSNames is a list of subject alt names to be used
on the Certificate.
items:
type: string
type: array
duration:
description: Certificate default Duration
type: string
ipAddresses:
description: IPAddresses is a list of IP addresses to be used
on the Certificate
items:
type: string
type: array
organization:
description: Organization is the organization to be used on
the Certificate
items:
type: string
type: array
renewBefore:
description: Certificate renew before expiration duration
type: string
uriSANs:
description: URISANs is a list of URI Subject Alternative Names
to be set on this Certificate.
items:
type: string
type: array
type: object
issuerRef:
description: IssuerRef is a reference to a Certificate Issuer.
properties:
apiGroup:
description: APIGroup is the group for the resource being referenced.
If APIGroup is not specified, the specified Kind must be in
the core API group. For any other third-party types, APIGroup
is required.
type: string
kind:
description: Kind is the type of resource being referenced
type: string
name:
description: Name is the name of resource being referenced
type: string
required:
- kind
- name
type: object
required:
- issuerRef
type: object
updateStrategy:
description: updateStrategy indicates the StatefulSetUpdateStrategy
that will be employed to update Pods in the StatefulSet when a revision
Expand Down
61 changes: 61 additions & 0 deletions api/crds/kubedb.com_proxysqls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4596,6 +4596,67 @@ spec:
type: string
type: object
type: object
tls:
description: TLS contains tls configurations for client and server.
properties:
certificate:
description: 'Certificate provides server certificate options used
by PgBouncer pods. These options are passed to a cert-manager
Certificate object. xref: https://github.com/jetstack/cert-manager/blob/v0.12.0/pkg/apis/certmanager/v1alpha2/types_certificate.go#L71-L146'
properties:
dnsNames:
description: DNSNames is a list of subject alt names to be used
on the Certificate.
items:
type: string
type: array
duration:
description: Certificate default Duration
type: string
ipAddresses:
description: IPAddresses is a list of IP addresses to be used
on the Certificate
items:
type: string
type: array
organization:
description: Organization is the organization to be used on
the Certificate
items:
type: string
type: array
renewBefore:
description: Certificate renew before expiration duration
type: string
uriSANs:
description: URISANs is a list of URI Subject Alternative Names
to be set on this Certificate.
items:
type: string
type: array
type: object
issuerRef:
description: IssuerRef is a reference to a Certificate Issuer.
properties:
apiGroup:
description: APIGroup is the group for the resource being referenced.
If APIGroup is not specified, the specified Kind must be in
the core API group. For any other third-party types, APIGroup
is required.
type: string
kind:
description: Kind is the type of resource being referenced
type: string
name:
description: Name is the name of resource being referenced
type: string
required:
- kind
- name
type: object
required:
- issuerRef
type: object
updateStrategy:
description: updateStrategy indicates the StatefulSetUpdateStrategy
that will be employed to update Pods in the StatefulSet when a revision
Expand Down
Loading

0 comments on commit b5069f3

Please sign in to comment.