Skip to content

Rancher Update Service

Actions
An action for updating a service in the Rancher 2.x environment
v3.3.0
Latest
Star (8)

Tags

 (1)

rancher-update

This action helps by updating a service in the Rancher 2 environment with kubernetes.

Examples

Update service

on:
push:
  branches:
  - master

jobs:
  release:
    runs-on: ubuntu-latest
    steps:
    - uses: sekassel-research/actions-rancher-update@v3.3.0
      with:
        rancher_url: ${{ secrets.RANCHER_URL }} # e.g. https://rancher.test.de
        rancher_token: ${{ secrets.RANCHER_TOKEN }} # e.g. token-xxxxx:xxxxxxxxxxxxxxx
        cluster_id: ${{ secrets.CLUSTER_ID }} # e.g. c-xxxxx
        namespace: ${{ secrets.NAMESPACE }}
        kind: deployment # e.g. deployment (default), statefulset, cronjob
        workload: ${{ secrets.WORKLOAD }} # e.g. my-service
        deployment: ${{ secrets.DEPLOYMENT }} # deprecated, use workload instead
        docker_image: sekassel-research/example:latest
        container_id: 0 # optional, defaults to 0

Backwards compatibility

If you want to use this extension for Rancher 1.6.x, please read the instructions on the v1 branch.

Rancher Update Service is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

An action for updating a service in the Rancher 2.x environment
v3.3.0
Latest

Tags

 (1)

Rancher Update Service is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.