Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

Fix links and directories #3

Merged
merged 1 commit into from
May 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
**/*.eml
*.ipr
*.iws
*.yaml-e
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,11 @@ build: generate fmt vet manifests
go build -o bin/manager ./cmd/manager/main.go
GOOS=linux GOARCH=amd64 go build \
-o bin/kubectl/kubectl-hns_linux_amd64 \
-ldflags="-X sigs.k8s.io/multi-tenancy/incubator/hnc/internal/version.Version=${HNC_IMG_TAG}" \
-ldflags="-X sigs.k8s.io/hierarchical-namespaces/internal/version.Version=${HNC_IMG_TAG}" \
./cmd/kubectl/main.go
GOOS=darwin GOARCH=amd64 go build \
-o bin/kubectl/kubectl-hns_darwin_amd64 \
-ldflags="-X sigs.k8s.io/multi-tenancy/incubator/hnc/internal/version.Version=${HNC_IMG_TAG}" \
-ldflags="-X sigs.k8s.io/hierarchical-namespaces/internal/version.Version=${HNC_IMG_TAG}" \
./cmd/kubectl/main.go

# Clean all binaries (manager and kubectl)
Expand Down Expand Up @@ -348,7 +348,7 @@ release: check-release-env
@echo "Releasing ${HNC_RELEASE_IMG}"
@echo "... override with HNC_RELEASE_REGISTRY, HNC_IMG_NAME and"
@echo "... HNC_IMG_TAG."
@echo "Pulling from Github multi-tenancy repo owned by ${HNC_RELEASE_REPO_OWNER}"
@echo "Pulling from Github hierarchical-namespaces repo owned by ${HNC_RELEASE_REPO_OWNER}"
@echo "... override with HNC_RELEASE_REPO_OWNER"
@echo "GCP project: ${PROJECT_ID} (obtained from gcloud)"
@echo "Temporary build image (must be in ${PROJECT_ID}): ${HNC_IMG}"
Expand Down
2 changes: 1 addition & 1 deletion PROJECT
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: "2"
domain: x-k8s.io
repo: github.com/kubernetes-sigs/multi-tenancy
repo: github.com/kubernetes-sigs/hierarchical-namespaces
resources:
- group: hnc
version: v1alpha1
Expand Down
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ All HNC issues are assigned to an HNC milestone. So far, the following
milestones are defined or planned:

* v1.0 - Likely late Q2 or early Q3 2021: HNC recommended for production use
* [v0.9](https://github.com/kubernetes-sigs/multi-tenancy/milestone/21): move
* [v0.9](https://github.com/kubernetes-sigs/hierarchical-namespaces/milestone/21): move
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe create these milestones in the new repo so we can have the correct number here? But you can also do that in a followup PR if you like.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the milestones will be carried over when we use the tool to copy the issues. @yiqigao217 can you confirm? I'd prefer to use that than do them manually now and have it mess up the migration

HNC to its own repo; continued stability improvements.
* [v0.8 - COMPLETE APR 2021](https://github.com/kubernetes-sigs/multi-tenancy/milestone/20):
incremental stability improvements
Expand All @@ -73,7 +73,7 @@ milestones are defined or planned:
* [v0.1 - COMPLETE NOV 2019](https://github.com/kubernetes-sigs/multi-tenancy/milestone/7):
an initial release with all basic functionality so you can play with it, but
not suitable for any real workloads.
* [Backlog](https://github.com/kubernetes-sigs/multi-tenancy/milestone/9):
* [Backlog](https://github.com/kubernetes-sigs/hierarchical-namespaces/milestone/9):
all unscheduled work.

## Contributing to HNC
Expand Down Expand Up @@ -158,8 +158,6 @@ cycle looks like the following:
stored on Github) or the _full_ path to the local manifests. If these are
not set, we'll skip any tests that include modifying the HNC deployement,
e.g. to bypass webhooks.
- If you deploy to Kind, the tests that use Network Policies may fail. See
https://github.com/kubernetes-sigs/multi-tenancy/issues/1098.
- Once you're ready to make a pull request, please follow the following
instructions:
- Each PR should contain _one commit_. If you have multiple commits (either
Expand All @@ -168,7 +166,7 @@ cycle looks like the following:
any changes to your fork of this repo.
- Ensure your commit message includes a "Tested:" section explaining in
reasonable detail what you did to test your change.
[Here](https://github.com/kubernetes-sigs/multi-tenancy/commit/ce983662e87264c76f92dbfbab7cef7bd6128837)
[Here](https://github.com/kubernetes-sigs/hierarchical-namespaces/commit/ce983662e87264c76f92dbfbab7cef7bd6128837)
is a good example. A minimal message might be something like "Added new
test; verified that the test failed before my change and passed after it;
ran e2e tests."
Expand Down
4 changes: 2 additions & 2 deletions api/v1alpha2/hnc_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ type HNCConfigurationSpec struct {
// Note that 'roles' and 'rolebindings' are pre-configured by HNC with
// 'Propagate' mode and are omitted in the spec. Any configuration of 'roles'
// or 'rolebindings' are not allowed. To learn more, see
// https://github.com/kubernetes-sigs/multi-tenancy/blob/master/incubator/hnc/docs/user-guide/how-to.md#admin-types
// https://github.com/kubernetes-sigs/hierarchical-namespaces/blob/master/docs/user-guide/how-to.md#admin-types
Resources []ResourceSpec `json:"resources,omitempty"`
}

Expand All @@ -157,7 +157,7 @@ type HNCConfigurationStatus struct {
// "ActivitiesHalted" reason, this means that HNC cannot function in the
// affected namespaces. The HierarchyConfiguration object in each of the
// affected namespaces will have more information. To learn more about
// conditions, see https://github.com/kubernetes-sigs/multi-tenancy/blob/master/incubator/hnc/docs/user-guide/concepts.md#admin-conditions.
// conditions, see https://github.com/kubernetes-sigs/hierarchical-namespaces/blob/master/docs/user-guide/concepts.md#admin-conditions.
Conditions []Condition `json:"conditions,omitempty"`
}

Expand Down
30 changes: 15 additions & 15 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ steps:
- '-c'
- |
set -e
echo Cloning from https://github.com/$_HNC_REPO_OWNER/multi-tenancy
git clone https://github.com/$_HNC_REPO_OWNER/multi-tenancy
cd multi-tenancy
echo Cloning from https://github.com/$_HNC_REPO_OWNER/hierarchical-namespaces
git clone https://github.com/$_HNC_REPO_OWNER/hierarchical-namespaces
cd hierarchical-namespaces
echo Checking out hnc-$_HNC_IMG_TAG
git checkout hnc-$_HNC_IMG_TAG
# Build the manifests and the kubectl plugin
Expand All @@ -19,7 +19,7 @@ steps:
- '-c'
- |
set -e
cd multi-tenancy/incubator/hnc
cd hierarchical-namespaces
export HNC_REGISTRY=$_HNC_REGISTRY
export HNC_IMG_NAME=$_HNC_IMG_NAME
export HNC_IMG_TAG=$_HNC_IMG_TAG
Expand All @@ -35,10 +35,10 @@ steps:
- '-H'
- 'Content-Type: application/x-application'
- '--data-binary'
- '@multi-tenancy/incubator/hnc/manifests/hnc-manager.yaml'
- '@hierarchical-namespaces/manifests/hnc-manager.yaml'
- '-u'
- '$_HNC_USER:$_HNC_PERSONAL_ACCESS_TOKEN'
- 'https://uploads.github.com/repos/$_HNC_REPO_OWNER/multi-tenancy/releases/$_HNC_RELEASE_ID/assets?name=hnc-manager.yaml'
- 'https://uploads.github.com/repos/$_HNC_REPO_OWNER/hierarchical-namespaces/releases/$_HNC_RELEASE_ID/assets?name=hnc-manager.yaml'
# Upload plugin (Linux)
- name: gcr.io/cloud-builders/curl
args:
Expand All @@ -47,10 +47,10 @@ steps:
- '-H'
- 'Content-Type: application/x-application'
- '--data-binary'
- '@multi-tenancy/incubator/hnc/bin/kubectl/kubectl-hns_linux_amd64'
- '@hierarchical-namespaces/bin/kubectl/kubectl-hns_linux_amd64'
- '-u'
- '$_HNC_USER:$_HNC_PERSONAL_ACCESS_TOKEN'
- 'https://uploads.github.com/repos/$_HNC_REPO_OWNER/multi-tenancy/releases/$_HNC_RELEASE_ID/assets?name=kubectl-hns_linux_amd64'
- 'https://uploads.github.com/repos/$_HNC_REPO_OWNER/hierarchical-namespaces/releases/$_HNC_RELEASE_ID/assets?name=kubectl-hns_linux_amd64'
# Upload plugin (Darwin)
- name: gcr.io/cloud-builders/curl
args:
Expand All @@ -59,10 +59,10 @@ steps:
- '-H'
- 'Content-Type: application/x-application'
- '--data-binary'
- '@multi-tenancy/incubator/hnc/bin/kubectl/kubectl-hns_darwin_amd64'
- '@hierarchical-namespaces/bin/kubectl/kubectl-hns_darwin_amd64'
- '-u'
- '$_HNC_USER:$_HNC_PERSONAL_ACCESS_TOKEN'
- 'https://uploads.github.com/repos/$_HNC_REPO_OWNER/multi-tenancy/releases/$_HNC_RELEASE_ID/assets?name=kubectl-hns_darwin_amd64'
- 'https://uploads.github.com/repos/$_HNC_REPO_OWNER/hierarchical-namespaces/releases/$_HNC_RELEASE_ID/assets?name=kubectl-hns_darwin_amd64'
# Upload plugin (Krew tar file)
- name: gcr.io/cloud-builders/curl
args:
Expand All @@ -71,10 +71,10 @@ steps:
- '-H'
- 'Content-Type: application/x-application'
- '--data-binary'
- '@multi-tenancy/incubator/hnc/bin/kubectl-hns.tar.gz'
- '@hierarchical-namespaces/bin/kubectl-hns.tar.gz'
- '-u'
- '$_HNC_USER:$_HNC_PERSONAL_ACCESS_TOKEN'
- 'https://uploads.github.com/repos/$_HNC_REPO_OWNER/multi-tenancy/releases/$_HNC_RELEASE_ID/assets?name=kubectl-hns.tar.gz'
- 'https://uploads.github.com/repos/$_HNC_REPO_OWNER/hierarchical-namespaces/releases/$_HNC_RELEASE_ID/assets?name=kubectl-hns.tar.gz'
# Upload plugin (Krew manifest file - to add to the Krew index)
- name: gcr.io/cloud-builders/curl
args:
Expand All @@ -83,12 +83,12 @@ steps:
- '-H'
- 'Content-Type: application/x-application'
- '--data-binary'
- '@multi-tenancy/incubator/hnc/manifests/krew-kubectl-hns.yaml'
- '@hierarchical-namespaces/manifests/krew-kubectl-hns.yaml'
- '-u'
- '$_HNC_USER:$_HNC_PERSONAL_ACCESS_TOKEN'
- 'https://uploads.github.com/repos/$_HNC_REPO_OWNER/multi-tenancy/releases/$_HNC_RELEASE_ID/assets?name=krew-kubectl-hns.yaml'
- 'https://uploads.github.com/repos/$_HNC_REPO_OWNER/hierarchical-namespaces/releases/$_HNC_RELEASE_ID/assets?name=krew-kubectl-hns.yaml'
# Build Docker image
- name: gcr.io/cloud-builders/docker
args: ['build', '-t', 'gcr.io/$PROJECT_ID/$_HNC_IMG_NAME:$_HNC_IMG_TAG', 'multi-tenancy/incubator/hnc']
args: ['build', '-t', 'gcr.io/$PROJECT_ID/$_HNC_IMG_NAME:$_HNC_IMG_TAG', 'hierarchical-namespaces']

images: ['gcr.io/$PROJECT_ID/$_HNC_IMG_NAME:$_HNC_IMG_TAG']
2 changes: 1 addition & 1 deletion cmd/kubectl/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ limitations under the License.
package main

import (
"sigs.k8s.io/multi-tenancy/incubator/hnc/internal/kubectl"
"sigs.k8s.io/hierarchical-namespaces/internal/kubectl"
)

func main() {
Expand Down
12 changes: 6 additions & 6 deletions cmd/manager/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ import (

// +kubebuilder:scaffold:imports

v1a2 "sigs.k8s.io/multi-tenancy/incubator/hnc/api/v1alpha2"
"sigs.k8s.io/multi-tenancy/incubator/hnc/internal/config"
"sigs.k8s.io/multi-tenancy/incubator/hnc/internal/forest"
"sigs.k8s.io/multi-tenancy/incubator/hnc/internal/reconcilers"
"sigs.k8s.io/multi-tenancy/incubator/hnc/internal/stats"
"sigs.k8s.io/multi-tenancy/incubator/hnc/internal/validators"
v1a2 "sigs.k8s.io/hierarchical-namespaces/api/v1alpha2"
"sigs.k8s.io/hierarchical-namespaces/internal/config"
"sigs.k8s.io/hierarchical-namespaces/internal/forest"
"sigs.k8s.io/hierarchical-namespaces/internal/reconcilers"
"sigs.k8s.io/hierarchical-namespaces/internal/stats"
"sigs.k8s.io/hierarchical-namespaces/internal/validators"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions config/crd/bases/hnc.x-k8s.io_hncconfigurations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spec:
description: HNCConfigurationSpec defines the desired state of HNC configuration.
properties:
resources:
description: Resources defines the cluster-wide settings for resource synchronization. Note that 'roles' and 'rolebindings' are pre-configured by HNC with 'Propagate' mode and are omitted in the spec. Any configuration of 'roles' or 'rolebindings' are not allowed. To learn more, see https://github.com/kubernetes-sigs/multi-tenancy/blob/master/incubator/hnc/docs/user-guide/how-to.md#admin-types
description: Resources defines the cluster-wide settings for resource synchronization. Note that 'roles' and 'rolebindings' are pre-configured by HNC with 'Propagate' mode and are omitted in the spec. Any configuration of 'roles' or 'rolebindings' are not allowed. To learn more, see https://github.com/kubernetes-sigs/hierarchical-namespaces/blob/master/docs/user-guide/how-to.md#admin-types
items:
description: ResourceSpec defines the desired synchronization state of a specific resource.
properties:
Expand All @@ -65,7 +65,7 @@ spec:
description: HNCConfigurationStatus defines the observed state of HNC configuration.
properties:
conditions:
description: Conditions describes the errors, if any. If there are any conditions with "ActivitiesHalted" reason, this means that HNC cannot function in the affected namespaces. The HierarchyConfiguration object in each of the affected namespaces will have more information. To learn more about conditions, see https://github.com/kubernetes-sigs/multi-tenancy/blob/master/incubator/hnc/docs/user-guide/concepts.md#admin-conditions.
description: Conditions describes the errors, if any. If there are any conditions with "ActivitiesHalted" reason, this means that HNC cannot function in the affected namespaces. The HierarchyConfiguration object in each of the affected namespaces will have more information. To learn more about conditions, see https://github.com/kubernetes-sigs/hierarchical-namespaces/blob/master/docs/user-guide/concepts.md#admin-conditions.
items:
description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }"
properties:
Expand Down
2 changes: 1 addition & 1 deletion docs/links.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ This file contains links to all the HNC documents (sorted by last updated).
- [2019/12] [HNC CLI naming](http://bit.ly/hnc-cli-naming)
- [2020/01] [HNC self-service namespaces UX](http://bit.ly/hnc-self-serve-ux)
- [2020/01] [HNC type configuration](http://bit.ly/hnc-type-configuration)
- [2020/02] [Metrics user guide: Stackdriver on GKE](https://github.com/kubernetes-sigs/multi-tenancy/blob/master/incubator/hnc/doc/metrics/stackdriver-gke.md)
- [2020/02] [Metrics user guide: Stackdriver on GKE](https://github.com/kubernetes-sigs/hierarchical-namespaces/blob/master/doc/metrics/stackdriver-gke.md)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could probably just change this to metrics/stackdriver-gke.md since we're already in the docs/ directory.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The link is a 404 in the old repo as well, created #7 to investigate and fix the link.

- [2020/07] [HNC v1alpha2 API Proposal](http://bit.ly/hnc_v1alpha2)
- [2020/11] [HNC Quickstart](https://bit.ly/hnc-quickstart)
4 changes: 2 additions & 2 deletions docs/releasing.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ this for you.
Set the following environment variables:

```bash
export MT_ENDPOINT=https://api.github.com/repos/kubernetes-sigs/multi-tenancy
export MT_ENDPOINT=https://api.github.com/repos/kubernetes-sigs/hierarchical-namespaces
export HNC_USER=<your github name>
export HNC_PAT=<your personal access token>
export HNC_IMG_TAG=<the semantic version, eg v0.1.0-rc1>
Expand Down Expand Up @@ -197,7 +197,7 @@ vars:

* `HNC_RELEASE_REPO_OWNER`: this is the Github repo owner - default is
`kubernetes-sigs`, replace with your name (e.g. `adrianludwin`). The
`multi-tenancy` repo name is hardcoded and can't be changed.
`hierarchical-namespaces` repo name is hardcoded and can't be changed.
* `HNC_RELEASE_REGISTRY`: default is `gcr.io/k8s-staging-multitenancy`, replace
with your own registry (eg `gcr.io/adrians-project`).

Expand Down
6 changes: 3 additions & 3 deletions docs/user-guide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ see below.

## Older user guides

* [HNC v0.6](https://github.com/kubernetes-sigs/multi-tenancy/tree/hnc-v0.6/incubator/hnc/docs/user-guide)
* [HNC v0.5](https://github.com/kubernetes-sigs/multi-tenancy/tree/hnc-v0.5/incubator/hnc/docs/user-guide)
* [HNC v0.4](https://github.com/kubernetes-sigs/multi-tenancy/tree/hnc-v0.4/incubator/hnc/docs/user-guide)
* [HNC v0.6](https://github.com/kubernetes-sigs/multi-tenancy/tree/hnc-v0.6/docs/user-guide)
* [HNC v0.5](https://github.com/kubernetes-sigs/multi-tenancy/tree/hnc-v0.5/docs/user-guide)
* [HNC v0.4](https://github.com/kubernetes-sigs/multi-tenancy/tree/hnc-v0.4/docs/user-guide)
* [HNC v0.3](https://docs.google.com/document/d/1XVVv1ha4j1WUaszu3mmlACeWPUJXbJhA6zntxswrsco)
2 changes: 1 addition & 1 deletion docs/user-guide/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Please feel free to suggest additional questions.

You can contact us on:

* [Github issues](https://github.com/kubernetes-sigs/multi-tenancy/issues)
* [Github issues](https://github.com/kubernetes-sigs/hierarchical-namespaces/issues)
* [Google Groups mailing list](https://groups.google.com/forum/#!forum/kubernetes-wg-multitenancy)
* [#wg-multitenancy on Slack](https://kubernetes.slack.com/messages/wg-multitenancy)

Expand Down
4 changes: 2 additions & 2 deletions docs/user-guide/how-to.md
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ relationships and configuration settings:
kubectl get crds | grep .hnc.x-k8s.io | awk '{print $1}' | xargs kubectl delete crd

# Delete the rest of HNC.
kubectl delete -f https://github.com/kubernetes-sigs/multi-tenancy/releases/download/hnc-${HNC_VERSION}/hnc-manager.yaml
kubectl delete -f https://github.com/kubernetes-sigs/hierarchical-namespaces/releases/download/hnc-${HNC_VERSION}/hnc-manager.yaml
```

<a name="admin-excluded-namespaces"/>
Expand Down Expand Up @@ -722,7 +722,7 @@ edit the `config` object directly, which will bypass this protection.

HNC makes the following metrics available, and can be monitored via Stackdriver
(next section) or Prometheus (experimental - see
[#433](https://github.com/kubernetes-sigs/multi-tenancy/issues/433)).
[#433](https://github.com/kubernetes-sigs/hierarchical-namespaces/issues/433)).

Our [best practices guide](best-practices.md#health) can help you use these
metrics to ensure that HNC stays healthy.
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module sigs.k8s.io/multi-tenancy/incubator/hnc
module sigs.k8s.io/hierarchical-namespaces

go 1.14

Expand Down
8 changes: 4 additions & 4 deletions hack/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ PROW_TMP := $(shell mktemp -d)
# and that's probably good enough for us.
#
# Please keep this in sync with
# https://github.com/kubernetes/test-infra/tree/master/config/jobs/kubernetes-sigs/wg-multi-tenancy/hnc-e2e.yaml.
# https://github.com/kubernetes/test-infra/tree/master/config/jobs/kubernetes-sigs/hierarchical-namespaces/hnc-e2e.yaml.
# Also, when you do this, please also upgrade the version of Kind we download
# in prow-run-e2e.sh in this directory.
PROW_IMG ?= gcr.io/k8s-testimages/krte:v20210129-3799a64-master
Expand All @@ -33,10 +33,10 @@ prow-test:
@echo ~~~ Preparing to test prow-run-e2e.sh ~~~
@echo
@echo Cloning the repo
git clone https://github.com/kubernetes-sigs/multi-tenancy ${PROW_TMP}
git clone https://github.com/kubernetes-sigs/hierarchical-namespaces ${PROW_TMP}
@echo
@echo Copying run-e2e-tests in this directory to the synced directory
cp -p ./prow-run-e2e.sh ${PROW_TMP}/incubator/hnc/hack
cp -p ./prow-run-e2e.sh ${PROW_TMP}/hack
@echo
@echo ~~~ Testing prow-run-e2e.sh in KRTE ~~~
@echo
Expand All @@ -48,7 +48,7 @@ prow-test:
--network="host" \
-it \
${PROW_IMG} \
/local-test-start-dir/incubator/hnc/hack/prow-run-e2e.sh
/local-test-start-dir/hack/prow-run-e2e.sh

# After calling 'make prow-test', the Kind cluster might still be present on the
# *host* even though the Docker container has exited. Run this to find and
Expand Down
10 changes: 5 additions & 5 deletions hack/krew-kubectl-hns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ spec:
version: HNC_IMG_TAG
caveats: |
This plugin requires the most recent minor version of HNC on your cluster. Get it at:
https://github.com/kubernetes-sigs/multi-tenancy/releases/tag/hnc-HNC_IMG_TAG
https://github.com/kubernetes-sigs/hierarchical-namespaces/releases/tag/hnc-HNC_IMG_TAG
or via:
kubectl apply -f https://github.com/kubernetes-sigs/multi-tenancy/releases/download/hnc-HNC_IMG_TAG/hnc-manager.yaml
kubectl apply -f https://github.com/kubernetes-sigs/hierarchical-namespaces/releases/download/hnc-HNC_IMG_TAG/hnc-manager.yaml

This version of the plugin should work with HNC v0.6 and later - but for
best results, use the version that matches the version of HNC on your
Expand All @@ -36,9 +36,9 @@ spec:
* 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/HNC_RELEASE_REPO_OWNER/multi-tenancy/tree/master/incubator/hnc/docs/user-guide
homepage: https://github.com/HNC_RELEASE_REPO_OWNER/hierarchical-namespaces/tree/master/docs/user-guide
platforms:
- uri: https://github.com/HNC_RELEASE_REPO_OWNER/multi-tenancy/releases/download/hnc-HNC_IMG_TAG/kubectl-hns.tar.gz
- uri: https://github.com/HNC_RELEASE_REPO_OWNER/hierarchical-namespaces/releases/download/hnc-HNC_IMG_TAG/kubectl-hns.tar.gz
selector:
matchLabels:
os: linux
Expand All @@ -50,7 +50,7 @@ spec:
- from: "bin/kubectl/LICENSE"
to: "."
bin: "./kubectl-hns_linux_amd64"
- uri: https://github.com/HNC_RELEASE_REPO_OWNER/multi-tenancy/releases/download/hnc-HNC_IMG_TAG/kubectl-hns.tar.gz
- uri: https://github.com/HNC_RELEASE_REPO_OWNER/hierarchical-namespaces/releases/download/hnc-HNC_IMG_TAG/kubectl-hns.tar.gz
selector:
matchLabels:
os: darwin
Expand Down
Loading