-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prior to this commit, the redpanda chart would fail to render if the admin's internal TLS set cert to "" due to the order of operations in post_upgrade_job.go. The regression appeared during the conversion to go as there was previously no error handling if an invalid certificate was referenced. This failure surfaced during an attempted release of the operator as a helm test for the operator chart did exactly this. (See #1422) This commit corrects the issue by checking TLS.IsEnabled _before_ calling MustGet which will only trigger a failure if TLS is enabled and references an invalid certificate.
- Loading branch information
Showing
9 changed files
with
1,465 additions
and
15 deletions.
There are no files selected for viewing
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
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
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,57 @@ | ||
# Copied from charts/operator/files/three_node_redpanda.yaml. The inclusion of | ||
# tls.enabled: false and tls.cert: "" triggered failures. | ||
console: | ||
enabled: false | ||
image: | ||
repository: docker.redpanda.com/redpandadata/redpanda | ||
tag: v23.2.2 | ||
listeners: | ||
admin: | ||
external: {} | ||
port: 9644 | ||
tls: | ||
cert: "" | ||
enabled: false | ||
requireClientAuth: false | ||
http: | ||
authenticationMethod: none | ||
enabled: true | ||
external: {} | ||
kafkaEndpoint: kafka-default | ||
port: 8082 | ||
tls: | ||
cert: "" | ||
enabled: false | ||
requireClientAuth: false | ||
kafka: | ||
authenticationMethod: none | ||
external: {} | ||
port: 9092 | ||
tls: | ||
cert: kafka-internal-0 | ||
enabled: true | ||
requireClientAuth: true | ||
rpc: | ||
port: 33145 | ||
logging: | ||
logLevel: trace | ||
usageStats: | ||
enabled: false | ||
resources: | ||
cpu: | ||
cores: 1 | ||
memory: | ||
container: | ||
max: 2Gi | ||
min: 2Gi | ||
statefulset: | ||
replicas: 3 | ||
storage: | ||
persistentVolume: | ||
enabled: true | ||
size: 100Gi | ||
tls: | ||
certs: | ||
kafka-internal-0: | ||
caEnabled: true | ||
enabled: true |
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
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
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
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
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
Oops, something went wrong.