Skip to content

Commit

Permalink
Updates vcluster-config dep for CreateRBAC field on apiKey
Browse files Browse the repository at this point in the history
  • Loading branch information
zerbitx committed Jul 16, 2024
1 parent cdac372 commit 538f64d
Show file tree
Hide file tree
Showing 6 changed files with 112 additions and 23 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/invopop/jsonschema v0.12.1-0.20240219232115-a4467074499d
github.com/loft-sh/agentapi/v4 v4.0.0-alpha.16
github.com/loft-sh/api/v4 v4.0.0-alpha.16
github.com/loft-sh/vcluster-config v0.0.0-20240708084328-0260ef98d153
github.com/loft-sh/vcluster-config v0.0.0-20240716135058-8f0c5cc020dd
k8s.io/apimachinery v0.30.1
sigs.k8s.io/controller-runtime v0.18.4
)
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ github.com/loft-sh/apiserver v0.0.0-20240607231110-634aeeab2b36 h1:1euJ7mNHMI2MM
github.com/loft-sh/apiserver v0.0.0-20240607231110-634aeeab2b36/go.mod h1:XxI95azXiqXHiIDRiyDTpZcxdtXQlUqeU5VMMDz8INA=
github.com/loft-sh/jsonschema v0.0.0-20240411094214-6b88fd9d2a31 h1:fQOxqGdVGSkoaPe2H31eFmEC+0CzCXq7D5TqBJM0eXo=
github.com/loft-sh/jsonschema v0.0.0-20240411094214-6b88fd9d2a31/go.mod h1:ffZ5Km5SWWRAIN6wbDXItl95euhFz2uON45H2qjYt+0=
github.com/loft-sh/vcluster-config v0.0.0-20240708084328-0260ef98d153 h1:w6qPVDYEgApfbK1lz5q6gkBnW970Z6yjE5c/XPYUYRA=
github.com/loft-sh/vcluster-config v0.0.0-20240708084328-0260ef98d153/go.mod h1:WOpmiPADZYvI3lzBd47KL/aTH4jSL8YQvI0kDy4YvFg=
github.com/loft-sh/vcluster-config v0.0.0-20240716135058-8f0c5cc020dd h1:thFzgY7HZus0sLbbbX9U1CnDq+iCF8/R0/N/387OQVY=
github.com/loft-sh/vcluster-config v0.0.0-20240716135058-8f0c5cc020dd/go.mod h1:WOpmiPADZYvI3lzBd47KL/aTH4jSL8YQvI0kDy4YvFg=
github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0=
github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc=
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
## `apiKey` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">object</span> <span className="config-field-default"></span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#apiKey}

APIKey defines where to find the platform access key and host. By default, vCluster will search in the following locations in this precedence:
* platform.api.accessKey
* environment variable called LICENSE
* secret specified under external.platform.apiKey.secretName
* secret called "vcluster-platform-api-key" in the vCluster namespace
Expand Down Expand Up @@ -42,6 +41,23 @@ where the vCluster instance is deployed, you need to make sure vCluster has acce



</details>



<details className="config-field" data-expandable="false" open>
<summary>

### `createRBAC` <span className="config-field-required" data-required="false">required</span> <span className="config-field-type">boolean</span> <span className="config-field-default">false</span> <span className="config-field-enum"></span> <span data-pro="false" className="config-field-pro">pro</span> {#apiKey-createRBAC}

CreateRBAC will automatically create the necessary RBAC roles and role bindings to allow vCluster to read the secret specified
in the above namespace, if specified.
This defaults to true.

</summary>



</details>


Expand Down
80 changes: 68 additions & 12 deletions vendor/github.com/loft-sh/vcluster-config/config/config.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 23 additions & 6 deletions vendor/github.com/loft-sh/vcluster-config/config/values.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ github.com/loft-sh/api/v4/pkg/managerfactory
# github.com/loft-sh/apiserver v0.0.0-20240607231110-634aeeab2b36
## explicit; go 1.22.4
github.com/loft-sh/apiserver/pkg/builders
# github.com/loft-sh/vcluster-config v0.0.0-20240708084328-0260ef98d153
# github.com/loft-sh/vcluster-config v0.0.0-20240716135058-8f0c5cc020dd
## explicit; go 1.22.0
github.com/loft-sh/vcluster-config/config
# github.com/mailru/easyjson v0.7.7
Expand Down

0 comments on commit 538f64d

Please sign in to comment.