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(project): accepts subnets while enabling vpn #245

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

pallabpain
Copy link
Member

Description

The command to enable vpn on the project now also supports subnets.

rio project feature vpn dev-tst-001 true --subnets 10.81.0.0/16

Usage

Usage: rio project features vpn [OPTIONS] PROJECT_NAME
                                             ENABLE

  Enable or disable VPN on a project

  Example:

      rio project features vpn "my-project" true

      rio project features vpn "my-project" true --subnets 10.81.0.0/16

Options:
  --subnets TEXT  Subnet ranges for the project. For example: 10.81.0.0/16
  --help          Show this message and exit.

@pallabpain pallabpain requested review from a team as code owners December 14, 2023 06:00
@pallabpain pallabpain self-assigned this Dec 14, 2023
@pallabpain pallabpain requested review from ankitrgadiya and removed request for ankitrgadiya December 14, 2023 06:00
@pallabpain pallabpain added the ✨ feature A new feature addition to the CLI label Dec 14, 2023
Copy link

🤖 Pull Request Artifacts (#7205084930) 🎉

@pallabpain pallabpain merged commit 06bbf7f into devel Dec 14, 2023
7 checks passed
rr-github-ci-user pushed a commit that referenced this pull request Dec 28, 2023
# [6.0.0](v5.0.0...v6.0.0) (2023-12-28)

### Bug Fixes

* **project:** fixes project update with vpn state ([#246](#246)) ([82709f6](82709f6))

### Features

* **auth:** add support for AKS staging environments ([59d30e9](59d30e9))
* **device:** adds --advertise-routes flag in the vpn command ([6cea521](6cea521))
* **device:** updates device delete command to delete multiple devices ([#217](#217)) ([1a35403](1a35403))
* **jsonschema:** updates features attribute in project schema ([c4cd332](c4cd332))
* **project:** accepts subnets while enabling vpn ([#245](#245)) ([06bbf7f](06bbf7f))

### BREAKING CHANGES

* **jsonschema:** The vpn and tracing attributes under .spec.features
have been changed from type=boolean to type=object. Enabling vpn on a
project will now require one to set .spec.features.vpn.enabled=True and
likewise for any other project feature.
@rr-github-ci-user
Copy link
Collaborator

🎉 This PR is included in version 6.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@pallabpain pallabpain deleted the fix/project-features-vpn branch January 24, 2024 10:27
RomilShah pushed a commit that referenced this pull request Apr 23, 2024
# [6.0.0](v5.0.0...v6.0.0) (2023-12-28)

### Bug Fixes

* **project:** fixes project update with vpn state ([#246](#246)) ([82709f6](82709f6))

### Features

* **auth:** add support for AKS staging environments ([59d30e9](59d30e9))
* **device:** adds --advertise-routes flag in the vpn command ([6cea521](6cea521))
* **device:** updates device delete command to delete multiple devices ([#217](#217)) ([1a35403](1a35403))
* **jsonschema:** updates features attribute in project schema ([c4cd332](c4cd332))
* **project:** accepts subnets while enabling vpn ([#245](#245)) ([06bbf7f](06bbf7f))

### BREAKING CHANGES

* **jsonschema:** The vpn and tracing attributes under .spec.features
have been changed from type=boolean to type=object. Enabling vpn on a
project will now require one to set .spec.features.vpn.enabled=True and
likewise for any other project feature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ feature A new feature addition to the CLI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants