Skip to content

Commit 60b3d65

Browse files
Ani1357svcAPLBotj-zimnowoda
authored
feat: adding knative ORCS support (#2357)
Co-authored-by: svcAPLBot <[email protected]> Co-authored-by: jeho <[email protected]>
1 parent 75e95e4 commit 60b3d65

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

values/knative-serving/knative-serving-cr.gotmpl

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,28 @@
11
{{- $v := .Values }}
22
{{- $k := $v.apps.knative -}}
3+
{{- $knativeServingVersion := "1.18" -}}
4+
{{- $tag := "v1.18.1" -}}
5+
{{- $netIstioTag := "v1.18.0" -}}
36
apiVersion: operator.knative.dev/v1beta1
47
kind: KnativeServing
58
metadata:
69
name: knative-serving
710
namespace: knative-serving
811
spec:
9-
version: "1.15"
12+
{{- if $v.otomi.linodeLkeImageRepository }}
13+
# Use private repository configuration when ORCS is enabled
14+
# https://knative.dev/docs/install/operator/configuring-serving-cr/#private-repository-and-private-secrets
15+
registry:
16+
default: "{{ $v.otomi.linodeLkeImageRepository }}/gcr/knative-releases/knative.dev/serving/cmd/${NAME}:{{ $tag }}"
17+
override:
18+
# Overriding paths for images not under "gcr.io/knative-releases/knative.dev/serving/cmd" otherwise the system
19+
# will try to pull them from "mirrored.registry/knative-releases/knative.dev/serving/cmd" which does not exist.
20+
migrate: "{{ $v.otomi.linodeLkeImageRepository }}/gcr/knative-releases/knative.dev/pkg/apiextensions/storageversion/cmd/migrate:{{ $tag }}"
21+
cleanup: "{{ $v.otomi.linodeLkeImageRepository }}/gcr/knative-releases/knative.dev/serving/pkg/cleanup/cmd/cleanup:{{ $tag }}"
22+
net-istio-controller/controller: "{{ $v.otomi.linodeLkeImageRepository }}/gcr/knative-releases/knative.dev/net-istio/cmd/controller:{{ $netIstioTag }}"
23+
net-istio-controller/webhook: "{{ $v.otomi.linodeLkeImageRepository }}/gcr/knative-releases/knative.dev/net-istio/cmd/webhook:{{ $netIstioTag }}"
24+
{{- end }}
25+
version: "{{ $knativeServingVersion }}"
1026
{{- if $v._derived.untrustedCA }}
1127
controller-custom-certs:
1228
name: certs
@@ -57,7 +73,7 @@ spec:
5773
features:
5874
podspec-securitycontext: enabled
5975
ingress:
60-
istio:
76+
istio:
6177
enabled: true
6278
knative-ingress-gateway:
6379
selector:

0 commit comments

Comments
 (0)