Skip to content

Commit

Permalink
chore: bump example sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianKramm committed Feb 1, 2024
1 parent a161ef5 commit ea54922
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions examples/import-secrets/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ To use the plugin, create a new vcluster with the `plugin.yaml`:

```
# Use public plugin.yaml
vcluster create my-vcluster -n my-vcluster -f https://raw.githubusercontent.com/loft-sh/vcluster-sdk/main/examples/import-secrets/plugin.yaml
vcluster create vcluster -n vcluster -f https://raw.githubusercontent.com/loft-sh/vcluster-sdk/main/examples/import-secrets/plugin.yaml
```

This will create a new vcluster with the plugin installed. After that, wait for vcluster to start up and check:
Expand All @@ -25,7 +25,7 @@ kubectl create secret generic test-secret \
kubectl annotate secret test-secret -n vcluster vcluster.loft.sh/import=test/my-test
# Check if it was synced to the vcluster
vcluster connect my-vcluster -n my-vcluster -- kubectl get secrets -A
vcluster connect vcluster -n vcluster -- kubectl get secrets -A
```

## Building the Plugin
Expand Down
4 changes: 1 addition & 3 deletions examples/import-secrets/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.21.5

require (
github.com/loft-sh/vcluster v0.19.0-alpha.4.0.20240201075718-1f1fb0a70d6e
github.com/loft-sh/vcluster-sdk v0.4.3-0.20240130140809-e2a54547a3c0
github.com/loft-sh/vcluster-sdk v0.4.3-0.20240201082051-698f0808be24
k8s.io/api v0.29.1
k8s.io/apimachinery v0.29.1
k8s.io/klog/v2 v2.120.1
Expand Down Expand Up @@ -190,5 +190,3 @@ require (
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
sigs.k8s.io/yaml v1.4.0 // indirect
)

replace github.com/loft-sh/vcluster-sdk => ../../
2 changes: 2 additions & 0 deletions examples/import-secrets/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,8 @@ github.com/loft-sh/utils v0.0.29 h1:P/MObccXToAZy2QoJSQDJ+OJx1qHitpFHEVj3QBSNJs=
github.com/loft-sh/utils v0.0.29/go.mod h1:9hlX9cGpWHg3mNi/oBlv3X4ePGDMK66k8MbOZGFMDTI=
github.com/loft-sh/vcluster v0.19.0-alpha.4.0.20240201075718-1f1fb0a70d6e h1:npJHpsXpIF1+ohPx3zE1vskuYIfE+4/gxpx2CuTgTow=
github.com/loft-sh/vcluster v0.19.0-alpha.4.0.20240201075718-1f1fb0a70d6e/go.mod h1:yihiHNlFde+mw3mh6ghvc8sQum6Grf7reHhcrAzf8fM=
github.com/loft-sh/vcluster-sdk v0.4.3-0.20240201082051-698f0808be24 h1:ufnrTXK+en56BZ/TQLkWGsaaeaSAmXdgjy8hYfHu0Uc=
github.com/loft-sh/vcluster-sdk v0.4.3-0.20240201082051-698f0808be24/go.mod h1:JqDZmFw+1bzRB2PS3kq38L4yLj6WUJbFbk2KVKbvlmg=
github.com/loft-sh/vcluster-values v0.0.0-20240131102942-9de6e2694279 h1:GCY9QS317jJIIsnfJ8ZoJ8axHRStIJ+fbsqOS+Fuy2o=
github.com/loft-sh/vcluster-values v0.0.0-20240131102942-9de6e2694279/go.mod h1:J34xtWyMbjM+NRgVWxO0IVDB5XYUaX52jPQNqEAhu4M=
github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
Expand Down

0 comments on commit ea54922

Please sign in to comment.