podman and salt-minion version hold
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user