podman and salt-minion version hold
This commit is contained in:
@@ -7,3 +7,4 @@ include:
|
||||
- .repo.debian
|
||||
- .repo.maketank
|
||||
- .prometheus
|
||||
- .salt.minion
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
---
|
||||
include:
|
||||
- kubernetes.package.repo
|
||||
- .cri-tools
|
||||
|
||||
{% set k8s_v = "1.20.2-00" %}
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
include:
|
||||
- kubernetes.package.repo
|
||||
|
||||
cri-tools_pkgs:
|
||||
pkg.installed:
|
||||
|
||||
8
k8s/files/podman-policy.json
Normal file
8
k8s/files/podman-policy.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"default": [
|
||||
{
|
||||
"type": "insecureAcceptAnything"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
19
k8s/podman.sls
Normal file
19
k8s/podman.sls
Normal file
@@ -0,0 +1,19 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# vim: ft=yaml
|
||||
---
|
||||
include:
|
||||
- .repo.debian-bullseye
|
||||
|
||||
podman_pkgs:
|
||||
pkg.installed:
|
||||
- pkgs:
|
||||
- podman
|
||||
- require:
|
||||
- pkgrepo: repo_debian-bullseye
|
||||
|
||||
/etc/containers/policy.json:
|
||||
file.managed:
|
||||
- source: salt://k8s/files/podman-policy.json
|
||||
- mode: 644
|
||||
- user: root
|
||||
- group: root
|
||||
4
top.sls
4
top.sls
@@ -12,10 +12,12 @@ base:
|
||||
'G@osarch:arm64 or G@osarch:armhf or G@osarch:armel':
|
||||
- match: compound
|
||||
- base.packages.arch.arm
|
||||
'auto*':
|
||||
'auto01*':
|
||||
- base.packages.openhab
|
||||
#- base.packages.openhab.ser2net_server
|
||||
#- base.packages.openhab.ser2net_client
|
||||
'auto02*':
|
||||
- k8s.podman
|
||||
'pine*':
|
||||
- k8s
|
||||
'lenny*':
|
||||
|
||||
Reference in New Issue
Block a user