Skip to content

Add switch to enable/disable debug mode #60

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion helm/install/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: pgo
description: A Helm chart for Kubernetes
type: application
version: 0.2.1
version: 0.2.2
appVersion: 5.0.3
2 changes: 2 additions & 0 deletions helm/install/templates/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ spec:
- name: operator
image: "{{ .Values.image.image }}"
env:
{{- if .Values.debug.enabled }}
- name: CRUNCHY_DEBUG
value: "true"
{{- end }}
{{- range $image_name, $image_val := .Values.relatedImages }}
- name: RELATED_IMAGE_{{ $image_name | upper }}
value: "{{ $image_val.image }}"
Expand Down
4 changes: 4 additions & 0 deletions helm/install/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
---
## Switch to enable/disable debug on Postgres Operator
debug:
enabled: true

## Provide image repository and tag
image:
image: registry.developers.crunchydata.com/crunchydata/postgres-operator:ubi8-5.0.3-0
Expand Down