mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-11-21 15:23:26 +01:00
Fixed style of files
This commit is contained in:
parent
b17b4d3ae2
commit
cad6d1eb7c
2
.github/ISSUE_TEMPLATE
vendored
2
.github/ISSUE_TEMPLATE
vendored
@ -34,4 +34,4 @@
|
|||||||
<!--- Paste verbatim command output between quotes -->
|
<!--- Paste verbatim command output between quotes -->
|
||||||
```paste below
|
```paste below
|
||||||
|
|
||||||
```
|
```
|
||||||
|
2
.github/workflows/sonarcloud.yml
vendored
2
.github/workflows/sonarcloud.yml
vendored
@ -47,7 +47,7 @@ jobs:
|
|||||||
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
|
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
|
||||||
with:
|
with:
|
||||||
egress-policy: audit
|
egress-policy: audit
|
||||||
|
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
with:
|
with:
|
||||||
|
@ -1,20 +1,41 @@
|
|||||||
- repo: https://github.com/gitleaks/gitleaks
|
repos:
|
||||||
rev: v8.16.3
|
- repo: https://github.com/gitleaks/gitleaks
|
||||||
hooks:
|
rev: v8.16.3
|
||||||
- id: gitleaks
|
hooks:
|
||||||
- repo: https://github.com/jumanjihouse/pre-commit-hooks
|
- id: gitleaks
|
||||||
rev: 3.0.0
|
- repo: https://github.com/jumanjihouse/pre-commit-hooks
|
||||||
hooks:
|
rev: 3.0.0
|
||||||
- id: shellcheck
|
hooks:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- id: shellcheck
|
||||||
rev: v4.5.0
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
hooks:
|
rev: v4.5.0
|
||||||
- id: end-of-file-fixer
|
hooks:
|
||||||
- id: trailing-whitespace
|
- id: end-of-file-fixer
|
||||||
- id: check-yaml
|
exclude: |
|
||||||
- id: check-symlinks
|
(?x)(
|
||||||
- id: pretty-format-json
|
^env_vars/\.MYSQL |
|
||||||
- repo: https://github.com/asottile/setup-cfg-fmt
|
^env_vars/\.POSTGRES
|
||||||
rev: v2.5.0
|
)
|
||||||
hooks:
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
- id: setup-cfg-fmt
|
rev: v4.5.0
|
||||||
|
hooks:
|
||||||
|
- id: trailing-whitespace
|
||||||
|
exclude: |
|
||||||
|
(?x)(
|
||||||
|
.*\.patch$
|
||||||
|
)
|
||||||
|
- id: check-yaml
|
||||||
|
args: [--allow-multiple-documents]
|
||||||
|
- id: check-symlinks
|
||||||
|
# - id: pretty-format-json
|
||||||
|
- id: check-added-large-files
|
||||||
|
#- repo: https://github.com/adrienverge/yamllint.git
|
||||||
|
# rev: v1.21.0 # or higher tag
|
||||||
|
# hooks:
|
||||||
|
# - id: yamllint
|
||||||
|
# args: [--format, parsable, --strict]
|
||||||
|
#- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
|
||||||
|
# rev: 0.2.3
|
||||||
|
# hooks:
|
||||||
|
# - id: yamlfmt
|
||||||
|
# args: [--mapping, '2', --sequence, '1', --offset, '0', --colons, --width, '400']
|
||||||
|
@ -40,7 +40,7 @@ function Update-Config-Var {
|
|||||||
if (-not(Test-Path -Path $ConfigPath -PathType Leaf)) {
|
if (-not(Test-Path -Path $ConfigPath -PathType Leaf)) {
|
||||||
throw "**** Configuration file '$ConfigPath' does not exist"
|
throw "**** Configuration file '$ConfigPath' does not exist"
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($MaskList.Contains($VarName) -eq $true -And [string]::IsNullOrWhitespace($VarValue) -ne $true) {
|
if ($MaskList.Contains($VarName) -eq $true -And [string]::IsNullOrWhitespace($VarValue) -ne $true) {
|
||||||
Write-Host -NoNewline "** Updating '$ConfigPath' parameter ""$VarName"": '****'. Enable DEBUG_MODE to view value ..."
|
Write-Host -NoNewline "** Updating '$ConfigPath' parameter ""$VarName"": '****'. Enable DEBUG_MODE to view value ..."
|
||||||
}
|
}
|
||||||
@ -50,12 +50,12 @@ function Update-Config-Var {
|
|||||||
|
|
||||||
if ([string]::IsNullOrWhitespace($VarValue)) {
|
if ([string]::IsNullOrWhitespace($VarValue)) {
|
||||||
if ((Get-Content $ConfigPath | %{$_ -match "^$VarName="}) -contains $true) {
|
if ((Get-Content $ConfigPath | %{$_ -match "^$VarName="}) -contains $true) {
|
||||||
(Get-Content $ConfigPath) |
|
(Get-Content $ConfigPath) |
|
||||||
Where-Object {$_ -notmatch "^$VarName=" } |
|
Where-Object {$_ -notmatch "^$VarName=" } |
|
||||||
Set-Content $ConfigPath
|
Set-Content $ConfigPath
|
||||||
}
|
}
|
||||||
|
|
||||||
Write-Host "removed"
|
Write-Host "removed"
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -64,7 +64,7 @@ function Update-Config-Var {
|
|||||||
Write-Host "undefined"
|
Write-Host "undefined"
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($VarName -match '^TLS.*File$') {
|
if ($VarName -match '^TLS.*File$') {
|
||||||
$VarValue="$ZabbixUserHomeDir\enc\$VarValue"
|
$VarValue="$ZabbixUserHomeDir\enc\$VarValue"
|
||||||
}
|
}
|
||||||
@ -75,7 +75,7 @@ function Update-Config-Var {
|
|||||||
Write-Host updated
|
Write-Host updated
|
||||||
}
|
}
|
||||||
elseif ((Get-Content $ConfigPath | select-string -pattern "^[#;] $VarName=").length -gt 0) {
|
elseif ((Get-Content $ConfigPath | select-string -pattern "^[#;] $VarName=").length -gt 0) {
|
||||||
(Get-Content $ConfigPath) |
|
(Get-Content $ConfigPath) |
|
||||||
Foreach-Object {
|
Foreach-Object {
|
||||||
$_
|
$_
|
||||||
if ($_ -match "^[#;] $VarName=") {
|
if ($_ -match "^[#;] $VarName=") {
|
||||||
|
@ -199,4 +199,4 @@ Unless required by applicable law or agreed to in writing, software
|
|||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
|
@ -40,7 +40,7 @@ function Update-Config-Var {
|
|||||||
if (-not(Test-Path -Path $ConfigPath -PathType Leaf)) {
|
if (-not(Test-Path -Path $ConfigPath -PathType Leaf)) {
|
||||||
throw "**** Configuration file '$ConfigPath' does not exist"
|
throw "**** Configuration file '$ConfigPath' does not exist"
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($MaskList.Contains($VarName) -eq $true -And [string]::IsNullOrWhitespace($VarValue) -ne $true) {
|
if ($MaskList.Contains($VarName) -eq $true -And [string]::IsNullOrWhitespace($VarValue) -ne $true) {
|
||||||
Write-Host -NoNewline "** Updating '$ConfigPath' parameter ""$VarName"": '****'. Enable DEBUG_MODE to view value ..."
|
Write-Host -NoNewline "** Updating '$ConfigPath' parameter ""$VarName"": '****'. Enable DEBUG_MODE to view value ..."
|
||||||
}
|
}
|
||||||
@ -50,12 +50,12 @@ function Update-Config-Var {
|
|||||||
|
|
||||||
if ([string]::IsNullOrWhitespace($VarValue)) {
|
if ([string]::IsNullOrWhitespace($VarValue)) {
|
||||||
if ((Get-Content $ConfigPath | %{$_ -match "^$VarName="}) -contains $true) {
|
if ((Get-Content $ConfigPath | %{$_ -match "^$VarName="}) -contains $true) {
|
||||||
(Get-Content $ConfigPath) |
|
(Get-Content $ConfigPath) |
|
||||||
Where-Object {$_ -notmatch "^$VarName=" } |
|
Where-Object {$_ -notmatch "^$VarName=" } |
|
||||||
Set-Content $ConfigPath
|
Set-Content $ConfigPath
|
||||||
}
|
}
|
||||||
|
|
||||||
Write-Host "removed"
|
Write-Host "removed"
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -64,7 +64,7 @@ function Update-Config-Var {
|
|||||||
Write-Host "undefined"
|
Write-Host "undefined"
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($VarName -match '^TLS.*File$') {
|
if ($VarName -match '^TLS.*File$') {
|
||||||
$VarValue="$ZabbixUserHomeDir\enc\$VarValue"
|
$VarValue="$ZabbixUserHomeDir\enc\$VarValue"
|
||||||
}
|
}
|
||||||
@ -75,7 +75,7 @@ function Update-Config-Var {
|
|||||||
Write-Host updated
|
Write-Host updated
|
||||||
}
|
}
|
||||||
elseif ((Get-Content $ConfigPath | select-string -pattern "^[#;] $VarName=").length -gt 0) {
|
elseif ((Get-Content $ConfigPath | select-string -pattern "^[#;] $VarName=").length -gt 0) {
|
||||||
(Get-Content $ConfigPath) |
|
(Get-Content $ConfigPath) |
|
||||||
Foreach-Object {
|
Foreach-Object {
|
||||||
$_
|
$_
|
||||||
if ($_ -match "^[#;] $VarName=") {
|
if ($_ -match "^[#;] $VarName=") {
|
||||||
|
@ -28,4 +28,4 @@ Global
|
|||||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
SolutionGuid = {6CF51673-664F-4C9F-B3FE-991FF423F3B6}
|
SolutionGuid = {6CF51673-664F-4C9F-B3FE-991FF423F3B6}
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
EndGlobal
|
EndGlobal
|
||||||
|
@ -262,4 +262,4 @@
|
|||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
<ImportGroup Label="ExtensionTargets">
|
<ImportGroup Label="ExtensionTargets">
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
@ -59,4 +59,4 @@
|
|||||||
<Filter>Resource Files</Filter>
|
<Filter>Resource Files</Filter>
|
||||||
</ResourceCompile>
|
</ResourceCompile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
@ -113,7 +113,7 @@ This variable is port Zabbix server listening on. By default, value is `10051`.
|
|||||||
This variable is IP or DNS name of MySQL server. By default, value is 'mysql-server'
|
This variable is IP or DNS name of MySQL server. By default, value is 'mysql-server'
|
||||||
|
|
||||||
### `DB_SERVER_PORT`
|
### `DB_SERVER_PORT`
|
||||||
|
|
||||||
This variable is port of MySQL server. By default, value is '3306'.
|
This variable is port of MySQL server. By default, value is '3306'.
|
||||||
|
|
||||||
### `MYSQL_USER`, `MYSQL_PASSWORD`, `MYSQL_USER_FILE`, `MYSQL_PASSWORD_FILE`
|
### `MYSQL_USER`, `MYSQL_PASSWORD`, `MYSQL_USER_FILE`, `MYSQL_PASSWORD_FILE`
|
||||||
|
@ -331,7 +331,7 @@ apply_db_scripts() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
create_db_schema_postgresql() {
|
create_db_schema_postgresql() {
|
||||||
DBVERSION_TABLE_EXISTS=$(psql_query "SELECT 1 FROM pg_catalog.pg_class c JOIN pg_catalog.pg_namespace n ON n.oid =
|
DBVERSION_TABLE_EXISTS=$(psql_query "SELECT 1 FROM pg_catalog.pg_class c JOIN pg_catalog.pg_namespace n ON n.oid =
|
||||||
c.relnamespace WHERE n.nspname = '$DB_SERVER_SCHEMA' AND c.relname = 'dbversion'" "${DB_SERVER_DBNAME}")
|
c.relnamespace WHERE n.nspname = '$DB_SERVER_SCHEMA' AND c.relname = 'dbversion'" "${DB_SERVER_DBNAME}")
|
||||||
|
|
||||||
if [ -n "${DBVERSION_TABLE_EXISTS}" ]; then
|
if [ -n "${DBVERSION_TABLE_EXISTS}" ]; then
|
||||||
|
@ -331,7 +331,7 @@ apply_db_scripts() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
create_db_schema_postgresql() {
|
create_db_schema_postgresql() {
|
||||||
DBVERSION_TABLE_EXISTS=$(psql_query "SELECT 1 FROM pg_catalog.pg_class c JOIN pg_catalog.pg_namespace n ON n.oid =
|
DBVERSION_TABLE_EXISTS=$(psql_query "SELECT 1 FROM pg_catalog.pg_class c JOIN pg_catalog.pg_namespace n ON n.oid =
|
||||||
c.relnamespace WHERE n.nspname = '$DB_SERVER_SCHEMA' AND c.relname = 'dbversion'" "${DB_SERVER_DBNAME}")
|
c.relnamespace WHERE n.nspname = '$DB_SERVER_SCHEMA' AND c.relname = 'dbversion'" "${DB_SERVER_DBNAME}")
|
||||||
|
|
||||||
if [ -n "${DBVERSION_TABLE_EXISTS}" ]; then
|
if [ -n "${DBVERSION_TABLE_EXISTS}" ]; then
|
||||||
|
@ -331,7 +331,7 @@ apply_db_scripts() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
create_db_schema_postgresql() {
|
create_db_schema_postgresql() {
|
||||||
DBVERSION_TABLE_EXISTS=$(psql_query "SELECT 1 FROM pg_catalog.pg_class c JOIN pg_catalog.pg_namespace n ON n.oid =
|
DBVERSION_TABLE_EXISTS=$(psql_query "SELECT 1 FROM pg_catalog.pg_class c JOIN pg_catalog.pg_namespace n ON n.oid =
|
||||||
c.relnamespace WHERE n.nspname = '$DB_SERVER_SCHEMA' AND c.relname = 'dbversion'" "${DB_SERVER_DBNAME}")
|
c.relnamespace WHERE n.nspname = '$DB_SERVER_SCHEMA' AND c.relname = 'dbversion'" "${DB_SERVER_DBNAME}")
|
||||||
|
|
||||||
if [ -n "${DBVERSION_TABLE_EXISTS}" ]; then
|
if [ -n "${DBVERSION_TABLE_EXISTS}" ]; then
|
||||||
|
@ -331,7 +331,7 @@ apply_db_scripts() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
create_db_schema_postgresql() {
|
create_db_schema_postgresql() {
|
||||||
DBVERSION_TABLE_EXISTS=$(psql_query "SELECT 1 FROM pg_catalog.pg_class c JOIN pg_catalog.pg_namespace n ON n.oid =
|
DBVERSION_TABLE_EXISTS=$(psql_query "SELECT 1 FROM pg_catalog.pg_class c JOIN pg_catalog.pg_namespace n ON n.oid =
|
||||||
c.relnamespace WHERE n.nspname = '$DB_SERVER_SCHEMA' AND c.relname = 'dbversion'" "${DB_SERVER_DBNAME}")
|
c.relnamespace WHERE n.nspname = '$DB_SERVER_SCHEMA' AND c.relname = 'dbversion'" "${DB_SERVER_DBNAME}")
|
||||||
|
|
||||||
if [ -n "${DBVERSION_TABLE_EXISTS}" ]; then
|
if [ -n "${DBVERSION_TABLE_EXISTS}" ]; then
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
<IfModule !mpm_netware_module>
|
<IfModule !mpm_netware_module>
|
||||||
PidFile "/tmp/httpd.pid"
|
PidFile "/tmp/httpd.pid"
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
<IfModule !mpm_netware_module>
|
<IfModule !mpm_netware_module>
|
||||||
PidFile "/tmp/httpd.pid"
|
PidFile "/tmp/httpd.pid"
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
@ -104,7 +104,7 @@ RUN set -eux && \
|
|||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
EXPOSE 8080/TCP 8443/TCP
|
EXPOSE 8080/TCP 8443/TCP
|
||||||
|
|
||||||
WORKDIR /usr/share/zabbix
|
WORKDIR /usr/share/zabbix
|
||||||
|
|
||||||
COPY ["docker-entrypoint.sh", "/usr/bin/"]
|
COPY ["docker-entrypoint.sh", "/usr/bin/"]
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
<IfModule !mpm_netware_module>
|
<IfModule !mpm_netware_module>
|
||||||
PidFile "/tmp/httpd.pid"
|
PidFile "/tmp/httpd.pid"
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
<IfModule !mpm_netware_module>
|
<IfModule !mpm_netware_module>
|
||||||
PidFile "/tmp/httpd.pid"
|
PidFile "/tmp/httpd.pid"
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
@ -209,7 +209,7 @@ prepare_zbx_web_config() {
|
|||||||
export ZBX_DB_CA_FILE=${ZBX_DB_CA_FILE}
|
export ZBX_DB_CA_FILE=${ZBX_DB_CA_FILE}
|
||||||
: ${ZBX_DB_VERIFY_HOST:="false"}
|
: ${ZBX_DB_VERIFY_HOST:="false"}
|
||||||
export ZBX_DB_VERIFY_HOST=${ZBX_DB_VERIFY_HOST,,}
|
export ZBX_DB_VERIFY_HOST=${ZBX_DB_VERIFY_HOST,,}
|
||||||
|
|
||||||
export ZBX_VAULT=${ZBX_VAULT}
|
export ZBX_VAULT=${ZBX_VAULT}
|
||||||
export ZBX_VAULTURL=${ZBX_VAULTURL}
|
export ZBX_VAULTURL=${ZBX_VAULTURL}
|
||||||
export ZBX_VAULTDBPATH=${ZBX_VAULTDBPATH}
|
export ZBX_VAULTDBPATH=${ZBX_VAULTDBPATH}
|
||||||
|
@ -5,4 +5,3 @@ gpgcheck=1
|
|||||||
enabled=0
|
enabled=0
|
||||||
gpgkey=https://nginx.org/keys/nginx_signing.key
|
gpgkey=https://nginx.org/keys/nginx_signing.key
|
||||||
module_hotfixes=true
|
module_hotfixes=true
|
||||||
|
|
||||||
|
@ -103,7 +103,7 @@ Please use official documentation for [``zabbix_web_service.conf``](https://www.
|
|||||||
## Allowed volumes for the Zabbix web service container
|
## Allowed volumes for the Zabbix web service container
|
||||||
|
|
||||||
### ``/var/lib/zabbix/enc``
|
### ``/var/lib/zabbix/enc``
|
||||||
|
|
||||||
The volume is used to store TLS related files. These file names are specified using ``ZBX_TLSCAFILE``, ``ZBX_TLSCERTFILE`` and ``ZBX_TLSKEY_FILE`` variables.
|
The volume is used to store TLS related files. These file names are specified using ``ZBX_TLSCAFILE``, ``ZBX_TLSCERTFILE`` and ``ZBX_TLSKEY_FILE`` variables.
|
||||||
|
|
||||||
# The image variants
|
# The image variants
|
||||||
|
@ -11,4 +11,4 @@ Pin-Priority: 300
|
|||||||
# named dependencies:
|
# named dependencies:
|
||||||
Package: chromium*
|
Package: chromium*
|
||||||
Pin: origin "ftp.debian.org"
|
Pin: origin "ftp.debian.org"
|
||||||
Pin-Priority: 700
|
Pin-Priority: 700
|
||||||
|
48
build.json
48
build.json
@ -8,43 +8,43 @@
|
|||||||
"linux/s390x",
|
"linux/s390x",
|
||||||
"linux/ppc64le"
|
"linux/ppc64le"
|
||||||
],
|
],
|
||||||
|
"centos": [
|
||||||
|
"linux/amd64",
|
||||||
|
"linux/arm64",
|
||||||
|
"linux/ppc64le"
|
||||||
|
],
|
||||||
"ol": [
|
"ol": [
|
||||||
"linux/amd64",
|
"linux/amd64",
|
||||||
"linux/arm64"
|
"linux/arm64"
|
||||||
],
|
],
|
||||||
|
"rhel": [
|
||||||
|
"X64",
|
||||||
|
"ARM64"
|
||||||
|
],
|
||||||
"ubuntu": [
|
"ubuntu": [
|
||||||
"linux/amd64",
|
"linux/amd64",
|
||||||
"linux/arm/v7",
|
"linux/arm/v7",
|
||||||
"linux/arm64",
|
"linux/arm64",
|
||||||
"linux/s390x"
|
"linux/s390x"
|
||||||
],
|
|
||||||
"centos": [
|
|
||||||
"linux/amd64",
|
|
||||||
"linux/arm64",
|
|
||||||
"linux/ppc64le"
|
|
||||||
],
|
|
||||||
"rhel": [
|
|
||||||
"X64",
|
|
||||||
"ARM64"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"os-windows": {
|
"os-windows": {
|
||||||
"windows-2022": "ltsc2022",
|
"windows-2019": "ltsc2019",
|
||||||
"windows-2019": "ltsc2019"
|
"windows-2022": "ltsc2022"
|
||||||
},
|
},
|
||||||
"components": {
|
"components": {
|
||||||
"agent": { "base" : "build-mysql", "rhel" : true },
|
"agent": { "base": "build-mysql", "rhel": true },
|
||||||
"agent2": { "base" : "build-mysql", "rhel" : true },
|
"agent2": { "base": "build-mysql", "rhel": true },
|
||||||
"java-gateway": { "base" : "build-mysql", "rhel" : true },
|
"java-gateway": { "base": "build-mysql", "rhel": true },
|
||||||
"proxy-mysql": { "base" : "build-mysql", "rhel" : true },
|
"proxy-mysql": { "base": "build-mysql", "rhel": true },
|
||||||
"proxy-sqlite3": { "base" : "build-sqlite3", "rhel" : true },
|
"proxy-sqlite3": { "base": "build-sqlite3", "rhel": true },
|
||||||
"server-mysql": { "base" : "build-mysql", "rhel" : true },
|
"server-mysql": { "base": "build-mysql", "rhel": true },
|
||||||
"server-pgsql": { "base" : "build-pgsql", "rhel" : false },
|
"server-pgsql": { "base": "build-pgsql", "rhel": false },
|
||||||
"snmptraps": { "base" : "", "rhel" : true },
|
"snmptraps": { "base": "", "rhel": true },
|
||||||
"web-apache-mysql": { "base" : "build-mysql", "rhel" : false },
|
"web-apache-mysql": { "base": "build-mysql", "rhel": false },
|
||||||
"web-apache-pgsql": { "base" : "build-pgsql", "rhel" : false },
|
"web-apache-pgsql": { "base": "build-pgsql", "rhel": false },
|
||||||
"web-nginx-mysql": { "base" : "build-mysql", "rhel" : true },
|
"web-nginx-mysql": { "base": "build-mysql", "rhel": true },
|
||||||
"web-nginx-pgsql": { "base" : "build-mysql", "rhel" : false },
|
"web-nginx-pgsql": { "base": "build-mysql", "rhel": false },
|
||||||
"web-service": { "base" : "build-mysql", "rhel" : true }
|
"web-service": { "base": "build-mysql", "rhel": true }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
CREATE DATABASE IF NOT EXISTS `zabbix_proxy`;
|
CREATE DATABASE IF NOT EXISTS `zabbix_proxy`;
|
||||||
GRANT ALL ON `zabbix_proxy`.* TO 'zabbix'@'%';
|
GRANT ALL ON `zabbix_proxy`.* TO 'zabbix'@'%';
|
||||||
|
@ -603,12 +603,6 @@ spec:
|
|||||||
periodSeconds: 5
|
periodSeconds: 5
|
||||||
timeoutSeconds: 3
|
timeoutSeconds: 3
|
||||||
failureThreshold: 40
|
failureThreshold: 40
|
||||||
livenessProbe:
|
|
||||||
tcpSocket:
|
|
||||||
port: 10051
|
|
||||||
timeoutSeconds: 3
|
|
||||||
failureThreshold: 3
|
|
||||||
periodSeconds: 10
|
|
||||||
securityContext:
|
securityContext:
|
||||||
capabilities: {}
|
capabilities: {}
|
||||||
privileged: false
|
privileged: false
|
||||||
|
Loading…
Reference in New Issue
Block a user