2

我访问了app-identity-and-access-adapter项目,我想在 Kubernetes 微服务项目中检查它。

安装到 IBM Cloud Kubernetes 集群的 app-identity-and-access-adapter 不起作用。

a)添加存储库作品:

cloud-native-starter % helm repo add appidentityandaccessadapter https://raw.githubusercontent.com/ibm-cloud-security/app-identity-and-access-adapter/master/helm/appidentityandaccessadapter
"appidentityandaccessadapter" has been added to your repositories

b) 安装不起作用:

cloud-native-starter % helm install --name appidentityandaccessadapter appidentityandaccessadapter/appidentityandaccessadapter
Error: secrets "appidentityandaccessadapter-cookie-sig-enc-keys" is forbidden: User "system:serviceaccount:kube-system:default" cannot delete resource "secrets" in API group "" in the namespace "istio-system"

我在互联网上搜索以找到解决方案,但没有成功。

我被指向这里寻求文档的帮助。

环境:

免费的 IBM Cloud Kubernetes 集群

Kubernetes 版本:

Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.0", GitCommit:"2bd9643cee5b3b3a5ecbd3af49d09018f0773c77", GitTreeState:"clean", BuildDate:"2019-09-18T14:36:53Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.9+IKS", GitCommit:"405ef9ab782f5b51dff56dabe3628585d99afbfa", GitTreeState:"clean", BuildDate:"2019-11-13T21:34:44Z", GoVersion:"go1.12.12", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes 上的 Istio:1.4

舵:

Client: &version.Version{SemVer:"v2.15.2", GitCommit:"8dce272473e5f2a7bf58ce79bb5c3691db54c96b", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.15.2", GitCommit:"8dce272473e5f2a7bf58ce79bb5c3691db54c96b", GitTreeState:"clean"}
4

1 回答 1

0

现在我可以安装了。

步骤1:

我将 helm 安装的版本从 v2.15.2 更改为version.BuildInfo{Version:"v3.0.1", GitCommit:"7c22ef9ce89e0ebeb7125ba2ebf7d421f3e82ffa", GitTreeState:"clean", GoVersion:"go1.13.4"}

第 2 步:将 Kubernetes 命名空间设置为 istio-system

$ kubectl config set-context --current --namespace=istio-system

第 3 步:

我没有使用文档化的声明,这对于 helm version v3.0.1 无效

  • helm install --name appidentityandaccessadapter ....

我使用了以下语句:

  • helm install appidentityandaccessadapter ....

然后可以安装appidentityandaccessadapter

$ helm install  appidentityandaccessadapter appidentityandaccessadapter/appidentityandaccessadapter
NAME: appidentityandaccessadapter
LAST DEPLOYED: Fri Dec 13 11:39:10 2019
NAMESPACE: istio-system
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
App Identity and Access Adapter installed successfully!

顺便一提:

你应该知道,你也可以在IBM AppID 服务文档中找到安装步骤

于 2019-12-12T13:19:24.743 回答