Skip to content

Commit

Permalink
Merge pull request #40 from projectsyn/update-images
Browse files Browse the repository at this point in the history
Update vcluster images
  • Loading branch information
bastjan authored Oct 19, 2022
2 parents b56cac6 + 1d597ca commit 8f3b9ef
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 11 deletions.
6 changes: 3 additions & 3 deletions class/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ parameters:
k3s:
registry: docker.io
image: rancher/k3s
tag: v1.24.3-k3s1
tag: v1.25.2-k3s1
syncer:
registry: docker.io
image: loftsh/vcluster
tag: "0.11.0"
tag: "0.12.2"
kubectl:
registry: docker.io
image: bitnami/kubectl
tag: "1.24.4"
tag: "1.25.3"

storage:
persistence: true
Expand Down
14 changes: 14 additions & 0 deletions component/cluster.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,19 @@ local cluster = function(name, options)
'watch',
],
},
{
apiGroups: [
'networking.k8s.io',
],
resources: [
'ingressclasses',
],
verbs: [
'get',
'list',
'watch',
],
},
{
apiGroups: [
'apps',
Expand Down Expand Up @@ -299,6 +312,7 @@ local cluster = function(name, options)
args: [
'--name=' + name,
'--out-kube-config-secret=vc-%s-kubeconfig' % name,
'--sync=ingresses',
] + tlsSANs + options.syncer.additional_args,
livenessProbe: {
httpGet: {
Expand Down
13 changes: 11 additions & 2 deletions tests/golden/defaults/defaults/defaults/10_cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ rules:
- get
- list
- watch
- apiGroups:
- networking.k8s.io
resources:
- ingressclasses
verbs:
- get
- list
- watch
- apiGroups:
- apps
resources:
Expand Down Expand Up @@ -165,7 +173,7 @@ spec:
command:
- /bin/k3s
env: []
image: docker.io/rancher/k3s:v1.24.3-k3s1
image: docker.io/rancher/k3s:v1.25.2-k3s1
name: vcluster
resources:
limits:
Expand All @@ -183,12 +191,13 @@ spec:
- args:
- --name=defaults
- --out-kube-config-secret=vc-defaults-kubeconfig
- --sync=ingresses
- --tls-san=defaults.syn-defaults.svc.cluster.local
- --tls-san=defaults.syn-defaults.svc
- --tls-san=defaults.syn-defaults
- --tls-san=defaults
env: []
image: docker.io/loftsh/vcluster:0.11.0
image: docker.io/loftsh/vcluster:0.12.2
livenessProbe:
failureThreshold: 10
httpGet:
Expand Down
15 changes: 12 additions & 3 deletions tests/golden/oidc/oidc/oidc/10_cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ rules:
- get
- list
- watch
- apiGroups:
- networking.k8s.io
resources:
- ingressclasses
verbs:
- get
- list
- watch
- apiGroups:
- apps
resources:
Expand Down Expand Up @@ -169,7 +177,7 @@ spec:
command:
- /bin/k3s
env: []
image: docker.io/rancher/k3s:v1.24.3-k3s1
image: docker.io/rancher/k3s:v1.25.2-k3s1
name: vcluster
resources:
limits:
Expand All @@ -187,12 +195,13 @@ spec:
- args:
- --name=oidc
- --out-kube-config-secret=vc-oidc-kubeconfig
- --sync=ingresses
- --tls-san=oidc.testns.svc.cluster.local
- --tls-san=oidc.testns.svc
- --tls-san=oidc.testns
- --tls-san=oidc
env: []
image: docker.io/loftsh/vcluster:0.11.0
image: docker.io/loftsh/vcluster:0.12.2
livenessProbe:
failureThreshold: 10
httpGet:
Expand Down Expand Up @@ -393,7 +402,7 @@ spec:
value: /export
- name: VCLUSTER_SERVER_URL
value: https://oidc:443
image: docker.io/bitnami/kubectl:1.24.4
image: docker.io/bitnami/kubectl:1.25.3
imagePullPolicy: IfNotPresent
name: oidc-synthesize
ports: []
Expand Down
15 changes: 12 additions & 3 deletions tests/golden/openshift/openshift/openshift/10_cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ rules:
- get
- list
- watch
- apiGroups:
- networking.k8s.io
resources:
- ingressclasses
verbs:
- get
- list
- watch
- apiGroups:
- apps
resources:
Expand Down Expand Up @@ -171,7 +179,7 @@ spec:
command:
- /bin/k3s
env: []
image: docker.io/rancher/k3s:v1.24.3-k3s1
image: docker.io/rancher/k3s:v1.25.2-k3s1
name: vcluster
resources:
limits:
Expand All @@ -189,12 +197,13 @@ spec:
- args:
- --name=openshift
- --out-kube-config-secret=vc-openshift-kubeconfig
- --sync=ingresses
- --tls-san=openshift.syn-openshift.svc.cluster.local
- --tls-san=openshift.syn-openshift.svc
- --tls-san=openshift.syn-openshift
- --tls-san=openshift
env: []
image: docker.io/loftsh/vcluster:0.11.0
image: docker.io/loftsh/vcluster:0.12.2
livenessProbe:
failureThreshold: 10
httpGet:
Expand Down Expand Up @@ -491,7 +500,7 @@ spec:
value: syn-openshift
- name: VCLUSTER_STS_NAME
value: openshift
image: docker.io/bitnami/kubectl:1.24.4
image: docker.io/bitnami/kubectl:1.25.3
imagePullPolicy: IfNotPresent
name: openshift
ports: []
Expand Down

0 comments on commit 8f3b9ef

Please sign in to comment.