简体   繁体   English

我无法在 Kubernetes 上安装 app-identity-and-access-adapter

[英]I can't install the app-identity-and-access-adapter on Kubernetes

veerI visited the project app-identity-and-access-adapter and I want to check it inside a Kubernetes Microservices project. veer我访问了项目app-identity-and-access-adapter ,我想在 Kubernetes 微服务项目中检查它。

The installation app-identity-and-access-adapter to a IBM Cloud Kubernetes Cluster did not work. IBM Cloud Kubernetes 集群的安装 app-identity-and-access-adapter 不起作用。

a) Adding repository works: 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) Installation does not work: 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"

I searched on the internet to find a solution, but I wasn't successful.我在互联网上搜索以找到解决方案,但我没有成功。

I was pointed to here to ask for help by the documentation .有人指着我在这里寻求文档帮助。

The environment:环境:

Free IBM Cloud Kubernetes Cluster免费的 IBM Cloud Kubernetes 集群

Kubernetes Versions: 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"}

Istio on Kubernetes: 1.4 Kubernetes 上的 Istio:1.4

Helm:舵:

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

Now I was able to install.现在我可以安装了。

Step 1:第1步:

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

Step 2: set the Kubernetes namespace to istio-system第 2 步:将 Kubernetes 命名空间设置为 istio-system

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

Step 3:第 3 步:

I did not use the documented statement, which is not valid for helm version v3.0.1我没有使用文档化的语句,这对 helm 版本 v3.0.1 无效

  • helm install --name appidentityandaccessadapter .... helm install --name appidentityandaccessadapter ....

I used following statment:我使用了以下语句:

  • helm install appidentityandaccessadapter .... helm install appidentityandaccessadapter ....

Then it was possible to install the 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!

By the way:顺便一提:

You should know, you can also find the installation steps in the IBM AppID Service Documentation您应该知道,您还可以在IBM AppID 服务文档中找到安装步骤

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 用于 Istio Mixer I/O 超时的应用程序身份和访问适配器 - App Identity and Access Adapter for Istio Mixer I/O timeout IBM App ID - 无法在 OAuth 2.0 授权代码流中获取访问令牌中的自定义范围 - IBM App ID - Cannot get custom scopes in access token in OAuth 2.0 Authorization Code Flow 我可以在不使用 Objective-C(纯 Swift)的情况下向 React Native 公开 Swift 函数吗? - Can I expose a Swift function to React Native without using Objective-C (pure swift)? 如何将App ID mobile(iOS)SDK与Kitura Web应用程序连接? - How to connect App ID mobile (iOS) SDK with Kitura web app? IBM App ID定制/品牌UI - IBM App ID customization / branded UI 如何将应用程序ID集成到我现有的微服务中 - how to integrate app id to my existing microservice 将应用程序从Bluemix SSO服务转换为AppID服务时出错 - Error converting app from Bluemix SSO service to AppID service IBM Cloud App ID:忘记密码和重新认证流程 - IBM Cloud App ID: Forget Password and re-authentication flow 如何在Python Flask中从IBM Cloud App ID注销/注销 - How to logout / signout from IBM Cloud App ID in Python Flask IBM App ID:在供应期间配置自定义加密的参数是什么? - IBM App ID: What are the parameters to configure custom encryption during provisioning?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM