tutorial-web-app-operator

module
v0.0.63 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2020 License: Apache-2.0

README

tutorial-web-app-operator

Openshift operator that handles integreatly tutorial-web-app deployments.

Build Status

Project Info
License: Apache License, Version 2.0
IRC #integreatly channel in the freenode network.

Deploying

#create required resources
make cluster/prepare
#deploys the operator itself
make -B cluster/deploy

Building

#builds image: quay.io/integreatly/tutorial-web-app-operator:latest
make image/build

#custom image params: registry.io/myusername/image-name:dev
make image/build REG=custom-registry.io ORG=myusername IMAGE=image-name TAG=dev

Running tests

make test/unit

Updating Web App Image Version

Update web app image version in the following files:

  • Update WebAppImage WebAppImage = "quay.io/integreatly/tutorial-web-app:<version>"
    • Image version that the deployment config gets reconciled to (Must be updated as would override the version used by the template)
  • Update tutorial-web-app.yml template image: quay.io/integreatly/tutorial-web-app:<version>
    • Image version that gets deployed on initial processing of the template file

Release

Update operator version files:

Commit changes and open a pull request to master.

When the PR is merged, create a new Github release from master for v e.g. v0.0.10. This will trigger a ci build of the tag, and a new image pushed to quay.io with that tag.

Directories

Path Synopsis
cmd
pkg
apis/integreatly/v1alpha1
+k8s:deepcopy-gen=package +groupName=integreatly.org
+k8s:deepcopy-gen=package +groupName=integreatly.org
k8s

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL