forked from k8s-operatorhub/community-operators
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
14,925 additions
and
0 deletions.
There are no files selected for viewing
1,250 changes: 1,250 additions & 0 deletions
1,250
operators/cloudnative-pg/1.22.0/manifests/cloudnative-pg.clusterserviceversion.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
388 changes: 388 additions & 0 deletions
388
operators/cloudnative-pg/1.22.0/manifests/cnpg-default-monitoring_v1_configmap.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
13 changes: 13 additions & 0 deletions
13
operators/cloudnative-pg/1.22.0/manifests/cnpg-webhook-service_v1_service.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
creationTimestamp: null | ||
name: cnpg-webhook-service | ||
spec: | ||
ports: | ||
- port: 443 | ||
targetPort: 9443 | ||
selector: | ||
app.kubernetes.io/name: cloudnative-pg | ||
status: | ||
loadBalancer: {} |
404 changes: 404 additions & 0 deletions
404
operators/cloudnative-pg/1.22.0/manifests/postgresql.cnpg.io_backups.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
4,664 changes: 4,664 additions & 0 deletions
4,664
operators/cloudnative-pg/1.22.0/manifests/postgresql.cnpg.io_clusters.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
7,951 changes: 7,951 additions & 0 deletions
7,951
operators/cloudnative-pg/1.22.0/manifests/postgresql.cnpg.io_poolers.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
167 changes: 167 additions & 0 deletions
167
operators/cloudnative-pg/1.22.0/manifests/postgresql.cnpg.io_scheduledbackups.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,167 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.13.0 | ||
creationTimestamp: null | ||
name: scheduledbackups.postgresql.cnpg.io | ||
spec: | ||
group: postgresql.cnpg.io | ||
names: | ||
kind: ScheduledBackup | ||
listKind: ScheduledBackupList | ||
plural: scheduledbackups | ||
singular: scheduledbackup | ||
scope: Namespaced | ||
versions: | ||
- additionalPrinterColumns: | ||
- jsonPath: .metadata.creationTimestamp | ||
name: Age | ||
type: date | ||
- jsonPath: .spec.cluster.name | ||
name: Cluster | ||
type: string | ||
- jsonPath: .status.lastScheduleTime | ||
name: Last Backup | ||
type: date | ||
name: v1 | ||
schema: | ||
openAPIV3Schema: | ||
description: ScheduledBackup is the Schema for the scheduledbackups 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: 'Specification of the desired behavior of the ScheduledBackup. | ||
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status' | ||
properties: | ||
backupOwnerReference: | ||
default: none | ||
description: 'Indicates which ownerReference should be put inside | ||
the created backup resources.<br /> - none: no owner reference for | ||
created backup objects (same behavior as before the field was introduced)<br | ||
/> - self: sets the Scheduled backup object as owner of the backup<br | ||
/> - cluster: set the cluster as owner of the backup<br />' | ||
enum: | ||
- none | ||
- self | ||
- cluster | ||
type: string | ||
cluster: | ||
description: The cluster to backup | ||
properties: | ||
name: | ||
description: Name of the referent. | ||
type: string | ||
required: | ||
- name | ||
type: object | ||
immediate: | ||
description: If the first backup has to be immediately start after | ||
creation or not | ||
type: boolean | ||
method: | ||
default: barmanObjectStore | ||
description: 'The backup method to be used, possible options are `barmanObjectStore` | ||
and `volumeSnapshot`. Defaults to: `barmanObjectStore`.' | ||
enum: | ||
- barmanObjectStore | ||
- volumeSnapshot | ||
type: string | ||
online: | ||
description: Whether the default type of backup with volume snapshots | ||
is online/hot (`true`, default) or offline/cold (`false`) Overrides | ||
the default setting specified in the cluster field '.spec.backup.volumeSnapshot.online' | ||
type: boolean | ||
onlineConfiguration: | ||
description: Configuration parameters to control the online/hot backup | ||
with volume snapshots Overrides the default settings specified in | ||
the cluster '.backup.volumeSnapshot.onlineConfiguration' stanza | ||
properties: | ||
immediateCheckpoint: | ||
description: Control whether the I/O workload for the backup initial | ||
checkpoint will be limited, according to the `checkpoint_completion_target` | ||
setting on the PostgreSQL server. If set to true, an immediate | ||
checkpoint will be used, meaning PostgreSQL will complete the | ||
checkpoint as soon as possible. `false` by default. | ||
type: boolean | ||
waitForArchive: | ||
default: true | ||
description: If false, the function will return immediately after | ||
the backup is completed, without waiting for WAL to be archived. | ||
This behavior is only useful with backup software that independently | ||
monitors WAL archiving. Otherwise, WAL required to make the | ||
backup consistent might be missing and make the backup useless. | ||
By default, or when this parameter is true, pg_backup_stop will | ||
wait for WAL to be archived when archiving is enabled. On a | ||
standby, this means that it will wait only when archive_mode | ||
= always. If write activity on the primary is low, it may be | ||
useful to run pg_switch_wal on the primary in order to trigger | ||
an immediate segment switch. | ||
type: boolean | ||
type: object | ||
schedule: | ||
description: The schedule does not follow the same format used in | ||
Kubernetes CronJobs as it includes an additional seconds specifier, | ||
see https://pkg.go.dev/github.com/robfig/cron#hdr-CRON_Expression_Format | ||
type: string | ||
suspend: | ||
description: If this backup is suspended or not | ||
type: boolean | ||
target: | ||
description: The policy to decide which instance should perform this | ||
backup. If empty, it defaults to `cluster.spec.backup.target`. Available | ||
options are empty string, `primary` and `prefer-standby`. `primary` | ||
to have backups run always on primary instances, `prefer-standby` | ||
to have backups run preferably on the most updated standby, if available. | ||
enum: | ||
- primary | ||
- prefer-standby | ||
type: string | ||
required: | ||
- cluster | ||
- schedule | ||
type: object | ||
status: | ||
description: 'Most recently observed status of the ScheduledBackup. This | ||
data may not be up to date. Populated by the system. Read-only. More | ||
info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status' | ||
properties: | ||
lastCheckTime: | ||
description: The latest time the schedule | ||
format: date-time | ||
type: string | ||
lastScheduleTime: | ||
description: Information when was the last time that backup was successfully | ||
scheduled. | ||
format: date-time | ||
type: string | ||
nextScheduleTime: | ||
description: Next time we will run a backup | ||
format: date-time | ||
type: string | ||
type: object | ||
required: | ||
- metadata | ||
- spec | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} | ||
status: | ||
acceptedNames: | ||
kind: "" | ||
plural: "" | ||
conditions: null | ||
storedVersions: null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
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: cloudnative-pg | ||
operators.operatorframework.io.bundle.channels.v1: stable-v1 | ||
operators.operatorframework.io.bundle.channel.default.v1: stable-v1 | ||
operators.operatorframework.io.metrics.builder: operator-sdk-v1.31.0 | ||
operators.operatorframework.io.metrics.mediatype.v1: metrics+v1 | ||
operators.operatorframework.io.metrics.project_layout: go.kubebuilder.io/v3 | ||
|
||
# Annotations for testing. | ||
operators.operatorframework.io.test.mediatype.v1: scorecard+v1 | ||
operators.operatorframework.io.test.config.v1: tests/scorecard/ | ||
|
||
# OpenShift annotations. | ||
com.redhat.openshift.versions: v4.11-v4.14 |
70 changes: 70 additions & 0 deletions
70
operators/cloudnative-pg/1.22.0/tests/scorecard/config.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
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.31.0 | ||
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.31.0 | ||
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.31.0 | ||
labels: | ||
suite: olm | ||
test: olm-crds-have-validation-test | ||
storage: | ||
spec: | ||
mountPath: {} | ||
- entrypoint: | ||
- scorecard-test | ||
- olm-crds-have-resources | ||
image: quay.io/operator-framework/scorecard-test:v1.31.0 | ||
labels: | ||
suite: olm | ||
test: olm-crds-have-resources-test | ||
storage: | ||
spec: | ||
mountPath: {} | ||
- entrypoint: | ||
- scorecard-test | ||
- olm-spec-descriptors | ||
image: quay.io/operator-framework/scorecard-test:v1.31.0 | ||
labels: | ||
suite: olm | ||
test: olm-spec-descriptors-test | ||
storage: | ||
spec: | ||
mountPath: {} | ||
- entrypoint: | ||
- scorecard-test | ||
- olm-status-descriptors | ||
image: quay.io/operator-framework/scorecard-test:v1.31.0 | ||
labels: | ||
suite: olm | ||
test: olm-status-descriptors-test | ||
storage: | ||
spec: | ||
mountPath: {} | ||
storage: | ||
spec: | ||
mountPath: {} |