-
Notifications
You must be signed in to change notification settings - Fork 601
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deployment-validation-operator new-release v0.7.3
Signed-off-by: Isaac Jimeno <[email protected]>
- Loading branch information
Showing
4 changed files
with
267 additions
and
0 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
.../deployment-validation-operator/0.7.3/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 |
168 changes: 168 additions & 0 deletions
168
...on-operator/0.7.3/manifests/deploymentvalidationoperator.0.7.3.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,168 @@ | ||
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.3 | ||
createdAt: 12/14/2021 | ||
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.3 | ||
spec: | ||
description: "The Deployment Validator Operator(DVO) checks deployments and other\ | ||
\ resources against a curated collection of best practices.\nThese best practices\ | ||
\ focus mainly on ensuring that the applications are fault-tolerant.\n\n### Configuration\n\ | ||
\ To configure the checks Operator runs or to run your own custom checks, you can use a \ | ||
\ ConfigMap created in the **same namespace** as operator itself. ConfigMap should be named as \ | ||
\ *deployment-validation-operator-config* and contain *deployment-validation-operator-config.yaml* as data.\ | ||
\ [Example](https://github.com/app-sre/deployment-validation-operator/blob/master/deploy/openshift/configmap.yaml)\n\ | ||
\ \n### Metrics\nDVO will report failed validations via Prometheus metrics. All the metrics\ | ||
\ are gauges that will report `1` if the best-practice has failed.\nThere is \ | ||
\ [Instruction](https://github.com/app-sre/deployment-validation-operator#install-dashboard)\ | ||
\ to install a simple grafana dashboard." | ||
displayName: Deployment Validation Operator | ||
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-.*|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.3 | ||
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.3 | ||
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.2 | ||
skipRange: ">=0.0.10 <0.7.3" | ||
version: 0.7.3 |
15 changes: 15 additions & 0 deletions
15
operators/deployment-validation-operator/0.7.3/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.3/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: {} |