• Walter Fender's avatar
    GCE will properly regenerate basic_auth.csv on kube-apiserver start. · d7f43a6b
    Walter Fender authored
    If the file does not exist we will generate it as normal.
    If the file exists we will remove the old admin password before adding
    the "new" one. (Turns in to a no-op if the password exists).
    This did not work properly before because we were replacing by key,
    where the key was the password. New password would not match and so
    not replace the old password.
    Added a METADATA_CLOBBERS_CONFIG flag
    METADATA_CLOBBERS_CONFIG controls if we consider the values on disk or in
    metadata to be the canonical source of truth. Currently defaulting to
    false for GCE and forcing to true for GKE.
    Added handling for older forms of the basic_auth.csv file.
    Fixed comment to reflect new METADATA_CLOBBERS_CONFIG var.
    d7f43a6b
Name
Last commit
Last update
..
config-common.sh Loading commit data...
config-default.sh Loading commit data...
config-test.sh Loading commit data...
make-it-stop.sh Loading commit data...
util.sh Loading commit data...