Skip to content

Commit

Permalink
feat(koperator): Revert to using arbitrary chart version (#1568)
Browse files Browse the repository at this point in the history
* Revert "feat(koperator): Update chart version, pass version into deployment (#1552)"

This reverts commit 3f3242c.

* feat(koperator): Bump chart version

* refactor(koperator): User server side apply for kubectl apply kcore

* feat(koperator): Add events create rule

* feat(koperator): Bump HR version
  • Loading branch information
gracedo authored Sep 18, 2023
1 parent 0763e24 commit 4901edb
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
4 changes: 2 additions & 2 deletions charts/kommander-operator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: kommander-operator
appVersion: 2.7.0-dev
version: 2.7.0-dev
appVersion: "0.3.0"
version: 0.3.0
description: kommander-operator helm chart.
maintainers:
- name: azhovan
Expand Down
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 @@ -47,8 +47,6 @@ data:
kind: KommanderCore
metadata:
name: kommander-core
spec:
version: {{ .Chart.Version }}
EOF
---
apiVersion: batch/v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ rules:
- kommanderclusters
- gitrepositories
- secrets
- events
verbs:
- get
- list
Expand All @@ -65,6 +66,7 @@ rules:
- kustomizations
- federatednamespaces
- kommanderclusters
- events
verbs:
- patch
- update
Expand Down Expand Up @@ -102,4 +104,10 @@ rules:
verbs:
- deletecollection
- delete
- apiGroups:
- ""
resources:
- events
verbs:
- create
---
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.3.0
interval: 15s
install:
crds: CreateReplace
Expand Down

0 comments on commit 4901edb

Please sign in to comment.