Skip to content

Commit

Permalink
Merge pull request #70 from Kuadrant/remove-install
Browse files Browse the repository at this point in the history
Removing kuadrantctl install & uninstall
  • Loading branch information
jasonmadigan authored May 3, 2024
2 parents 9e4175f + 9d3de2b commit b69a74a
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 432 deletions.
17 changes: 2 additions & 15 deletions .github/workflows/commands.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
install:
name: Run kuadrantctl install
name: Run kuadrantctl generate
runs-on: ubuntu-latest
env:
KIND_CLUSTER_NAME: kuadrantctl-local
Expand All @@ -22,22 +22,9 @@ jobs:
id: go
- name: Check out code
uses: actions/checkout@v3
- name: Create k8s Kind Cluster
uses: helm/[email protected]
with:
version: v0.20.0
config: utils/kind-cluster.yaml
cluster_name: ${{ env.KIND_CLUSTER_NAME }}
wait: 120s
- name: Check cluster info
run: |
kubectl cluster-info dump
- name: Run make env-setup
run: |
make env-setup
- name: build
run: |
make install
- name: run command
run: |
bin/kuadrantctl install
bin/kuadrantctl generate gatewayapi httproute --oas examples/oas3/gateway-api-petstore.yaml
22 changes: 0 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ kuadrantctl [command] [subcommand] [flags]
| `completion` | Generate autocompletion scripts for the specified shell |
| `generate` | Commands related to Kubernetes Gateway API and Kuadrant resource generation from OpenAPI 3.x specifications |
| `help` | Help about any command |
| `install` | Install the Kuadrant Operator with OLM to your Kuberenetes or OpenShift cluster |
| `uninstall` | Uninstall Kuadrant Operator from a Kubernetes or OpenShift cluster |
| `version` | Print the version number of `kuadrantctl` |

### Flags
Expand Down Expand Up @@ -92,24 +90,6 @@ Generate Kuadrant resources from an OpenAPI 3.x specification
| `ratelimitpolicy`| Generate [Kuadrant RateLimitPolicy](https://docs.kuadrant.io/kuadrant-operator/doc/rate-limiting/) from an OpenAPI 3.0.x specification | `--oas string` Path to OpenAPI spec file (in JSON or YAML format), URL, or '-' to read from standard input (required). `-o` Output format: 'yaml' or 'json'. Default: yaml |


#### `install`

Install the [Kuadrant Operator](https://github.com/Kuadrant/kuadrant-operator) into an OLM-powered cluster.

| Flag | Description |
| --------------------- | -------------------------------- |
| `--kubeconfig` string | Kubernetes configuration file |

* For more information of the Kuadrant Operator, see https://docs.kuadrant.io/kuadrant-operator/

#### `uninstall`

Remove Kuadrant from the cluster.

| Flag | Description |
| --------------------- | -------------------------------- |
| `--kubeconfig` string | Kubernetes configuration file |

#### `version`

Print the version number of `kuadrantctl`.
Expand Down Expand Up @@ -149,8 +129,6 @@ For more detailed information about each command, including options and usage ex
```
## Commands
* [Install Kuadrant](doc/install.md)
* [Uninstall Kuadrant](doc/uninstall.md)
* [Generate Gateway API HTTPRoute objects from OpenAPI 3.X](doc/generate-gateway-api-httproute.md)
* [Generate Kuadrant RateLimitPolicy from OpenAPI 3.X](doc/generate-kuadrant-rate-limit-policy.md)
* [Generate Kuadrant AuthPolicy from OpenAPI 3.X](doc/generate-kuadrant-auth-policy.md)
Expand Down
243 changes: 0 additions & 243 deletions cmd/install.go

This file was deleted.

2 changes: 0 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ func GetRootCmd(args []string) *cobra.Command {
rootCmd.SilenceUsage = true
rootCmd.PersistentFlags().BoolVarP(&verbose, "verbose", "v", false, "verbose output")

rootCmd.AddCommand(installCommand())
rootCmd.AddCommand(uninstallCommand())
rootCmd.AddCommand(versionCommand())
rootCmd.AddCommand(generateCommand())

Expand Down
Loading

0 comments on commit b69a74a

Please sign in to comment.