Skip to content
Snippets Groups Projects
Commit d6f36ce5 authored by Rob Kooper's avatar Rob Kooper
Browse files

manila not manilla

parent 2234ddf0
No related branches found
Tags v2.2.0
No related merge requests found
{{- if and .Values.manilla .Values.manilla.enabled }} {{- if and .Values.manila .Values.manila.enabled }}
apiVersion: argoproj.io/v1alpha1 apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application
metadata: metadata:
name: {{ .Values.cluster.name }}-manilla name: {{ .Values.cluster.name }}-manila
labels: labels:
cluster: {{ .Values.cluster.name | quote }} cluster: {{ .Values.cluster.name | quote }}
app: manilla app: manila
namespace: {{ .Values.cluster.namespace | default "argocd" | quote }} namespace: {{ .Values.cluster.namespace | default "argocd" | quote }}
annotations: annotations:
{{- toYaml .Values.notifications | nindent 4 }} {{- toYaml .Values.notifications | nindent 4 }}
...@@ -13,7 +13,7 @@ spec: ...@@ -13,7 +13,7 @@ spec:
project: {{ .Values.cluster.name }} project: {{ .Values.cluster.name }}
destination: destination:
server: {{ .Values.cluster.url }} server: {{ .Values.cluster.url }}
namespace: manilla-csi namespace: manila-csi
syncPolicy: syncPolicy:
{{- if .Values.sync }} {{- if .Values.sync }}
automated: automated:
...@@ -30,16 +30,16 @@ spec: ...@@ -30,16 +30,16 @@ spec:
pod-security.kubernetes.io/warn: privileged pod-security.kubernetes.io/warn: privileged
source: source:
repoURL: https://kubernetes.github.io/cloud-provider-openstack repoURL: https://kubernetes.github.io/cloud-provider-openstack
chart: openstack-manilla-csi chart: openstack-manila-csi
targetRevision: {{ .Values.manilla.version | quote }} targetRevision: {{ .Values.manila.version | quote }}
helm: helm:
version: v3 version: v3
releaseName: manilla-csi releaseName: manila-csi
values: | values: |
secret: secret:
enabled: true enabled: true
create: true create: true
name: manilla-csi-cloud-config name: manila-csi-cloud-config
data: data:
cloud.conf: |- cloud.conf: |-
[Global] [Global]
......
...@@ -89,7 +89,7 @@ cinder: ...@@ -89,7 +89,7 @@ cinder:
enabled: false enabled: false
version: "2.*" version: "2.*"
manilla: manila:
enabled: false enabled: false
version: "2.*" version: "2.*"
......
...@@ -35,7 +35,7 @@ locals { ...@@ -35,7 +35,7 @@ locals {
longhorn_replicas = var.longhorn_replicas longhorn_replicas = var.longhorn_replicas
nfs_enabled = var.nfs_enabled nfs_enabled = var.nfs_enabled
cinder_enabled = var.cinder_enabled cinder_enabled = var.cinder_enabled
manilla_enabled = var.manilla_enabled manila_enabled = var.manila_enabled
metallb_enabled = var.metallb_enabled metallb_enabled = var.metallb_enabled
floating_ip = var.floating_ip floating_ip = var.floating_ip
ingress_controller_enabled = var.ingress_controller_enabled ingress_controller_enabled = var.ingress_controller_enabled
......
...@@ -122,3 +122,6 @@ spec: ...@@ -122,3 +122,6 @@ spec:
cinder: cinder:
enabled: ${cinder_enabled} enabled: ${cinder_enabled}
manila:
enabled: ${manila_enabled}
...@@ -117,9 +117,9 @@ variable "cinder_enabled" { ...@@ -117,9 +117,9 @@ variable "cinder_enabled" {
default = true default = true
} }
variable "manilla_enabled" { variable "manila_enabled" {
type = bool type = bool
description = "Enable manilla storage" description = "Enable manila storage"
default = false default = false
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment