Closed audtjddld closed 2 months ago
Can you also provide your configmaps?
Can you also provide your configmaps?
Here is my configmap
overlays/dev/config/application.properties
spring.profiles.active=dev
test.message=here test message
overlays/dev/configmap.yaml
apiVersion: builtin
kind: ConfigMapGenerator
metadata:
name: config-name
behavior: merge
envs:
- config/application.properties
base/configmap.yaml
apiVersion: builtin
kind: ConfigMapGenerator
metadata:
name: config-name
options:
disableNameSuffixHash: true
envs:
- config/application.properties
generated configmap
apiVersion: v1
data:
test.message: here test message
kind: ConfigMap
metadata:
labels:
app.kubernetes.io/name: config-name
vector.dev/label: config-name-label
name: config-name
namespace: config-name-namespace
Can you provide a sample that for example is a github repo, with clear instructions how to re-produce the issue, let's say to deploy it in minikube or kind?
I dont think this is correct
sources:
- name: test.message
That is the data in your config map. The sources.name
property should be the name of the config map.
Can you provide a sample that for example is a github repo, with clear instructions how to re-produce the issue, let's say to deploy it in minikube or kind?
Thank you for answer
The sample will probably take some time. (I have other things to do) I used the in-house kubernetes cloud to test it.
If the issue is open for a long time, it would be a good idea to close the issue and prepare the sample before reopening it.
See my comment here I think that might help https://github.com/spring-cloud/spring-cloud-kubernetes/issues/1666#issuecomment-2179405315
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.
Describe the bug Please provide details of the problem, including the version of Spring Cloud that you are using.
Is not a bug.
I try to reload properties with spring cloud kubernates library.
Here is my configuration
gradle
properties
source code
I used kustomize.
k8s manifests
role
I changed a property in the k8s configuration map. I found this log
So I checked the configuration map. I confirmed that it has changed.
It doesn't reload. Is there a problem with the information I set?
Note: I have changed the setup information to be different from what I am currently working with.
Sample If possible, please provide a test case or sample application that reproduces the problem. This makes it much easier for us to diagnose the problem and to verify that we have fixed it.