Skip to content

Commit

Permalink
Review updates
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKatsoulis committed Jul 1, 2021
1 parent fefeb93 commit 08e9149
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
10 changes: 8 additions & 2 deletions deploy/kubernetes/elastic-agent-managed-kubernetes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ spec:
env:
- name: FLEET_ENROLL
value: "1"
# Set to true in case of insecure or unverified HTTP
- name: FLEET_INSECURE
value: "1"
value: false
# The ip:port pair of fleet server
- name: FLEET_URL
value: "fleet_server_ip:port"
value: "https://fleet-server:8220"
- name: KIBANA_HOST
value: "http://kibana:5601"
- name: KIBANA_FLEET_USERNAME
Expand Down Expand Up @@ -157,6 +159,10 @@ rules:
- nodes/stats
verbs:
- get
- apiGroups: [ "batch" ]
resources:
- jobs
verbs: [ "get", "list", "watch" ]
# required for apiserver
- nonResourceURLs:
- "/metrics"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ spec:
env:
- name: FLEET_ENROLL
value: "1"
# Set to true in case of insecure or unverified HTTP
- name: FLEET_INSECURE
value: "1"
value: false
# The ip:port pair of fleet server
- name: FLEET_URL
value: "fleet_server_ip:port"
value: "https://fleet-server:8220"
- name: KIBANA_HOST
value: "http://kibana:5601"
- name: KIBANA_FLEET_USERNAME
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ rules:
- nodes/stats
verbs:
- get
- apiGroups: [ "batch" ]
resources:
- jobs
verbs: [ "get", "list", "watch" ]
# required for apiserver
- nonResourceURLs:
- "/metrics"
Expand Down

0 comments on commit 08e9149

Please sign in to comment.