mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-08 21:34:25 +00:00
chore(kb): clarify minor actions
This commit is contained in:
@@ -20,7 +20,8 @@ jq '.spec.template.spec.containers[]?.env?' 'manifest.kube.json'
|
||||
|
||||
# Add elements to lists.
|
||||
jq '.orchestrators += [{"orchestratorVersion": "1.24.9"}]'
|
||||
jq --arg REGION ${AWS_REGION} '.spec.template.spec.containers[]?.env? += [{name: "AWS_REGION", value: $REGION}]' /tmp/service.kube.json
|
||||
jq --arg REGION ${AWS_REGION} '.spec.template.spec.containers[]?.env? += [{name: "AWS_REGION", value: $REGION}]' '/tmp/service.kube.json'
|
||||
yq -iy '.resources+=["awx.yaml"]' 'kustomization.yaml'
|
||||
|
||||
# Delete keys from objects.
|
||||
jq 'del(.items[].spec.clusterIP)' /tmp/service.kube.json
|
||||
|
||||
@@ -197,6 +197,10 @@ pulumi state rename \
|
||||
'urn:pulumi:dev::whatevah::aws:rds/parameterGroup:ParameterGroup::mariadb-slow' \
|
||||
'mariadb-slower'
|
||||
|
||||
# Delete resources from states.
|
||||
pulumi state delete 'resourceUrn'
|
||||
pulumi state delete --force --target-dependents \
|
||||
'urn:pulumi:dev::whatevah::aws:rds/parameterGroup:ParameterGroup::mariadb-slow'
|
||||
|
||||
# Unprotect resources that are protected in states.
|
||||
pulumi state unprotect 'resourceUrn'
|
||||
|
||||
@@ -34,6 +34,7 @@ tcpdump greater '64'
|
||||
tcpdump <= '128'
|
||||
|
||||
# Combine filters.
|
||||
# Parenthesis must escaped, or the filter quoted.
|
||||
tcpdump src port '1025'
|
||||
tcpdump -nnvvS src '10.5.2.3' and dst port '3389'
|
||||
tcpdump -nX src net '192.168.0.0/16' and dst net '10.0.0.0/8' or '172.16.0.0/16'
|
||||
|
||||
Reference in New Issue
Block a user