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

PoC of managing certificates with cert-manager #577

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gecube
Copy link

@gecube gecube commented Feb 1, 2024

This PR closes #576

@@ -122,6 +129,14 @@ spec:
mountPath: /usr/share/wazuh-indexer/opensearch-security/internal_users.yml
subPath: internal_users.yml
readOnly: true
- name: indexer-conf

Choose a reason for hiding this comment

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

I'm not sure, why you are adding these mounts. So fare config.yml and roles_mapping.yml aren't referenced anywhere. This results in an error while creating the indexer-sts.

Copy link
Author

Choose a reason for hiding this comment

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

@mirwanda thank you very much for keeping an eye. I will fix and return to you.

Copy link
Author

Choose a reason for hiding this comment

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

@mirwanda My bad - they were from my custom config as I set up a separate integration with Okta. Now should be fine.

Choose a reason for hiding this comment

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

Perfect. I can confirm. Thanks!

@@ -39,7 +39,7 @@ spec:
name: wazuh-conf
- name: filebeat-certs
secret:
secretName: indexer-certs
secretName: fliebeat-tls

Choose a reason for hiding this comment

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

Hello, I tried these changes, and I spotted this typo for the secret name here.

  Normal   Scheduled    31s                default-scheduler  Successfully assigned wazuh/wazuh-manager-worker-0 to node1
  Warning  FailedMount  15s (x6 over 30s)  kubelet            MountVolume.SetUp failed for volume "filebeat-certs" : secret "fliebeat-tls" not found

Should be filebeat-tls

Thank you

Copy link
Author

Choose a reason for hiding this comment

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

@nicolasjulian Thank you very much for the comments. I will check and fix.

Copy link
Author

Choose a reason for hiding this comment

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

thanks. Could you make another try please?

Choose a reason for hiding this comment

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

Hello,

Everything looks good on my end. I've but I corrected a typo locally. However, I noticed that for the current stable image version 4.7.3, the configuration mismatch is (( this is before your latest commit )):

uiSettings.overrides.defaultRoute: /app/wazuh

Is there has been a change to the default route in newer versions? in 4.9.0?

Signed-off-by: George Gaal <gb12335@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: manage certificates by cert-manager
3 participants