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

Commit 76d3a9b

Browse files
aramasekkmsft
authored andcommitted
deployment and helm charts update for release 1.5.3 (#394)
* update manifests for release 1.5.3 * add new feature flags * update changelog for 1.5.3 * unset enable scale features in helm * add selector as part of move to apps/v1 * remove testing changes * update test manifests
1 parent 8e84d5e commit 76d3a9b

11 files changed

+94
-29
lines changed

charts/aad-pod-identity-1.5.3.tgz

8.28 KB
Binary file not shown.

charts/aad-pod-identity/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v1
22
description: Deploy components for aad-pod-identity
33
name: aad-pod-identity
4-
version: 1.5.2
5-
appVersion: 1.5.2
4+
version: 1.5.3
5+
appVersion: 1.5.3
66
home: https://github.com/Azure/aad-pod-identity
77
sources:
88
- https://github.com/Azure/aad-pod-identity

charts/aad-pod-identity/templates/mic-deployment.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ spec:
5656
{{- if .Values.mic.probePort }}
5757
- --http-probe-port={{ .Values.mic.probePort }}
5858
{{- end }}
59+
{{- if .Values.mic.createDeleteBatch }}
60+
- --createDeleteBatch={{ .Values.mic.createDeleteBatch }}
61+
{{- end }}
62+
{{- if .Values.mic.clientQps }}
63+
- --clientQps={{ .Values.mic.clientQps }}
64+
{{- end }}
5965
env:
6066
- name: FORCENAMESPACED
6167
value: "{{ .Values.forceNameSpaced }}"

charts/aad-pod-identity/templates/nmi-clusterrole.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@ rules:
1515
verbs: ["get", "list"]
1616
- apiGroups: [""]
1717
resources: ["pods"]
18-
verbs: ["get", "list"]
18+
verbs: ["get", "list", "watch"]
1919
{{- if .Values.rbac.allowAccessToSecrets }}
2020
- apiGroups: [""]
2121
resources: ["secrets"]
2222
verbs: ["get"]
2323
{{- end }}
2424
- apiGroups: ["aadpodidentity.k8s.io"]
2525
resources: ["azureidentitybindings", "azureidentities", "azurepodidentityexceptions"]
26-
verbs: ["get", "list"]
26+
verbs: ["get", "list", "watch"]
2727
- apiGroups: ["aadpodidentity.k8s.io"]
2828
resources: ["azureassignedidentities"]
29-
verbs: ["get", "list"]
29+
verbs: ["get", "list", "watch"]
3030
{{- end }}

charts/aad-pod-identity/templates/nmi-daemonset.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ spec:
6262
{{- if .Values.nmi.findIdentityRetryIntervalInSeconds }}
6363
- --find-identity-retry-interval={{ .Values.nmi.findIdentityRetryIntervalInSeconds }}
6464
{{- end }}
65+
{{- if .Values.nmi.enableScaleFeatures }}
66+
- --enableScaleFeatures={{ .Values.nmi.enableScaleFeatures }}
67+
{{- end }}
6568
env:
6669
- name: HOST_IP
6770
valueFrom:

charts/aad-pod-identity/values.yaml

+14-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ forceNameSpaced: "false"
2424

2525
mic:
2626
image: mic
27-
tag: 1.5.2
27+
tag: 1.5.3
2828

2929
# log level. Uses V logs (glog)
3030
# logVerbosity: 0
@@ -62,9 +62,17 @@ mic:
6262
# Override interval in seconds at which sync loop should periodically check for errors and reconcile (default is 3600s)
6363
syncRetryDuration: ""
6464

65+
# https://github.com/Azure/aad-pod-identity/blob/master/docs/readmes/README.featureflags.md#batch-create-delete-flag
66+
# default value is 20
67+
createDeleteBatch: ""
68+
69+
# https://github.com/Azure/aad-pod-identity/blob/master/docs/readmes/README.featureflags.md#client-qps-flag
70+
# default value is 5
71+
clientQps: ""
72+
6573
nmi:
6674
image: nmi
67-
tag: 1.5.2
75+
tag: 1.5.3
6876

6977
resources:
7078
limits:
@@ -101,6 +109,10 @@ nmi:
101109
# Override retry interval to find assigned identities in seconds (default is 5)
102110
findIdentityRetryIntervalInSeconds: ""
103111

112+
# Enable scale features - https://github.com/Azure/aad-pod-identity/blob/master/docs/readmes/README.featureflags.md#enable-scale-features-flag
113+
# Accepted values are true/false. Default is false.
114+
enableScaleFeatures: ""
115+
104116
rbac:
105117
enabled: true
106118
# NMI requires permissions to get secrets when service principal (type: 1) is used in AzureIdentity.

charts/index.yaml

+17-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,24 @@
11
apiVersion: v1
22
entries:
33
aad-pod-identity:
4+
- apiVersion: v1
5+
appVersion: 1.5.3
6+
created: "2019-10-11T15:59:33.322904-07:00"
7+
description: Deploy components for aad-pod-identity
8+
digest: 3dab91c7f115d23123f863eeea1c93a34640a42ac1e7052600020600fbfa55ad
9+
home: https://github.com/Azure/aad-pod-identity
10+
maintainers:
11+
- email: anish.ramasekar@gmail.com
12+
name: aramase
13+
name: aad-pod-identity
14+
sources:
15+
- https://github.com/Azure/aad-pod-identity
16+
urls:
17+
- https://raw.githubusercontent.com/Azure/aad-pod-identity/master/charts/aad-pod-identity-1.5.3.tgz
18+
version: 1.5.3
419
- apiVersion: v1
520
appVersion: 1.5.2
6-
created: "2019-09-16T11:43:42.435047-07:00"
21+
created: "2019-10-11T15:59:33.321838-07:00"
722
description: Deploy components for aad-pod-identity
823
digest: 58a8ea212a1461f72ce17be5b767dac920d0f56803c026320a16c22de3ed365a
924
home: https://github.com/Azure/aad-pod-identity
@@ -16,4 +31,4 @@ entries:
1631
urls:
1732
- https://raw.githubusercontent.com/Azure/aad-pod-identity/master/charts/aad-pod-identity-1.5.2.tgz
1833
version: 1.5.2
19-
generated: "2019-09-16T11:43:42.434192-07:00"
34+
generated: "2019-10-11T15:59:33.31978-07:00"

deploy/infra/deployment-rbac.yaml

+15-7
Original file line numberDiff line numberDiff line change
@@ -64,16 +64,16 @@ rules:
6464
verbs: ["get", "list"]
6565
- apiGroups: [""]
6666
resources: ["pods"]
67-
verbs: ["get", "list"]
67+
verbs: ["get", "list", "watch"]
6868
- apiGroups: [""]
6969
resources: ["secrets"]
7070
verbs: ["get"]
7171
- apiGroups: ["aadpodidentity.k8s.io"]
7272
resources: ["azureidentitybindings", "azureidentities", "azurepodidentityexceptions"]
73-
verbs: ["get", "list"]
73+
verbs: ["get", "list", "watch"]
7474
- apiGroups: ["aadpodidentity.k8s.io"]
7575
resources: ["azureassignedidentities"]
76-
verbs: ["get", "list"]
76+
verbs: ["get", "list", "watch"]
7777
---
7878
apiVersion: rbac.authorization.k8s.io/v1beta1
7979
kind: ClusterRoleBinding
@@ -90,7 +90,7 @@ roleRef:
9090
name: aad-pod-id-nmi-role
9191
apiGroup: rbac.authorization.k8s.io
9292
---
93-
apiVersion: extensions/v1beta1
93+
apiVersion: apps/v1
9494
kind: DaemonSet
9595
metadata:
9696
labels:
@@ -103,6 +103,10 @@ metadata:
103103
spec:
104104
updateStrategy:
105105
type: RollingUpdate
106+
selector:
107+
matchLabels:
108+
component: nmi
109+
tier: node
106110
template:
107111
metadata:
108112
labels:
@@ -118,7 +122,7 @@ spec:
118122
name: iptableslock
119123
containers:
120124
- name: nmi
121-
image: "mcr.microsoft.com/k8s/aad-pod-identity/nmi:1.5.2"
125+
image: "mcr.microsoft.com/k8s/aad-pod-identity/nmi:1.5.3"
122126
imagePullPolicy: Always
123127
args:
124128
- "--host-ip=$(HOST_IP)"
@@ -201,7 +205,7 @@ roleRef:
201205
name: aad-pod-id-mic-role
202206
apiGroup: rbac.authorization.k8s.io
203207
---
204-
apiVersion: extensions/v1beta1
208+
apiVersion: apps/v1
205209
kind: Deployment
206210
metadata:
207211
labels:
@@ -211,6 +215,10 @@ metadata:
211215
namespace: default
212216
spec:
213217
replicas: 2
218+
selector:
219+
matchLabels:
220+
component: mic
221+
app: mic
214222
template:
215223
metadata:
216224
labels:
@@ -220,7 +228,7 @@ spec:
220228
serviceAccountName: aad-pod-id-mic-service-account
221229
containers:
222230
- name: mic
223-
image: "mcr.microsoft.com/k8s/aad-pod-identity/mic:1.5.2"
231+
image: "mcr.microsoft.com/k8s/aad-pod-identity/mic:1.5.3"
224232
imagePullPolicy: Always
225233
args:
226234
- "--cloudconfig=/etc/kubernetes/azure.json"

deploy/infra/deployment.yaml

+11-4
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ spec:
4848
plural: azurepodidentityexceptions
4949
scope: Namespaced
5050
---
51-
apiVersion: extensions/v1beta1
51+
apiVersion: apps/v1
5252
kind: DaemonSet
5353
metadata:
5454
labels:
@@ -60,6 +60,10 @@ metadata:
6060
spec:
6161
updateStrategy:
6262
type: RollingUpdate
63+
selector:
64+
matchLabels:
65+
component: nmi
66+
tier: node
6367
template:
6468
metadata:
6569
labels:
@@ -74,7 +78,7 @@ spec:
7478
name: iptableslock
7579
containers:
7680
- name: nmi
77-
image: "mcr.microsoft.com/k8s/aad-pod-identity/nmi:1.5.2"
81+
image: "mcr.microsoft.com/k8s/aad-pod-identity/nmi:1.5.3"
7882
imagePullPolicy: Always
7983
args:
8084
- "--host-ip=$(HOST_IP)"
@@ -112,7 +116,7 @@ spec:
112116
nodeSelector:
113117
beta.kubernetes.io/os: linux
114118
---
115-
apiVersion: extensions/v1beta1
119+
apiVersion: apps/v1
116120
kind: Deployment
117121
metadata:
118122
labels:
@@ -121,14 +125,17 @@ metadata:
121125
namespace: default
122126
spec:
123127
replicas: 2
128+
selector:
129+
matchLabels:
130+
component: mic
124131
template:
125132
metadata:
126133
labels:
127134
component: mic
128135
spec:
129136
containers:
130137
- name: mic
131-
image: "mcr.microsoft.com/k8s/aad-pod-identity/mic:1.5.2"
138+
image: "mcr.microsoft.com/k8s/aad-pod-identity/mic:1.5.3"
132139
imagePullPolicy: Always
133140
args:
134141
- "--kubeconfig=/etc/kubernetes/kubeconfig/kubeconfig"

deploy/infra/noazurejson/deployment-rbac.yaml

+14-7
Original file line numberDiff line numberDiff line change
@@ -64,16 +64,16 @@ rules:
6464
verbs: ["get", "list"]
6565
- apiGroups: [""]
6666
resources: ["pods"]
67-
verbs: ["get", "list"]
67+
verbs: ["get", "list", "watch"]
6868
- apiGroups: [""]
6969
resources: ["secrets"]
7070
verbs: ["get"]
7171
- apiGroups: ["aadpodidentity.k8s.io"]
7272
resources: ["azureidentitybindings", "azureidentities", "azurepodidentityexceptions"]
73-
verbs: ["get", "list"]
73+
verbs: ["get", "list", "watch"]
7474
- apiGroups: ["aadpodidentity.k8s.io"]
7575
resources: ["azureassignedidentities"]
76-
verbs: ["get", "list"]
76+
verbs: ["get", "list", "watch"]
7777
---
7878
apiVersion: rbac.authorization.k8s.io/v1beta1
7979
kind: ClusterRoleBinding
@@ -90,7 +90,7 @@ roleRef:
9090
name: aad-pod-id-nmi-role
9191
apiGroup: rbac.authorization.k8s.io
9292
---
93-
apiVersion: extensions/v1beta1
93+
apiVersion: apps/v1
9494
kind: DaemonSet
9595
metadata:
9696
labels:
@@ -101,6 +101,10 @@ metadata:
101101
name: nmi
102102
namespace: default
103103
spec:
104+
selector:
105+
matchLabels:
106+
component: nmi
107+
tier: node
104108
template:
105109
metadata:
106110
labels:
@@ -116,7 +120,7 @@ spec:
116120
name: iptableslock
117121
containers:
118122
- name: nmi
119-
image: "mcr.microsoft.com/k8s/aad-pod-identity/nmi:1.5.2"
123+
image: "mcr.microsoft.com/k8s/aad-pod-identity/nmi:1.5.3"
120124
imagePullPolicy: Always
121125
args:
122126
- "--host-ip=$(HOST_IP)"
@@ -213,7 +217,7 @@ metadata:
213217
name: aadpodidentity-admin-secret
214218
namespace: default
215219
---
216-
apiVersion: extensions/v1beta1
220+
apiVersion: apps/v1
217221
kind: Deployment
218222
metadata:
219223
labels:
@@ -223,6 +227,9 @@ metadata:
223227
namespace: default
224228
spec:
225229
replicas: 2
230+
selector:
231+
matchLabels:
232+
component: mic
226233
template:
227234
metadata:
228235
labels:
@@ -231,7 +238,7 @@ spec:
231238
serviceAccountName: aad-pod-id-mic-service-account
232239
containers:
233240
- name: mic
234-
image: "mcr.microsoft.com/k8s/aad-pod-identity/mic:1.5.2"
241+
image: "mcr.microsoft.com/k8s/aad-pod-identity/mic:1.5.3"
235242
imagePullPolicy: Always
236243
args:
237244
- "--logtostderr"

deploy/infra/noazurejson/deployment.yaml

+9-2
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ metadata:
5858
name: nmi
5959
namespace: default
6060
spec:
61+
selector:
62+
matchLabels:
63+
component: nmi
64+
tier: node
6165
template:
6266
metadata:
6367
labels:
@@ -72,7 +76,7 @@ spec:
7276
name: iptableslock
7377
containers:
7478
- name: nmi
75-
image: "mcr.microsoft.com/k8s/aad-pod-identity/nmi:1.5.2"
79+
image: "mcr.microsoft.com/k8s/aad-pod-identity/nmi:1.5.3"
7680
imagePullPolicy: Always
7781
args:
7882
- "--host-ip=$(HOST_IP)"
@@ -133,14 +137,17 @@ metadata:
133137
namespace: default
134138
spec:
135139
replicas: 2
140+
selector:
141+
matchLabels:
142+
component: mic
136143
template:
137144
metadata:
138145
labels:
139146
component: mic
140147
spec:
141148
containers:
142149
- name: mic
143-
image: "mcr.microsoft.com/k8s/aad-pod-identity/mic:1.5.2"
150+
image: "mcr.microsoft.com/k8s/aad-pod-identity/mic:1.5.3"
144151
imagePullPolicy: Always
145152
args:
146153
- "--kubeconfig=/etc/kubernetes/kubeconfig/kubeconfig"

0 commit comments

Comments
 (0)