Skip to content

Commit

Permalink
Revert "feat(koperator): Update chart version, pass version into depl…
Browse files Browse the repository at this point in the history
…oyment (#1552)"

This reverts commit 3f3242c.
  • Loading branch information
gracedo committed Sep 8, 2023
1 parent 3f3242c commit f049b1d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
5 changes: 2 additions & 3 deletions charts/kommander-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
apiVersion: v2
name: kommander-operator
appVersion: 2.7.0-dev
version: 2.7.0-dev
appVersion: "0.2.0"
version: 0.2.0
description: kommander-operator helm chart.
maintainers:
- name: azhovan
- name: gracedo
2 changes: 0 additions & 2 deletions charts/kommander-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ spec:
- name: {{ .Chart.Name }}
image: "{{ .Values.kommanderoperator.image.repository }}:{{ .Values.kommanderoperator.image.tag }}"
imagePullPolicy: {{ .Values.kommanderoperator.image.pullPolicy }}
args:
- --kommander-version={{ .Chart.Version }}
ports:
- name: http
containerPort: 80
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,11 @@ data:
set -eo pipefail
cat <<EOF | kubectl apply --server-side -f -
cat <<EOF | kubectl apply -f -
apiVersion: dkp.d2iq.io/v1alpha1
kind: KommanderCore
metadata:
name: kommander-core
spec:
version: {{ .Chart.Version }}
EOF
---
apiVersion: batch/v1
Expand Down
1 change: 1 addition & 0 deletions charts/kommander-operator/values.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Default values for kommander-operator
# this is using a nginx image at the moment that will be replaced by proper image

replicaCount: 1
kommanderoperator:
Expand Down
2 changes: 1 addition & 1 deletion common/kommander-operator/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
kind: GitRepository
name: management
namespace: kommander-flux
version: 2.7.0-dev
version: 0.2.0
interval: 15s
install:
crds: CreateReplace
Expand Down

0 comments on commit f049b1d

Please sign in to comment.