Skip to content

Added service annotations to values, added services to expose built-in servers#53

Open
robertkubik-secro wants to merge 1 commit into
cloudprober:mainfrom
robertkubik-secro:service-feature
Open

Added service annotations to values, added services to expose built-in servers#53
robertkubik-secro wants to merge 1 commit into
cloudprober:mainfrom
robertkubik-secro:service-feature

Conversation

@robertkubik-secro
Copy link
Copy Markdown

  • added .service.annotations option to specify annotations for a service (my case - Cilium global services)
  • added builtinServers section to easily provision built-in servers via values.yaml file

Thanks in advance!

@robertkubik-secro
Copy link
Copy Markdown
Author

@manugarg can you please review? 🙂

Comment on lines +10 to +17
{{- if .Values.builtinServers.http.enabled }}

server {
type: HTTP
http_server {
port: {{ .Values.builtinServers.http.port }}
}
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I this this is going to be trouble. I'd stick with just adding additional services based on values.

Comment thread cloudprober/values.yaml
# the ports.
builtinServers:
http:
enabled: false
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's just stick to adding services and trust user to add corresponding server stanzas.

Just call it additionalServices and you can say in the comment that it will be useful to expose cloudprober's built-in servers if configured.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants