Skip to content

Commit 15e103f

Browse files
committed
Update openfaas pro components to new ghcr repo
OpenFaaS Pro components are now published via ghcr.io/openfaasltd Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent 6294911 commit 15e103f

17 files changed

+354
-279
lines changed

chart/kafka-connector/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v1
22
description: Connect OpenFaaS functions to Kafka topics
33
name: kafka-connector
4-
version: 0.6.8
4+
version: 0.7.0
55
sources:
66
- https://github.com/openfaas/faas-netes
77
home: https://www.openfaas.com

chart/kafka-connector/values.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1+
# The Kafka connector is an OpenFaaS Pro feature
2+
#
3+
# Purchase a license at https://openfaas.com/support/
4+
15
# You will need to create a license named "openfaas-license" - see the
26
# chart README for detailed instructions.
37

4-
image: ghcr.io/openfaas/kafka-connector-pro:0.6.0
8+
image: ghcr.io/openfaasltd/kafka-connector:0.6.1
59

610
# Output detailed logs from the consumer group's lifecycle
711
sessionLogging: true

chart/openfaas/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
type: application
33
description: OpenFaaS - Serverless Functions Made Simple
44
name: openfaas
5-
version: 10.0.11
5+
version: 10.0.12
66
sources:
77
- https://github.com/openfaas/faas
88
- https://github.com/openfaas/faas-netes

chart/openfaas/templates/scaler-dep.yaml renamed to chart/openfaas/templates/autoscaler-dep.yaml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,51 @@
1-
{{- if .Values.proScaler.enabled }}
1+
{{- if .Values.autoscaler.enabled }}
22
apiVersion: apps/v1
33
kind: Deployment
44
metadata:
55
labels:
66
app: {{ template "openfaas.name" . }}
77
chart: {{ .Chart.Name }}-{{ .Chart.Version }}
8-
component: scaler
8+
component: autoscaler
99
heritage: {{ .Release.Service }}
1010
release: {{ .Release.Name }}
11-
name: scaler
11+
name: autoscaler
1212
namespace: {{ .Release.Namespace | quote }}
1313
spec:
14-
replicas: {{ .Values.proScaler.replicas }}
14+
replicas: {{ .Values.autoscaler.replicas }}
1515
selector:
1616
matchLabels:
17-
app: scaler
17+
app: autoscaler
1818
template:
1919
metadata:
2020
annotations:
2121
prometheus.io/scrape: "false"
2222
labels:
23-
app: scaler
23+
app: autoscaler
2424
spec:
2525
volumes:
2626
{{- if .Values.basic_auth }}
2727
- name: auth
2828
secret:
2929
secretName: basic-auth
3030
{{- end }}
31-
{{- if .Values.proScaler.enabled }}
31+
{{- if .Values.autoscaler.enabled }}
3232
- name: license
3333
secret:
3434
secretName: openfaas-license
3535
{{- end }}
3636
containers:
37-
- name: scaler
37+
- name: autoscaler
3838
resources:
39-
{{- .Values.proScaler.resources | toYaml | nindent 12 }}
40-
{{- if .Values.proScaler.enabled }}
41-
image: {{ .Values.proScaler.image }}
39+
{{- .Values.autoscaler.resources | toYaml | nindent 12 }}
40+
{{- if .Values.autoscaler.enabled }}
41+
image: {{ .Values.autoscaler.image }}
4242
{{- else }}
43-
image: {{ .Values.proScaler.image }}
43+
image: {{ .Values.autoscaler.image }}
4444
{{- end }}
4545
imagePullPolicy: {{ .Values.openfaasImagePullPolicy }}
46-
{{- if .Values.proScaler.enabled }}
46+
{{- if .Values.autoscaler.enabled }}
4747
command:
48-
- "/usr/bin/scaler"
48+
- "/usr/bin/autoscaler"
4949
- "-license-file=/var/secrets/license/license"
5050
{{- end }}
5151
env:
@@ -63,18 +63,18 @@ spec:
6363

6464
{{- if .Values.basic_auth }}
6565
- name: secret_mount_path
66-
value: "/var/secrets/scaler"
66+
value: "/var/secrets/autoscaler"
6767
- name: basic_auth
6868
value: "{{ .Values.basic_auth }}"
6969
volumeMounts:
70-
{{- if .Values.proScaler.enabled }}
70+
{{- if .Values.autoscaler.enabled }}
7171
- name: license
7272
readOnly: true
7373
mountPath: "/var/secrets/license"
7474
{{- end }}
7575
- name: auth
7676
readOnly: true
77-
mountPath: "/var/secrets/scaler"
77+
mountPath: "/var/secrets/autoscaler"
7878
{{- end }}
7979
{{- with .Values.nodeSelector }}
8080
nodeSelector:

