You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 30, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: Documentation/security.md
-4Lines changed: 0 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,6 @@
4
4
5
5
The default deployment of the preview release of fleet doesn't currently perform any authentication or authorization for submitted units. This means that any client that can access your etcd cluster can potentially run arbitrary code on many of your machines very easily.
6
6
7
-
## Job Signing
8
-
9
-
Version 0.2.0 of fleet added the ability to add signatures to Jobs to provide authorization and integrity checking to units submitted to the cluster. For more details on how it works and how to use it, see the [Signed Units](signed-units.md) documentation.
10
-
11
7
## Securing the Registry
12
8
13
9
You should avoid public access to the registry (i.e etcd) and instead run fleet [from your local laptop](using-the-client.md#get-up-and-running) with the `--tunnel` flag to run commands over an SSH tunnel. You can alias this flag for easier usage: `alias fleetctl=fleetctl --tunnel 10.10.10.10` - or use the environment variable `FLEETCTL_TUNNEL`.
Copy file name to clipboardExpand all lines: fleetctl/fleetctl.go
+5-75Lines changed: 5 additions & 75 deletions
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,6 @@ import (
23
23
"github.com/coreos/fleet/pkg"
24
24
"github.com/coreos/fleet/registry"
25
25
"github.com/coreos/fleet/schema"
26
-
"github.com/coreos/fleet/sign"
27
26
"github.com/coreos/fleet/ssh"
28
27
"github.com/coreos/fleet/unit"
29
28
"github.com/coreos/fleet/version"
@@ -202,7 +201,8 @@ func main() {
202
201
}
203
202
204
203
ifsharedFlags.Sign {
205
-
fmt.Fprintln(os.Stderr, "WARNING: The signed/verified units feature is DEPRECATED and should not be used. It will be completely removed from fleet and fleetctl.")
204
+
fmt.Fprintln(os.Stderr, "WARNING: The signed/verified units feature is DEPRECATED and cannot be used.")
cmdLoadUnits.Flags.BoolVar(&sharedFlags.Sign, "sign", false, "Sign unit file signatures and verify submitted units using local SSH identities.")
21
-
cmdLoadUnits.Flags.IntVar(&sharedFlags.BlockAttempts, "block-attempts", 0, "Wait until the units are loaded, performing up to N attempts before giving up. A value of 0 indicates no limit.")
22
-
cmdLoadUnits.Flags.BoolVar(&sharedFlags.NoBlock, "no-block", false, "Do not wait until the units have been loaded before exiting.")
20
+
cmdLoadUnits.Flags.BoolVar(&sharedFlags.Sign, "sign", false, "DEPRECATED - this option cannot be used")
21
+
cmdLoadUnits.Flags.IntVar(&sharedFlags.BlockAttempts, "block-attempts", 0, "Wait until the jobs are loaded, performing up to N attempts before giving up. A value of 0 indicates no limit.")
22
+
cmdLoadUnits.Flags.BoolVar(&sharedFlags.NoBlock, "no-block", false, "Do not wait until the jobs have been loaded before exiting.")
0 commit comments