-
Notifications
You must be signed in to change notification settings - Fork 16.7k
Consul - Add consul tests and upgrade consul to 0.8.x #1126
Conversation
lachie83
commented
May 18, 2017
- Add app version tag
- Update chart maintainers to github username
- Add consul helm tests
- Update documentation
- Remove existing test.sh
Add app version tag Update chart maintainers to github username Add consul helm tests Update documentation Remove existing test.sh
cc @foxish hoping to add more testable charts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome @lachie83, just have some small comments.
stable/consul/README.md
Outdated
@@ -48,13 +47,15 @@ The following tables lists the configurable parameters of the consul chart and t | |||
| `ui.enabled` | Enable Consul Web UI | `false` | | |||
| `uiService.enabled` | Create dedicated Consul Web UI svc | `false` | | |||
| `uiService.type` | Dedicate Consul Web UI svc type | `NodePort` | | |||
| `test.image` | Test container image requires kubectl + bash (used for helm test) | `lachlanevenson/k8s-kubectl` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be configurable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I think this is fine. I've documented the prerequisites to cut your own container to run the tests if desired
stable/consul/templates/NOTES.txt
Outdated
2. Confirm consul cluster is healthy | ||
$ kubectl exec {{ .Release.Name }}-consul-0 consul members --namespace={{ .Release.Namespace }} | grep server | ||
2. Test cluster health using Helm test. | ||
$ helm test {{ .Release.Namespace }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be .Release.Name
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes. Nice catch!
Updated. I think this should be good to go. |
@k8s-bot pull-charts-e2e test this |
@k8s-bot pull-charts-e2e test this |
@prydonius can you please take another pass at this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry for the delay @lachie83, lgtm!
* Bump consul version to 0.8.3 Add app version tag Update chart maintainers to github username Add consul helm tests Update documentation Remove existing test.sh * Update helm test command in notes