Skip to content

Instantly share code, notes, and snippets.

View DavidePrette's full-sized avatar

davideprette DavidePrette

  • Vienna
  • 04:14 (UTC +01:00)
View GitHub Profile

Passbolt SSO ip not match

Problem Description:

Users are unable to use Single Sign-On (SSO) due to IP mismatch errors. The issue arises because the IP addresses don't match as expected. To resolve this, we need to configure the nginx proxy in our Kubernetes environment to set the correct headers and allow the expected IP addresses.

Solution:

We'll create a ConfigMap containing the necessary nginx configuration to set headers properly and specify the allowed IP addresses. Then, we'll mount this ConfigMap into our passbolt container.

Kubernetes DaemonSet and Service Configuration with HAProxy in front

Controller Configuration

controller:
  config:
    compute-full-forwarded-for: "true"
 use-forwarded-headers: "true"
@DavidePrette
DavidePrette / remove-mountOptions-cephfs.md
Last active February 22, 2024 16:29
Remove mountOption in cephfs-csi from version 3.9.x

Modifying MountOptions for CephCSI Volumes (v3.9.0+)

This document outlines the process of adjusting MountOptions for CephCSI volumes after the v3.9.0 release. This update introduces stricter compatibility requirements for mount options, requiring them to be valid during both NodeStageVolume and NodePublishVolume operations. Setting invalid options, like "debug", can cause mounting failures.

Important Notes: