-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added ConfigMap for nnf-dm-worker's sshd_config
There was no way to adjust MaxStartups without spinning a new image. This allows for a site-specific configuration, if needed. Signed-off-by: Blake Devcich <blake.devcich@hpe.com>
- Loading branch information
Showing
3 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
resources: | ||
- manager.yaml | ||
- worker-sshd-config.yaml | ||
|
||
generatorOptions: | ||
disableNameSuffixHash: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: worker-config | ||
data: | ||
sshd_config: | | ||
Include /etc/ssh/sshd_config.d/*.conf | ||
Port 2222 | ||
StrictModes no | ||
MaxSessions 4096 | ||
MaxStartups 4096 | ||
ChallengeResponseAuthentication no | ||
UsePAM yes | ||
X11Forwarding yes | ||
PrintMotd no | ||
AcceptEnv LANG LC_* | ||
Subsystem sftp /usr/lib/openssh/sftp-server |