Sha256: cec592ec991747ebd1720e5b409528b971d1870a32d8bde01d1f09b2d5d9a246
Contents?: true
Size: 929 Bytes
Versions: 1
Compression:
Stored size: 929 Bytes
Contents
--- title: Helpers --- Kubes provides some helper methods to help write Kubernetes YAML files. Here's a list of the helper methods. These are available whether you write your resources in YAML or DSL. Helper | Description --- | --- built_image | Method refers to the latest Docker image built by Kubes. This spares you from having to update the image manually in the deployment resource. dockerfile_port | Exposed port extracted from the Dockerfile of the project. extra | The `KUBES_ENV` value. with_extra | Appends the `KUBES_ENV` value to a string if it's set. It's covered in the [Extra Env Docs]({% link _docs/extra-env.md %}). Here's also the source code with the helpers: [helpers.rb](https://github.com/boltops-tools/kubes/blob/master/lib/kubes/compiler/shared/helpers.rb). ## DSL Specific Methods Each DSL resource has it's own specific methods. Refer to the [DSL Docs]({% link _docs/dsl.md %}) for their methods.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kubes-0.2.2 | docs/_docs/helpers.md |