question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Clarify docs section "Using a ConfigMap PropertySource"

See original GitHub issue

The docs section at https://docs.spring.io/spring-cloud-kubernetes/docs/current/reference/html/#configmap-propertysource states

The default behavior is to create a Fabric8ConfigMapPropertySource based on a Kubernetes ConfigMap that has a metadata.name value of either the name of your Spring application (as defined by its spring.application.name property) or a custom name defined within the bootstrap.properties file under the following key: spring.cloud.kubernetes.config.name.

Can you clarify what bean gets created when usingspring-cloud-starter-kubernetes-client-config without using the Fabric8 client.

Also it is helpful to add a callout that reminds the reader that beans must be marked with @RefreshScope for hot-reload to work maybe even explain the hot reload feature works with Spring Cloud k8s.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
asaikalicommented, Jun 16, 2022

looks good to me.

0reactions
ryanjbaxtercommented, Jun 13, 2022

I agree @asaikali what do you think?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spring Cloud Kubernetes
Using a ConfigMap PropertySource. Kubernetes provides a resource named ConfigMap to externalize the parameters to pass to your application in the form of...
Read more >
Kubernetes Spring Cloud Multiple Config Maps being used
As you can see in ConfigMapPropertySource.java, only one ConfigMap will be used by this property source. However, using envFrom , all ...
Read more >
Property placeholders - Apache Camel
Properties component; Property placeholder syntax; Using property ... See the Properties documentation for how to configure Camel to known from which ...
Read more >
Configure a Pod to Use a ConfigMap - Kubernetes
ConfigMaps are the Kubernetes way to inject application pods with configuration data. ConfigMaps allow you to decouple configuration ...
Read more >
Spring Cloud discussion and questions - Gitter
@fiunchinho in the meantime can you try to use a configmap instead of a secret to see if that fixes the problem?
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found