Skip to content

Commit

Permalink
fix gencert image
Browse files Browse the repository at this point in the history
  • Loading branch information
isaaguilar committed Oct 10, 2022
1 parent 834503a commit b699cc8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion charts/terraform-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ apiVersion: v1
appVersion: v0.9.0-pre4
description: A Helm chart to deploy the terraform-operator Controller and CRD.
name: terraform-operator
version: 0.2.16
version: 0.2.17
8 changes: 4 additions & 4 deletions charts/terraform-operator/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# terraform-operator

![Version: 0.2.16](https://img.shields.io/badge/Version-0.2.16-informational?style=flat-square) ![AppVersion: v0.9.0-pre4](https://img.shields.io/badge/AppVersion-v0.9.0--pre4-informational?style=flat-square)
![Version: 0.2.17](https://img.shields.io/badge/Version-0.2.17-informational?style=flat-square) ![AppVersion: v0.9.0-pre4](https://img.shields.io/badge/AppVersion-v0.9.0--pre4-informational?style=flat-square)

A Helm chart to deploy the terraform-operator Controller and CRD.

Expand All @@ -24,14 +24,14 @@ kubectl apply -f crds/terraform.yaml
| Key | Description | Default |
|---|---|---|
| controller.affinity | `object` node/pod affinities | `{}` |
| controller.args | `list` additional arguments for the command | <a href="values.yaml#L23-L25">values.yaml</a> |
| controller.args | `list` additional arguments for the command | <a href="values.yaml#L22-L24">values.yaml</a> |
| controller.enabled | `bool` deploy the terraform-operator controller | `true` |
| controller.environmentVars | `object` key/value envs | `{}` |
| controller.image.pullPolicy | `string` Set how kubernetes determines when to pull the docker image. | `"IfNotPresent"` |
| controller.image.repository | `string` repo name without the tag. The init container shares the name and appends `-gencert`. | `"isaaguilar/terraform-operator"` |
| controller.image.repository | `string` image without the tag. | `"isaaguilar/terraform-operator"` |
| controller.image.tag | `string` tag of the image | `"v0.9.0-pre4"` |
| controller.nodeSelector | `object` node labels for pod assignment | `{}` |
| controller.replicaCount | `int` number of replicas | `1` |
| controller.resources | `object` CPU/Memory request and limit configuration | <a href="values.yaml#L32-L38">values.yaml</a> |
| controller.resources | `object` CPU/Memory request and limit configuration | <a href="values.yaml#L31-L37">values.yaml</a> |
| controller.tolerations | `list` List of node taints to tolerate | `[]` |
| webhook.enabled | `bool` enables the webhook - required most of the time | `true` |
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
initContainers:
{{- if .Values.webhook.enabled }}
- name: gencert
image: "isaaguilar/terraform-operator-gencert:v1.0.0"
image: "ghcr.io/galleybytes/terraform-operator-gencert:1.0.0"
imagePullPolicy: IfNotPresent
env:
- name: SERVICE
Expand Down
7 changes: 3 additions & 4 deletions charts/terraform-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ controller:
replicaCount: 1

image:
# controller.image.repository -- repo name without the tag. The init container shares the name
# and appends `-gencert`.
# controller.image.repository -- image without the tag.
repository: isaaguilar/terraform-operator
# controller.image.tag -- tag of the image
tag: v0.9.0-pre4
Expand All @@ -19,7 +18,7 @@ controller:
pullPolicy: IfNotPresent

# controller.args -- additional arguments for the command
# @default -- <a href="values.yaml#L23-L25">values.yaml</a>
# @default -- <a href="values.yaml#L22-L24">values.yaml</a>
args:
- --zap-log-level=debug
- --zap-encoder=console
Expand All @@ -28,7 +27,7 @@ controller:
# - --max-concurrent-reconciles=10

# controller.resources -- CPU/Memory request and limit configuration
# @default -- <a href="values.yaml#L32-L38">values.yaml</a>
# @default -- <a href="values.yaml#L31-L37">values.yaml</a>
resources:
limits:
cpu: 50m
Expand Down

0 comments on commit b699cc8

Please sign in to comment.