Skip to content

Commit aecfda5

Browse files
committed
feat: add chart for activator.
Signed-off-by: X1aoZEOuO <[email protected]>
1 parent ddb3ef4 commit aecfda5

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

chart/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ spec:
2929
env:
3030
- name: KUBERNETES_CLUSTER_DOMAIN
3131
value: {{ quote .Values.kubernetesClusterDomain }}
32+
- name: POD_IP
33+
valueFrom:
34+
fieldRef:
35+
fieldPath: status.podIP
3236
image: {{ .Values.controllerManager.manager.image.repository }}:{{ .Values.controllerManager.manager.image.tag
3337
| default .Chart.AppVersion }}
3438
livenessProbe:

chart/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ controllerManager:
55
- --metrics-bind-address=:8443
66
- --leader-elect
77
- --namespace=llmaz-system
8+
- --enable-serverless
9+
- --pod-ip=$(POD_IP)
810
containerSecurityContext:
911
allowPrivilegeEscalation: false
1012
capabilities:

config/rbac/role.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@ rules:
1111
verbs:
1212
- get
1313
- list
14+
- apiGroups:
15+
- ""
16+
resources:
17+
- endpoints
18+
verbs:
19+
- get
20+
- list
21+
- patch
22+
- update
23+
- watch
1424
- apiGroups:
1525
- ""
1626
resources:

0 commit comments

Comments
 (0)