Skip to content

Commit b64c37f

Browse files
committed
chore: permission check and restore kong original version
1 parent dd7e228 commit b64c37f

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

ansible/files/permission_check.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,6 @@
136136
],
137137
"tcpdump": [
138138
{"groupname":"tcpdump","username":"tcpdump"}
139-
],
140-
"systemd-coredump": [
141-
{"groupname":"systemd-coredump","username":"systemd-coredump"}
142139
]
143140
}
144141
# This program depends on osquery being installed on the system
@@ -188,7 +185,7 @@ def check_nixbld_users():
188185
print("All nixbld users are in the 'nixbld' group.")
189186

190187
# Define usernames for which you want to compare results
191-
usernames = ["postgres", "ubuntu", "root", "daemon", "bin", "sys", "sync", "games","man","lp","mail","news","uucp","proxy","www-data","backup","list","irc","nobody","systemd-network","systemd-resolve","systemd-timesync","messagebus","ec2-instance-connect","sshd","wal-g","pgbouncer","gotrue","envoy","kong","nginx","vector","adminapi","postgrest","tcpdump","systemd-coredump"]
188+
usernames = ["postgres", "ubuntu", "root", "daemon", "bin", "sys", "sync", "games","man","lp","mail","news","uucp","proxy","www-data","backup","list","irc","nobody","systemd-network","systemd-resolve","systemd-timesync","messagebus","ec2-instance-connect","sshd","wal-g","pgbouncer","gotrue","envoy","kong","nginx","vector","adminapi","postgrest","tcpdump"]
192189

193190
# Iterate over usernames, run the query, and compare results
194191
for username in usernames:

ansible/tasks/setup-kong.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
- name: Kong - download deb package
1414
get_url:
15-
url: "https://packages.konghq.com/public/gateway-39/deb/ubuntu/pool/{{ kong_release_target }}/main/k/ko/kong_3.9.0/{{ kong_deb }}"
15+
url: "https://packages.konghq.com/public/gateway-28/deb/ubuntu/pool/{{ kong_release_target }}/main/k/ko/kong_2.8.1/{{ kong_deb }}"
1616
dest: /tmp/kong.deb
1717
checksum: "{{ kong_deb_checksum }}"
1818

ansible/tasks/setup-wal-g.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,4 +127,4 @@
127127
become: yes
128128
file:
129129
path: /usr/local/go
130-
state: absent
130+
state: absent

ansible/vars.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ envoy_release: 1.28.0
3838
envoy_release_checksum: sha1:b0a06e9cfb170f1993f369beaa5aa9d7ec679ce5
3939
envoy_hot_restarter_release_checksum: sha1:6d43b89d266fb2427a4b51756b649883b0617eda
4040

41-
kong_release_target: noble
42-
kong_deb: kong_3.9.0_arm64.deb
43-
kong_deb_checksum: sha1:f458c8b183f79cffae4cd84c989cea4a4ecaaaba
41+
kong_release_target: focal
42+
kong_deb: kong_2.8.1_arm64.deb
43+
kong_deb_checksum: sha1:2086f6ccf8454fe64435252fea4d29d736d7ec61
4444

4545
nginx_release: 1.22.0
4646
nginx_release_checksum: sha1:419efb77b80f165666e2ee406ad8ae9b845aba93

0 commit comments

Comments
 (0)