通过 将 Spinnaker 部署到 EKS 时hal deploy apply
,Spinnaker Clouddriver pod 会出现CrashLoopBackOff
以下错误,
工厂方法“awsProvider”抛出异常;嵌套异常是 java.lang.NullPointerException: Cannot get property 'name' on null object
我的 Halyard 配置如下,
currentDeployment: default
deploymentConfigurations:
- name: default
version: 1.17.6
providers:
appengine:
enabled: false
accounts: []
aws:
enabled: true
accounts:
- name: my-account
requiredGroupMembership: []
providerVersion: V1
permissions: {}
accountId: '010101010101' # my account id here
regions: []
assumeRole: Spinnaker-Clouddriver-Role
lifecycleHooks: []
primaryAccount: my-account
bakeryDefaults:
baseImages: []
defaultKeyPairTemplate: '{{name}}-keypair'
defaultRegions:
- name: us-east-1
defaults:
iamRole: BaseIAMRole
我的Spinnaker-Clouddriver-Role
IAM 角色目前拥有完全权限。我怎样才能解决这个问题?
这是完整的日志https://gist.github.com/agentmilindu/cfbebffe46b93458df8158f9355e4041