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
9fc36751
Commit
9fc36751
authored
Nov 04, 2015
by
Brendan Melville
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding schema for redis cluster.
parent
dd064609
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
redis.jinja
examples/guestbook/redis.jinja
+1
-1
redis.jinja.schema
examples/guestbook/redis.jinja.schema
+10
-0
No files found.
examples/guestbook/redis.jinja
View file @
9fc36751
{% set REDIS_PORT = 6379 %}
{% set REDIS_PORT = 6379 %}
{% set WORKERS = properties['workers']
or 2
%}
{% set WORKERS = properties['workers'] %}
resources:
resources:
- name: redis-master
- name: redis-master
...
...
examples/guestbook/redis.jinja.schema
0 → 100644
View file @
9fc36751
info:
title: Redis cluster
description: Defines a redis cluster, using a single replica
replicatedservice for master and replicatedservice for workers.
properties:
workers:
type: int
default: 2
description: Number of worker replicas.
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