forked from kubernetes-sigs/krew-index
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hns.yaml
96 lines (90 loc) · 3.57 KB
/
hns.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
apiVersion: krew.googlecontainertools.github.com/v1alpha2
kind: Plugin
metadata:
name: hns
spec:
shortDescription: Manage hierarchical namespaces (part of HNC)
description: |
Manipulates hierarchical namespaces provided by the Hierarchical Namespace
Controller (HNC).
HNC allows you to arrange your namespaces into hierarchies, which enables
two key benefits:
* Owners of parent namespaces can create policies that are enforced on
all descendant namespaces.
* Users without cluster-level permissions to create namespaces can create
restricted "subnamespaces" instead.
HNC is controlled via regular Kubernetes objects, but this plugin makes it
easy to create subnamespaces, arrange regular (full) namespaces into
hierarchies, and configure HNC to propagate different kinds of objects.
version: v1.1.0
caveats: |
This plugin works best if you have the most recent minor version of HNC on
your cluster. Get the latest version of HNC, as well as prior versions of
this plugin, at:
https://github.com/kubernetes-sigs/hierarchical-namespaces
Watch out for the following common misconceptions when using HNC:
* Not all child namespaces are subnamespaces!
* Only RBAC Roles and RoleBindings are propagated by default, but you can configure more.
The user guide contains much more information.
homepage: https://github.com/kubernetes-sigs/hierarchical-namespaces/tree/master/docs/user-guide
platforms:
- uri: https://github.com/kubernetes-sigs/hierarchical-namespaces/releases/download/v1.1.0/kubectl-hns.tar.gz
selector:
matchLabels:
os: linux
arch: amd64
sha256: 830554a4deb2ca554e795b14fd2c46fc964eee6ac48c7d4feb42468cbb525db0
files:
- from: "bin/kubectl/kubectl-hns_linux_amd64"
to: "."
- from: "bin/kubectl/LICENSE"
to: "."
bin: "./kubectl-hns_linux_amd64"
- uri: https://github.com/kubernetes-sigs/hierarchical-namespaces/releases/download/v1.1.0/kubectl-hns.tar.gz
selector:
matchLabels:
os: linux
arch: arm64
sha256: 830554a4deb2ca554e795b14fd2c46fc964eee6ac48c7d4feb42468cbb525db0
files:
- from: "bin/kubectl/kubectl-hns_linux_arm64"
to: "."
- from: "bin/kubectl/LICENSE"
to: "."
bin: "./kubectl-hns_linux_arm64"
- uri: https://github.com/kubernetes-sigs/hierarchical-namespaces/releases/download/v1.1.0/kubectl-hns.tar.gz
selector:
matchLabels:
os: darwin
arch: amd64
sha256: 830554a4deb2ca554e795b14fd2c46fc964eee6ac48c7d4feb42468cbb525db0
files:
- from: "bin/kubectl/kubectl-hns_darwin_amd64"
to: "."
- from: "bin/kubectl/LICENSE"
to: "."
bin: "./kubectl-hns_darwin_amd64"
- uri: https://github.com/kubernetes-sigs/hierarchical-namespaces/releases/download/v1.1.0/kubectl-hns.tar.gz
selector:
matchLabels:
os: darwin
arch: arm64
sha256: 830554a4deb2ca554e795b14fd2c46fc964eee6ac48c7d4feb42468cbb525db0
files:
- from: "bin/kubectl/kubectl-hns_darwin_arm64"
to: "."
- from: "bin/kubectl/LICENSE"
to: "."
bin: "./kubectl-hns_darwin_arm64"
- uri: https://github.com/kubernetes-sigs/hierarchical-namespaces/releases/download/v1.1.0/kubectl-hns.tar.gz
selector:
matchLabels:
os: windows
arch: amd64
sha256: 830554a4deb2ca554e795b14fd2c46fc964eee6ac48c7d4feb42468cbb525db0
files:
- from: "bin/kubectl/kubectl-hns_windows_amd64.exe"
to: "."
- from: "bin/kubectl/LICENSE"
to: "."
bin: "./kubectl-hns_windows_amd64.exe"