Bumping versions

This commit is contained in:
buildmaster
2021-07-07 19:16:20 +00:00
parent 6b8d5ca5d4
commit 44fd17b5d0
2 changed files with 2 additions and 4 deletions

View File

@@ -994,7 +994,7 @@ metadata:
namespace: YOUR-NAME-SPACE
name: namespace-reader
rules:
- apiGroups: ["", "extensions", "apps"]
- apiGroups: [""]
resources: ["configmaps", "pods", "services", "endpoints", "secrets"]
verbs: ["get", "list", "watch"]

View File

@@ -142,9 +142,7 @@ class KubernetesClientEventBasedConfigMapChangeDetectorTests {
mock(KubernetesClientConfigMapPropertySource.class)).withProperty("debug", "true");
KubernetesClientConfigMapPropertySourceLocator locator = mock(
KubernetesClientConfigMapPropertySourceLocator.class);
when(locator.locate(environment)).thenAnswer(
x -> new MockPropertySource().withProperty("debug", "false")
);
when(locator.locate(environment)).thenAnswer(x -> new MockPropertySource().withProperty("debug", "false"));
KubernetesNamespaceProvider kubernetesNamespaceProvider = mock(KubernetesNamespaceProvider.class);
when(kubernetesNamespaceProvider.getNamespace()).thenReturn("default");
KubernetesClientEventBasedConfigMapChangeDetector changeDetector = new KubernetesClientEventBasedConfigMapChangeDetector(