M #-: Update monitor config (#4580)

*  Update monitor config
* Set monitor conf as mandatory
This commit is contained in:
Victor Palma authored and GitHub committed 2026-10-01 14:56:11 +02:00
1 parent 40fe44cfea
commit fec34c19e4
3 files changed
+36 -10

No files matched your search

@@ -9404,6 +9404,21 @@ patches:
value: true
state: ins
extra: {}
- path:
- :server
key: :bind
value: 0.0.0.0
old: 127.0.0.1
state: set
extra: {}
- path: []
key: :monitor
value:
:endpoint: 'http://169.254.16.9:10780/api/v1'
:chart_repo: 'https://opennebula.github.io/cluster-api-provider-opennebula/charts/'
:chart_version: '0.1.0'
state: ins
extra: {}
content: |
################################################################################
# Server Configuration
@@ -9421,7 +9436,7 @@ patches:
# Server configuration where OneKS server will run
:server:
:environment: production
:bind: 127.0.0.1
:bind: 0.0.0.0
:port: 10780
# Subscribe endpoint for OpenNebula events (must match those in oned.conf)
@@ -9434,6 +9449,13 @@ patches:
# Disable this option in air-gapped environments or when importing it manually
:appliance_auto_import: true
# OneKS monitor deployed inside each workload cluster. It reports Kubernetes
# state to this OneKS API through the cluster router's TPROXY network.
:monitor:
:endpoint: 'http://169.254.16.9:10780/api/v1'
:chart_repo: 'https://opennebula.github.io/cluster-api-provider-opennebula/charts/'
:chart_version: '0.1.0'
################################################################################
# Kubernetes Configuration
################################################################################
+8 -1
View File
@@ -14,7 +14,7 @@
# Server configuration where OneKS server will run
:server:
:environment: production
:bind: 127.0.0.1
:bind: 0.0.0.0
:port: 10780
# Subscribe endpoint for OpenNebula events (must match those in oned.conf)
@@ -27,6 +27,13 @@
# Disable this option in air-gapped environments or when importing it manually
:appliance_auto_import: true
# OneKS monitor deployed inside each workload cluster. It reports Kubernetes
# state to this OneKS API through the cluster router's TPROXY network.
:monitor:
:endpoint: 'http://169.254.16.9:10780/api/v1'
:chart_repo: 'https://opennebula.github.io/cluster-api-provider-opennebula/charts/'
:chart_version: '0.1.0'
################################################################################
# Kubernetes Configuration
################################################################################
+5 -8
View File
@@ -25,7 +25,7 @@
:bind:
:required: false
:type: address
:default: 127.0.0.1
:default: 0.0.0.0
:port:
:required: false
:type: integer
@@ -103,21 +103,18 @@
- x509
:monitor:
:required: false
:required: true
:type: object
:keys:
:endpoint:
:required: false
:required: true
:type: string
:default: 'http://169.254.16.9:10780/api/v1'
:chart_repo:
:required: false
:required: true
:type: string
:default: 'https://opennebula.github.io/cluster-api-provider-opennebula/charts/'
:chart_version:
:required: false
:required: true
:type: string
:default: '0.1.0'
:expire_delta:
:required: false