hack/update-expected.sh

This commit is contained in:
John Gardiner Myers 2021-05-16 11:15:05 -07:00
parent 59c8826b17
commit 221f02b1af
12 changed files with 60 additions and 58 deletions

View File

@ -1,3 +1,7 @@
FileAssets:
- content: user,token
name: tokens
path: /kube/tokens.csv
Hooks:
- - manifest: |-
Type=oneshot

View File

@ -1,3 +1,13 @@
FileAssets:
- content: blah blah
name: iptables-restore
path: /var/lib/iptables/rules-save
- content: user,token
name: tokens
path: /kube/tokens.csv
- content: blah blah
name: iptables-restore
path: /var/lib/iptables/rules-save
Hooks:
- - before:
- update-engine.service

View File

@ -1,3 +1,13 @@
FileAssets:
- content: blah blah
name: iptables-restore
path: /var/lib/iptables/rules-save
- content: user,token
name: tokens
path: /kube/tokens.csv
- content: blah blah
name: iptables-restore
path: /var/lib/iptables/rules-save
Hooks:
- - before:
- update-engine.service

View File

@ -1,3 +1,7 @@
FileAssets:
- content: user,token
name: tokens
path: /kube/tokens.csv
Hooks:
- - manifest: |-
Type=oneshot

View File

@ -1,3 +1,13 @@
FileAssets:
- content: blah blah
name: iptables-restore
path: /var/lib/iptables/rules-save
- content: user,token
name: tokens
path: /kube/tokens.csv
- content: blah blah
name: iptables-restore
path: /var/lib/iptables/rules-save
Hooks:
- - before:
- update-engine.service

View File

@ -1,3 +1,13 @@
FileAssets:
- content: blah blah
name: iptables-restore
path: /var/lib/iptables/rules-save
- content: user,token
name: tokens
path: /kube/tokens.csv
- content: blah blah
name: iptables-restore
path: /var/lib/iptables/rules-save
Hooks:
- - before:
- update-engine.service

View File

@ -171,15 +171,12 @@ masterKubelet:
__EOF_CLUSTER_SPEC
cat > conf/ig_spec.yaml << '__EOF_IG_SPEC'
fileAssets:
- content: xYagtQLwBAAi3V8Wc2Jrojz28I0= (fingerprint)
name: tokens
path: /kube/tokens.csv
{}
__EOF_IG_SPEC
cat > conf/kube_env.yaml << '__EOF_KUBE_ENV'
AuxConfigHash: CwOuIQfG6Wm8bMLEpxx4k1LQX3VBp/3JiAlu3QuthF4=
AuxConfigHash: /0fgYG0lsuxVGuNdtGBZA0RYxOfvLD/xOFg1eJwyfcw=
InstanceGroupRole: Master
KubeletConfig:
kubeconfigPath: /etc/kubernetes/igconfig.txt

View File

@ -150,10 +150,6 @@ etcdClusters:
version: 3.1.11
main:
version: 3.1.11
fileAssets:
- content: E1oeAbrnQsSldrIP1BpoP2SDykM= (fingerprint)
name: iptables-restore
path: /var/lib/iptables/rules-save
kubeAPIServer:
image: CoreOS
kubeControllerManager:
@ -175,18 +171,12 @@ masterKubelet:
__EOF_CLUSTER_SPEC
cat > conf/ig_spec.yaml << '__EOF_IG_SPEC'
fileAssets:
- content: E1oeAbrnQsSldrIP1BpoP2SDykM= (fingerprint)
name: iptables-restore
path: /var/lib/iptables/rules-save
- content: xYagtQLwBAAi3V8Wc2Jrojz28I0= (fingerprint)
name: tokens
path: /kube/tokens.csv
{}
__EOF_IG_SPEC
cat > conf/kube_env.yaml << '__EOF_KUBE_ENV'
AuxConfigHash: 1HFOTkRXC3NVHayHo3Vgpm2hTbewfO3QJEJhhc6tEsk=
AuxConfigHash: F6TisBT9tDbuqBlzMVgEkEvAa7tdDahjQ9pW4X5S49M=
InstanceGroupRole: Master
KubeletConfig:
kubeconfigPath: /etc/kubernetes/igconfig.txt

View File

