Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YAML updates 1. Expose service as ENV variable, 2. Revert ClusterRole name change (Already fixed in the RP chart in AKS) #303

Open
wants to merge 5 commits into
base: ci_feature
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Kubernetes/container-azm-ms-agentconfig.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
kind: ConfigMap
apiVersion: v1
data:
schema-version:
schema-version:
#string.used by agent to parse config. supported versions are {v1}. Configs with other schema versions will be rejected by the agent.
v1
config-version:
Expand Down
6 changes: 4 additions & 2 deletions Kubernetes/omsagent-ai-res-id.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: omsagent-user
name: omsagent-reader
rules:
- apiGroups: [""]
resources: ["pods", "events", "nodes", "namespaces", "services"]
Expand All @@ -31,7 +31,7 @@ subjects:
namespace: kube-system
roleRef:
kind: ClusterRole
name: omsagent-user
name: omsagent-reader
apiGroup: rbac.authorization.k8s.io
---
kind: ConfigMap
Expand Down Expand Up @@ -348,6 +348,8 @@ spec:
value: "my_acs_cluster_name"
- name: CONTROLLER_TYPE
value: "DaemonSet"
- name: HEALTHMODEL_REPLICASET_SERVICE_ENDPOINT
value: "healthmodel-replicaset-service.kube-system"
- name: NODE_IP
valueFrom:
fieldRef:
Expand Down
6 changes: 4 additions & 2 deletions Kubernetes/omsagent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: omsagent-user
name: omsagent-reader
rules:
- apiGroups: [""]
resources: ["pods", "events", "nodes", "namespaces", "services"]
Expand All @@ -31,7 +31,7 @@ subjects:
namespace: kube-system
roleRef:
kind: ClusterRole
name: omsagent-user
name: omsagent-reader
apiGroup: rbac.authorization.k8s.io
---
kind: ConfigMap
Expand Down Expand Up @@ -344,6 +344,8 @@ spec:
valueFrom:
fieldRef:
fieldPath: status.hostIP
- name: HEALTHMODEL_REPLICASET_SERVICE_ENDPOINT
value: "healthmodel-replicaset-service.kube-system"
securityContext:
privileged: true
ports:
Expand Down