Skip to content

Commit

Permalink
kommander: add conditional to install the CRD
Browse files Browse the repository at this point in the history
kommander: add conditional to install the CRD
  • Loading branch information
Hector Fernandez authored Jul 19, 2019
2 parents 173fa1d + 5f3045a commit e777c9c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/kommander/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ name: kommander
home: https://github.com/mesosphere/kommander
appVersion: "1.47.2"
description: Kommander
version: 0.1.10
version: 0.1.11
maintainers:
- name: hectorj2f
2 changes: 2 additions & 0 deletions stable/kommander/templates/crd.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if (.Values.createObservableClusterCRD) }}
---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
Expand Down Expand Up @@ -62,3 +63,4 @@ spec:
- name: Age
type: date
JSONPath: .metadata.creationTimestamp
{{ end }}
3 changes: 3 additions & 0 deletions stable/kommander/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ logoutRedirectPath: /
# Mode must be either production|konvoy
mode: production

# Konvoy ui should NOT create the CRD if Kommander already did it
createObservableClusterCRD: true

extraInitContainers:

resources:
Expand Down

0 comments on commit e777c9c

Please sign in to comment.