diff --git a/helm/.helmignore b/helm/chart/.helmignore similarity index 100% rename from helm/.helmignore rename to helm/chart/.helmignore diff --git a/helm/Chart.yaml b/helm/chart/Chart.yaml similarity index 89% rename from helm/Chart.yaml rename to helm/chart/Chart.yaml index 7608318..0758bd4 100644 --- a/helm/Chart.yaml +++ b/helm/chart/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: flink-kube-operator description: Helm chart for flink kube operator type: application -version: 0.1.0 +version: 0.1.1 appVersion: "0.1.0" diff --git a/helm/templates/NOTES.txt b/helm/chart/templates/NOTES.txt similarity index 100% rename from helm/templates/NOTES.txt rename to helm/chart/templates/NOTES.txt diff --git a/helm/templates/_helpers.tpl b/helm/chart/templates/_helpers.tpl similarity index 100% rename from helm/templates/_helpers.tpl rename to helm/chart/templates/_helpers.tpl diff --git a/helm/templates/flink/deploy.yaml b/helm/chart/templates/flink/deploy.yaml similarity index 80% rename from helm/templates/flink/deploy.yaml rename to helm/chart/templates/flink/deploy.yaml index 06a8a88..fc5123a 100644 --- a/helm/templates/flink/deploy.yaml +++ b/helm/chart/templates/flink/deploy.yaml @@ -1,21 +1,20 @@ apiVersion: apps/v1 kind: Deployment metadata: - name: {{ .Release.Name }}-flink # Adding the flink prefix to the name + name: {{ .Release.Name }}-flink labels: - app.kubernetes.io/name: {{ .Release.Name }}-flink # Adding the flink prefix to the labels - app.kubernetes.io/instance: {{ .Release.Name }} # Using the release name for instance - app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: {{ .Release.Name }}-flink + app.kubernetes.io/instance: {{ .Release.Name }} spec: replicas: 1 selector: matchLabels: - app.kubernetes.io/name: {{ .Release.Name }}-flink # Adding the flink prefix to the selector + app.kubernetes.io/name: {{ .Release.Name }}-flink app.kubernetes.io/instance: {{ .Release.Name }} template: metadata: labels: - app.kubernetes.io/name: {{ .Release.Name }}-flink # Adding the flink prefix to the template labels + app.kubernetes.io/name: {{ .Release.Name }}-flink app.kubernetes.io/instance: {{ .Release.Name }} spec: serviceAccountName: {{ include "flink-kube-operator.serviceAccountName" . }} @@ -54,9 +53,6 @@ spec: - name: flink-data mountPath: /opt/flink/data subPath: data - - name: flink-data - mountPath: /opt/flink/web-upload - subPath: web-upload - name: flink-savepoints mountPath: /opt/flink/savepoints - name: flink-savepoints diff --git a/helm/templates/flink/pvc.yaml b/helm/chart/templates/flink/pvc.yaml similarity index 69% rename from helm/templates/flink/pvc.yaml rename to helm/chart/templates/flink/pvc.yaml index 08cc355..dff425d 100644 --- a/helm/templates/flink/pvc.yaml +++ b/helm/chart/templates/flink/pvc.yaml @@ -1,7 +1,7 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: - name: {{ .Values.flink.state.savepoints.pvcName }} # Adding the flink prefix to PVC name + name: {{ .Values.flink.state.savepoints.pvcName }} spec: accessModes: - ReadWriteOnce diff --git a/helm/templates/flink/service.yaml b/helm/chart/templates/flink/service.yaml similarity index 54% rename from helm/templates/flink/service.yaml rename to helm/chart/templates/flink/service.yaml index 5def261..9e2b0fd 100644 --- a/helm/templates/flink/service.yaml +++ b/helm/chart/templates/flink/service.yaml @@ -1,15 +1,15 @@ apiVersion: v1 kind: Service metadata: - name: flink # Adding the flink prefix to the service name + name: flink labels: - app.kubernetes.io/name: {{ .Release.Name }}-flink # Adding the flink prefix to labels + app.kubernetes.io/name: {{ .Release.Name }}-flink app.kubernetes.io/instance: {{ .Release.Name }} spec: ports: - port: 8081 targetPort: 8081 selector: - app.kubernetes.io/name: {{ .Release.Name }}-flink # Adding the flink prefix to selector + app.kubernetes.io/name: {{ .Release.Name }}-flink app.kubernetes.io/instance: {{ .Release.Name }} type: ClusterIP # Change to LoadBalancer if you want external access diff --git a/helm/templates/operator/deployment.yaml b/helm/chart/templates/operator/deployment.yaml similarity index 100% rename from helm/templates/operator/deployment.yaml rename to helm/chart/templates/operator/deployment.yaml diff --git a/helm/templates/operator/hpa.yaml b/helm/chart/templates/operator/hpa.yaml similarity index 100% rename from helm/templates/operator/hpa.yaml rename to helm/chart/templates/operator/hpa.yaml diff --git a/helm/templates/operator/ingress.yaml b/helm/chart/templates/operator/ingress.yaml similarity index 100% rename from helm/templates/operator/ingress.yaml rename to helm/chart/templates/operator/ingress.yaml diff --git a/helm/templates/operator/role.yaml b/helm/chart/templates/operator/role.yaml similarity index 100% rename from helm/templates/operator/role.yaml rename to helm/chart/templates/operator/role.yaml diff --git a/helm/templates/operator/service.yaml b/helm/chart/templates/operator/service.yaml similarity index 100% rename from helm/templates/operator/service.yaml rename to helm/chart/templates/operator/service.yaml diff --git a/helm/templates/operator/serviceaccount.yaml b/helm/chart/templates/operator/serviceaccount.yaml similarity index 100% rename from helm/templates/operator/serviceaccount.yaml rename to helm/chart/templates/operator/serviceaccount.yaml diff --git a/helm/values.yaml b/helm/chart/values.yaml similarity index 100% rename from helm/values.yaml rename to helm/chart/values.yaml diff --git a/helm/flink-kube-operator-0.1.0.tgz b/helm/flink-kube-operator-0.1.0.tgz index 33c5834..621134c 100644 Binary files a/helm/flink-kube-operator-0.1.0.tgz and b/helm/flink-kube-operator-0.1.0.tgz differ diff --git a/helm/flink-kube-operator-0.1.1.tgz b/helm/flink-kube-operator-0.1.1.tgz new file mode 100644 index 0000000..f6e3a0c Binary files /dev/null and b/helm/flink-kube-operator-0.1.1.tgz differ diff --git a/helm/index.yaml b/helm/index.yaml index b1da267..70eaa01 100644 --- a/helm/index.yaml +++ b/helm/index.yaml @@ -2,13 +2,23 @@ apiVersion: v1 entries: flink-kube-operator: - apiVersion: v2 - appVersion: 1.16.0 - created: "2024-12-15T10:19:06.109855045+03:30" - description: A Helm chart for Kubernetes - digest: 0e23dcdec141db658ab3ef029a6d0ced50de9a43a6f5a218c93b5cb09caa29fd + appVersion: 0.1.0 + created: "2024-12-19T00:39:44.4857163+03:30" + description: Helm chart for flink kube operator + digest: 1d2af9af6b9889cc2962d627946464766f1b65b05629073b7fffb9a98cd957e2 + name: flink-kube-operator + type: application + urls: + - flink-kube-operator-0.1.1.tgz + version: 0.1.1 + - apiVersion: v2 + appVersion: 0.1.0 + created: "2024-12-19T00:39:44.485286485+03:30" + description: Helm chart for flink kube operator + digest: 0890d955904e6a3b2155c086a933b27e45266d896fb69eaad0e811dea40414da name: flink-kube-operator type: application urls: - flink-kube-operator-0.1.0.tgz version: 0.1.0 -generated: "2024-12-15T10:19:06.106766927+03:30" +generated: "2024-12-19T00:39:44.48463577+03:30"