Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xubofei1983 opened this issue Oct 21, 2021 · 1 comment
Open

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

xubofei1983 opened this issue Oct 21, 2021 · 1 comment

Comments

@xubofei1983
Copy link

xubofei1983 commented Oct 21, 2021

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 }}

@mindthevirt
Copy link

Agent Dale Georg linked Freshdesk ticket 334 for this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants