Skip to content

Commit 2192115

Browse files
authored
Add scale sub resource to the Coherence Editor roles (#731)
1 parent ed164d4 commit 2192115

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

config/rbac/coherence_editor_role.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,11 @@ rules:
2828
- coherence/status
2929
verbs:
3030
- get
31+
- apiGroups:
32+
- coherence.oracle.com
33+
resources:
34+
- coherence/scale
35+
verbs:
36+
- get
37+
- patch
38+
- update

config/rbac/coherencejob_editor_role.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,11 @@ rules:
2828
- coherencejob/status
2929
verbs:
3030
- get
31+
- apiGroups:
32+
- coherence.oracle.com
33+
resources:
34+
- coherencejob/scale
35+
verbs:
36+
- get
37+
- patch
38+
- update

utils/linkcheck/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2020, 2023, Oracle and/or its affiliates.
2+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates.
33
* Licensed under the Universal Permissive License v 1.0 as shown at
44
* http://oss.oracle.com/licenses/upl.
55
*/
@@ -274,7 +274,7 @@ func checkURL(urlToGet *url.URL, fragments []string) int {
274274
fmt.Printf("%s", urlToGet)
275275

276276
var netClient = &http.Client{
277-
Timeout: time.Second * 30,
277+
Timeout: time.Minute * 1,
278278
}
279279

280280
if resp, err = netClient.Get(urlToGet.String()); err != nil {

0 commit comments

Comments
 (0)