Skip to content

Commit

Permalink
Merge pull request #35 from 7knot/fix/non-required-values
Browse files Browse the repository at this point in the history
fix: non required values.
  • Loading branch information
mugioka authored Mar 18, 2022
2 parents 8bfdf37 + 0b31dca commit 51272a2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion charts/panope/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.6.1
version: 0.6.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
10 changes: 5 additions & 5 deletions charts/panope/templates/agent/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ data:
AGENT_SUBJECT: {{ required "Invalid value. Values.agent.configMap.agentSubject is required!" .Values.agent.configMap.agentSubject | quote }}
CONTROLLER_SUBJECT: {{ required "Invalid value. Values.agent.configMap.controllerSubject is required!" .Values.agent.configMap.controllerSubject | quote }}
NATS_URI: {{ required "Invalid value. Values.agent.configMap.natsUri is required!" .Values.agent.configMap.natsUri | quote }}
CLUSTER_NODE_MAX_SURGE: {{ .Values.agent.configMap.clusterNodeMaxSurge | quote }}
CLUSTER_NODE_MAX_SURGE: {{ .Values.agent.configMap.clusterNodeMaxSurge | quote }}
MAX_PROCESSED_NODE_COUNT: {{ .Values.agent.configMap.maxProcessedNodeCount | quote }}
HEALTH_CHECK_PORT: {{ .Values.agent.configMap.healthCheckPort | quote }}
METRICS_PORT: {{ .Values.agent.configMap.metricsPort | quote }}
ROLLING_UPDATE_TIMEOUT_SEC: {{ .Values.agent.configMap.rollingUpdateTimeoutSec | quote }}
DRAINING_TIMEOUT_SEC: {{ .Values.agent.configMap.drainingTimeoutSec | quote }}
HEALTH_CHECK_PORT: {{ .Values.agent.configMap.healthCheckPort | default "4444" | quote }}
METRICS_PORT: {{ .Values.agent.configMap.metricsPort | default "2112" | quote }}
ROLLING_UPDATE_TIMEOUT_SEC: {{ .Values.agent.configMap.rollingUpdateTimeoutSec | default "180" | quote }}
DRAINING_TIMEOUT_SEC: {{ .Values.agent.configMap.drainingTimeoutSec | default "180" | quote }}
4 changes: 2 additions & 2 deletions charts/panope/templates/observer/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
data:
HEALTH_CHECK_PORT: {{ .Values.observer.configMap.healthCheckPort | quote }}
METRICS_PORT: {{ .Values.observer.configMap.metricsPort | quote }}
HEALTH_CHECK_PORT: {{ .Values.observer.configMap.healthCheckPort | default "4444" | quote }}
METRICS_PORT: {{ .Values.observer.configMap.metricsPort | default "2112" | quote }}
OBSERVER_SUBJECT: {{ required "Invalid value. Values.observer.configMap.observerSubject is required!" .Values.observer.configMap.observerSubject | quote }}
CONTROLLER_SUBJECT: {{ required "Invalid value. Values.observer.configMap.controllerSubject is required!" .Values.observer.configMap.controllerSubject | quote }}
NATS_URI: {{ required "Invalid value. Values.observer.configMap.natsUri is required!" .Values.observer.configMap.natsUri | quote }}
Expand Down

0 comments on commit 51272a2

Please sign in to comment.