Commit Graph

287 Commits

Author SHA1 Message Date
Charlie Drage
ae1fbb512a
Fix docs regarding building from container (#1588)
#### What type of PR is this?

<!--
Add one of the following kinds:
/kind bug
/kind cleanup
/kind documentation
/kind feature
-->

#### What this PR does / why we need it:

We've switched to main, so the previous command no longer worked since
it was searching for master.

#### Which issue(s) this PR fixes:
<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->

N/A

#### Special notes for your reviewer:

N/A

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2023-02-13 12:43:02 -05:00
AhmedGrati
6be6fdd165 feat: support external traffic policy
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
2023-02-13 14:59:46 +01:00
Charlie Drage
f2aeb70e59
Fix TOC on site / documentation (#1580)
#### What type of PR is this?

<!--
Add one of the following kinds:
/kind bug
/kind cleanup
/kind documentation
/kind feature
-->

#### What this PR does / why we need it:

The latest spelling error changes broke TOC from showing in the
documentation

#### 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 #

#### Special notes for your reviewer:

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2023-02-08 20:00:59 -05:00
Soobin Rho
5fb58ff96f
docs: correct three broken internal links (#1526)
* docs: correct broken internal link (/docs/maven-example.md)

1. When I was reading the documentation, I noticed that links to other documents inside the repository were giving a 404 error. So, I cloned the repository and found found that all links such as "[Quickstart](/docs/maven-example.md)" were giving the errors.

2. The fix is to remove the `/docs/` part and the `.md` part.

3. I tested these commits with `bundle exec jekyll serve`. All the pages getting changed by the commits now work correctly.

* docs: correct broken internal link (/docs/conversion.md)

- Removed the `/docs` part and the `.md` part from the link.
- Tested with `bundle exec jekyll serve`.
- Working correctly now.

* docs: correct broken internal link (/docs/installation.md)

- Removed the `/docs` part and the `.md` part from the link.
- Tested with `bundle exec jekyll serve`.
- Working correctly now.

---------

Co-authored-by: Charlie Drage <charlie@charliedrage.com>
2023-02-08 19:51:19 -05:00
Charlie Drage
055856076a
docs: update installation doc (#1575)
Some of the installation methods are either unmaintained / not up to
date anymore.

For example, we no longer package `.deb` packages.

The person using Kompose should be installing the binary directly
from GitHub rather than relying on their package manager.

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2023-02-08 22:04:16 +01:00
Charlie Drage
d43aefd882
change master to main in scripts and docs (#1569)
* change master to main in scripts and docs

Changes the naming from master to main in the scripts and documentation.

Do not merge unless CI passes!

Signed-off-by: Charlie Drage <charlie@charliedrage.com>

* remove 1.18, specify version of staticcheck

---------

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2023-02-08 15:42:16 -05:00
Charlie Drage
a2b2a1f304
Adds a new logo for Kompose (#1574)
Woo! Our new logo!

It's a little cartoon octopus inside of a septagon (similar to
Kubernetes).

It's to show how "composable" we similar to an octopus.

I've gone ahead and updated the documentation as well as the website.
2023-02-08 15:23:16 -05:00
Patrick Rachford
35a430614f
Fixes typos (#1557)
* rebase

* undo commit to assets/**/*

* undo commit in script/test/*

* Apply suggestions from code review

Co-authored-by: AhmedGrati <48932084+AhmedGrati@users.noreply.github.com>

* removes webrick

---------

Co-authored-by: AhmedGrati <48932084+AhmedGrati@users.noreply.github.com>
2023-02-08 14:51:09 -05:00
Kundan Kumar
57bd5442a2
corrected broken diagram link in site (#1566) 2023-01-31 11:09:21 -05:00
Charlie Drage
c4137012e3
1.28.0 Release (#1562) 2023-01-23 13:44:44 -05:00
Charlie Drage
26d28d58a4
remove unused js files (#1561)
These were leftover files from a docs / site template.

Removing as they are not needed.

Signed-off-by: Charlie Drage <charlie@charliedrage.com>

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2023-01-23 13:31:48 -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
Matt Hook
af82f7e6db
fix all known trivy scan vulnerabilities (#1516)
* fix all known trivy scan vulnerabilities

* fix library issues: CVE-2022-27664, CVE-2022-32149, GHSA-69ch-w2m2-3vjp
2022-11-19 10:44:37 +08:00
Charlie Drage
b0ed6a2c9b
1.27.0 Release (#1534) 2022-11-18 11:31:23 -05:00
Tomas Kral
a4413b2570
Merge pull request #1488 from dmitris/patch-1
recommend to use 'go install @latest" for Go
2022-09-26 13:25:37 +02:00
Stefan Weiberg
4f20198ddc
Provide updated installation instructions (#1496)
* openSUSE meanwhile includes kompose in their official repositories for Tumbleweed and Leap
* on SUSE Linux Enterprise Server kompose is available via PackageHub
2022-08-26 09:29:09 -04:00
Dmitry Savintsev
3a431dd7b4 recommend to use 'go install @latest" for Go 2022-08-16 16:49:41 +02: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
Charlie Drage
b796ec0222 Sync site 2022-01-14 09:03:45 -05:00
Charlie Drage
7b3b812736
Update README for docs website (#1476)
Updates the README to say that the site is synced to `gh-pages`

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2022-01-13 16:03:07 -05:00
Charlie Drage
e2b5c983e1
Synchronize site and update .gitignore (#1477)
Updates the site documentation as well as adds new files to ignore in
.gitignore

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2022-01-13 16:02:53 -05:00
Charlie Drage
99936cf94e
Create CNAME 2022-01-13 14:13:16 -05:00
Charlie Drage
235a2ae931
Delete CNAME 2022-01-13 14:11:56 -05:00
Charlie Drage
bd94da0d27
Create CNAME 2022-01-13 14:06:32 -05:00
Charlie Drage
597e7b0fdc
Add new kompose site (#1475)
Adds the new kompose site and moves it to the /docs folder so that it's
compatible with old links as well as gh-pages
2022-01-13 14:05:38 -05:00
Charlie Drage
ff4a65c08a
Add new Kompose site (#1474)
This PR adds the new Kompose site!

Go preview it at https://kompose.io

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2022-01-13 13:55:50 -05:00
Charlie Drage
a9d05d509d
1.26.1 Release (#1470) 2022-01-10 15:34:01 -05:00
Arian Dehghani
034c271f1b
Added more installation instructions (#1468)
* Added Docker image-building instructions in the docs

* Added Nix and NixOS installation instructions
2022-01-10 15:21:04 -05: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
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
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
Shivam Sandbhor
a4c784d7ee
Document debian package. (#1432)
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
2021-09-24 09:44:24 +08:00
Hang Yan
7c629530e1
1.24.0 Release (#1424) 2021-08-29 22:53:41 +08:00
ichx
e82fe96c38
Add support for negated placement constraint (#1419) 2021-08-27 22:49:55 +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
0dd38ac914 Polish document sentences and fix some grammar 2021-08-11 18:20:15 +08:00
Lex Cao
f1c9d80ab2 Add user guide on build and push image 2021-08-11 17:09:37 +08:00
ithaiq
b605fd986c
Add "--pvc-request-size" new command line parameter (#1406) 2021-08-07 14:47:02 +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
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
james song
0b331d9e5d
Fixed, #1385 (#1386)
Add support for more readiness args
2021-05-19 23:52:33 +08:00
Hang Yan
771ecbf471
Fix intro doc error (#1382) 2021-05-05 11:35:11 +08:00
namusyaka
8fcbc60969
Cleanup glide (#1353)
* Cleanup mentions about glide

* Don't use glide to ignore vendor directory

Since go-1.9, "./..." no longer contains the "vendor" directory.
Also, since #1305 migrated dependency management from glide to go mod,
there is no need to think about the "vendor" directory.

See: https://golang.org/doc/go1.9#vendor-dotdotdot

* go mod tidy
2020-11-08 23:21:51 +08:00
hato wang
c1280a4f55
fix invalid repo url for SUSE Linux Enterprise 15 (#1339)
* fix invalid repo url

* fix invalid repo url for SUSE Linux Enterprise 15
2020-11-02 11:52:59 +08:00
hato wang
28513ac56c
fix invalid repo url (#1338) 2020-11-02 11:52:30 +08:00
hato wang
1d3a2bb91f
The Red Hat Development Suite has been discontinued (#1336) 2020-11-02 11:51:36 +08:00
Hang Yan
19f7d53aae
Update doc about helm chart format (#1331) 2020-10-30 17:55:35 +08:00
Kubernetes Prow Robot
4b9b506622
Merge pull request #1330 from cdrage/fix-sync-script
Update introduction doc + add sync docs script
2020-10-29 02:04:59 -07:00
Charlie Drage
64a2f8ad08 Update introduction doc + add sync docs script
Updates the introduction doc and adds a synchornization script to be
manually run for website changes.

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2020-10-28 14:53:34 -04:00
Charlie Drage
955b781242
1.22.0 Release (#1329) 2020-10-28 14:36:31 -04:00
Hang Yan
7801a8f8b3
Update user guide (#1299) 2020-08-02 09:36:19 +08:00
Hang Yan
47e6015f50
Remove up and down cmd (#1297)
* Remove up and down cmd
2020-08-01 16:01:34 +08:00
Xavier Leune
4dcf813852
Update conversion for command and entrypoint
This pull requests updates the documentation according to the current behavior of kompose (tested with 1.19.0)
2020-05-25 15:55:53 +02:00
Hang Yan
d105a77e07
Add server flag for kompose down (#1260) 2020-03-08 18:40:29 +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
78908c94e5
Add flag to allow use define api server url (#1243) 2020-02-22 11:56:50 +08:00
Enrico Maria Crisostomo
dd3f6a28e9
Add MacPorts support to the documentation (#1242) 2020-02-13 17:07:16 +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
ae12a2e39a
Update doc about push image (#1225) 2020-01-01 11:27:11 +08:00
Hang Yan
1f0a097836
Support assign nodeport port in labels (#1210) 2019-12-26 23:45:58 +08:00
Charlie Drage
f3d54d7848
1.20.0 Release (#1203) 2019-12-23 12:05:10 -05: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
Kubernetes Prow Robot
a3ba33c53b
Merge pull request #1151 from hangyan/doc
Add node about endpoint_mode in doc
2019-10-25 10:57:39 -07:00
Charlie Drage
f63a961ca7
1.19.0 Release (#1174) 2019-10-16 13:39:36 -04:00
Hang Yan
1ddf5fe884 Add node about endpoint_mode in doc 2019-06-26 22:03:59 +08:00
Charlie Drage
2fde1ad7b5 Revert "Add node references (#1123)"
This reverts commit cd7c8a3d9a.
2019-06-20 14:44:17 -04:00
Charlie Drage
cd7c8a3d9a
Add node references (#1123)
Removes old Kubernetes references to master / slave and converts them to
master / node.
2019-06-14 10:43:11 -04:00
Charlie Drage
06a2e56115
1.18.0 Release (#1108) 2019-03-01 15:30:00 -05:00
Kamil Kieliszczyk
66ac4aff4f Add kompose.image-pull-secret and kompose.image-pull-policy (#1091)
* Add kompose.image-pull-secret

* Add kompose.image-pull-secret tests

* Add kompose.image-pull-policy

* Add kompose.image-pull-policy tests

* ignore .coverprofile

* Fix typo
2019-02-07 09:50:53 -05:00
huikaihoo
40c1b8cf87 Support multiple hostnames on expose label in service for Kubernetes (#1092)
* Support multiple hostnames on label (kompose.service.expose) separated by semicolon (;)

* Multiple hostnames on expose label separated by comma; Ignore leading / trailing spaces and repeated commas; Updated test cases and documents.
2019-01-31 09:34:04 -05:00
Tomasz Skowroński
75ecc88aef Update introduction.md (#1090)
fix "It's as simple as 1-2-3"
```
$ wget https://raw.githubusercontent.com/kubernetes/kompose/master/examples/docker-compose-v3.yaml
$ kompose up
FATA No 'docker-compose' file found: stat docker-compose.yaml: no such file or directory
```
2019-01-30 14:52:15 -05:00
Charlie Drage
a74acad03a
1.17.0 Release (#1075) 2018-11-05 10:34:31 -05:00
Roberto C. Morano
424f1a9a2c Propagate dots into valid service names (#1063)
* normalize '.' (dot) to '-' (dash) in service names

* added warning about the dot character replacements in service names

* fix gofmt compliance

* also normalize container names (need lowercase)

* splitted normalization for volumes and service names into different functions (it conflicted with './' volumes replacement)

* changed volume normalization to use the new own normalization function

* changed container normalization to use its new own normalization function

* updated as per discussed in PR #1063 review
2018-09-28 20:20:01 +08:00
Xianlu Bird
0252213efb Add support for Config, endpoint_mode and 3.3 support (#994)
* Add support for Config

* Add deployment endpoint_mode support

* Add docker compose 3.3 support

* Add compose v3.3 support for openshift
2018-08-01 15:09:00 -04:00
Charlie Drage
0c01309fe8
1.16.0 Release (#1055) 2018-07-24 12:54:29 -04:00
Stefan Weiberg
ccba62918e Add installation instructions for openSUSE/SLE (#1050)
* add instructions for openSUSE/SLE

* moved installation of openSUSE/SLE beneath Windows
2018-07-24 09:44:03 -04:00
Charlie Drage
e3cd4d459e
1.15.0 Release (#1044) 2018-06-28 12:05:25 -04:00
AdamDang
5633b7bff5 Typo fix in maven-example.md (#1021) 2018-06-27 11:37:59 -04:00
Charlie Drage
fa706f2f1c
1.14.0 Release (#1030) 2018-06-04 13:50:54 -04:00
Lukas Grossar
1dfdc847b2
Fix typo in integrations.md
s/Adfinis SysGroup AG/Adfinis SyGroup AG/
2018-05-16 17:25:55 +02:00
Charlie Drage
84fa8267f3
1.13.0 Release (#1006) 2018-05-14 09:16:43 -04:00
Hang Yan
7ba07b5f5e
Merge pull request #1001 from xianlubird/features/controller-label
Add label 'kompose.controller.type' set service convert controller type
2018-05-13 15:13:45 +08:00
xianlubird
a4efdd6cca Add label 'kompose.controller.type' set service convert controller type 2018-05-12 11:52:23 +08:00
xianlubird
c26ff8e759 Add some deprecated info warning 2018-05-09 15:46:16 +08:00
Xianlu Bird
ec3391309f Fix doc that we have support v3.1 & 3.2 (#993) 2018-04-27 09:29:28 -04:00
Jonathan Perret
3fa3eadffa Fix typo in conversion.md (#989) 2018-04-18 11:37:31 -04:00
Charlie Drage
0ab07bec57
1.12.0 Release (#988) 2018-04-18 09:59:33 -04:00
AdamDang
d892abc353 Typo fix in conversion.md (#985)
* Typo fix in conversion.md

Kubernetes uses it's own->Kubernetes uses its own

* Update glide.yaml
2018-04-16 15:21:25 -04:00
Hang Yan
f3412a7399 Add headless service type label
Also remove the relation between restart and service create
2018-04-15 00:23:48 +08:00
Tomas Kral
25f8ba42f9
Merge pull request #976 from hangyan/hostname-domain-support
Support hostname and domainname
2018-04-11 15:58:18 +02:00