Skip to content

Commit

Permalink
Resolve yamllint warnings and errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rmgrimm committed Sep 4, 2024
1 parent 3aba0dc commit 07de151
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,3 @@ patches:
- op: add
path: /spec/adminPassword
value: example
4 changes: 2 additions & 2 deletions amq-broker-operator/instance/base/activemq-artemis-cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ spec:

deadLetterAddress: DLQ
deadLetterQueuePrefix: DLQ.
#deadLetterQueueSuffix:
# deadLetterQueueSuffix:

sendToDlaOnNoRoute: false
maxDeliveryAttempts: 10
Expand All @@ -104,7 +104,7 @@ spec:

expiryAddress: ExpiryQueue
expiryQueuePrefix: EXP.
#expiryQueueSuffix:
# expiryQueueSuffix:
expiryDelay: -1
minExpiryDelay: -1
maxExpiryDelay: -1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,19 @@ stringData:
connectorConfigurations.cluster-other-ssl.host=default-cluster-ssl-0-svc-rte-target-namespace.apps.right-cluster.example.com
# The following additional secret keys can be patched in when deploying with a deployment size of more than 1
#broker-1/broker.properties: |
# # Configuration specific to broker pod 1
# connectorConfigurations.cluster-self-ssl.host=default-cluster-ssl-1-svc-rte-target-namespace.apps.left-cluster.example.com
# connectorConfigurations.cluster-local-0-ssl.host=default-cluster-ssl-1-svc-rte-target-namespace.apps.left-cluster.example.com
# connectorConfigurations.cluster-other-ssl.host=default-cluster-ssl-0-svc-rte-target-namespace.apps.right-cluster.example.com
#broker-2/broker.properties: |
# # Configuration specific to broker pod 2
# connectorConfigurations.cluster-self-ssl.host=default-cluster-ssl-2-svc-rte-target-namespace.apps.left-cluster.example.com
# connectorConfigurations.cluster-local-0-ssl.host=default-cluster-ssl-1-svc-rte-target-namespace.apps.left-cluster.example.com
# connectorConfigurations.cluster-other-ssl.host=default-cluster-ssl-0-svc-rte-target-namespace.apps.right-cluster.example.com
# broker-1/broker.properties: |
# # Configuration specific to broker pod 1
# connectorConfigurations.cluster-self-ssl.host=default-cluster-ssl-1-svc-rte-target-namespace.apps.left-cluster.example.com
# connectorConfigurations.cluster-local-0-ssl.host=default-cluster-ssl-1-svc-rte-target-namespace.apps.left-cluster.example.com
# connectorConfigurations.cluster-other-ssl.host=default-cluster-ssl-0-svc-rte-target-namespace.apps.right-cluster.example.com
# broker-2/broker.properties: |
# # Configuration specific to broker pod 2
# connectorConfigurations.cluster-self-ssl.host=default-cluster-ssl-2-svc-rte-target-namespace.apps.left-cluster.example.com
# connectorConfigurations.cluster-local-0-ssl.host=default-cluster-ssl-1-svc-rte-target-namespace.apps.left-cluster.example.com
# connectorConfigurations.cluster-other-ssl.host=default-cluster-ssl-0-svc-rte-target-namespace.apps.right-cluster.example.com

cluster-connector-configurations.broker.properties: |
# Add broker to broker connector configurations
connectorConfigurations.cluster-self-ssl.params.verifyHost=true
connectorConfigurations.cluster-local-0-ssl.params.verifyHost=true
connectorConfigurations.cluster-other-ssl.params.verifyHost=true
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@ patches:
- op: replace
path: /spec/console/expose
value: false
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#file: noinspection YAMLIncompatibleTypes

# Ensure persistence is disabled for the operator so it doesn't create any PVCs
- op: replace
path: /spec/deploymentPlan/persistenceEnabled
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,3 @@ patches:
- '-c'
- |-
cp "$DB_DRIVER_SOURCE_PATH"/"$DB_DRIVER_JAR_FILENAME" /opt/jdbc-jars/"$DB_DRIVER_JAR_FILENAME"

0 comments on commit 07de151

Please sign in to comment.