chore: cleanup
This commit is contained in:
@ -1,4 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
/sbin/iptables-restore < /etc/iptables-kubernetes.rules;
|
||||
/sbin/ip6tables-restore < /etc/ip6tables-kubernetes.rules;
|
||||
@ -1,23 +0,0 @@
|
||||
#
|
||||
# IP Tables Firewall Rules for Kubernetes
|
||||
#
|
||||
# Managed By ansible/role/nfc_kubernetes
|
||||
#
|
||||
# Dont edit this file directly as it will be overwritten. To grant a host API access
|
||||
# edit the cluster config, adding the hostname/ip to path kubernetes_config.cluster.access
|
||||
#
|
||||
|
||||
|
||||
*filter
|
||||
|
||||
iptables -N sshd
|
||||
iptables -A sshd -j RETURN
|
||||
|
||||
iptables -A INPUT -p tcp --dport 22 -m comment --comment "OpenSSH Server" -j sshd
|
||||
|
||||
|
||||
iptables -I sshd -m comment --comment "allow All Hosts" -j ACCEPT
|
||||
|
||||
|
||||
|
||||
COMMIT
|
||||
@ -1,14 +0,0 @@
|
||||
/var/lib/docker/containers/*/*.log {
|
||||
daily
|
||||
missingok
|
||||
rotate 7
|
||||
compress
|
||||
delaycompress
|
||||
notifempty
|
||||
postrotate
|
||||
docker restart $(docker ps -q)
|
||||
endscript
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user