Skip to content

Commit 2f5a76f

Browse files
authored
Merge branch 'main' into fix-extension-service-ref
2 parents 2cda984 + c647418 commit 2f5a76f

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ To just build the plugin image and push it to the registry, run:
1818

1919
```
2020
# Build
21-
docker build . -t docker.io/aikoven/vcluster-contour-sync-plugin:0.2.2
21+
docker build . -t docker.io/aikoven/vcluster-contour-sync-plugin:0.2.3
2222
2323
# Push
24-
docker push docker.io/aikoven/vcluster-contour-sync-plugin:0.2.2
24+
docker push docker.io/aikoven/vcluster-contour-sync-plugin:0.2.3
2525
```
2626

2727
Then exchange the image in the `plugin.yaml`

plugin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# with the other vcluster values during vcluster create or helm install.
33
plugin:
44
contour-sync:
5-
image: docker.io/aikoven/vcluster-contour-sync-plugin:0.2.2
5+
image: docker.io/aikoven/vcluster-contour-sync-plugin:0.2.3
66
imagePullPolicy: IfNotPresent
77
rbac:
88
role:

syncers/http_proxy.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ func translateHttpProxySpec(namespace string, physicalNamespace string, vSpec *p
118118
}
119119
}
120120

121-
if retSpec.VirtualHost != nil && retSpec.VirtualHost.Authorization != nil && retSpec.VirtualHost.Authorization.ExtensionServiceRef.Name != "" {
121+
if retSpec.VirtualHost != nil && retSpec.VirtualHost.Authorization != nil &&
122+
retSpec.VirtualHost.Authorization.ExtensionServiceRef.Name != "" {
122123
vExtensionServiceName := retSpec.VirtualHost.Authorization.ExtensionServiceRef.Name
123124
vExtensionServiceNamespace := retSpec.VirtualHost.Authorization.ExtensionServiceRef.Namespace
124125
if vExtensionServiceNamespace == "" {

0 commit comments

Comments
 (0)