-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove deprecated keys from kustomize yaml files (#504)
* Remove deprecated kustomize keys And fix up the patch files, as some kustomozie versions require 1 resource patch per file
- Loading branch information
Showing
24 changed files
with
132 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 0 additions & 20 deletions
20
internal/deploy/kustomize/daily/examples/watch-all-namespaces/olo-ns.yaml
This file was deleted.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
internal/deploy/kustomize/daily/examples/watch-all-namespaces/role1.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: olo-leader-election-cluster-rolebinding | ||
subjects: | ||
- kind: ServiceAccount | ||
name: olo-controller-manager | ||
namespace: olo-ns |
8 changes: 8 additions & 0 deletions
8
internal/deploy/kustomize/daily/examples/watch-all-namespaces/role2.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: olo-manager-cluster-rolebinding | ||
subjects: | ||
- kind: ServiceAccount | ||
name: olo-controller-manager | ||
namespace: olo-ns |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 0 additions & 29 deletions
29
internal/deploy/kustomize/daily/examples/watch-another-namespace/olo-ns2/olo-roles.yaml
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
internal/deploy/kustomize/daily/examples/watch-another-namespace/olo-ns2/role1.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: Role | ||
metadata: | ||
name: olo-leader-election-role | ||
namespace: olo-ns |
5 changes: 5 additions & 0 deletions
5
internal/deploy/kustomize/daily/examples/watch-another-namespace/olo-ns2/role2.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: Role | ||
metadata: | ||
name: olo-manager-role | ||
namespace: olo-ns |
8 changes: 8 additions & 0 deletions
8
internal/deploy/kustomize/daily/examples/watch-another-namespace/olo-ns2/role3.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: RoleBinding | ||
metadata: | ||
name: olo-leader-election-rolebinding | ||
namespace: olo-ns | ||
subjects: | ||
- kind: ServiceAccount | ||
name: olo-controller-manager |
8 changes: 8 additions & 0 deletions
8
internal/deploy/kustomize/daily/examples/watch-another-namespace/olo-ns2/role4.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: RoleBinding | ||
metadata: | ||
name: olo-manager-rolebinding | ||
namespace: olo-ns | ||
subjects: | ||
- kind: ServiceAccount | ||
name: olo-controller-manager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
internal/deploy/kustomize/daily/examples/watch-another-namespace/olo-watched-ns2/role1.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: Role | ||
metadata: | ||
name: olo-watched-role | ||
namespace: olo-watched-ns |
9 changes: 9 additions & 0 deletions
9
internal/deploy/kustomize/daily/examples/watch-another-namespace/olo-watched-ns2/role2.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: RoleBinding | ||
metadata: | ||
name: olo-watched-rolebinding | ||
namespace: olo-watched-ns | ||
subjects: | ||
- kind: ServiceAccount | ||
name: olo-controller-manager | ||
namespace: olo-ns2 |
5 changes: 5 additions & 0 deletions
5
internal/deploy/kustomize/daily/examples/watch-another-namespace/olo-watched-ns2/role3.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: Role | ||
metadata: | ||
name: olo-leader-election-watched-role | ||
namespace: olo-watched-ns |
9 changes: 9 additions & 0 deletions
9
internal/deploy/kustomize/daily/examples/watch-another-namespace/olo-watched-ns2/role4.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: RoleBinding | ||
metadata: | ||
name: olo-leader-election-watched-rolebinding | ||
namespace: olo-watched-ns | ||
subjects: | ||
- kind: ServiceAccount | ||
name: olo-controller-manager | ||
namespace: olo-ns2 |
31 changes: 0 additions & 31 deletions
31
...eploy/kustomize/daily/examples/watch-another-namespace/olo-watched-ns2/watched-roles.yaml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,5 @@ kind: Kustomization | |
|
||
namespace: olo-ns | ||
|
||
bases: | ||
resources: | ||
- ../../base | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 0 additions & 33 deletions
33
internal/deploy/kustomize/daily/overlays/watch-another-namespace/olo-ns/olo-roles.yaml
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
internal/deploy/kustomize/daily/overlays/watch-another-namespace/olo-ns/role1.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: Role | ||
metadata: | ||
name: olo-leader-election-role | ||
namespace: open-liberty |
5 changes: 5 additions & 0 deletions
5
internal/deploy/kustomize/daily/overlays/watch-another-namespace/olo-ns/role2.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: Role | ||
metadata: | ||
name: olo-manager-role | ||
namespace: open-liberty |
9 changes: 9 additions & 0 deletions
9
internal/deploy/kustomize/daily/overlays/watch-another-namespace/olo-ns/role3.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: RoleBinding | ||
metadata: | ||
name: olo-leader-election-rolebinding | ||
namespace: open-liberty | ||
subjects: | ||
- kind: ServiceAccount | ||
name: olo-controller-manager | ||
namespace: open-liberty |
9 changes: 9 additions & 0 deletions
9
internal/deploy/kustomize/daily/overlays/watch-another-namespace/olo-ns/role4.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: RoleBinding | ||
metadata: | ||
name: olo-manager-rolebinding | ||
namespace: open-liberty | ||
subjects: | ||
- kind: ServiceAccount | ||
name: olo-controller-manager | ||
namespace: open-liberty |