Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/upload-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,20 @@ jobs:

aws s3 --endpoint-url=https://storage.yandexcloud.net \
cp ./charts/index.yaml s3://charts.ydb.tech/index.yaml
- name: docker-login-to-dockerhub
uses: docker/login-action@v3
with:
username: ydbplatform
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: push-image-to-dockerhub
run: |
docker build -t ydbplatform/ydb-kubernetes-operator:"$VERSION" .
docker push ydbplatform/ydb-kubernetes-operator:"$VERSION"
- name: helm-login-to-dockerhub
run: |
helm registry login registry-1.docker.io \
--username ydbplatform \
--password ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: push-helm-chart-to-dockerhub
run: |
helm push ./ydb-operator-"$VERSION".tgz oci://registry-1.docker.io/ydbplatform
4 changes: 2 additions & 2 deletions deploy/ydb-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.5.6
version: 0.5.7

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.5.6"
appVersion: "0.5.7"
2 changes: 1 addition & 1 deletion deploy/ydb-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ spec:
{{- end }}
command:
- /manager
image: {{ default "cr.yandex/yc/ydb-kubernetes-operator" .Values.image.repository }}:
image: {{ default "ydbplatform/ydb-kubernetes-operator" .Values.image.repository }}:
{{- if eq .Values.image.tag "REPLACED_BY_CHART_APP_VERSION_IF_UNSPECIFIED" -}}
{{- .Chart.AppVersion -}}
{{- else -}}
Expand Down
2 changes: 1 addition & 1 deletion deploy/ydb-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ image:
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
##
pullPolicy: IfNotPresent
repository: cr.yandex/yc/ydb-kubernetes-operator
repository: ydbplatform/ydb-kubernetes-operator
tag: "REPLACED_BY_CHART_APP_VERSION_IF_UNSPECIFIED"

## Secrets to use for Docker registry access
Expand Down