stefanprodan / podinfo

Go microservice template for Kubernetes
Apache License 2.0
5.41k stars 1.72k forks source link

aad-pod-identity demo? #287

Open jobinjosem opened 1 year ago

jobinjosem commented 1 year ago

Can I use the podinfo image for aad-pod-identity demo? Will it work as expected if I add the details of identity to the manifests?

ljluestc commented 1 year ago
apiVersion: apps/v1
kind: Deployment
metadata:
  name: podinfo
spec:
  replicas: 1
  template:
    metadata:
      labels:
        app: podinfo
    spec:
      containers:
        - name: podinfo
          image: stefanprodan/podinfo
          ports:
            - containerPort: 9898
          env:
            - name: AZURE_AUTHORITY_HOST
              value: "https://login.microsoftonline.com"
            - name: AZURE_TENANT_ID
              value: "<your-tenant-id>"
            - name: AZURE_CLIENT_ID
              value: "<your-client-id>"
            - name: AZURE_RESOURCE_ID
              value: "<your-resource-id>"
          # ...
        # ...