Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Commit

Permalink
fix: remove ImagePullPolicy: Always (#1046)
Browse files Browse the repository at this point in the history
Signed-off-by: Ernest Wong <chuwon@microsoft.com>
  • Loading branch information
Ernest Wong committed Apr 16, 2021
1 parent 5dbc3d9 commit 9f3528f
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 22 deletions.
12 changes: 6 additions & 6 deletions manifest_staging/charts/aad-pod-identity/README.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions manifest_staging/charts/aad-pod-identity/values.yaml
Expand Up @@ -7,7 +7,7 @@ fullnameOverride: ""

image:
repository: mcr.microsoft.com/oss/azure/aad-pod-identity
imagePullPolicy: Always
imagePullPolicy: IfNotPresent

# One or more secrets to be used when pulling images
# imagePullSecrets:
Expand Down Expand Up @@ -246,8 +246,8 @@ rbac:
# If using only MSI (type: 0) in AzureIdentity, secret get permission can be disabled by setting this to false.
allowAccessToSecrets: true
pspEnabled: false
# If set to true, then view and edit cluster roles will be created with annotations
# that agrigate to the admin, edit and view built-in cluster roles. These roles will
# If set to true, then view and edit cluster roles will be created with annotations
# that agrigate to the admin, edit and view built-in cluster roles. These roles will
# be able to create the necessary resources to allow pod identity binding on pods.
createUserFacingClusterRoles: false

Expand Down
1 change: 0 additions & 1 deletion manifest_staging/deploy/demo/deployment.yaml
Expand Up @@ -19,7 +19,6 @@ spec:
containers:
- name: demo
image: "mcr.microsoft.com/oss/azure/aad-pod-identity/demo:v1.7.5"
imagePullPolicy: Always
args:
- "--subscriptionid=SUBSCRIPTION_ID"
- "--clientid=CLIENT_ID"
Expand Down
2 changes: 0 additions & 2 deletions manifest_staging/deploy/infra/deployment-rbac.yaml
Expand Up @@ -452,7 +452,6 @@ spec:
containers:
- name: nmi
image: "mcr.microsoft.com/oss/azure/aad-pod-identity/nmi:v1.7.5"
imagePullPolicy: Always
args:
- "--node=$(NODE_NAME)"
- "--http-probe-port=8085"
Expand Down Expand Up @@ -571,7 +570,6 @@ spec:
containers:
- name: mic
image: "mcr.microsoft.com/oss/azure/aad-pod-identity/mic:v1.7.5"
imagePullPolicy: Always
args:
- "--cloudconfig=/etc/kubernetes/azure.json"
- "--logtostderr"
Expand Down
2 changes: 0 additions & 2 deletions manifest_staging/deploy/infra/deployment.yaml
Expand Up @@ -408,7 +408,6 @@ spec:
containers:
- name: nmi
image: "mcr.microsoft.com/oss/azure/aad-pod-identity/nmi:v1.7.5"
imagePullPolicy: Always
args:
- "--node=$(NODE_NAME)"
- "--http-probe-port=8085"
Expand Down Expand Up @@ -472,7 +471,6 @@ spec:
containers:
- name: mic
image: "mcr.microsoft.com/oss/azure/aad-pod-identity/mic:v1.7.5"
imagePullPolicy: Always
args:
- "--kubeconfig=/etc/kubernetes/kubeconfig/kubeconfig"
- "--cloudconfig=/etc/kubernetes/azure.json"
Expand Down
1 change: 0 additions & 1 deletion manifest_staging/deploy/infra/managed-mode-deployment.yaml
Expand Up @@ -284,7 +284,6 @@ spec:
containers:
- name: nmi
image: "mcr.microsoft.com/oss/azure/aad-pod-identity/nmi:v1.7.5"
imagePullPolicy: Always
args:
- "--node=$(NODE_NAME)"
- "--operation-mode=managed"
Expand Down
Expand Up @@ -451,7 +451,6 @@ spec:
containers:
- name: nmi
image: "mcr.microsoft.com/oss/azure/aad-pod-identity/nmi:v1.7.5"
imagePullPolicy: Always
args:
- "--node=$(NODE_NAME)"
- "--http-probe-port=8085"
Expand Down Expand Up @@ -582,7 +581,6 @@ spec:
containers:
- name: mic
image: "mcr.microsoft.com/oss/azure/aad-pod-identity/mic:v1.7.5"
imagePullPolicy: Always
args:
- "--logtostderr"
securityContext:
Expand Down
2 changes: 0 additions & 2 deletions manifest_staging/deploy/infra/noazurejson/deployment.yaml
Expand Up @@ -406,7 +406,6 @@ spec:
containers:
- name: nmi
image: "mcr.microsoft.com/oss/azure/aad-pod-identity/nmi:v1.7.5"
imagePullPolicy: Always
args:
- "--node=$(NODE_NAME)"
- "--http-probe-port=8085"
Expand Down Expand Up @@ -484,7 +483,6 @@ spec:
containers:
- name: mic
image: "mcr.microsoft.com/oss/azure/aad-pod-identity/mic:v1.7.5"
imagePullPolicy: Always
args:
- "--kubeconfig=/etc/kubernetes/kubeconfig/kubeconfig"
- "--logtostderr"
Expand Down
2 changes: 0 additions & 2 deletions test/load/deployment-template.yml
Expand Up @@ -21,14 +21,12 @@ spec:
initContainers:
- name: init
image: mcr.microsoft.com/azure-cli
imagePullPolicy: IfNotPresent
command:
- sh
- -c
- az login --identity --allow-no-subscriptions && az login -i -u $POD_IDENTITY_CLIENT_ID --allow-no-subscriptions
containers:
- image: k8s.gcr.io/pause-amd64:3.1
imagePullPolicy: IfNotPresent
name: {{.Name}}
tolerations:
- key: "node.kubernetes.io/not-ready"
Expand Down
Expand Up @@ -36,7 +36,6 @@ By default, AAD Pod Identity matches pods to identities across namespaces. To ma
containers:
- name: mic
image: "mcr.microsoft.com/k8s/aad-pod-identity/mic:1.3"
imagePullPolicy: Always
args:
- "--cloudconfig=/etc/kubernetes/azure.json"
- "--logtostderr"
Expand Down

0 comments on commit 9f3528f

Please sign in to comment.