@ -150,10 +150,6 @@ etcdClusters:
version: 3.1.11
main:
version: 3.1.11
fileAssets:
- content: E1oeAbrnQsSldrIP1BpoP2SDykM= (fingerprint)
name: iptables-restore
path: /var/lib/iptables/rules-save
kubeAPIServer:
image: CoreOS
kubeControllerManager:
@ -175,18 +171,12 @@ masterKubelet:
__EOF_CLUSTER_SPEC
cat > conf/ig_spec.yaml << '__EOF_IG_SPEC'
fileAssets:
- content: E1oeAbrnQsSldrIP1BpoP2SDykM= (fingerprint)
name: iptables-restore
path: /var/lib/iptables/rules-save
- content: xYagtQLwBAAi3V8Wc2Jrojz28I0= (fingerprint)
name: tokens
path: /kube/tokens.csv
{}
__EOF_IG_SPEC
cat > conf/kube_env.yaml << '__EOF_KUBE_ENV'
AuxConfigHash: 1HFOTkRXC3NVHayHo3Vgpm2hTbewfO3QJEJhhc6tEsk=
AuxConfigHash: F6TisBT9tDbuqBlzMVgEkEvAa7tdDahjQ9pW4X5S49M=
InstanceGroupRole: Master
KubeletConfig:
kubeconfigPath: /etc/kubernetes/igconfig.txt

View File

@ -156,15 +156,12 @@ kubelet:
__EOF_CLUSTER_SPEC
cat > conf/ig_spec.yaml << '__EOF_IG_SPEC'
fileAssets:
- content: xYagtQLwBAAi3V8Wc2Jrojz28I0= (fingerprint)
name: tokens
path: /kube/tokens.csv
{}
__EOF_IG_SPEC
cat > conf/kube_env.yaml << '__EOF_KUBE_ENV'
AuxConfigHash: CwOuIQfG6Wm8bMLEpxx4k1LQX3VBp/3JiAlu3QuthF4=
AuxConfigHash: /0fgYG0lsuxVGuNdtGBZA0RYxOfvLD/xOFg1eJwyfcw=
InstanceGroupRole: Node
KubeletConfig:
kubeconfigPath: /etc/kubernetes/igconfig.txt

View File

@ -143,10 +143,6 @@ containerd:
logLevel: info
docker:
logLevel: INFO
fileAssets:
- content: E1oeAbrnQsSldrIP1BpoP2SDykM= (fingerprint)
name: iptables-restore
path: /var/lib/iptables/rules-save
kubeProxy:
cpuLimit: 30m
cpuRequest: 30m
@ -160,18 +156,12 @@ kubelet:
__EOF_CLUSTER_SPEC
cat > conf/ig_spec.yaml << '__EOF_IG_SPEC'
fileAssets:
- content: E1oeAbrnQsSldrIP1BpoP2SDykM= (fingerprint)
name: iptables-restore
path: /var/lib/iptables/rules-save
- content: xYagtQLwBAAi3V8Wc2Jrojz28I0= (fingerprint)
name: tokens
path: /kube/tokens.csv
{}
__EOF_IG_SPEC
cat > conf/kube_env.yaml << '__EOF_KUBE_ENV'
AuxConfigHash: 1HFOTkRXC3NVHayHo3Vgpm2hTbewfO3QJEJhhc6tEsk=
AuxConfigHash: F6TisBT9tDbuqBlzMVgEkEvAa7tdDahjQ9pW4X5S49M=
InstanceGroupRole: Node
KubeletConfig:
kubeconfigPath: /etc/kubernetes/igconfig.txt

View File

@ -143,10 +143,6 @@ containerd:
logLevel: info
docker:
logLevel: INFO
fileAssets:
- content: E1oeAbrnQsSldrIP1BpoP2SDykM= (fingerprint)
name: iptables-restore
path: /var/lib/iptables/rules-save
kubeProxy:
cpuLimit: 30m
cpuRequest: 30m
@ -160,18 +156,12 @@ kubelet:
__EOF_CLUSTER_SPEC
cat > conf/ig_spec.yaml << '__EOF_IG_SPEC'
fileAssets:
- content: E1oeAbrnQsSldrIP1BpoP2SDykM= (fingerprint)
name: iptables-restore
path: /var/lib/iptables/rules-save
- content: xYagtQLwBAAi3V8Wc2Jrojz28I0= (fingerprint)
name: tokens
path: /kube/tokens.csv
{}
__EOF_IG_SPEC
cat > conf/kube_env.yaml << '__EOF_KUBE_ENV'
AuxConfigHash: 1HFOTkRXC3NVHayHo3Vgpm2hTbewfO3QJEJhhc6tEsk=
AuxConfigHash: F6TisBT9tDbuqBlzMVgEkEvAa7tdDahjQ9pW4X5S49M=
InstanceGroupRole: Node
KubeletConfig:
kubeconfigPath: /etc/kubernetes/igconfig.txt