Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: importer #2

Closed
wants to merge 103 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
0ee254f
Log values.yaml in case of errors and filtering sensitive values
meyskens Jan 11, 2019
bfd7d79
Merge pull request #182 from meyskens/log-sensitive
meyskens Jan 11, 2019
15090f2
adding the wait flag to the docs
mzupan Jan 30, 2019
254cdbf
Update release.html.markdown
mzupan Jan 30, 2019
c4658fc
Update release.html.markdown
mzupan Jan 30, 2019
7a42279
Update default tiller image from gcr.io/kubernetes-helm/tiller:v2.9.0…
pdecat Jan 31, 2019
3ad7214
Document helm provider configuration defaults
pdecat Jan 31, 2019
2cdf515
Merge pull request #194 from pdecat/update_default_tiller_image
meyskens Feb 5, 2019
9f8bff6
Merge pull request #192 from mzupan/master
meyskens Feb 5, 2019
b031547
Go modules (#200)
alexsomesan Feb 5, 2019
f838818
Align module versions (#201)
alexsomesan Feb 5, 2019
726aa56
Remove -i from 'go test' to allow running unit tests locally with go …
pdecat Feb 5, 2019
0ff02e1
Updated documentation (#209)
Feb 8, 2019
1aca51a
helm_release: Suppress diff of "keyring" and "devel" attributes (#193)
legal90 Feb 8, 2019
a4361c9
Add entries to .gitignore to roughly match the Google provider (#206)
rileykarson Feb 8, 2019
a5d2a25
Using localhost for TillerHost leads to 'context deadline exceeded' o…
yorinasub17 Feb 8, 2019
eee3d04
Updated CHANGELOG preparing v0.8.0 release (#211)
Feb 11, 2019
74474da
v0.8.0
Feb 11, 2019
da3bd8d
Cleanup after v0.8.0 release
Feb 11, 2019
3cf9ead
fix: config_path example (#215)
hareku Feb 14, 2019
3ffee37
fix config_path documentation
Feb 14, 2019
96d2b5d
Use configured helm home when reading default TLS settings (#210)
yorinasub17 Feb 20, 2019
0296c4e
Make travis own .minikube (#222)
meyskens Feb 22, 2019
ba5390f
Merge pull request #218 from terraform-providers/fix-config-path-doc
meyskens Feb 26, 2019
4a16187
Make helm_repository a data resource (#221)
meyskens Mar 7, 2019
1b29120
Added load_config_file option to the provider k8s part (#231)
meyskens Mar 7, 2019
0ac44ed
Updated CHANGELOG preparing v0.9.0 release (#232)
Mar 7, 2019
7254299
Replace 'O' with '0' in unreleased version number (#233)
alexsomesan Mar 7, 2019
2a59fe3
v0.9.0
Mar 7, 2019
cbce55d
Cleanup after v0.9.0 release
Mar 7, 2019
6c01499
Fix mistake in documentation
meyskens Mar 11, 2019
6fd74db
Merge pull request #234 from terraform-providers/fix-docs-mistake
meyskens Mar 13, 2019
2b5ad92
Escape commas in set_string (#227)
meyskens Mar 13, 2019
7ae377a
Codify infrastructure for running acceptance tests (#238)
radeksimko Mar 13, 2019
d69639f
Enable modules in Travis & go mod tidy (#237)
radeksimko Mar 15, 2019
7a1cbfa
Allow running acceptance test cases concurrently in isolation (#186)
pdecat Mar 15, 2019
698964e
Update release.html.markdown
desmondhume Mar 21, 2019
4ca373c
Merge pull request #241 from desmondhume/patch-1
meyskens Mar 25, 2019
280e631
Fix small typo in file config documentation (#243)
thylong Mar 31, 2019
09bde40
Update CI's kubernetes to latest v1.10.x minor version (#257)
pdecat Apr 22, 2019
0894d37
Migrate provider to Terraform 0.12 SDK (#219)
alexsomesan Apr 24, 2019
1d3bcb4
Update CHANGELOG.md for 0.9.1 release
alexsomesan Apr 24, 2019
3d80938
v0.9.1
Apr 24, 2019
4980a18
Cleanup after v0.9.1 release
Apr 24, 2019
ee4c112
Update helm deps to current master (#261)
pdecat Apr 24, 2019
a448d95
Update repository.html.markdown (#262)
framled Apr 29, 2019
2118580
Update index.html.markdown (#270)
framled May 3, 2019
6503f59
Tiller image `v2.11.0` -> `v2.13.1` (#264)
chenrui333 May 6, 2019
597d8cc
Update the example of helm_repository
pallxk May 15, 2019
30502ff
Merge pull request #276 from pallxk/patch-1
meyskens May 15, 2019
74aff01
Update helm and tiller to 2.14.0 (#277)
pdecat May 16, 2019
5ff79c3
helm/resource_release: typo fixes
invidian May 21, 2019
a1d23e1
Update Terraform to 0.12.1
jpreese Jun 10, 2019
f4e94ef
Merge pull request #289 from jpreese/update-terraform
meyskens Jun 14, 2019
c60f76e
Update vendor directory from modules
meyskens Jun 14, 2019
80eefe0
Merge pull request #282 from invidian/fix-typos
meyskens Jun 14, 2019
9c6a6f2
Merge pull request #290 from meyskens/vendor-update
meyskens Jun 14, 2019
62f090d
Fix concurrency issues reading multiple repos (#272)
Jun 17, 2019
087e4dd
Automatically initialize the configured helm home directory (#185)
pdecat Jun 18, 2019
0d9f795
Preparing release v0.10.0 (#293)
Jun 18, 2019
d642df1
v0.10.0
Jun 18, 2019
de1bd70
Cleanup after v0.10.0 release
Jun 18, 2019
4cdce55
Update to Helm 2.14.1 (#294)
Jun 19, 2019
136622c
Wait for tiller if it's not ready
dstockton Jun 20, 2019
cdafcb3
Update helm/provider.go
dstockton Jun 25, 2019
77d0573
Merge pull request #295 from dstockton/wait-for-tiller
meyskens Jun 25, 2019
ba1b219
User GetOkExists instead of GetOk for boolean attributes
osdemah Jul 3, 2019
39d69dc
Preparing release v0.10.1 (#309)
Jul 30, 2019
757d59e
v0.10.1
Jul 30, 2019
91b43c0
Cleanup after v0.10.1 release
Jul 30, 2019
74f0b6c
Revert "Escape commas in set_string (#227)" (#310)
Aug 5, 2019
144e4b6
Prepare for release 0.10.2 (#314)
Aug 7, 2019
46cb139
v0.10.2
Aug 7, 2019
b2d41cc
Cleanup after v0.10.2 release
Aug 7, 2019
2c0efe6
Remove ForceNew on repo and chart changes (#253)
lawliet89 Aug 26, 2019
5999859
Modernise docs (#324)
Aug 27, 2019
40fd5dc
Allow for colon separated KUBECONFIG
Aug 28, 2019
a8e6573
Don't enable TLS if `enable_tls` is false (#245)
moleskin-smile Aug 30, 2019
f924101
update helm dependency to v2.14.3 (#312)
karuppiah7890 Sep 10, 2019
c5599dd
remove usage of config pkg
appilon Sep 11, 2019
9374f77
Merge branch 'master' into pull-150
caarlos0 Sep 12, 2019
fc17e91
fix: merge issues
caarlos0 Sep 12, 2019
00cbf0c
fix: merge issues
caarlos0 Sep 12, 2019
2023346
fix: making diffs better
caarlos0 Sep 12, 2019
fdffef3
fix: making diffs better
caarlos0 Sep 12, 2019
b1e4d9b
fix: making diffs better
caarlos0 Sep 12, 2019
58539bc
fix: making diffs better
caarlos0 Sep 12, 2019
22bc6f6
fix: chart name
caarlos0 Sep 12, 2019
fe2b905
Merge pull request #334 from terraform-providers/appilon/remove-confi…
appilon Sep 12, 2019
88c993e
Merge pull request #327 from terraform-providers/fix-98
meyskens Sep 30, 2019
0cad011
Use Kubernetes v1.15 for testing (#349)
meyskens Sep 30, 2019
d2095c8
Merge pull request #304 from osdemah/fix-reading-false-values
meyskens Sep 30, 2019
77bf732
migrate to terraform-plugin-sdk
mcristina422 Sep 27, 2019
7146352
update vendor and lock blackfriday version
mcristina422 Sep 30, 2019
bc0c823
Merge pull request #348 from mcristina422/migrateSDK
meyskens Oct 1, 2019
919636a
update deps
mcristina422 Oct 2, 2019
34613cd
apimachinery
mcristina422 Oct 3, 2019
b765156
Merge pull request #352 from mcristina422/upDeps
meyskens Oct 7, 2019
e71e800
Fix release shield (#350)
meyskens Oct 8, 2019
bbb7900
Merge remote-tracking branch 'upstream/master' into pull-150
caarlos0 Oct 14, 2019
df31f0e
fix: tests resource names
caarlos0 Oct 14, 2019
0f9cc7f
fix: import state id
caarlos0 Oct 14, 2019
f15ceb0
fix: remove the diff supressions
caarlos0 Dec 5, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
31 changes: 30 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,37 @@
terraform-provider-helm
*.tfstate*
build
/build
assets
.terraform
_output/
.vscode
/results
*.dll
*.exe
.DS_Store
example.tf
terraform.tfvars
terraform.tfplan
bin/
modules-dev/
/pkg/
website/.vagrant
website/.bundle
website/build
website/node_modules
.vagrant/
*.backup
*.log
*.bak
*~
.*.swp
.idea
*.iml
*.test
*.iml

website/vendor

# Test exclusions
!command/test-fixtures/**/*.tfstate
!command/test-fixtures/**/.terraform/
20 changes: 9 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
sudo: required
# We need the systemd for the kubeadm and it's default from 16.04+
dist: xenial
dist: bionic
services:
- docker
language: go
go:
- "1.11.x"

env:
- GOFLAGS=-mod=vendor GO111MODULE=on

stages:
- Unit test
- Acceptance test
Expand All @@ -21,35 +24,30 @@ jobs:
# packages that live there.
# See: https://github.com/golang/go/issues/12933
- bash scripts/gogetcookie.sh
- go get github.com/kardianos/govendor
script:
- make test
- make vendor-status
- make vet
- make website-test
- name: Acceptance test
stage: Acceptance test
env:
- CHANGE_MINIKUBE_NONE_USER=true
- KUBERNETES_VERSION=v1.10.0
- KUBERNETES_VERSION=v1.15.4
- MINIKUBE_VERSION=v1.4.0
install:
- sudo apt-get update
- sudo apt-get install -y socat
before_script:
- sudo mount --make-rshared /
- curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/${KUBERNETES_VERSION}/bin/linux/amd64/kubectl
- sudo chmod +x kubectl && sudo mv kubectl /usr/local/bin/
- curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
- curl -Lo minikube https://storage.googleapis.com/minikube/releases/${MINIKUBE_VERSION}/minikube-linux-amd64
- sudo chmod +x minikube && sudo mv minikube /usr/local/bin/
- sudo minikube start --vm-driver=none --kubernetes-version=${KUBERNETES_VERSION}
- minikube update-context
- sudo chown -R travis /home/travis/.minikube/
- sudo chown -R travis /home/travis/.kube/
- JSONPATH='{range .items[*]}{@.metadata.name}:{range @.status.conditions[*]}{@.type}={@.status};{end}{end}'; until kubectl get nodes -o jsonpath="$JSONPATH" 2>&1 | grep -q "Ready=True"; do sleep 1; done
- curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get > get_helm.sh
- chmod 700 get_helm.sh
- DESIRED_VERSION=v2.11.0 ./get_helm.sh
script:
# needed till we fix the init in the provider
- helm init --client-only
- travis_wait 60 make testacc

matrix:
Expand Down
76 changes: 75 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,78 @@
## 0.7.1 (Unreleased)
## 0.10.3 (Unreleased)
## 0.10.2 (August 07, 2019)

FIXES:

* Revert "Escape commas in set_string" (#310)

## 0.10.1 (July 30, 2019)

IMPROVEMENTS:

* Update helm and tiller to 2.14.1 (#294)
* Wait for tiller if it's not ready (#295)

## 0.10.0 (June 18, 2019)

FEATURES:

* Automatically initialize the configured helm home directory (#185)

IMPROVEMENTS:

* Update helm and tiller to 2.14.0 (#277)
* Update terraform to 0.12.1 (#289 #290)

FIXES:

* Fix concurrency issues reading multiple repos (#272)
* Documentation fixes (#262 #270 #276)
* helm/resource_release: typo fixes (#282)

## 0.9.1 (April 24, 2019)

FEATURES:

IMPROVEMENTS:

* Migrate to Terraform 0.12 SDK
* Move to Go modules for dep-management

FIXES:

* Properly handle commas in attribute values
* Documentation fixes

## 0.9.0 (March 07, 2019)
FEATURES:

* `helm_repository` is now a data source. We retain backwards compatibility through `DataSourceResourceShim` (#221)
* Use configured helm home when reading default TLS settings (#210)
* Added `load_config_file` option to enable or disable the load of kubernetes config file (#231)

IMPROVEMENTS:

* CI and doc improvements

## 0.8.0 (February 11, 2019)

FEATURES:

* Added the possibility to set sensitive values (#153)

IMPROVEMENTS:

* Multiple README, logs and docs improvements
* Go 1.11 and modules (#179, #200 and #201)
* Default tiller version v2.11.0 (#194)
* Suppress diff of "keyring" and "devel" attributes (#193)
* Add entries to .gitignore to roughly match the Google provider (#206)

FIXES:

* Fix when Helm provider ignores FAILED release state (#161)
* Use `127.0.0.1` as default `localhost` (#207)

## 0.7.0 (December 17, 2018)

- Based on Helm 2.11
Expand Down
11 changes: 4 additions & 7 deletions GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
TEST?=$$(go list ./... |grep -v 'vendor')
TEST?="./helm"
GOFMT_FILES?=$$(find . -name '*.go' |grep -v vendor)
COVER_TEST?=$$(go list ./... |grep -v 'vendor')
WEBSITE_REPO=github.com/hashicorp/terraform-website
Expand All @@ -22,12 +22,12 @@ build: fmtcheck
go build -v .

test: fmtcheck
go test -i $(TEST) || exit 1
go test $(TEST) || exit 1
echo $(TEST) | \
xargs -t -n4 go test $(TESTARGS) -timeout=30s -parallel=4

testacc: fmtcheck
TF_ACC=1 go test $(TEST) -v $(TESTARGS) -timeout 120m
TF_ACC=1 go test $(TEST) -v $(TESTARGS) -timeout 120m -parallel=4

testrace: fmtcheck
TF_ACC= go test -race $(TEST) $(TESTARGS)
Expand Down Expand Up @@ -61,9 +61,6 @@ fmtcheck:
errcheck:
@sh -c "'$(CURDIR)/scripts/errcheck.sh'"

vendor-status:
@govendor status

test-compile: fmtcheck
@if [ "$(TEST)" = "./..." ]; then \
echo "ERROR: Set TEST to a specific package. For example,"; \
Expand Down Expand Up @@ -100,4 +97,4 @@ ifeq (,$(wildcard $(GOPATH)/src/$(WEBSITE_REPO)))
endif
@$(MAKE) -C $(GOPATH)/src/$(WEBSITE_REPO) website-provider-test PROVIDER_PATH=$(shell pwd) PROVIDER_NAME=$(PKG_NAME)

.PHONY: build test testacc testrace cover vet fmt fmtcheck errcheck vendor-status test-compile packages clean website website-test
.PHONY: build test testacc testrace cover vet fmt fmtcheck errcheck test-compile packages clean website website-test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Terraform Provider for Helm
[![Build Status](https://travis-ci.org/terraform-providers/terraform-provider-helm.svg?branch=master)](https://travis-ci.org/terraform-providers/terraform-provider-helm)
[![GitHub release](https://img.shields.io/github/release/terraform-providers/terraform-provider-helm.svg)](https://github.com/terraform-providers/terraform-provider-helm/releases)
[![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/terraform-providers/terraform-provider-helm?label=release)](https://github.com/terraform-providers/terraform-provider-helm/releases)
[![license](https://img.shields.io/github/license/terraform-providers/terraform-provider-helm.svg)]()
===========================

Expand Down