It appears that this variable does not have a value _or_ it is unclear how to configure it.
My configuration is as follows:
additionalServiceMonitors:
- selector:
matchLabels:
release: proxy-gateway
namespaceSelector:
matchNames:
- default
endpoints:
- port: monitoring
interval: 10s
I am facing the same issue; adding an additionalServiceMonitor with a configuration similar to the above results in Error: UPGRADE FAILED: Could not get information about the resource: resource name may not be empty
@gajus Hey, I just solved this - although its not stated anywhere in the docs, each additionalServiceMonitor entry requires a name property. So your example would become:
additionalServiceMonitors:
- name: proxy-gateway-monitor
selector:
matchLabels:
release: proxy-gateway
namespaceSelector:
matchNames:
- default
endpoints:
- port: monitoring
interval: 10s
Thank you for sharing the solution.
Most helpful comment
@gajus Hey, I just solved this - although its not stated anywhere in the docs, each
additionalServiceMonitorentry requires anameproperty. So your example would become: