deployment: change aws mountPath
As assisted-service is based on ubi8 instead of scratch now,
aws credenetials file is expected at /root/.aws/ path by default.
Hence, set AWS_SHARED_CREDENTIALS_FILE env var to /etc/.aws/credentials
@@ -96,9 +96,11 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
+ - name: AWS_SHARED_CREDENTIALS_FILE
+ value: /etc/.aws/credentials
volumeMounts:
- name: route53-creds
- mountPath: "/.aws"
+ mountPath: "/etc/.aws"
readOnly: true
volumes:
- name: route53-creds