chart/openfaas/values.yaml

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
functionNamespace: openfaas-fn # Default namespace for functions
22

3-
# See https://www.openfaas.com/support for more
3+
# Contact us via https://www.openfaas.com/support to purchase a license
44
openfaasPro: false
55

6-
serviceType: NodePort
7-
exposeServices: true
8-
async: true
9-
httpProbe: true # Setting to true will use HTTP for readiness and liveness probe on the OpenFaaS system Pods (incompatible with Istio < 1.1.5)
10-
rbac: true
11-
clusterRole: false # Set to true for multiple namespaces
12-
createCRDs: true
13-
basic_auth: true
14-
generateBasicAuth: false
6+
httpProbe: true # Setting to true will use HTTP for readiness and liveness probe on the OpenFaaS core components
7+
clusterRole: false # Set to true for multiple namespaces, pro scaler and CPU/RAM metrics in OpenFaaS REST API
8+
createCRDs: true # Set to false if applying CRDs in another way
9+
10+
basic_auth: true # Authentication for core components, no good reason to disable this
11+
rbac: true # Kubernetes RBAC, no good reason to disable this
12+
generateBasicAuth: false # Set to false if applying credentials separately from the chart, otherwise set to true
1513
securityContext: true
1614

15+
exposeServices: true
16+
serviceType: NodePort # serviceType for OpenFaaS gateway
17+
async: true # No known reason to disable this, kept for legacy reasons
18+
1719
# Set to true to use legacy / community-edition auto-scaling
1820
# when openfaasPro is set to true to use the original
1921
# auto-scaling logic
@@ -31,10 +33,10 @@ openfaasImagePullPolicy: "Always"
3133
# clusterRole is also recommended for collecting CPU/RAM metrics for Pro add-ons
3234

3335
# OpenFaaS Pro
34-
# Advanced auto-scaling on RPS, CPU and in-flight requests
36+
# Advanced auto-scaler for scaling functions on RPS, CPU and in-flight requests
3537
# Includes: scale to zero
36-
proScaler:
37-
image: alexellis2/openfaas-pro-scaler:0.1.3
38+
autoscaler:
39+
image: ghcr.io/openfaasltd/autoscaler:0.2.0
3840
replicas: 1
3941
enabled: false
4042
resources:
@@ -46,6 +48,7 @@ proScaler:
4648
# OpenFaaS Pro
4749
# Original scale to zero feature
4850
# set "enabled=false" when using proScaler
51+
# since the proScaler handles scaling to zero now.
4952
faasIdler:
5053
image: ghcr.io/openfaas/faas-idler-pro:0.4.4
5154
replicas: 1
@@ -119,8 +122,8 @@ faasnetes:
119122
readTimeout: "60s"
120123
writeTimeout: "60s"
121124
imagePullPolicy: "Always" # Image pull policy for deployed functions
122-
httpProbe: true # Setting to true will use HTTP for readiness and liveness probe on Pods (incompatible with Istio < 1.1.5)
123-
setNonRootUser: false
125+
httpProbe: true # Setting to true will use HTTP for readiness and liveness probe on function pods
126+
setNonRootUser: false # It's recommended to set this to "true", but test your images before committing to it
124127
readinessProbe:
125128
initialDelaySeconds: 2
126129
timeoutSeconds: 1 # Tuned-in to run checks early and quickly to support fast cold-start from zero replicas

chart/sqs-connector/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v1
22
description: Connect OpenFaaS functions to SQS topics
33
name: sqs-connector
4-
version: 0.0.4
4+
version: 0.1.0
55
sources:
66
- https://github.com/openfaas/faas-netes
77
home: https://www.openfaas.com

chart/sqs-connector/values.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1+
# The Kafka connector is an OpenFaaS Pro feature
2+
#
3+
# Purchase a license at https://openfaas.com/support/
4+
15
# You will need to create a license named "openfaas-license" - see the
26
# chart README for detailed instructions.
37

4-
image: alexellis/sqs-connector:0.0.4-amd64
8+
image: ghcr.io/openfaasltd/sqs-connector:0.1.0
59

610
replicas: 1
711

docs/cron-connector-0.5.3.tgz

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)