Skip to content

Commit 1294728

Browse files
authored
add oracle opsrequest forms (#1026)
Signed-off-by: Samiul <samiul@appscode.com>
1 parent d0a6cfa commit 1294728

10 files changed

Lines changed: 6370 additions & 8 deletions

File tree

charts/kubedbcom-oracle-editor-options/templates/autoscaler.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
{{- end }}
4343
{{- $instanceMap | toJson | trim -}}
4444
{{- else }}
45-
{{- "{}" | toJson | trim -}}
45+
{{- dict | toJson | trim -}}
4646
{{- end }}
4747
{{- end }}
4848

charts/kubedbcom-oracle-editor-options/templates/db.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,22 +59,22 @@ metadata:
5959
namespace: {{ .Release.Namespace }}
6060
labels:
6161
{{- include "kubedbcom-oracle-editor-options.labels" . | nindent 4 }}
62-
{{- if .Values.spec.admin.archiver.enable.default }}
62+
{{- if .Values.spec.admin.archiver.enable.default }}
6363
kubedb.com/archiver: "true"
6464
kubedb.com/archiving-via: {{ .Values.spec.admin.archiver.via }}
65-
{{- end }}
65+
{{- end }}
6666
annotations:
6767
app.kubernetes.io/cluster-tier: {{ .Values.spec.admin.clusterTier.default }}
6868
{{- if $profiles }}
69-
kubernetes.io/instance-type: {{ printf "%s" (include "resource-profiles" .) }}
69+
kubernetes.io/instance-type: {{ printf "'%s'" (include "resource-profiles" .) }}
7070
{{- end -}}
7171
{{- if and (eq .Values.spec.backup.tool "KubeStash") (.Values.spec.admin.backup.enable.default) (eq .Values.spec.admin.backup.by "BackupBlueprint") }}
7272
blueprint.kubestash.com/name: {{ .Values.metadata.resource.kind | lower }}-blueprint
7373
blueprint.kubestash.com/namespace: kubedb
7474
{{- end }}
75-
{{- if .Values.spec.annotations }}
75+
{{- if .Values.spec.annotations }}
7676
{{- include "kubedbcom-oracle-editor-options.annotations" . | nindent 4 }}
77-
{{- end }}
77+
{{- end }}
7878
spec:
7979
version: {{ .Values.spec.admin.databases.Oracle.versions.default | quote }}
8080
{{- if .Values.spec.authSecret.name }}

0 commit comments

Comments
 (0)