Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

chart: Disable memcached when Flux is in readonly mode #2746

Merged
merged 1 commit into from
Jan 15, 2020
Merged
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 chart/flux/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ The following tables lists the configurable parameters of the Flux chart and the
| `sync.timeout` | `None` | Duration after which sync operations time out (defaults to `1m`)
| `sync.interval` | `<git.pollInterval>` | Controls how often Flux will apply what’s in git, to the cluster, absent new commits (defaults to `git.pollInterval`)
| `git.url` | `None` | URL of git repo with Kubernetes manifests
| `git.readonly` | `false` | If `true`, the git repo will be considered read-only, and Flux will not attempt to write to it
| `git.readonly` | `false` | If `true`, the git repo will be considered read-only, Flux will not attempt to write to it, image scanning will be disabled and memcached will not be deployed
| `git.branch` | `master` | Branch of git repo to use for Kubernetes manifests
| `git.path` | `None` | Path within git repo to locate Kubernetes manifests (relative path)
| `git.user` | `Weave Flux` | Username to use as git committer
Expand Down
2 changes: 1 addition & 1 deletion chart/flux/templates/memcached.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Values.memcached.enabled }}
{{- if and (eq .Values.memcached.enabled true) (eq .Values.git.readonly false) }}
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down