diff options
author | Rajamohan Raj <rajamohan.raj@intel.com> | 2020-08-04 00:18:16 +0000 |
---|---|---|
committer | Ritu Sood <Ritu.Sood@intel.com> | 2020-08-21 00:12:44 +0000 |
commit | e3e6c103f6e1cd1431ddacd23d500f39fbd1bcee (patch) | |
tree | 25ab66ea5bca905d3251f830a8b7183b1ae8ba1e /kud/tests/vnfs/comp-app/collection/operators-latest/helm/operator/templates/stateful_set.yaml | |
parent | 38ed3fbf85636ad5f73538c2de07cce72499f5bf (diff) |
Updating m3db & m3db operator charts
In this patch, updated all the charts related to m3db.
Developed scripts for deployment m3db stack through
orchestrator.
Issue-ID: MULTICLOUD-1112
Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com>
Change-Id: I42677809709fc4d12f16a156e563d6618a8f8437
Diffstat (limited to 'kud/tests/vnfs/comp-app/collection/operators-latest/helm/operator/templates/stateful_set.yaml')
-rw-r--r-- | kud/tests/vnfs/comp-app/collection/operators-latest/helm/operator/templates/stateful_set.yaml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/kud/tests/vnfs/comp-app/collection/operators-latest/helm/operator/templates/stateful_set.yaml b/kud/tests/vnfs/comp-app/collection/operators-latest/helm/operator/templates/stateful_set.yaml new file mode 100644 index 00000000..e4ed3366 --- /dev/null +++ b/kud/tests/vnfs/comp-app/collection/operators-latest/helm/operator/templates/stateful_set.yaml @@ -0,0 +1,30 @@ +apiVersion: apps/v1 +kind: StatefulSet +metadata: + name: {{ .Values.operator.name }} + namespace: {{ .Release.Namespace }} +spec: + serviceName: {{ .Values.operator.name }} + replicas: 1 + selector: + matchLabels: + name: {{ .Values.operator.name }} + template: + metadata: + labels: + name: {{ .Values.operator.name }} + spec: + securityContext: + runAsNonRoot: true + runAsUser: 65534 + runAsGroup: 65534 + containers: + - name: {{ .Values.operator.name }} + image: {{ .Values.image.repository}}:{{ .Values.image.tag }} + command: + - m3db-operator + imagePullPolicy: Always + env: + - name: ENVIRONMENT + value: {{ .Values.environment }} + serviceAccount: {{ .Values.operator.name }} |