Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: afb487839198
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9fa52ae9a220
Choose a head ref
  • 2 commits
  • 3 files changed
  • 2 contributors

Commits on Mar 8, 2019

  1. nixos/kubernetes: minor module fixes

    - mkDefault etcd instance name
    - make sure ca-cert in mkKubeConfig can be overriden
    - fix controller-manager "tls-private-key-file" flag name
    Johan Thomsen committed Mar 8, 2019

    Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    80c4fd4 View commit details
  2. Merge pull request #56589 from johanot/kubernetes-module-stabilization

    nixos/kubernetes: minor module fixes
    infinisil authored Mar 8, 2019
    Copy the full SHA
    9fa52ae View commit details
2 changes: 1 addition & 1 deletion nixos/modules/services/cluster/kubernetes/apiserver.nix
Original file line number Diff line number Diff line change
@@ -350,7 +350,7 @@ in
listenPeerUrls = mkDefault ["https://0.0.0.0:2380"];
advertiseClientUrls = mkDefault ["https://${top.masterAddress}:2379"];
initialCluster = mkDefault ["${top.masterAddress}=https://${top.masterAddress}:2380"];
name = top.masterAddress;
name = mkDefault top.masterAddress;
initialAdvertisePeerUrls = mkDefault ["https://${top.masterAddress}:2380"];
};

Original file line number Diff line number Diff line change
@@ -131,7 +131,7 @@ in
${optionalString (cfg.tlsCertFile!=null)
"--tls-cert-file=${cfg.tlsCertFile}"} \
${optionalString (cfg.tlsKeyFile!=null)
"--tls-key-file=${cfg.tlsKeyFile}"} \
"--tls-private-key-file=${cfg.tlsKeyFile}"} \
${optionalString (elem "RBAC" top.apiserver.authorizationMode)
"--use-service-account-credentials"} \
${optionalString (cfg.verbosity != null) "--v=${toString cfg.verbosity}"} \
2 changes: 1 addition & 1 deletion nixos/modules/services/cluster/kubernetes/default.nix
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ let
kind = "Config";
clusters = [{
name = "local";
cluster.certificate-authority = cfg.caFile;
cluster.certificate-authority = conf.caFile or cfg.caFile;
cluster.server = conf.server;
}];
users = [{