Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] feat(http-add-on): Add watchLabel for HTTPScaledObjects #695

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion http-add-on/templates/operator/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ spec:
app.kubernetes.io/component: operator
{{- include "keda-http-add-on.labels" . | indent 8 }}
spec:
imagePullSecrets:
imagePullSecrets:
{{- toYaml .Values.operator.imagePullSecrets | nindent 8 }}
serviceAccountName: {{ .Chart.Name }}
{{- if .Values.podSecurityContext.operator }}
Expand Down Expand Up @@ -64,6 +64,8 @@ spec:
value: "{{ .Release.Namespace }}"
- name: KEDA_HTTP_OPERATOR_WATCH_NAMESPACE
value: "{{ .Values.operator.watchNamespace }}"
- name: KEDA_HTTP_WATCH_LABEL
value: "{{ .Values.operator.watchLabel }}"
ports:
- name: metrics
containerPort: 8080
Expand Down
2 changes: 2 additions & 0 deletions http-add-on/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ operator:
imagePullSecrets: []
# -- The namespace to watch for new `HTTPScaledObject`s. Leave this blank (i.e. `""`) to tell the operator to watch all namespaces.
watchNamespace: ""
# -- label to watch for new `HTTPScaledObject`s. Leave this blank (i.e. `""`) to watch HTTPScaledObjects in all labels.
watchLabel: ""
# -- The image pull policy for the operator component
pullPolicy: Always
# operator pod resource limits
Expand Down
Loading