Skip to content

amazon-region not set when given iam-role #214

@xubofei1983

Description

@xubofei1983

Pachd server failed to start: error setting up Block API GRPC Server: amazon-region not found.

I did set region in the value but not applied.

Loos like it would set amazon-region only if iamRole is not set. But server does requires it. Am I missing something?

{{- if and (not .Values.pachd.storage.amazon.iamRole) (not .Values.pachd.storage.amazon.vault.address) }}
amazon-id: {{ .Values.pachd.storage.amazon.id | toString | b64enc | quote }}
amazon-region: {{ .Values.pachd.storage.amazon.region | toString | b64enc | quote }}
amazon-secret: {{ .Values.pachd.storage.amazon.secret | toString | b64enc | quote }}
amazon-token: {{ .Values.pachd.storage.amazon.token | toString | b64enc | quote }}
custom-endpoint: {{ .Values.pachd.storage.amazon.customEndpoint | toString | b64enc | quote }}
{{- else if .Values.pachd.storage.amazon.vault.address -}}
amazon-vault-addr: {{ .Values.pachd.storage.amazon.vault.address | b64enc | quote }}
amazon-vault-role: {{ .Values.pachd.storage.amazon.vault.role | b64enc | quote }}
amazon-vault-token: {{ .Values.pachd.storage.amazon.vault.token | b64enc | quote }}
{{- end }}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions