Skip to content

Commit

Permalink
Closes: #371 - invalid lineliness probe for web process in latest rel…
Browse files Browse the repository at this point in the history
…ease of app
  • Loading branch information
whitej6 committed Mar 27, 2024
1 parent af603ff commit 4db390c
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 26 deletions.
4 changes: 2 additions & 2 deletions charts/nautobot/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ annotations:
- kind: changed
description: Upgraded Redis subchart from 18.0.4 to 18.4.0
apiVersion: "v2"
appVersion: "2.0.5"
version: "2.0.5"
appVersion: "2.1.9"
version: "2.0.6"
dependencies:
- condition: "redis.enabled"
name: "redis"
Expand Down
2 changes: 1 addition & 1 deletion charts/nautobot/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# nautobot

![Version: 2.0.5](https://img.shields.io/badge/Version-2.0.5-informational?style=flat-square) ![AppVersion: 2.0.5](https://img.shields.io/badge/AppVersion-2.0.5-informational?style=flat-square)
![Version: 2.0.6](https://img.shields.io/badge/Version-2.0.5-informational?style=flat-square) ![AppVersion: 2.1.9](https://img.shields.io/badge/AppVersion-2.0.5-informational?style=flat-square)

Nautobot is a Network Source of Truth and Network Automation Platform.

Expand Down
48 changes: 25 additions & 23 deletions charts/nautobot/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ service:
# Node ports to expose if service.type is NodePort
nodePorts:
# -- (int) Node port for Nautobot http choose port in Kubernetes `--service-node-port-range` typically 30000-32767
http: # yamllint disable-line rule:empty-values
http: # yamllint disable-line rule:empty-values

Check warning on line 15 in charts/nautobot/values.yaml

View workflow job for this annotation

GitHub Actions / Run pre-commit checks

15:11 [comments] too few spaces before comment
# -- (int) Node port for Nautobot https choose port in Kubernetes `--service-node-port-range` typically 30000-32767
https: # yamllint disable-line rule:empty-values
https: # yamllint disable-line rule:empty-values

Check warning on line 17 in charts/nautobot/values.yaml

View workflow job for this annotation

GitHub Actions / Run pre-commit checks

17:12 [comments] too few spaces before comment
# -- (int) Node port for Nautobot uwsgimetrics choose port in Kubernetes `--service-node-port-range` typically 30000-32767
uwsgimetrics: # yamllint disable-line rule:empty-values
uwsgimetrics: # yamllint disable-line rule:empty-values

Check warning on line 19 in charts/nautobot/values.yaml

View workflow job for this annotation

GitHub Actions / Run pre-commit checks

19:19 [comments] too few spaces before comment
# -- (IP) IP address to use as the clusterIP
clusterIP: # yamllint disable-line rule:empty-values
clusterIP: # yamllint disable-line rule:empty-values

Check warning on line 21 in charts/nautobot/values.yaml

View workflow job for this annotation

GitHub Actions / Run pre-commit checks

21:14 [comments] too few spaces before comment
# -- (IP) IP address to use as the loadBalancerIP
loadBalancerIP: # yamllint disable-line rule:empty-values
loadBalancerIP: # yamllint disable-line rule:empty-values

Check warning on line 23 in charts/nautobot/values.yaml

View workflow job for this annotation

GitHub Actions / Run pre-commit checks

23:19 [comments] too few spaces before comment
# -- ([]CIDR) List of allowed CIDRs to access the load balancer default 0.0.0.0/0, cloud provider dependent
loadBalancerSourceRanges: []
# -- (`Cluster`, `Local`) Kubernetes externalTrafficPolicy valid values: `Cluster` or `Local`
Expand All @@ -41,7 +41,7 @@ nautobot:
# -- Nautobot image name, common to all deployments
repository: "nautobot/nautobot"
# -- Nautobot image tag, common to all deployments
tag: "2.0.5-py3.11"
tag: "2.1.9-py3.11"
# -- [Kubernetes image pull policy](https://kubernetes.io/docs/concepts/containers/images/), common to all deployments valid values: `Always`, `Never`, or `IfNotPresent`
pullPolicy: "Always"
# -- ([]string) List of secret names to be used as image [pull secrets](https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/), common to all deployments
Expand All @@ -60,12 +60,14 @@ nautobot:
livenessProbe:
# -- Enable the Nautobot Liveness Probe
enabled: true
httpGet:
path: "/api/"
port: "http"
exec:
command:
- "bash"
- "-c"
- "nautobot-server health_check"
initialDelaySeconds: 3
periodSeconds: 10
timeoutSeconds: 5
periodSeconds: 15
timeoutSeconds: 10
failureThreshold: 3
successThreshold: 1

Expand Down Expand Up @@ -117,7 +119,7 @@ nautobot:
allowPrivilegeEscalation: false
# -- Enable the Nautobot container security context
enabled: true
readOnlyRootFilesystem: false # Must be set to false due to jobs directory
readOnlyRootFilesystem: false # Must be set to false due to jobs directory

Check warning on line 122 in charts/nautobot/values.yaml

View workflow job for this annotation

GitHub Actions / Run pre-commit checks

122:35 [comments] too few spaces before comment
runAsUser: 999
runAsGroup: 999
capabilities:
Expand Down Expand Up @@ -415,9 +417,9 @@ nautobot:
# -- [[ref](https://nautobot.readthedocs.io/en/stable/docker/#nautobot_superuser_email)] Configure an email address for the super user if `nautobot.superUser.enabled` is `true` (NAUTOBOT_SUPERUSER_EMAIL)<sup>[1](#notes)</sup>
email: "admin@example.com"
# -- [[ref](https://nautobot.readthedocs.io/en/stable/docker/#nautobot_superuser_name)] User name to use for the super user to be created if `nautobot.superUser.enabled` is `true` (NAUTOBOT_SUPERUSER_NAME)<sup>[1](#notes)</sup>
username: "admin" # NAUTOBOT_SUPERUSER_NAME
username: "admin" # NAUTOBOT_SUPERUSER_NAME

Check warning on line 420 in charts/nautobot/values.yaml

View workflow job for this annotation

GitHub Actions / Run pre-commit checks

420:23 [comments] too few spaces before comment
# -- [[ref](https://nautobot.readthedocs.io/en/stable/docker/#nautobot_superuser_password)] Password to use for the super user to be created if `nautobot.superUser.enabled` is `true` (NAUTOBOT_SUPERUSER_NAME), if unset a random password will be generated<sup>[1](#notes)</sup>
password: "" # NAUTOBOT_SUPERUSER_PASSWORD
password: "" # NAUTOBOT_SUPERUSER_PASSWORD

Check warning on line 422 in charts/nautobot/values.yaml

View workflow job for this annotation

GitHub Actions / Run pre-commit checks

422:18 [comments] too few spaces before comment

# -- [[ref](https://docs.nautobot.com/projects/helm-charts/en/stable/advanced-features/init-hook)] Run the Nautobot initialization tasks as a helm hook instead of an initContainer<sup>[1](#notes)</sup>
singleInit: false
Expand All @@ -436,7 +438,7 @@ nautobot:
bufferSize: 4096

# -- ([]map[name,value]string)An array of environment variable objects (`name` and `value` are required) to add to ALL Nautobot and Nautobot Worker related deployments<sup>[1](#notes)</sup>
extraVars: [] # https://docs.nautobot.com/projects/core/en/stable/configuration/optional-settings/
extraVars: [] # https://docs.nautobot.com/projects/core/en/stable/configuration/optional-settings/

Check warning on line 441 in charts/nautobot/values.yaml

View workflow job for this annotation

GitHub Actions / Run pre-commit checks

441:17 [comments] too few spaces before comment
# e.g.
# extraVars:
# - name: "NAUTOBOT_BANNER_TOP"
Expand Down Expand Up @@ -557,7 +559,7 @@ celery:
allowPrivilegeEscalation: false
# -- Enable the Worker Celery Container security context
enabled: true
readOnlyRootFilesystem: false # Must be set to false due to jobs directory
readOnlyRootFilesystem: false # Must be set to false due to jobs directory

Check warning on line 562 in charts/nautobot/values.yaml

View workflow job for this annotation

GitHub Actions / Run pre-commit checks

562:35 [comments] too few spaces before comment
runAsUser: 999
capabilities:
drop:
Expand Down Expand Up @@ -697,7 +699,7 @@ workers:
beat:
enabled: true
concurrency: 0
replicaCount: 1 # Beat can have a max replicaCount of 1
replicaCount: 1 # Beat can have a max replicaCount of 1
command:
- "nautobot-server"
- "celery"
Expand Down Expand Up @@ -739,7 +741,7 @@ ingress:
pathType: "Prefix"

# -- Override API Version (automatically detected if not set)
apiVersion: # yamllint disable-line rule:empty-values
apiVersion: # yamllint disable-line rule:empty-values

# -- Ingress Hostname
hostname: "nautobot.local"
Expand Down Expand Up @@ -989,7 +991,7 @@ postgresql:
type: "RuntimeDefault"
containerSecurityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: false # Must be set to false
readOnlyRootFilesystem: false # Must be set to false
capabilities:
drop:
- "ALL"
Expand Down Expand Up @@ -1076,7 +1078,7 @@ mariadb:
primary:
containerSecurityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: false # Must be set to false
readOnlyRootFilesystem: false # Must be set to false
capabilities:
drop:
- "ALL"
Expand All @@ -1091,7 +1093,7 @@ mariadb:
secondary:
containerSecurityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: false # Must be set to false
readOnlyRootFilesystem: false # Must be set to false
capabilities:
drop:
- "ALL"
Expand Down Expand Up @@ -1130,7 +1132,7 @@ postgresqlha:
containerSecurityContext:
enabled: true
allowPrivilegeEscalation: false
readOnlyRootFilesystem: false # Must be set to false
readOnlyRootFilesystem: false # Must be set to false
seccompProfile:
type: "RuntimeDefault"
capabilities:
Expand Down Expand Up @@ -1169,7 +1171,7 @@ postgresqlha:
create: true
containerSecurityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: false # Must be set to false
readOnlyRootFilesystem: false # Must be set to false
seccompProfile:
type: "RuntimeDefault"
capabilities:
Expand Down

0 comments on commit 4db390c

Please sign in to comment.