Charlie Drage
a92241f799
1.31.2 Release ( #1735 )
2023-10-12 08:54:11 -04:00
AhmedGrati
115f3862fc
fix: update part of e2e tests
...
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-10-11 20:09:07 +01:00
Charlie Drage
09dc978e8e
only add namespace if specified ( #1731 )
...
#### What type of PR is this?
<!--
Add one of the following kinds:
/kind cleanup
/kind documentation
/kind feature
-->
/kind bug
#### What this PR does / why we need it:
When we generate the YAML, we should NOT add namespace by default,
namespace should only be added if it has been specified via the command
line.
#### Which issue(s) this PR fixes:
<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->
Fixes https://github.com/kubernetes/kompose/issues/1729
#### Special notes for your reviewer:
Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2023-10-11 10:29:55 -04:00
Charlie Drage
46dcb9181b
1.31.1 Release ( #1726 )
2023-10-06 13:36:09 -04:00
Charlie Drage
c0e0393bbd
bug: fixes bug with error out with using kompose convert with no -f ( #1725 )
...
#### What type of PR is this?
<!--
Add one of the following kinds:
/kind cleanup
/kind documentation
/kind feature
-->
/kind bug
Fixes a validation bug where if you do not provide a compose.yaml or
docker-compose.yaml it will nil point error out rather than have an
appropriate "file not found" output.
#### Which issue(s) this PR fixes:
<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->
Closes https://github.com/kubernetes/kompose/issues/1719
#### Special notes for your reviewer:
Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2023-10-06 13:34:44 -04:00
Charlie Drage
a04ecdb9e8
1.31.0 Release ( #1714 )
2023-09-29 11:42:16 -04:00
axel7083
0302093e0a
fix: removing unused property
2023-09-21 22:09:18 +02:00
axel7083
a7c63a650c
Adding support for --profile cmd option
2023-09-17 17:41:05 +02:00
AhmedGrati
0be4868914
Fix expose conversion ( #1696 )
...
* fix: remove hostport from expose conversion
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
* test: update unit tests
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
---------
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-08-28 08:55:00 -04:00
AhmedGrati
ea80734f91
Feat: add kompose client PoC ( #1593 )
...
* fix: support host port and protocol in functional tests
* feat: add kompose client with options
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
* test: add options unit tests
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
* feat: add partial convert options
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
* feat: finish convert process
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
* test: finish unit tests of the kompose client
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
* remove unecessary changes
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
* feat: add generate network policies to client
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
* update go mod
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
---------
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-08-24 11:38:21 +01:00
AhmedGrati
1f1fc20204
Fix loading env file ( #1679 )
...
* fix: update loading 'env_file' of docker_compose
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
* test: add functional tests for loading env_file
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
---------
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-07-26 14:03:15 -04:00
payamQorbanpour
554a0ea31e
Upgrade Kubernetes module to the latest version v0.27.3 ( #1677 )
2023-07-19 17:23:37 +01:00
Charlie Drage
9d8dcb5184
1.30.0 Release ( #1672 )
2023-07-18 08:46:19 -04:00
AhmedGrati
b6b708b637
Feat add ns generation ( #1667 )
...
* feat: add ns generation for k8s
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
* feat: add ns generation for openshift
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
* test: add functional tests
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
* fix: remove some code nits
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
---------
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-07-16 22:59:16 +01:00
Kubernetes Prow Robot
071451dfdf
Merge pull request #1670 from AhmedGrati/feat-add-read-only-support
...
Feat: add read only containers support
2023-07-16 10:51:05 -07:00
Kubernetes Prow Robot
008422cf15
Merge pull request #1666 from AhmedGrati/fix-missing-image-pull-secrets
...
fix missing image pull secrets
2023-07-16 10:49:06 -07:00
AhmedGrati
c9f3ff0190
test: add unit-test for read only fs support
...
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-07-14 16:18:29 +01:00
AhmedGrati
4a08d41242
feat: add read only fs support
...
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-07-14 15:56:04 +01:00
AhmedGrati
36028cb89a
fix: remove lower case of the host generation
...
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-07-14 12:48:00 +01:00
AhmedGrati
7255eb5923
fix missing image pull secrets
...
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-07-13 12:22:02 +01:00
Charlie Drage
02ffe65d86
1.29.0 Release ( #1661 )
2023-07-05 14:53:32 -04:00
AhmedGrati
b0d46a4ce3
Feat add custom build push ( #1630 )
...
* feat: support custom build and push commands
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
* test: add functional tests of the support of custom build and push
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
* docs: add docs of the support of custom build and push
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
---------
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-07-05 11:37:28 +01:00
AhmedGrati
f7bee839ce
feat: disable network policies generation by default ( #1629 )
...
* feat: disable network policies default generation
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
* docs: add the generate-network-policies flag to user guide
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
* test: add unit tests of the network policies generation
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
---------
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-07-05 11:26:37 +01:00
AhmedGrati
485cd2f163
feat: support container volume mount subpath ( #1628 )
...
* feat: support volumes subpath
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
* docs: add the kompose.volume.sub-path label
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
* fix: update e2e tests
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
---------
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-07-05 10:47:01 +01:00
AhmedGrati
71c3164907
fix: enable compose environment variables interpolation ( #1642 )
...
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-06-30 11:29:26 -04:00
AhmedGrati
c2a020eb13
Feat support compose files ( #1595 )
...
* fix: support host port and protocol in functional tests
* feat: support compose.yaml and compose.yml files
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
* test: implement functional tests of the support of compose files
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
---------
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-04-05 23:29:08 +01:00
AhmedGrati
59d5532181
Fix openshift DeploymentConfig and ImageStream APIVersions ( #1598 )
...
* fix openshift dc and image stream api version
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
* e2e: Update Openshift manifests to update the API Version
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
---------
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-04-05 14:28:19 -04:00
AhmedGrati
8f0a6684ca
Feat support security fsgroup ( #1613 )
...
* feat: support security context fsgroup
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
* test: add unit test to security group fsgroup
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
* test: add functional test to security group fsgroup
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
* docs: add documentation of the new label of security group fsgroup
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
---------
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-04-05 14:11:10 -04:00
Kubernetes Prow Robot
607196c861
Merge pull request #1544 from AhmedGrati/feat-support-external-traffic-policy
...
Feat support external traffic policy
2023-02-13 09:15:30 -08:00
AhmedGrati
6be6fdd165
feat: support external traffic policy
...
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-02-13 14:59:46 +01:00
Boshi Lian
d82f5b954f
support build with docker cli ( #1525 )
...
* support build with docker cli
* change to DOCKER_BUILDKIT
2023-02-10 10:56:38 -05:00
AhmedGrati
9ab4ef3a9c
Feat: Add hostPort and protocol to containers ( #1558 )
...
* feat: add the host port to containers
* test(unit): add unit tests for host port and protocol
* test(functional): add functional tests of host port and protocol
* test(functional): add functional tests of host port and protocol for openshift
2023-02-08 15:46:13 -05:00
Manuel Rüger
b3d4aec3ee
k8sutils: Update helm template to use apiVersion v2 ( #1567 )
...
https://helm.sh/docs/topics/charts/#the-apiversion-field
2023-02-01 10:37:57 -05:00
Charlie Drage
c4137012e3
1.28.0 Release ( #1562 )
2023-01-23 13:44:44 -05:00
Lctrs
cb41c16bf4
chore: require go >=1.18, bump deps and get rid of replace directives ( #1552 )
2023-01-13 08:50:28 -05:00
Lctrs
2ad5745d58
feat: migrate from libcompose to compose-go ( #1547 )
...
* feat: migrate from libcompose to compose-go
libcompose has been deprecated since summer 2021 in favor of https://github.com/compose-spec/compose-go .
Kompose should now be able to load all versions of compose.
* chore: replace golint with staticcheck
golint has been deprecated. Recommended replacement is staticcheck.
2023-01-12 15:17:22 -05:00
AhmedGrati
91391eb84f
Fix: Make the out flag print to one file using seperator ( #1541 )
...
* fix: make the out flag print to one file using seperator
* fix: comment an unused function
* fix: update test script
* fix: update output k8s
* fix: update the json output error condition
* fix: update envvars interpolation tests
* chore: update e2e tests to support yaml generation instead of JSON format
* fix: update e2e tests according to ci environment
* fix: apply PR changes
2022-12-01 09:47:50 +01:00
AhmedGrati
36593e8759
Update e2e tests ( #1538 )
...
* fix: update ingress class name assign
2022-11-21 18:54:28 +08:00
AhmedGrati
acb8046f84
Fix environment variables interpolation ( #1524 )
2022-11-19 10:35:33 +08:00
Charlie Drage
b0ed6a2c9b
1.27.0 Release ( #1534 )
2022-11-18 11:31:23 -05:00
AhmedGrati
fd7b751564
Fix container name ( #1528 )
...
* fix: update get container name function
* test: add a test for the introduced fix
2022-11-13 21:33:47 +08:00
AhmedGrati
849c229aad
Fix(CI Pipeline): Update Kubernetes unit tests and CI Pipeline configuration files ( #1531 )
...
* fix: update kubernetes unit tests
* fix: check whether selectors are present or not
* fix: update golang-lint yaml file
* fix: downgrade the version of fsouza go docker-client
2022-11-12 21:46:18 +08:00
Kubernetes Prow Robot
20fbab4c5c
Merge pull request #1478 from campos-ddc/fix-secret-file-locations
...
Fixed secret file locations to match results from docker-compose when using file-based secrets
2022-08-29 08:00:37 -07:00
Kubernetes Prow Robot
9055f21620
Merge pull request #1512 from realgam3/master
...
fix daemonset creation (add selector)
2022-08-23 04:49:25 -07:00
AhmedGrati
6512dd3dd4
fix: change the port ID definition in kubernetes.go file ( #1515 )
2022-08-16 07:57:43 -04:00
Tomer Zait
06bb4f5279
fix daemonset creation (add selector)
2022-07-01 01:21:33 +03:00
Kubernetes Prow Robot
d976c812b4
Merge pull request #1490 from sergeyshevch/feature/fix-network-normalization-in-v3
...
fix(v3): Added network name normalisation in v3 parsing
2022-03-24 01:58:41 -07:00
Sergey Shevchenko
734b88e102
fix(v3): Added network name normalization in v3 parsing
2022-03-21 16:08:03 +04:00
Sergey Shevchenko
98578640c0
Add kompose.service.expose.ingress-class-name ( #1486 )
...
Signed-off-by: Sergey Shevchenko <shevchenko@simple.life>
2022-03-15 10:51:00 -04:00
Diogo de Campos
acf24e94d5
Fixed secret file locations to match results from docker-compose when using file-based secrets
2022-01-20 14:24:33 +01:00
Charlie Drage
a9d05d509d
1.26.1 Release ( #1470 )
2022-01-10 15:34:01 -05:00
Shivam Sandbhor
a46582bda2
Fix ImageStream tags in openshift provider mode ( #1461 )
...
* Fix ImageStream tags in openshift provider mode
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
2021-11-20 13:31:56 +08:00
Hang Yan
40646f4715
1.26.0 Release ( #1460 )
...
Signed-off-by: Hang Yan <hang.yan@hotmail.com>
Co-authored-by: komposebot <cdrage+kompose@redhat.com>
2021-11-13 22:49:53 +08:00
Shivam Sandbhor
1c4ff96626
Infer storage type using label ( #1456 )
...
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
2021-11-13 20:33:10 +08:00
ichx
8cb1b0599e
Add support for placement preferences docker-compose v3.3+ ( #1425 )
2021-11-04 08:28:45 +08:00
Shivam Sandbhor
c921643705
Add support for statefulset controller. ( #1452 )
...
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
2021-11-04 08:24:12 +08:00
ichx
d55071e9d6
Support tcp/http liveness/readiness probe ( #1449 )
2021-11-03 23:30:38 +08:00
Hang Yan
fe720df482
1.25 Release ( #1450 )
2021-10-23 14:49:39 +08:00
Hang Yan
a87dd94532
Fix merge compose file's replicas error ( #1446 )
2021-10-17 14:21:58 +08:00
Kevin Wang
8340b086d6
Fix typo: loadbalander -> loadbalancer ( #1442 )
2021-10-13 11:29:35 +08:00
Hang Yan
72ea6a3c24
Support group service by shared volumes ( #1439 )
...
Signed-off-by: Hang Yan <hang.yan@hotmail.com>
2021-10-03 23:07:41 +08:00
Hang Yan
5d7ed192a4
Code Refactor ( #1438 )
...
* Code refactor
Signed-off-by: Hang Yan <hang.yan@hotmail.com>
2021-10-03 17:33:43 +08:00
Hang Yan
6bd22ce565
Upgrade Ingress apiversion ( #1436 )
...
Signed-off-by: Hang Yan <hang.yan@hotmail.com>
2021-10-02 01:52:20 +08:00
Shivam Sandbhor
41cd3108d9
Remove code for parsing DAB files ( #1435 )
...
* Remove code for parsing DAB files
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
2021-10-01 19:16:09 +08:00
Hang Yan
7c629530e1
1.24.0 Release ( #1424 )
2021-08-29 22:53:41 +08:00
ichx
2f081075a8
Fix misuse in struct kobject.ServiceConfig.Port ( #1423 )
2021-08-29 21:37:22 +08:00
Hang Yan
0671410009
Add support for bindata in cm ( #1418 )
...
Signed-off-by: Hang Yan <hang.yan@hotmail.com>
2021-08-29 08:33:16 +08:00
ichx
e82fe96c38
Add support for negated placement constraint ( #1419 )
2021-08-27 22:49:55 +08:00
AiYijing
473f54fdaf
Add support for windows volume ( #1417 )
...
Signed-off-by: aiyijing <aiyijing@live.com>
2021-08-24 10:09:34 +08:00
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
tk42
998dbd72f2
Fixed LabelServiceAccountName
2021-08-12 21:47:53 +09:00
Lex Cao
acaf22243c
Add license for new files
2021-08-11 15:55:03 +08:00
Lex Cao
f78eed9e4f
Add a separate test file about fundamental tests for local push image
2021-08-11 12:14:31 +08:00
Lex Cao
82440ed8c0
Support custom registry on pushing image
2021-08-11 09:58:24 +08:00
Lex Cao
ef474809e3
Fix build context ( #1411 )
2021-08-11 09:43:42 +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
Shuyang Wu
0262c1606c
chore: update error for wrong volume type
2021-08-04 18:33:15 -04: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
Tomas Kral
8c6fa3de10
1.23.0 Release
2021-07-12 14:07:33 +02:00
tk42
deb00f3407
support multiple containers in a pod ( #1394 )
2021-07-08 09:48:05 +08:00
exokortex
c51d59566b
actually use normalizeNetworkNames to produce valid network names ( #1393 )
2021-07-07 14:29:03 +08:00
james song
0b331d9e5d
Fixed, #1385 ( #1386 )
...
Add support for more readiness args
2021-05-19 23:52:33 +08:00
Hang Yan
bd1abffb16
Fix labels merge error ( #1380 )
2021-05-01 18:27:41 +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 Biene
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
01f18cb3cf
improve tests for loadV3Ports ( #1349 )
...
* improve tests for loadV3Ports
* fix a wrong test by passing "expose" appropriately
2020-11-06 11:46:18 +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
8b06045c70
Support port range for docker-compose v2 ( #1345 )
...
* allow port range specification in v1v2
* improve tests for loadPorts
* add port range to fixtures of docker-compose v2
* update fixtures to follow up on #1341
2020-11-04 22:16:33 +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
Hang Yan
122384b9f0
Support podman compose file ( #1335 )
2020-11-01 21:32:25 +08:00
Hang Yan
ee3228cb7a
Bump docker version ( #1334 )
...
to support compose 3.8
2020-10-31 17:30:28 +08:00
Hang Yan
f31257f5cf
Add support for compose 2.x ( #1333 )
2020-10-31 08:27:50 +08:00
namusyaka
fd3e79e990
add warning that tells why the service is not created ( #1326 )
2020-10-30 17:59:31 +08:00
Charlie Drage
955b781242
1.22.0 Release ( #1329 )
2020-10-28 14:36:31 -04: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
Jing Guo
8edc5f4d01
fix stop_grace_period in v3 ( #1300 )
2020-08-02 17:57:29 +08:00
Hang Yan
47e6015f50
Remove up and down cmd ( #1297 )
...
* Remove up and down cmd
2020-08-01 16:01:34 +08:00
windayski
42fd5ede3e
fix typo ( #1281 )
2020-06-18 08:40:29 -04:00
Hang Yan
88dde83044
Fix annotations missing for ingress ( #1248 )
...
* Fix annotations missing for ingress
2020-03-31 20:47:53 +08:00
Christian Fetzer
ca75c31df8
Add support for build-args with --build local ( #1256 )
...
At the moment build-args can be specified in the compose configuration,
but they're used only when creating a build-config and not for local
builds.
2020-03-12 22:16:36 +08:00
Christian Fetzer
671035e1f8
Fix printing docker build output if -v is given ( #1255 )
...
The current version only prints the docker build output if the build
was successful.
2020-03-08 13:59:58 +08:00
Charlie Drage
992df58d8f
1.21.0 Release ( #1249 )
2020-02-25 12:06:39 -05: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
49d8133fb9
Support v2 restart unless-stopped ( #1244 )
2020-02-22 19:25:29 +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
Chander G
5732a555cb
Concat and merge service fields when merging compose files ( #1186 ) ( #1226 )
...
according to docker compose specs, certain fields are merged and
certain others are concatented
2020-01-03 23:17:29 +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
ae138029a1
Fix hostpath path translate error ( #1221 )
2019-12-28 18:01:38 +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
d2d0d61cf2
Merge will include deploy resources ( #1214 )
2019-12-27 13:51:11 +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
Charlie Drage
f3d54d7848
1.20.0 Release ( #1203 )
2019-12-23 12:05:10 -05: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
Mudit Verma
ac2b852955
Network Key Translation Feature and test cases ( #1195 )
2019-12-01 10:19:23 +08:00
Chander G
5857252c3d
Merge top level non-service keys ( #1187 )
...
* merge top level non-service keys
docker-compose default behaviour is to merge these top level keys such
as `networks`
2019-11-28 14:18:49 +08:00
sivanzcw
d03a6a9474
fix golint error about comment on exported variable ( #1178 )
2019-11-14 11:38:48 +08:00
Kubernetes Prow Robot
ab111b5d88
Merge pull request #1147 from hangyan/push-image-flag
...
Add flag to turn off push image when kompose up
2019-10-31 06:31:37 -07:00
Charlie Drage
d0526d1d75
Fix tests ( #1175 )
...
For some reason, tests have been coming back as always positive (despite
some tests which are failing...)
This PR addresses it
2019-10-25 17:33:11 +08:00
Charlie Drage
f63a961ca7
1.19.0 Release ( #1174 )
2019-10-16 13:39:36 -04:00
Alan Justino da Silva
30655b4dd6
Copy the service labels also to Deployment Pod spec annotations ( #1166 )
...
* Copy the service labels also to Deployment Pod spec annotations
This allows kube2iam to work
* Remove test file forgotten from version 1.0.0
* Update test fixtures to have Deployment.spec.t.m.annotations
* Fix name conversion "test_server" -> "test-server"
It looks unrelated to my changes, but still changing.
* Fixing some more output fixtures
2019-09-02 10:06:28 +08:00