Skip to content

Commit 5b4a7ee

Browse files
committed
pre-commit
1 parent a68127c commit 5b4a7ee

File tree

3 files changed

+20
-24
lines changed

3 files changed

+20
-24
lines changed

config/manifests/bases/mongodb-kubernetes.clusterserviceversion.yaml

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ metadata:
88
certified: "true"
99
containerImage: quay.io/mongodb/mongodb-kubernetes:1.1.0
1010
createdAt: ""
11-
description: The MongoDB Controllers for Kubernetes enable easy deploys of
12-
MongoDB into Kubernetes clusters, using our management, monitoring and
13-
backup platforms, Ops Manager and Cloud Manager.
11+
description: The MongoDB Controllers for Kubernetes enable easy deploys of MongoDB
12+
into Kubernetes clusters, using our management, monitoring and backup platforms,
13+
Ops Manager and Cloud Manager.
1414
features.operators.openshift.io/disconnected: "true"
1515
features.operators.openshift.io/fips-compliant: "false"
1616
features.operators.openshift.io/proxy-aware: "false"
@@ -51,8 +51,7 @@ spec:
5151
x-descriptors:
5252
- urn:alm:descriptor:com.tectonic.ui:text
5353
- urn:alm:descriptor:com.tectonic.ui:fieldGroup:ClusterConfiguration
54-
- description: In a Replica Set deployment type, specifies the amount of
55-
members.
54+
- description: In a Replica Set deployment type, specifies the amount of members.
5655
displayName: Members of a Replica Set
5756
path: members
5857
x-descriptors:
@@ -66,8 +65,7 @@ spec:
6665
- description: Project configuration for this deployment
6766
displayName: Ops Manager project configuration
6867
path: opsManager
69-
- description: Name of the ConfigMap with the configuration for this
70-
project
68+
- description: Name of the ConfigMap with the configuration for this project
7169
displayName: Ops Manager Project Configuration
7270
path: opsManager.configMapRef.name
7371
x-descriptors:
@@ -166,8 +164,7 @@ spec:
166164
x-descriptors:
167165
- urn:alm:descriptor:com.tectonic.ui:text
168166
- urn:alm:descriptor:com.tectonic.ui:fieldGroup:ClusterConfiguration
169-
- description: In a Replica Set deployment type, specifies the amount of
170-
members.
167+
- description: In a Replica Set deployment type, specifies the amount of members.
171168
displayName: Members of a Replica Set
172169
path: members
173170
x-descriptors:
@@ -181,8 +178,7 @@ spec:
181178
- description: Project configuration for this deployment
182179
displayName: Ops Manager project configuration
183180
path: opsManager
184-
- description: Name of the ConfigMap with the configuration for this
185-
project
181+
- description: Name of the ConfigMap with the configuration for this project
186182
displayName: Ops Manager Project Configuration
187183
path: opsManager.configMapRef.name
188184
x-descriptors:
@@ -194,8 +190,8 @@ spec:
194190
x-descriptors:
195191
- urn:alm:descriptor:com.tectonic.ui:booleanSwitch
196192
- urn:alm:descriptor:com.tectonic.ui:fieldGroup:ClusterConfiguration
197-
- description: Optional. Specify whether to duplicate service objects
198-
among different Kubernetes clusters.
193+
- description: Optional. Specify whether to duplicate service objects among
194+
different Kubernetes clusters.
199195
displayName: Duplicate Service Objects
200196
path: duplicateServiceObjects
201197
x-descriptors:
@@ -256,8 +252,7 @@ spec:
256252
path: passwordSecretKeyRef.name
257253
x-descriptors:
258254
- urn:alm:descriptor:io.kubernetes:Secret
259-
- displayName: Name of the MongoDB resource to which this user is
260-
associated.
255+
- displayName: Name of the MongoDB resource to which this user is associated.
261256
path: mongodbResourceRef.name
262257
x-descriptors:
263258
- urn:alm:descriptor:io.kubernetes:mongodb
@@ -313,8 +308,8 @@ spec:
313308
x-descriptors:
314309
- urn:alm:descriptor:io.kubernetes:Secret
315310
- urn:alm:descriptor:com.tectonic.ui:fieldGroup:OpsManagerConfiguration
316-
- displayName: Secret to enable TLS for Ops Manager allowing it to serve
317-
traffic over HTTPS.
311+
- displayName: Secret to enable TLS for Ops Manager allowing it to serve traffic
312+
over HTTPS.
318313
path: security.tls.secretRef.name
319314
x-descriptors:
320315
- urn:alm:descriptor:io.kubernetes:Secret
@@ -324,8 +319,8 @@ spec:
324319
x-descriptors:
325320
- urn:alm:descriptor:com.tectonic.ui:number
326321
- urn:alm:descriptor:com.tectonic.ui:fieldGroup:ApplicationDatabase
327-
- displayName: Secret containing the TLS certificate signed by known or
328-
custom CA.
322+
- displayName: Secret containing the TLS certificate signed by known or custom
323+
CA.
329324
path: applicationDatabase.security.tls.secretRef.name
330325
x-descriptors:
331326
- urn:alm:descriptor:io.kubernetes:Secret

helm_chart/Chart.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
apiVersion: v2
22
name: mongodb-kubernetes
3-
description: MongoDB Controllers for Kubernetes translate the human knowledge of
4-
creating a MongoDB instance into a scalable, repeatable, and standardized
5-
method.
3+
description: MongoDB Controllers for Kubernetes translate the human knowledge of creating
4+
a MongoDB instance into a scalable, repeatable, and standardized method.
65
version: 1.1.0
76
kubeVersion: '>=1.16-0'
87
type: application

pipeline.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1040,7 +1040,7 @@ def build_image_generic(
10401040
# But since we don't run daily rebuilds on ecr image builds, we can do that step instead here.
10411041
# We only need to push manifests for multi-arch images.
10421042
create_and_push_manifest(registry_address, version, architectures=architectures)
1043-
latest_tag="latest"
1043+
latest_tag = "latest"
10441044
if not is_running_in_patch() and is_running_in_evg_pipeline():
10451045
logger.info(f"Tagging and pushing {registry_address}:{version} as {latest_tag}")
10461046
try:
@@ -1053,7 +1053,9 @@ def build_image_generic(
10531053
logger.error(f"Failed to tag/push {latest_tag} image: {e}")
10541054
raise
10551055
else:
1056-
logger.info(f"Skipping tagging and pushing {registry_address}:{version} as {latest_tag} tag; is_running_in_patch={is_running_in_patch()}, is_running_in_evg_pipeline={is_running_in_evg_pipeline()}")
1056+
logger.info(
1057+
f"Skipping tagging and pushing {registry_address}:{version} as {latest_tag} tag; is_running_in_patch={is_running_in_patch()}, is_running_in_evg_pipeline={is_running_in_evg_pipeline()}"
1058+
)
10571059

10581060
# Sign and verify the context image if on releases if required.
10591061
if config.sign and config.is_release_step_executed():

0 commit comments

Comments
 (0)