-
Notifications
You must be signed in to change notification settings - Fork 58
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
Added DBVersions default objects && Removed '--docker-registry' and '--exporter-tag' from operator flags #259
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
9153b94
Added ElasticsearchVersion, MongoDBVersion, MySQLVersion, MemcachedVe…
the-redback ed95fc3
Remove docker-registry and exporter-tag flag
the-redback c9ec1bf
use `--ignore-not-found=true` istead of `|| true`
the-redback c09895a
Check if length is 8 before taking the suffix of length 8
the-redback 8f433b2
added-all
the-redback 1ea5e34
added-all
the-redback 6ec9e6c
refactored kubedb-catalog installation
the-redback 9703f34
added-all
the-redback 7dc8cd8
added-all
the-redback 0381800
Fix catalog installer
tamalsaha File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
{{ if .Values.catalog.elasticsearch }} | ||
--- | ||
apiVersion: kubedb.com/v1alpha1 | ||
kind: ElasticsearchVersion | ||
metadata: | ||
name: "5.6" | ||
labels: | ||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" | ||
app: "{{ template "kubedb-catalog.name" . }}" | ||
heritage: "{{ .Release.Service }}" | ||
release: "{{ .Release.Name }}" | ||
spec: | ||
db: | ||
image: "{{ .Values.dockerRegistry }}/elasticsearch:5.6" | ||
exporter: | ||
image: "{{ .Values.dockerRegistry }}/operator:0.8.0" | ||
tools: | ||
image: "{{ .Values.dockerRegistry }}/elasticsearch-tools:5.6" | ||
|
||
--- | ||
apiVersion: kubedb.com/v1alpha1 | ||
kind: ElasticsearchVersion | ||
metadata: | ||
name: "5.6.4" | ||
labels: | ||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" | ||
app: "{{ template "kubedb-catalog.name" . }}" | ||
heritage: "{{ .Release.Service }}" | ||
release: "{{ .Release.Name }}" | ||
spec: | ||
db: | ||
image: "{{ .Values.dockerRegistry }}/elasticsearch:5.6.4" | ||
exporter: | ||
image: "{{ .Values.dockerRegistry }}/operator:0.8.0" | ||
tools: | ||
image: "{{ .Values.dockerRegistry }}/elasticsearch-tools:5.6.4" | ||
|
||
--- | ||
apiVersion: kubedb.com/v1alpha1 | ||
kind: ElasticsearchVersion | ||
metadata: | ||
name: "6.2.4" | ||
labels: | ||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" | ||
app: "{{ template "kubedb-catalog.name" . }}" | ||
heritage: "{{ .Release.Service }}" | ||
release: "{{ .Release.Name }}" | ||
spec: | ||
db: | ||
image: "{{ .Values.dockerRegistry }}/elasticsearch:6.2.4" | ||
exporter: | ||
image: "{{ .Values.dockerRegistry }}/operator:0.8.0" | ||
tools: | ||
image: "{{ .Values.dockerRegistry }}/elasticsearch-tools:6.2.4" | ||
|
||
--- | ||
apiVersion: kubedb.com/v1alpha1 | ||
kind: ElasticsearchVersion | ||
metadata: | ||
name: "6.2" | ||
labels: | ||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" | ||
app: "{{ template "kubedb-catalog.name" . }}" | ||
heritage: "{{ .Release.Service }}" | ||
release: "{{ .Release.Name }}" | ||
spec: | ||
db: | ||
image: "{{ .Values.dockerRegistry }}/elasticsearch:6.2" | ||
exporter: | ||
image: "{{ .Values.dockerRegistry }}/operator:0.8.0" | ||
tools: | ||
image: "{{ .Values.dockerRegistry }}/elasticsearch-tools:6.2" | ||
|
||
--- | ||
apiVersion: kubedb.com/v1alpha1 | ||
kind: ElasticsearchVersion | ||
metadata: | ||
name: "6.3.0" | ||
labels: | ||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" | ||
app: "{{ template "kubedb-catalog.name" . }}" | ||
heritage: "{{ .Release.Service }}" | ||
release: "{{ .Release.Name }}" | ||
spec: | ||
db: | ||
image: "{{ .Values.dockerRegistry }}/elasticsearch:6.3.0" | ||
exporter: | ||
image: "{{ .Values.dockerRegistry }}/operator:0.8.0" | ||
tools: | ||
image: "{{ .Values.dockerRegistry }}/elasticsearch-tools:6.3.0" | ||
|
||
--- | ||
apiVersion: kubedb.com/v1alpha1 | ||
kind: ElasticsearchVersion | ||
metadata: | ||
name: "6.3" | ||
labels: | ||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" | ||
app: "{{ template "kubedb-catalog.name" . }}" | ||
heritage: "{{ .Release.Service }}" | ||
release: "{{ .Release.Name }}" | ||
spec: | ||
db: | ||
image: "{{ .Values.dockerRegistry }}/elasticsearch:6.3" | ||
exporter: | ||
image: "{{ .Values.dockerRegistry }}/operator:0.8.0" | ||
tools: | ||
image: "{{ .Values.dockerRegistry }}/elasticsearch-tools:6.3" | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{{ if .Values.catalog.memcached }} | ||
--- | ||
apiVersion: kubedb.com/v1alpha1 | ||
kind: MemcachedVersion | ||
metadata: | ||
name: "1.5" | ||
labels: | ||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" | ||
app: "{{ template "kubedb-catalog.name" . }}" | ||
heritage: "{{ .Release.Service }}" | ||
release: "{{ .Release.Name }}" | ||
spec: | ||
db: | ||
image: "{{ .Values.dockerRegistry }}/memcached:1.5" | ||
exporter: | ||
image: "{{ .Values.dockerRegistry }}/operator:0.8.0" | ||
|
||
--- | ||
apiVersion: kubedb.com/v1alpha1 | ||
kind: MemcachedVersion | ||
metadata: | ||
name: "1.5.4" | ||
labels: | ||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" | ||
app: "{{ template "kubedb-catalog.name" . }}" | ||
heritage: "{{ .Release.Service }}" | ||
release: "{{ .Release.Name }}" | ||
spec: | ||
db: | ||
image: "{{ .Values.dockerRegistry }}/memcached:1.5.4" | ||
exporter: | ||
image: "{{ .Values.dockerRegistry }}/operator:0.8.0" | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{{ if .Values.catalog.mongo }} | ||
--- | ||
apiVersion: kubedb.com/v1alpha1 | ||
kind: MongoDBVersion | ||
metadata: | ||
name: "3.4" | ||
labels: | ||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" | ||
app: "{{ template "kubedb-catalog.name" . }}" | ||
heritage: "{{ .Release.Service }}" | ||
release: "{{ .Release.Name }}" | ||
spec: | ||
db: | ||
image: "{{ .Values.dockerRegistry }}/mongo:3.4" | ||
exporter: | ||
image: "{{ .Values.dockerRegistry }}/operator:0.8.0" | ||
tools: | ||
image: "{{ .Values.dockerRegistry }}/mongo-tools:3.4" | ||
|
||
--- | ||
apiVersion: kubedb.com/v1alpha1 | ||
kind: MongoDBVersion | ||
metadata: | ||
name: "3.6" | ||
labels: | ||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" | ||
app: "{{ template "kubedb-catalog.name" . }}" | ||
heritage: "{{ .Release.Service }}" | ||
release: "{{ .Release.Name }}" | ||
spec: | ||
db: | ||
image: "{{ .Values.dockerRegistry }}/mongo:3.6" | ||
exporter: | ||
image: "{{ .Values.dockerRegistry }}/operator:0.8.0" | ||
tools: | ||
image: "{{ .Values.dockerRegistry }}/mongo-tools:3.6" | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{{ if .Values.catalog.mysql }} | ||
--- | ||
apiVersion: kubedb.com/v1alpha1 | ||
kind: MySQLVersion | ||
metadata: | ||
name: "8.0" | ||
labels: | ||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" | ||
app: "{{ template "kubedb-catalog.name" . }}" | ||
heritage: "{{ .Release.Service }}" | ||
release: "{{ .Release.Name }}" | ||
spec: | ||
db: | ||
image: "{{ .Values.dockerRegistry }}/mysql:8.0" | ||
exporter: | ||
image: "{{ .Values.dockerRegistry }}/operator:0.8.0" | ||
tools: | ||
image: "{{ .Values.dockerRegistry }}/mysql-tools:8.0" | ||
|
||
--- | ||
apiVersion: kubedb.com/v1alpha1 | ||
kind: MySQLVersion | ||
metadata: | ||
name: "5.7" | ||
labels: | ||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" | ||
app: "{{ template "kubedb-catalog.name" . }}" | ||
heritage: "{{ .Release.Service }}" | ||
release: "{{ .Release.Name }}" | ||
spec: | ||
db: | ||
image: "{{ .Values.dockerRegistry }}/mysql:5.7" | ||
exporter: | ||
image: "{{ .Values.dockerRegistry }}/operator:0.8.0" | ||
tools: | ||
image: "{{ .Values.dockerRegistry }}/mysql-tools:5.7" | ||
|
||
--- | ||
apiVersion: kubedb.com/v1alpha1 | ||
kind: MySQLVersion | ||
metadata: | ||
name: "5" | ||
labels: | ||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" | ||
app: "{{ template "kubedb-catalog.name" . }}" | ||
heritage: "{{ .Release.Service }}" | ||
release: "{{ .Release.Name }}" | ||
spec: | ||
db: | ||
image: "{{ .Values.dockerRegistry }}/mysql:5" | ||
exporter: | ||
image: "{{ .Values.dockerRegistry }}/operator:0.8.0" | ||
tools: | ||
image: "{{ .Values.dockerRegistry }}/mysql-tools:5" | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{{ if .Values.catalog.redis }} | ||
--- | ||
apiVersion: kubedb.com/v1alpha1 | ||
kind: RedisVersion | ||
metadata: | ||
name: "4.0.6" | ||
labels: | ||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" | ||
app: "{{ template "kubedb-catalog.name" . }}" | ||
heritage: "{{ .Release.Service }}" | ||
release: "{{ .Release.Name }}" | ||
spec: | ||
db: | ||
image: "{{ .Values.dockerRegistry }}/redis:4.0.6" | ||
exporter: | ||
image: "{{ .Values.dockerRegistry }}/operator:0.8.0" | ||
|
||
--- | ||
apiVersion: kubedb.com/v1alpha1 | ||
kind: RedisVersion | ||
metadata: | ||
name: "4.0" | ||
labels: | ||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" | ||
app: "{{ template "kubedb-catalog.name" . }}" | ||
heritage: "{{ .Release.Service }}" | ||
release: "{{ .Release.Name }}" | ||
spec: | ||
db: | ||
image: "{{ .Values.dockerRegistry }}/redis:4.0" | ||
exporter: | ||
image: "{{ .Values.dockerRegistry }}/operator:0.8.0" | ||
|
||
--- | ||
apiVersion: kubedb.com/v1alpha1 | ||
kind: RedisVersion | ||
metadata: | ||
name: "4" | ||
labels: | ||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" | ||
app: "{{ template "kubedb-catalog.name" . }}" | ||
heritage: "{{ .Release.Service }}" | ||
release: "{{ .Release.Name }}" | ||
spec: | ||
db: | ||
image: "{{ .Values.dockerRegistry }}/redis:4" | ||
exporter: | ||
image: "{{ .Values.dockerRegistry }}/operator:0.8.0" | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,9 @@ | ||
dockerRegistry: "kubedb" | ||
catalog: | ||
elasticsearch: true | ||
etcd: true | ||
memcached: true | ||
mongo: true | ||
mysql: true | ||
postgres: true | ||
redis: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be removed from chart values.yaml, README.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
used in Operator Deployment. https://github.com/kubedb/cli/blob/add-catalog/chart/kubedb/templates/deployment.yaml#L34