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

[feat] Enable support for encrypted volumes for CSI driver #299

Merged
merged 45 commits into from
Nov 13, 2024

Commits on Oct 29, 2024

  1. Configuration menu
    Copy the full SHA
    eceefc8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    071a28b View commit details
    Browse the repository at this point in the history
  3. - updated driver.go to pass environment variable volumeEncryption w…

    …hile creating the controller server
    prajwalvathreya committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    f5bbd7f View commit details
    Browse the repository at this point in the history
  4. - updated controllerserver.go to use variable volumeEncryption when…

    … create volume request is made
    prajwalvathreya committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    739f91a View commit details
    Browse the repository at this point in the history
  5. Updated controllerserver_helper.go for the following:

    - to check if region allows encryption
    
    - prepare the volume creation request with updated params
    
    - added helper function `isEncryptionSupported` to dynamically check for regions
    
    - updated attach volume operation logic to check if the created volume and the linode it's being attached to is in the same region(only for encrypted volumes this is enforced)
    prajwalvathreya committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    aa31499 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1ac170a View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2024

  1. - fixed lint errors

    prajwalvathreya committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    a6f2c6d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    57d7288 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    15110b6 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2024

  1. - updated helm charts to allow encryption

    - removed new storage class and edited pre-existing ones
    prajwalvathreya committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    c6e8212 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    09ca3af View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2024

  1. Configuration menu
    Copy the full SHA
    a6c8358 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    11a596c View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2024

  1. - removed environment variable VOLUME_ENCRYPTION

    - updated functions to use the parameter specified in the template
    
    - updated tests to account for the new changes in the function calls
    prajwalvathreya committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    0ab93ad View commit details
    Browse the repository at this point in the history
  2. - updated URL target in controllerserver_helper.go

    - updated template files to conditionally store parameters in the map
    prajwalvathreya committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    2b4973a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9b74ea8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    58dc736 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7e01533 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    da1e8f1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5fd1358 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    20ebc2a View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2024

  1. Configuration menu
    Copy the full SHA
    3bcf4ae View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ecfd939 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2024

  1. Configuration menu
    Copy the full SHA
    3152804 View commit details
    Browse the repository at this point in the history
  2. - refactored function to just take req.GetParameters() and handle k…

    …eys in the map inside the function
    
    - set volumeContext to include encryption
    prajwalvathreya committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    ccf359a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d6b935b View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2024

  1. - updated createAndWaitForVolume call to take in map

    - Moved checks for volume encryption into `prepareVolumeParams`
    
    - removed redudant volume and linode region checks
    
    - updated test cases for the changes that were made
    prajwalvathreya committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    3592d21 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0569170 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    681e2d0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    01023b5 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2024

  1. Configuration menu
    Copy the full SHA
    f11c229 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2b3e4df View commit details
    Browse the repository at this point in the history
  3. - returned err

    - added back volume name and size to returns
    
    - fixed comments
    prajwalvathreya committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    2935055 View commit details
    Browse the repository at this point in the history
  4. - removed annotations

    - added steps to check if encryption is supported in that region
    prajwalvathreya committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    5f1c306 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    345e7f1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2beb183 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2024

  1. Configuration menu
    Copy the full SHA
    c24ce38 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2024

  1. Configuration menu
    Copy the full SHA
    e0c16b1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c38e0e8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b1caf89 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2024

  1. Configuration menu
    Copy the full SHA
    10e2e3d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8f67953 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    58819f1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6e530f5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    02a5bd1 View commit details
    Browse the repository at this point in the history