Commit e182d652 authored by Enrique Alcantara's avatar Enrique Alcantara

Add role ARN state

Stores ARN role provided by the user
parent 75ad40f6
...@@ -28,7 +28,7 @@ export default { ...@@ -28,7 +28,7 @@ export default {
}, },
data() { data() {
return { return {
roleArn: '', roleArn: this.$store.state.roleArn,
}; };
}, },
computed: { computed: {
......
...@@ -23,6 +23,7 @@ export default el => { ...@@ -23,6 +23,7 @@ export default el => {
createClusterPath, createClusterPath,
signOutPath, signOutPath,
externalLinkIcon, externalLinkIcon,
roleArn,
} = el.dataset; } = el.dataset;
return new Vue({ return new Vue({
...@@ -36,6 +37,7 @@ export default el => { ...@@ -36,6 +37,7 @@ export default el => {
createRolePath, createRolePath,
createClusterPath, createClusterPath,
signOutPath, signOutPath,
roleArn,
}, },
awsCredentials: { awsCredentials: {
accessKeyId, accessKeyId,
......
...@@ -12,6 +12,8 @@ export default () => ({ ...@@ -12,6 +12,8 @@ export default () => ({
accountId: '', accountId: '',
externalId: '', externalId: '',
roleArn: '',
clusterName: '', clusterName: '',
environmentScope: '*', environmentScope: '*',
kubernetesVersion, kubernetesVersion,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment