Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
488dc041
Commit
488dc041
authored
Nov 12, 2015
by
vaikas-google
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #51 from bmelville/master
Fixing jinja template for redis to allow for no properties.
parents
9d1a5d8c
c7af9ab1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
redis.jinja
types/redis/v1/redis.jinja
+1
-1
redis.yaml
types/redis/v1/redis.yaml
+0
-1
No files found.
types/redis/v1/redis.jinja
View file @
488dc041
{% set REDIS_PORT = 6379 %}
{% set REDIS_PORT = 6379 %}
{% set WORKERS = properties['workers']
or
2 %}
{% set WORKERS = properties['workers']
if properties and properties['workers'] else
2 %}
resources:
resources:
- name: redis-master
- name: redis-master
...
...
types/redis/v1/redis.yaml
View file @
488dc041
...
@@ -4,4 +4,3 @@ imports:
...
@@ -4,4 +4,3 @@ imports:
resources
:
resources
:
-
name
:
redis
-
name
:
redis
type
:
redis.jinja
type
:
redis.jinja
properties
:
null
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment