Skip to content

Commit

Permalink
Add v2.6.0 chart
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidMarchant committed Feb 21, 2022
1 parent 6c201c0 commit c48e1c0
Show file tree
Hide file tree
Showing 6 changed files with 331 additions and 10 deletions.
4 changes: 2 additions & 2 deletions charts/ondat-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
appVersion: "v2.5.0"
appVersion: "v2.6.0"
description: Cloud Native storage for containers
name: ondat-operator
version: 0.5.3
version: 0.5.4
keywords:
- storage
- block-storage
Expand Down
14 changes: 14 additions & 0 deletions charts/ondat-operator/crds/storageoscluster_crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ spec:
disableTelemetry:
description: Disable Telemetry.
type: boolean
enablePortalManager:
description: EnablePortalManager enables Portal Manager.
type: boolean
environment:
additionalProperties:
type: string
Expand Down Expand Up @@ -133,6 +136,12 @@ spec:
type: string
nodeContainer:
type: string
nodeManagerContainer:
type: string
portalManagerContainer:
type: string
upgradeGuardContainer:
type: string
type: object
ingress:
description: 'Ingress defines the ingress configurations used in the cluster. Deprecated: Not used any more, please create your ingress for dashboard on your own.'
Expand Down Expand Up @@ -167,6 +176,11 @@ spec:
namespace:
description: 'Namespace is the kubernetes Namespace where storageos resources are provisioned. Deprecated: StorageOS uses namespace of storageosclusters.storageos.com resource.'
type: string
nodeManagerFeatures:
additionalProperties:
type: string
description: Node manager feature list with optional configurations.
type: object
nodeSelectorTerms:
description: NodeSelectorTerms is to set the placement of storageos pods using node affinity requiredDuringSchedulingIgnoredDuringExecution.
items:
Expand Down
9 changes: 9 additions & 0 deletions charts/ondat-operator/templates/config-maps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,15 @@ data:
{{- if and .Values.cluster.images.node.repository .Values.cluster.images.node.tag }}
RELATED_IMAGE_STORAGEOS_NODE: "{{ .Values.cluster.images.node.repository }}:{{ .Values.cluster.images.node.tag }}"
{{- end }}
{{- if and .Values.cluster.images.nodeManager.repository .Values.cluster.images.nodeManager.tag }}
RELATED_IMAGE_NODE_MANAGER: "{{ .Values.cluster.images.nodeManager.repository }}:{{ .Values.cluster.images.nodeManager.tag }}"
{{- end }}
{{- if and .Values.cluster.images.portalManager.repository .Values.cluster.images.portalManager.tag }}
RELATED_IMAGE_PORTAL_MANAGER: "{{ .Values.cluster.images.portalManager.repository }}:{{ .Values.cluster.images.portalManager.tag }}"
{{- end }}
{{- if and .Values.cluster.images.upgradeGuard.repository .Values.cluster.images.upgradeGuard.tag }}
RELATED_IMAGE_UPGRADE_GUARD: "{{ .Values.cluster.images.upgradeGuard.repository }}:{{ .Values.cluster.images.upgradeGuard.tag }}"
{{- end }}
kind: ConfigMap
metadata:
labels:
Expand Down
9 changes: 8 additions & 1 deletion charts/ondat-operator/templates/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ spec:
port: 8081
initialDelaySeconds: 5
periodSeconds: 10
resources:
limits:
cpu: 250m
memory: 200Mi
requests:
cpu: 10m
memory: 100Mi
securityContext:
allowPrivilegeEscalation: false
volumeMounts:
Expand All @@ -71,7 +78,7 @@ spec:
- containerPort: 8443
name: https
securityContext:
runAsUser: 65532
runAsNonRoot: true
serviceAccountName: {{ template "storageos.serviceAccountName" . }}
terminationGracePeriodSeconds: 10
volumes:
Expand Down
Loading

0 comments on commit c48e1c0

Please sign in to comment.