-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(controller): add generic cluster scoped resources to proxysettin…
…gs (#421) * chore(make): local development corrections Signed-off-by: Oliver Bähler <[email protected]> * chore(mod): bump relevant versions Signed-off-by: Oliver Bähler <[email protected]> * feat(proxy): add module for generic cluster-scoped resources Signed-off-by: Oliver Bähler <[email protected]> * feat(generated): add module for generic cluster-scoped resources Signed-off-by: Oliver Bähler <[email protected]> * feat(chart): introduce new crd lifecycle Signed-off-by: Oliver Bähler <[email protected]> --------- Signed-off-by: Oliver Bähler <[email protected]>
- Loading branch information
1 parent
d09ff5f
commit 303547a
Showing
50 changed files
with
955 additions
and
169 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
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,30 @@ | ||
package v1beta1 | ||
|
||
import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" | ||
|
||
// +kubebuilder:validation:Enum=List;Update;Delete | ||
type ClusterResourceOperation string | ||
|
||
func (p ClusterResourceOperation) String() string { | ||
return string(p) | ||
} | ||
|
||
const ( | ||
ClusterResourceOperationList ClusterResourceOperation = "List" | ||
) | ||
|
||
// +kubebuilder:object:generate=true | ||
type ClusterResource struct { | ||
// APIGroups is the name of the APIGroup that contains the resources. If multiple API groups are specified, any action requested against any resource listed will be allowed. '*' represents all resources. Empty string represents v1 api resources. | ||
APIGroups []string `json:"apiGroups"` | ||
|
||
// Resources is a list of resources this rule applies to. '*' represents all resources. | ||
Resources []string `json:"resources"` | ||
|
||
// Operations which can be executed on the selected resources. | ||
// +kubebuilder:default={List} | ||
Operations []ClusterResourceOperation `json:"operations"` | ||
|
||
// Select all cluster scoped resources with the given label selector. | ||
Selector *metav1.LabelSelector `json:"selector"` | ||
} |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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
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 |
---|---|---|
@@ -1,3 +1,6 @@ | ||
crds: | ||
install: true | ||
keep: false | ||
options: | ||
enableSSL: true | ||
generateCertificates: false | ||
|
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 |
---|---|---|
@@ -1,3 +1,6 @@ | ||
crds: | ||
install: true | ||
keep: false | ||
kind: DaemonSet | ||
imagePullSecrets: [] | ||
certManager: | ||
|
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 |
---|---|---|
@@ -1,3 +1,6 @@ | ||
crds: | ||
install: true | ||
keep: false | ||
kind: DaemonSet | ||
daemonset: | ||
hostNetwork: true | ||
|
Oops, something went wrong.