
The node-role.kubernetes.io/master label is deprecated for K8s v1.24. This change provides compatibility to the application for such K8s version. This new label is available since K8s v1.20 so it is safe for previous stx version. Test plan PASS: Build the package and install on system with K8s v1.23. Upload, apply the application as usual. Run snmp commands, the system responds correctly. Story: 2010339 Task: 46473 Signed-off-by: Agustin Carranza <agustin.carranza@windriver.com> Change-Id: Ib05e4ebc299d219ef8468b878829631a9506de4b
72 lines
1.4 KiB
YAML
Executable File
72 lines
1.4 KiB
YAML
Executable File
# Default values for snmp.
|
|
# This is a YAML-formatted file.
|
|
# Declare variables to be passed into your templates.
|
|
|
|
replicaCount: 1
|
|
|
|
snmp:
|
|
image:
|
|
repository: docker.io/starlingx/stx-snmp
|
|
tag: stx.8.0-v1.0.0
|
|
pull_policy: IfNotPresent
|
|
|
|
subagent:
|
|
name: sub-agent
|
|
image:
|
|
repository: docker.io/starlingx/stx-fm-subagent
|
|
tag: stx.8.0-v1.0.0
|
|
pull_policy: IfNotPresent
|
|
|
|
trap_subagent:
|
|
name: trap-subagent
|
|
image:
|
|
repository: docker.io/starlingx/stx-fm-trap-subagent
|
|
tag: stx.8.0-v1.0.0
|
|
pull_policy: IfNotPresent
|
|
|
|
image:
|
|
debug: ''
|
|
|
|
nameOverride: ""
|
|
fullnameOverride: ""
|
|
|
|
nodeSelector: { node-role.kubernetes.io/control-plane: "" }
|
|
|
|
tolerations:
|
|
- key: "node-role.kubernetes.io/control-plane"
|
|
operator: "Exists"
|
|
effect: "NoSchedule"
|
|
|
|
configmap:
|
|
name_snmpd: snmpd-etc-config
|
|
name_fm: snmpd-fm
|
|
user_conf: '# User configuration'
|
|
system_description: ''
|
|
system_contact: ''
|
|
system_name: ''
|
|
system_location: ''
|
|
connection: ''
|
|
|
|
deployment:
|
|
master_agent_host: localhost
|
|
master_agent_port: 705
|
|
master_agent_connection_retries: 20
|
|
|
|
service:
|
|
name: snmpd-service
|
|
type: NodePort
|
|
|
|
livenessProbe:
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 10
|
|
timeoutSeconds: 3
|
|
successThreshold: 1
|
|
failureThreshold: 1
|
|
|
|
readinessProbe:
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 10
|
|
timeoutSeconds: 3
|
|
successThreshold: 1
|
|
failureThreshold: 1
|