helm/mysql-innodbcluster/templates/deployment_cluster.yaml [334:370]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        {{- else if hasKey $backupProfile.storage "ociObjectStorage" }}
      storage:
        ociObjectStorage:
        {{- if $backupProfile.storage.ociObjectStorage.prefix }}
          prefix: {{ $backupProfile.storage.ociObjectStorage.prefix }}
        {{- end }}
          bucketName: {{ required "bucketName is required"  $backupProfile.storage.ociObjectStorage.bucketName }}
          credentials: {{ required "credentials is required"  $backupProfile.storage.ociObjectStorage.credentials }}
        {{- else if hasKey $backupProfile.storage "s3" }}
      storage:
        s3:
        {{- if $backupProfile.storage.s3.prefix }}
          prefix: {{ $backupProfile.storage.s3.prefix }}
        {{- end }}
          bucketName: {{ required "bucketName is required" $backupProfile.storage.s3.bucketName }}
          config: {{ required "config is required" $backupProfile.storage.s3.config }}
          {{- if $backupProfile.storage.s3.profile }}
          profile: {{ $backupProfile.storage.s3.profile }}
          {{- end }}
          {{- if $backupProfile.storage.s3.endpoint }}
          endpoint: {{ $backupProfile.storage.s3.endpoint }}
          {{- end }}
        {{- else if hasKey $backupProfile.storage "azure" }}
      storage:
        azure:
        {{- if $backupProfile.storage.azure.prefix }}
          prefix: {{ $backupProfile.storage.azure.prefix }}
        {{- end }}
          containerName: {{ required "containerName is required" $backupProfile.storage.azure.containerName }}
          config: {{ required "config is required" $backupProfile.storage.azure.config }}
        {{- else if hasKey $backupProfile.storage "persistentVolumeClaim" }}
      storage:
        persistentVolumeClaim: {{ toYaml $backupProfile.storage.persistentVolumeClaim | nindent 12}}
        {{- else -}}
          {{- fail "dumpInstance backup profile $profile.name has empty storage section - neither ociObjectStorage nor persistentVolumeClaim defined" }}
        {{- end -}}
      {{- else }}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



helm/mysql-innodbcluster/templates/deployment_cluster.yaml [410:446]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        {{- else if hasKey $backupProfile.storage "ociObjectStorage" }}
        storage:
          ociObjectStorage:
          {{- if $backupProfile.storage.ociObjectStorage.prefix }}
            prefix: {{ $backupProfile.storage.ociObjectStorage.prefix }}
          {{- end }}
            bucketName: {{ required "bucketName is required"  $backupProfile.storage.ociObjectStorage.bucketName }}
            credentials: {{ required "credentials is required"  $backupProfile.storage.ociObjectStorage.credentials }}
        {{- else if hasKey $backupProfile.storage "s3" }}
        storage:
          s3:
          {{- if $backupProfile.storage.s3.prefix }}
            prefix: {{ $backupProfile.storage.s3.prefix }}
          {{- end }}
            bucketName: {{ required "bucketName is required" $backupProfile.storage.s3.bucketName }}
            config: {{ required "config is required" $backupProfile.storage.s3.config }}
          {{- if $backupProfile.storage.s3.profile }}
            profile: {{ $backupProfile.storage.s3.profile }}
          {{- end }}
          {{- if $backupProfile.storage.s3.endpoint }}
            endpoint: {{ $backupProfile.storage.s3.endpoint }}
          {{- end }}
        {{- else if hasKey $backupProfile.storage "azure" }}
        storage:
          azure:
          {{- if $backupProfile.storage.azure.prefix }}
            prefix: {{ $backupProfile.storage.azure.prefix }}
          {{- end }}
            containerName: {{ required "containerName is required" $backupProfile.storage.azure.containerName }}
            config: {{ required "config is required" $backupProfile.storage.azure.config }}
        {{- else if hasKey $backupProfile.storage "persistentVolumeClaim" }}
        storage:
          persistentVolumeClaim: {{ toYaml $backupProfile.storage.persistentVolumeClaim | nindent 12}}
        {{- else -}}
          {{- fail "dumpInstance backup profile $profile.name has empty storage section - neither ociObjectStorage nor persistentVolumeClaim defined" }}
        {{- end -}}
      {{- else }}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



