-
Notifications
You must be signed in to change notification settings - Fork 539
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Isaac <[email protected]> (#5160)
deployment-validation-operator new-release v0.7.8
- Loading branch information
Showing
4 changed files
with
266 additions
and
0 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
.../deployment-validation-operator/0.7.8/manifests/deploymentvalidationoperator-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,14 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: deployment-validation-operator-metrics | ||
labels: | ||
name: deployment-validation-operator | ||
spec: | ||
ports: | ||
- name: http-metrics | ||
port: 8383 | ||
protocol: TCP | ||
targetPort: 8383 | ||
selector: | ||
name: deployment-validation-operator |
167 changes: 167 additions & 0 deletions
167
...on-operator/0.7.8/manifests/deploymentvalidationoperator.0.7.8.clusterserviceversion.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: operators.coreos.com/v1alpha1 | ||
kind: ClusterServiceVersion | ||
metadata: | ||
annotations: | ||
alm-examples: '[]' | ||
capabilities: Basic Install | ||
categories: Application Runtime, Monitoring, Security | ||
certified: "false" | ||
containerImage: quay.io/deployment-validation-operator/dv-operator:0.7.8 | ||
createdAt: 2021-12-14T00:00:00Z | ||
description: The deployment validation operator | ||
repository: https://github.com/app-sre/deployment-validation-operator | ||
support: Best Effort | ||
ignore-check.kube-linter.io/minimum-three-replicas: "This deployment uses 1 pod as currently replicating does not replicate metric data causing installation issues" | ||
name: deployment-validation-operator.v0.7.8 | ||
spec: | ||
description: | | ||
The Deployment Validation Operator (DVO) checks deployments and other resources against a curated collection of best practices. | ||
These best practices focus mainly on ensuring that the applications are fault-tolerant. DVO reports failed validations via Prometheus metrics. | ||
If the best-practice check has failed, the metrics will report `1`. | ||
displayName: Deployment Validation Operator | ||
icon: | ||
- base64data: "PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTguNTEgMjU4LjUxIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2QxZDFkMTt9LmNscy0ye2ZpbGw6IzhkOGQ4Zjt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPkFzc2V0IDQ8L3RpdGxlPjxnIGlkPSJMYXllcl8yIiBkYXRhLW5hbWU9IkxheWVyIDIiPjxnIGlkPSJMYXllcl8xLTIiIGRhdGEtbmFtZT0iTGF5ZXIgMSI+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNMTI5LjI1LDIwQTEwOS4xLDEwOS4xLDAsMCwxLDIwNi40LDIwNi40LDEwOS4xLDEwOS4xLDAsMSwxLDUyLjExLDUyLjExLDEwOC40NSwxMDguNDUsMCwwLDEsMTI5LjI1LDIwbTAtMjBoMEM1OC4xNiwwLDAsNTguMTYsMCwxMjkuMjVIMGMwLDcxLjA5LDU4LjE2LDEyOS4yNiwxMjkuMjUsMTI5LjI2aDBjNzEuMDksMCwxMjkuMjYtNTguMTcsMTI5LjI2LTEyOS4yNmgwQzI1OC41MSw1OC4xNiwyMDAuMzQsMCwxMjkuMjUsMFoiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0xNzcuNTQsMTAzLjQxSDE0MS42NkwxNTQuOSw2NS43NmMxLjI1LTQuNC0yLjMzLTguNzYtNy4yMS04Ljc2SDEwMi45M2E3LjMyLDcuMzIsMCwwLDAtNy40LDZsLTEwLDY5LjYxYy0uNTksNC4xNywyLjg5LDcuODksNy40LDcuODloMzYuOUwxMTUuNTUsMTk3Yy0xLjEyLDQuNDEsMi40OCw4LjU1LDcuMjQsOC41NWE3LjU4LDcuNTgsMCwwLDAsNi40Ny0zLjQ4TDE4NCwxMTMuODVDMTg2Ljg2LDEwOS4yNCwxODMuMjksMTAzLjQxLDE3Ny41NCwxMDMuNDFaIi8+PC9nPjwvZz48L3N2Zz4=" | ||
mediatype: "image/svg+xml" | ||
install: | ||
spec: | ||
clusterPermissions: | ||
- rules: | ||
- apiGroups: | ||
- '*' | ||
resources: | ||
- '*' | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
serviceAccountName: deployment-validation-operator | ||
deployments: | ||
- name: deployment-validation-operator | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: deployment-validation-operator | ||
strategy: | ||
rollingUpdate: | ||
maxSurge: 1 | ||
maxUnavailable: 0 | ||
type: RollingUpdate | ||
template: | ||
metadata: | ||
labels: | ||
app: deployment-validation-operator | ||
name: deployment-validation-operator | ||
spec: | ||
affinity: | ||
podAntiAffinity: | ||
preferredDuringSchedulingIgnoredDuringExecution: | ||
- podAffinityTerm: | ||
labelSelector: | ||
matchExpressions: | ||
- key: app | ||
operator: In | ||
values: | ||
- deployment-validation-operator | ||
topologyKey: kubernetes.io/hostname | ||
weight: 100 | ||
containers: | ||
- env: | ||
- name: WATCH_NAMESPACE | ||
value: "" | ||
- name: OPERATOR_NAME | ||
value: deployment-validation-operator | ||
- name: NAMESPACE_IGNORE_PATTERN | ||
value: "^(openshift.*|kube-.*|open-cluster-management-.*|default|dedicated-admin|redhat-.*|acm|addon-dba-operator|codeready-.*|prow)$" | ||
- name: POD_NAME | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: metadata.name | ||
- name: POD_NAMESPACE | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: metadata.namespace | ||
image: quay.io/deployment-validation-operator/dv-operator:0.7.8 | ||
imagePullPolicy: Always | ||
name: deployment-validation-operator | ||
ports: | ||
- containerPort: 8383 | ||
name: http-metrics | ||
protocol: TCP | ||
args: | ||
- --config /config/deployment-validation-operator-config.yaml | ||
resources: | ||
requests: | ||
memory: "256Mi" | ||
cpu: "100n" | ||
limits: | ||
memory: "2Gi" | ||
cpu: "1" | ||
volumeMounts: | ||
- name: dvo-config | ||
mountPath: /config | ||
securityContext: | ||
readOnlyRootFilesystem: true | ||
restartPolicy: Always | ||
serviceAccountName: deployment-validation-operator | ||
terminationGracePeriodSeconds: 30 | ||
volumes: | ||
- name: dvo-config | ||
configMap: | ||
optional: true | ||
name: deployment-validation-operator-config | ||
permissions: | ||
- rules: | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- configmaps | ||
- services | ||
verbs: | ||
- get | ||
- create | ||
- list | ||
- delete | ||
- update | ||
- watch | ||
- patch | ||
- apiGroups: | ||
- monitoring.coreos.com | ||
resources: | ||
- servicemonitors | ||
verbs: | ||
- '*' | ||
serviceAccountName: deployment-validation-operator | ||
strategy: deployment | ||
installModes: | ||
- supported: true | ||
type: OwnNamespace | ||
- supported: true | ||
type: SingleNamespace | ||
- supported: true | ||
type: AllNamespaces | ||
- supported: false | ||
type: MultiNamespace | ||
keywords: | ||
- dvo | ||
labels: | ||
alm-owner-dvo: deployment-validation-operator | ||
operated-by: deployment-validation-operator | ||
links: | ||
- name: repository | ||
url: https://github.com/app-sre/deployment-validation-operator | ||
- name: containerImage | ||
url: https://quay.io/deployment-validation-operator/dv-operator:0.7.8 | ||
maintainers: | ||
- name: Red Hat | ||
email: [email protected] | ||
maturity: alpha | ||
provider: | ||
name: Red Hat | ||
selector: | ||
matchLabels: | ||
alm-owner-dvo: deployment-validation-operator | ||
operated-by: deployment-validation-operator | ||
replaces: deployment-validation-operator.v0.7.7 | ||
skipRange: ">=0.0.10 <0.7.8" | ||
version: 0.7.8 |
15 changes: 15 additions & 0 deletions
15
operators/deployment-validation-operator/0.7.8/metadata/annotations.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,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: deployment-validation-operator | ||
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: go.kubebuilder.io/v3 | ||
|
||
# Annotations for testing. | ||
operators.operatorframework.io.test.mediatype.v1: scorecard+v1 | ||
operators.operatorframework.io.test.config.v1: tests/scorecard/ |
70 changes: 70 additions & 0 deletions
70
operators/deployment-validation-operator/0.7.8/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.7.2 | ||
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.2 | ||
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.2 | ||
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.7.2 | ||
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.7.2 | ||
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.7.2 | ||
labels: | ||
suite: olm | ||
test: olm-status-descriptors-test | ||
storage: | ||
spec: | ||
mountPath: {} | ||
storage: | ||
spec: | ||
mountPath: {} |