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

sets memcached namespace as required by flux deployment #3346

Merged
merged 1 commit into from
Nov 30, 2020

Conversation

joaovitor
Copy link
Contributor

@joaovitor joaovitor commented Oct 29, 2020

sets memcached namespace as required by flux deployment

The deployment of helm chart requires the memcache service in the same namespace of flux deployment.
This small change sets the namespace in the service deployment.


https://github.com/fluxcd/flux/blob/master/chart/flux/templates/deployment.yaml#L208

- --memcached-hostname={{ .Values.memcached.hostnameOverride | default (printf "%s-memcached" (include "flux.fullname" .)) }}

https://github.com/fluxcd/flux/blob/master/chart/flux/templates/deployment.yaml#L208
```
- --memcached-hostname={{ .Values.memcached.hostnameOverride | default (printf "%s-memcached" (include "flux.fullname" .)) }}
```

Signed-off-by: Joao Vitor Lacerda Guimaraes <[email protected]>
Copy link
Member

@squaremo squaremo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to be explicit about the namespace (and maybe people are using helm template ...). Thank you ✋ <-- first time contributor high-five

@squaremo squaremo merged commit 26b2e68 into fluxcd:master Nov 30, 2020
@joaovitor joaovitor deleted the memcache_namespace branch November 30, 2020 18:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants