popraweczki

This commit is contained in:
paramah 2022-10-08 19:07:57 +02:00
parent b1f1155bc3
commit e8cdce6252
2 changed files with 7 additions and 7 deletions

4
Vagrantfile vendored
View File

@ -49,7 +49,7 @@ Vagrant.configure(2) do |config|
lv.memory = 2*1024
end
config.vm.hostname = fqdn
config.vm.network :private_network, ip: ip_address, libvirt__forward_mode: 'none', libvirt__dhcp_enabled: false
config.vm.network :private_network, ip: ip_address, libvirt__forward_mode: 'open', libvirt__dhcp_enabled: false, bridge: 'enp0s31f6'
config.vm.provision 'hosts' do |hosts|
hosts.autoconfigure = true
hosts.sync_hosts = true
@ -82,7 +82,7 @@ Vagrant.configure(2) do |config|
lv.memory = 2*1024
end
config.vm.hostname = fqdn
config.vm.network :private_network, ip: ip_address, libvirt__forward_mode: 'none', libvirt__dhcp_enabled: false
config.vm.network :private_network, ip: ip_address, libvirt__forward_mode: 'none', libvirt__dhcp_enabled: false, bridge: 'enp0s31f6'
config.vm.provision 'hosts' do |hosts|
hosts.autoconfigure = true
hosts.sync_hosts = true

View File

@ -176,11 +176,11 @@ kubectl get clusterrolebinding --all-namespaces -o json | jq .items[].subjects
# rbac access matrix.
# see https://github.com/corneliusweig/rakkess/blob/master/doc/USAGE.md
kubectl krew install access-matrix
kubectl access-matrix version --full
kubectl access-matrix # at cluster scope.
kubectl access-matrix --namespace default
kubectl access-matrix --sa kubernetes-dashboard --namespace kubernetes-dashboard
#kubectl krew install access-matrix
#kubectl access-matrix version --full
#kubectl access-matrix # at cluster scope.
#kubectl access-matrix --namespace default
#kubectl access-matrix --sa kubernetes-dashboard --namespace kubernetes-dashboard
# list system secrets.
kubectl -n kube-system get secret