Commit Graph
228 Commits
Author SHA1 Message Date
xingjianhui e8966d9e2c Fix kompose.image-pull-secret invalid issue when use compose configs (#1414) 2021-08-23 20:39:17 +08:00
w4v3 b2dee807a2 Add storageClassName label to pvc manifest(#1413) 2021-08-15 15:05:01 +08:00
Kubernetes Prow Robot 94bff75a15 Merge pull request #1401 from tk42/service_account
Add ServiceAccountName
2021-08-12 07:15:47 -07:00
Lex Cao 82440ed8c0 Support custom registry on pushing image 2021-08-11 09:58:24 +08:00
ithaiq b605fd986c Add "--pvc-request-size" new command line parameter (#1406) 2021-08-07 14:47:02 +08:00
cnbailian 5a17ee46c3 fix the selector field of service resource 2021-08-06 15:04:23 +08:00
tk42 f7f987de49 Add ServiceAccountName
The label `kompose.service.accountname` defines the service account name
to provide the credential info of the pod.
2021-07-24 08:44:07 +09:00
tk42 deb00f3407 support multiple containers in a pod (#1394) 2021-07-08 09:48:05 +08:00
james song 0b331d9e5d Fixed, #1385 (#1386)
Add support for more readiness args
2021-05-19 23:52:33 +08:00
Hang Yan fb3b2257c6 Fix secret name error (#1379)
* Fix secret name error
2021-05-01 11:31:05 +08:00
Hang Yan 45634be192 Fix convert deployment log error (#1378) 2021-05-01 10:37:06 +08:00
Rémy Léone 395d99fb7d add support for golangci-lint (#1373) 2021-04-07 11:10:56 +08:00
Rémy Léone d1e538e2d4 fix goimports (#1372) 2021-04-03 11:50:28 +08:00
João Vitor Paes de Barros do Carmo 0036f0c32b Add readiness healthcheck generation by label (#1366) 2021-03-17 18:02:50 +08:00
Bo BieneandTomas Kral 76565d80b2 TLS improvements (#1317)
* Fix tls hostname for ingress with path

* Possibility to set ExposeServiceTLS to true

* keep full path when extracting host

Co-authored-by: Tomas Kral <tomas.kral@gmail.com>
2020-11-30 15:48:50 +08:00
namusyaka 25036e1b22 Create directories if --out ends with "/" or includes nonexistent directories (#1350)
* Create directory if --out ends with "/"

* Create directories if "out" contains nonexistent directories
2020-11-08 23:18:39 +08:00
namusyaka 951b46e3c2 cleanup debug logs & remove duplicated output (#1348)
* cleanup debug logs

* avoid duplicate error messages

and this makes main.go use os and fmt package instead of log to avoid
touching global state
2020-11-04 22:50:18 +08:00
namusyaka 119f0b8f70 Follow up on #1341 (#1344)
* mv d.yaml to examples

* rephrase debug log messages a bit
2020-11-04 08:26:15 +08:00
Hang Yan ee3ae26198 Update docs (#1342) 2020-11-03 14:50:13 +08:00
Hang Yan c0f485b4e1 Create two svc if loadbalancer and use udp/tcp the same time 2020-11-03 13:09:25 +08:00
Hang Yan 2dc6037cce Allow controller flag to override restart policy (#1340) 2020-11-02 18:17:12 +08:00
namusyaka fd3e79e990 add warning that tells why the service is not created (#1326) 2020-10-30 17:59:31 +08:00
Hang Yan 4d7183f86c Update networkpolicy version (#1307) 2020-08-07 18:13:20 +08:00
Hang Yan 525b68f027 Go mod (#1305)
* Use go mod instead of glide
* Add `--with-kompose-annotation` flag to allow us to switch it off for tests
* Remove hostpid support (since the newest sdk does not support it)
* Create new test script and fixtures
* Remove replicationcontroller support
2020-08-07 17:25:52 +08:00
Hang Yan d780067bf9 Add missing pod ano (#1303) 2020-08-06 23:42:58 +08:00
Hang Yan dc6975223a Remove networkpolicy dup (#1302) 2020-08-06 17:27:36 +08:00
Hang Yan 47e6015f50 Remove up and down cmd (#1297)
* Remove up and down cmd
2020-08-01 16:01:34 +08:00
Hang Yan 88dde83044 Fix annotations missing for ingress (#1248)
* Fix annotations missing for ingress
2020-03-31 20:47:53 +08:00
Hang Yan 1685ab3001 Support ingress path for kubernetes (#1245)
* Support ingress path for kubernetes
2020-02-23 19:25:43 +08:00
Hang Yan 78908c94e5 Add flag to allow use define api server url (#1243) 2020-02-22 11:56:50 +08:00
Hang Yan 7dbca5df34 Fix some ci lint (#1233) 2020-01-05 21:36:32 +08:00
Hang Yan e7f05588bf Support deploy update_config (#1232) 2020-01-05 19:30:41 +08:00
Hang Yan 4d864a9aab Support deploy labels (#1231) 2020-01-05 11:35:32 +08:00
Hang Yan 05e9bf4fc8 Support config short syntax and fix old bugs (#1230) 2020-01-05 10:19:22 +08:00
Hang Yan fe4301192a Refactor code and fix build (#1228) 2020-01-04 17:17:14 +08:00
Hang Yan 1089a26844 Support port expose (#1227) 2020-01-04 14:15:10 +08:00
Hang Yan 0a2fa1a978 Fix port duplicate in container spec (#1223) 2019-12-29 11:32:33 +08:00
Hang Yan 25337eb82c Fix v3 hostpath path concatenate error (#1222) 2019-12-28 18:40:36 +08:00
Hang Yan 88a3a27ca8 Support export yaml with indent (#1219) 2019-12-28 12:23:03 +08:00
Hang Yan 34b827c97e Support use configmap as volume (#1216) 2019-12-28 01:02:27 +08:00
Hang Yan a3a82f55fe Use service name when image name is empty when build (#1213) 2019-12-27 13:26:25 +08:00
Hang Yan dd28e9220b Fix docker local build (#1212) 2019-12-27 10:26:42 +08:00
Hang Yan 1f0a097836 Support assign nodeport port in labels (#1210) 2019-12-26 23:45:58 +08:00
Hang Yan e0c8f6d23d Add flag to support store manifest when kompose up (#1208) 2019-12-26 19:30:03 +08:00
Hang Yan bc28ffc675 Upgrade deployment/daemonset to apps/v1 (#1207) 2019-12-26 16:36:11 +08:00
Hang Yan 73ec0abab2 Remove duplicate of configmap (#1206)
* also change the name of the generated cm
2019-12-26 08:53:41 +08:00
Hang Yan 4cbe106351 Fix chart lint (#1205) 2019-12-25 00:13:31 -10:00
Hang Yan d52fd0d877 Modify default kubernetes client's apiserver url (#1204)
* Modify default kubernetes client's apiserver url
2019-12-24 00:47:10 -10:00
Chander G 356c64890c fix tests related to secrets (#1198)
1. fix the path used to read secret data
without this fix, the path to the compose file is added to the already
absolute path, hence readFile was unable to find the secrets file

2. fix the expected json format
mountPath includes the entire path including the name of the secret
2019-12-04 10:32:29 +08:00
João Vitor Paes de Barros do Carmo 30736a3973 Add support for file based secret (#1159)
* Support file based secret
* Fix issue about read-only volume path and add support to absolute path at long-syntax
2019-12-01 12:05:31 +08:00