diff --git a/charts/kommander-operator/Chart.yaml b/charts/kommander-operator/Chart.yaml index 2b12b8bd0..a4fb81629 100644 --- a/charts/kommander-operator/Chart.yaml +++ b/charts/kommander-operator/Chart.yaml @@ -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 diff --git a/charts/kommander-operator/templates/deployment.yaml b/charts/kommander-operator/templates/deployment.yaml index d9ba12190..4b9f348aa 100644 --- a/charts/kommander-operator/templates/deployment.yaml +++ b/charts/kommander-operator/templates/deployment.yaml @@ -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 diff --git a/charts/kommander-operator/templates/post_install_kommandercore_hook.yaml b/charts/kommander-operator/templates/post_install_kommandercore_hook.yaml index 239cc8600..ad8f844d6 100644 --- a/charts/kommander-operator/templates/post_install_kommandercore_hook.yaml +++ b/charts/kommander-operator/templates/post_install_kommandercore_hook.yaml @@ -47,8 +47,6 @@ data: kind: KommanderCore metadata: name: kommander-core - spec: - version: {{ .Chart.Version }} EOF --- apiVersion: batch/v1 diff --git a/charts/kommander-operator/templates/rback_v1_clusterrole_operator_kommander-operator.yaml b/charts/kommander-operator/templates/rback_v1_clusterrole_operator_kommander-operator.yaml index fd5ebbd89..689ca6907 100644 --- a/charts/kommander-operator/templates/rback_v1_clusterrole_operator_kommander-operator.yaml +++ b/charts/kommander-operator/templates/rback_v1_clusterrole_operator_kommander-operator.yaml @@ -39,6 +39,7 @@ rules: - kommanderclusters - gitrepositories - secrets + - events verbs: - get - list @@ -65,6 +66,7 @@ rules: - kustomizations - federatednamespaces - kommanderclusters + - events verbs: - patch - update @@ -102,4 +104,10 @@ rules: verbs: - deletecollection - delete + - apiGroups: + - "" + resources: + - events + verbs: + - create --- diff --git a/common/kommander-operator/helmrelease.yaml b/common/kommander-operator/helmrelease.yaml index 139aee514..1dd7520d2 100644 --- a/common/kommander-operator/helmrelease.yaml +++ b/common/kommander-operator/helmrelease.yaml @@ -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