-
Notifications
You must be signed in to change notification settings - Fork 21
Copy kindnet and kube-proxy assets to the upstream repository #76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
d65e653
Add kindnet and kube-proxy build material to the repo
ggiguash f92f74b
Adjust the rpm build procedure to build kindnet upstream
ggiguash 7f4080c
Adjust assets to contain only upstream references
ggiguash 79d6ac3
Refactor prebuild.sh to allow separate kindnet rebase
ggiguash bbf19be
Adjust WITH_KINDNET flag usage and docs
ggiguash c0fcc49
Increase run-healthy wait timeout to 15m
ggiguash File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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,15 @@ | ||
| apiVersion: v1 | ||
| kind: Namespace | ||
| metadata: | ||
| name: kube-kindnet | ||
| labels: | ||
| name: kube-kindnet | ||
| openshift.io/run-level: "0" | ||
| openshift.io/cluster-monitoring: "true" | ||
| pod-security.kubernetes.io/enforce: privileged | ||
| pod-security.kubernetes.io/audit: privileged | ||
| pod-security.kubernetes.io/warn: privileged | ||
| annotations: | ||
| openshift.io/node-selector: "" | ||
| openshift.io/description: "kindnet Kubernetes components" | ||
| workload.openshift.io/allowed: "management" |
This file contains hidden or 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: v1 | ||
| kind: ServiceAccount | ||
| metadata: | ||
| name: kindnet | ||
| namespace: kube-kindnet |
This file contains hidden or 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,88 @@ | ||
| apiVersion: rbac.authorization.k8s.io/v1 | ||
| kind: ClusterRole | ||
| metadata: | ||
| name: kindnet | ||
| rules: | ||
| - apiGroups: [""] | ||
| resources: | ||
| - namespaces | ||
| - nodes | ||
| - pods | ||
| verbs: | ||
| - get | ||
| - list | ||
| - patch | ||
| - watch | ||
| - update | ||
| - apiGroups: [""] | ||
| resources: | ||
| - pods | ||
| verbs: | ||
| - get | ||
| - list | ||
| - patch | ||
| - watch | ||
| - delete | ||
| - apiGroups: [""] | ||
| resources: | ||
| - configmaps | ||
| verbs: | ||
| - get | ||
| - create | ||
| - update | ||
| - patch | ||
| - apiGroups: [""] | ||
| resources: | ||
| - services | ||
| - endpoints | ||
| verbs: | ||
| - get | ||
| - list | ||
| - watch | ||
| - apiGroups: | ||
| - discovery.k8s.io | ||
| resources: | ||
| - endpointslices | ||
| verbs: | ||
| - list | ||
| - watch | ||
| - apiGroups: ["networking.k8s.io"] | ||
| resources: | ||
| - networkpolicies | ||
| verbs: | ||
| - get | ||
| - list | ||
| - watch | ||
| - apiGroups: ["", "events.k8s.io"] | ||
| resources: | ||
| - events | ||
| verbs: | ||
| - create | ||
| - patch | ||
| - update | ||
| - apiGroups: ["security.openshift.io"] | ||
| resources: | ||
| - securitycontextconstraints | ||
| verbs: | ||
| - use | ||
| resourceNames: | ||
| - privileged | ||
| - apiGroups: [""] | ||
| resources: | ||
| - "nodes/status" | ||
| verbs: | ||
| - patch | ||
| - update | ||
| - apiGroups: ["apiextensions.k8s.io"] | ||
| resources: | ||
| - customresourcedefinitions | ||
| verbs: | ||
| - get | ||
| - list | ||
| - watch | ||
| - apiGroups: ['authentication.k8s.io'] | ||
| resources: ['tokenreviews'] | ||
| verbs: ['create'] | ||
| - apiGroups: ['authorization.k8s.io'] | ||
| resources: ['subjectaccessreviews'] | ||
| verbs: ['create'] |
This file contains hidden or 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,12 @@ | ||
| apiVersion: rbac.authorization.k8s.io/v1 | ||
| kind: ClusterRoleBinding | ||
| metadata: | ||
| name: kindnet | ||
| roleRef: | ||
| apiGroup: rbac.authorization.k8s.io | ||
| kind: ClusterRole | ||
| name: kindnet | ||
| subjects: | ||
| - kind: ServiceAccount | ||
| name: kindnet | ||
| namespace: kube-kindnet |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just btw. is there a reason why we split
OKD_URLandRELEASE_TAGinto two params even though we always join them later?When it comes to OCI images I find this a bit superficial
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's a mere convenience.
OKD_URL is fixed, while the tag is a variable that we calculate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can create a follow-up issue if you think we should fix it