Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: (IAC-556) Incorrect tls.key in alertmanager-ingress-tls-secret #265

Merged
merged 1 commit into from
Jul 28, 2022

Conversation

dhoucgitter
Copy link
Member

Issue Description:
Reported by Adam Bullock, "a recent deployment with monitoring and logging enabled, that the tls.key in the alertmanager-ingress-tls-secret was incorrect. The certificate was added instead of the key."

The following messages are logged in the ingress-nginx-controller log:

Error obtaining X.509 certificate: no object matching key "monitoring/alertmanager-ingress-tls-secret" in local store Error getting SSL certificate "monitoring/alertmanager-ingress-tls-secret": local SSL certificate monitoring/alertmanager-ingress-tls-secret was not found. Using default certificate

The problematic line: https://github.com/sassoftware/viya4-deployment/blob/main/roles/monitoring/tasks/cluster-monitoring.yaml#L118

Rationale for setting the the delete namespace timeouts to 10 mins is that I found existing namespace operations that were already set to use a 10 minute timeout so it made sense to keep them all the same.

Summary:
- also use a 10 minute timeout for namespace delete tasks
@dhoucgitter dhoucgitter added the bug Something isn't working label Jul 27, 2022
@dhoucgitter dhoucgitter self-assigned this Jul 27, 2022
Copy link
Member

@riragh riragh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@thpang thpang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some general comments. Not sure there's a code change here.

roles/monitoring/tasks/cluster-logging.yaml Show resolved Hide resolved
roles/vdm/tasks/deploy.yaml Show resolved Hide resolved
Copy link
Member

@thpang thpang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

roles/monitoring/tasks/cluster-logging.yaml Show resolved Hide resolved
@dhoucgitter dhoucgitter merged commit 55ab302 into staging Jul 28, 2022
@dhoucgitter dhoucgitter deleted the fix-iac-556 branch July 28, 2022 16:17
@riragh riragh mentioned this pull request Aug 5, 2022
@jarpat jarpat linked an issue Jan 31, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong value for alertmanager tls.key
3 participants