Skip to content
Merged
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
1 change: 1 addition & 0 deletions chart/searchlight/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ The following table lists the configurable parameters of the Searchlight chart a
| `criticalAddon` | If true, installs Searchlight operator as critical addon | `false` |
| `affinity` | Affinity rules for pod assignment | `{}` |
| `nodeSelector` | Node labels for pod assignment | `{}` |
| `nodeSelector` | Node labels for pod assignment | `{}` |
| `tolerations` | Tolerations used pod assignment | `{}` |
| `rbac.create` | If `true`, create and use RBAC resources | `true` |
| `serviceAccount.create` | If `true`, create a new service account | `true` |
Expand Down
9 changes: 8 additions & 1 deletion chart/searchlight/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ template "searchlight.fullname" . }}
Expand All @@ -8,8 +8,15 @@ metadata:
app: "{{ template "searchlight.name" . }}"
heritage: "{{ .Release.Service }}"
release: "{{ .Release.Name }}"
{{- if .Values.annotations }}
annotations:
{{ toYaml .Values.annotations | indent 4 }}
{{- end }}
spec:
replicas: 1
selector:
matchLabels:
app: "{{ template "searchlight.name" . }}"
template:
metadata:
labels:
Expand Down
4 changes: 4 additions & 0 deletions chart/searchlight/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ icinga:
##
imagePullPolicy: IfNotPresent

## Annotations passed to operator pod(s).
##
annotations: {}

## Node labels for pod assignment
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
##
Expand Down
5 changes: 4 additions & 1 deletion hack/deploy/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ data:
ICINGA_WEB_UI_PASSWORD: Y2hhbmdlaXQ=
${SEARCHLIGHT_ICINGA_API_PASSWORD}
---
apiVersion: apps/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: searchlight-operator
Expand All @@ -18,6 +18,9 @@ metadata:
app: searchlight
spec:
replicas: 1
selector:
matchLabels:
app: searchlight
template:
metadata:
labels:
Expand Down