Skip to content

As a Korifi operator I want to be able to unbind a security group from a spaceΒ #4107

@danail-branekov

Description

@danail-branekov

As a Korifi operator I want to be able to unbind a security group from a space

Acceptance

GIVEN I have deployed Korifi with experimental.securityGroups.enabled=true value
GIVEN I have created a security group
GIVEN I have bound a security group to a space with running lifecycle
WHEN I unbind the security group from the space via DELETE /v3/security_groups/security-group-guid/relationships/running_spaces/space-guid
THEN the workload pod is no longer able to access the destination confgiured in the security group

GIVEN I have bound a security group to a space with staging lifecycle
WHEN I unbind the security group from the space via DELETE /v3/security_groups/security-group-guid/relationships/staging_spaces/space-guid
THEN the build pod is no longer able to access the destination confgiured in the security group

Dev notes

  • When the --lifecycle argument from the unbind-security-group command is omitted, the cli defaults to running
  • When the story dones, the unbind-security-group command should work, so a smoke test should be added to the suite

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    πŸ‡ͺπŸ‡Ί To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions