about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGeoffrey Huntley <ghuntley@ghuntley.com>2018-05-24 22:16:08 +1000
committerRobin Gloster <mail@glob.in>2018-05-24 14:16:08 +0200
commite22d072c641bdd4f615932b8afb06aed518867d5 (patch)
tree736c42099e31b31758f5c52b79ebbfca9b729782
parent3c0daa19e2d61d167325cbf558c15931bfd531b2 (diff)
downloadnixlib-e22d072c641bdd4f615932b8afb06aed518867d5.tar
nixlib-e22d072c641bdd4f615932b8afb06aed518867d5.tar.gz
nixlib-e22d072c641bdd4f615932b8afb06aed518867d5.tar.bz2
nixlib-e22d072c641bdd4f615932b8afb06aed518867d5.tar.lz
nixlib-e22d072c641bdd4f615932b8afb06aed518867d5.tar.xz
nixlib-e22d072c641bdd4f615932b8afb06aed518867d5.tar.zst
nixlib-e22d072c641bdd4f615932b8afb06aed518867d5.zip
kubernetes: fix 404 links to documentation
-rw-r--r--nixos/modules/services/cluster/kubernetes/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/nixos/modules/services/cluster/kubernetes/default.nix b/nixos/modules/services/cluster/kubernetes/default.nix
index aeb0a0d2432d..d0309ebd5b8a 100644
--- a/nixos/modules/services/cluster/kubernetes/default.nix
+++ b/nixos/modules/services/cluster/kubernetes/default.nix
@@ -279,7 +279,7 @@ in {
       tokenAuthFile = mkOption {
         description = ''
           Kubernetes apiserver token authentication file. See
-          <link xlink:href="https://kubernetes.io/docs/admin/authentication.html"/>
+          <link xlink:href="https://kubernetes.io/docs/reference/access-authn-authz/authentication"/>
         '';
         default = null;
         type = types.nullOr types.path;
@@ -288,7 +288,7 @@ in {
       basicAuthFile = mkOption {
         description = ''
           Kubernetes apiserver basic authentication file. See
-          <link xlink:href="https://kubernetes.io/docs/admin/authentication.html"/>
+          <link xlink:href="https://kubernetes.io/docs/reference/access-authn-authz/authentication"/>
         '';
         default = pkgs.writeText "users" ''
           kubernetes,admin,0
@@ -299,7 +299,7 @@ in {
       authorizationMode = mkOption {
         description = ''
           Kubernetes apiserver authorization mode (AlwaysAllow/AlwaysDeny/ABAC/RBAC). See
-          <link xlink:href="https://kubernetes.io/docs/admin/authorization.html"/>
+          <link xlink:href="https://kubernetes.io/docs/reference/access-authn-authz/authorization/"/>
         '';
         default = ["RBAC" "Node"];
         type = types.listOf (types.enum ["AlwaysAllow" "AlwaysDeny" "ABAC" "RBAC" "Node"]);
@@ -308,7 +308,7 @@ in {
       authorizationPolicy = mkOption {
         description = ''
           Kubernetes apiserver authorization policy file. See
-          <link xlink:href="https://kubernetes.io/docs/admin/authorization.html"/>
+          <link xlink:href="https://kubernetes.io/docs/reference/access-authn-authz/authorization/"/>
         '';
         default = [];
         type = types.listOf types.attrs;
@@ -332,7 +332,7 @@ in {
       runtimeConfig = mkOption {
         description = ''
           Api runtime configuration. See
-          <link xlink:href="https://kubernetes.io/docs/admin/cluster-management.html"/>
+          <link xlink:href="https://kubernetes.io/docs/tasks/administer-cluster/cluster-management/"/>
         '';
         default = "authentication.k8s.io/v1beta1=true";
         example = "api/all=false,api/v1=true";