mirror of
https://github.com/stefanprodan/podinfo.git
synced 2026-04-07 19:46:57 +00:00
Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cbf1d671df | ||
|
|
f6987a0a09 | ||
|
|
ea93f3ed9f | ||
|
|
2fc253a7c7 | ||
|
|
c83e19a217 | ||
|
|
a9a1252a22 | ||
|
|
046a9a4852 | ||
|
|
4d78abdad8 | ||
|
|
f8b32fa130 | ||
|
|
a30fb535de | ||
|
|
8d662334a2 | ||
|
|
bd31f8b23e |
@@ -2,4 +2,4 @@ apiVersion: v1
|
||||
appVersion: "1.0"
|
||||
description: A Ngrok Helm chart for Kubernetes
|
||||
name: ngrok
|
||||
version: 0.1.0
|
||||
version: 0.2.0
|
||||
|
||||
@@ -41,6 +41,7 @@ Parameter | Description | Default
|
||||
`service.type` | type of service | `ClusterIP`
|
||||
`token` | Ngrok auth token | `none`
|
||||
`expose.service` | Service address to be exposed as in `service-name:port` | `none`
|
||||
`subdomain` | Ngrok subdomain | `none`
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
||||
|
||||
|
||||
@@ -28,6 +28,9 @@ spec:
|
||||
command:
|
||||
- ./ngrok
|
||||
- http
|
||||
{{- if .Values.subdomain }}
|
||||
- --subdomain={{ .Values.subdomain }}
|
||||
{{- end }}
|
||||
- {{ .Values.expose.service }}
|
||||
volumeMounts:
|
||||
- name: config
|
||||
|
||||
@@ -23,3 +23,5 @@ nodeSelector: {}
|
||||
tolerations: []
|
||||
|
||||
affinity: {}
|
||||
|
||||
subdomain:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
version: 1.3.1
|
||||
appVersion: 1.3.1
|
||||
version: 1.4.0
|
||||
appVersion: 1.4.0
|
||||
name: podinfo
|
||||
engine: gotpl
|
||||
description: Podinfo Helm chart for Kubernetes
|
||||
|
||||
@@ -12,7 +12,7 @@ faults:
|
||||
|
||||
image:
|
||||
repository: quay.io/stefanprodan/podinfo
|
||||
tag: 1.3.1
|
||||
tag: 1.4.0
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
service:
|
||||
|
||||
@@ -170,7 +170,8 @@ func runCodeInit(cmd *cobra.Command, args []string) error {
|
||||
}
|
||||
|
||||
func gitPush() error {
|
||||
cmd := exec.Command("sh", "-c", "git add . && git commit -m \"init\" && git push")
|
||||
cmdPush := fmt.Sprintf("git add . && git commit -m \"sync %s\" && git push", codeVersion)
|
||||
cmd := exec.Command("sh", "-c", cmdPush)
|
||||
output, err := cmd.Output()
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
@@ -9,10 +9,10 @@ Create a private repository named `demo-app` on GitHub and navigate to Settings/
|
||||
Install podinfo CLI:
|
||||
|
||||
```bash
|
||||
go get -u github.com/stefanprodan/k8s-podinfo/cmd/podcli
|
||||
brew install weaveworks/tap/podcli
|
||||
```
|
||||
|
||||
If you don't have golang installed go to the
|
||||
For linux or Windows go to the
|
||||
[release page](https://github.com/stefanprodan/k8s-podinfo/releases), download the latest podcli release and add it to your path.
|
||||
|
||||
Clone your private repository (preferable in your `$GOPATH`) and initialize podinfo.
|
||||
@@ -26,7 +26,9 @@ podcli code init demo-app --git-user=stefanprodan --version=v1.3.1
|
||||
|
||||
The above command does the following:
|
||||
* downloads podinfo source code v1.3.1 from GitHub
|
||||
* replaces golang import with your git username and project name
|
||||
* replaces golang imports with your git username and project name
|
||||
* creates a Dockerfile and Makefile customized for GitHub actions
|
||||
* creates the main workflow for GitHub actions
|
||||
* commits and pushes the code to GitHub
|
||||
|
||||
When the code init command finishes, GitHub will test, build and push a Docker image
|
||||
@@ -34,3 +36,5 @@ When the code init command finishes, GitHub will test, build and push a Docker i
|
||||
|
||||
If you create a GitHub release a Docker image with the format `${DOCKER_IMAGE}:${GIT-TAG}` will be published to Docker Hub.
|
||||
|
||||

|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -3,9 +3,9 @@ entries:
|
||||
ambassador:
|
||||
- apiVersion: v1
|
||||
appVersion: 0.29.0
|
||||
created: 2018-10-27T11:49:54.792088+03:00
|
||||
created: 2018-11-28T12:00:06.117061+02:00
|
||||
description: A Helm chart for Datawire Ambassador
|
||||
digest: f82505d3abaff6d039e189787e22e44dc4a9fde81976bf7771ed664aeabc75a1
|
||||
digest: f44e35a5cd11957fd0afd7d9f0bc728d8a5c20388fe654dfaa9d477ab02f3e86
|
||||
engine: gotpl
|
||||
maintainers:
|
||||
- email: stefanprodan@users.noreply.github.com
|
||||
@@ -19,9 +19,9 @@ entries:
|
||||
grafana:
|
||||
- apiVersion: v1
|
||||
appVersion: "1.0"
|
||||
created: 2018-10-27T11:49:54.79284+03:00
|
||||
created: 2018-11-28T12:00:06.117608+02:00
|
||||
description: A Helm chart for Kubernetes
|
||||
digest: ee244448260eda8029a182d603715c48c97b1cc00c376d84f67a2e0b0653ed50
|
||||
digest: 63258cdceca7fa93f35e457876da67ac401133531ba5f5cba6d294651054d94c
|
||||
name: grafana
|
||||
urls:
|
||||
- https://stefanprodan.github.io/k8s-podinfo/grafana-0.1.0.tgz
|
||||
@@ -29,9 +29,9 @@ entries:
|
||||
loadtest:
|
||||
- apiVersion: v1
|
||||
appVersion: "1.0"
|
||||
created: 2018-10-27T11:49:54.793039+03:00
|
||||
created: 2018-11-28T12:00:06.117776+02:00
|
||||
description: Hey load test Helm chart for Kubernetes
|
||||
digest: 413fbb941e72ebe8d94f2ce1ae42946aa68d88276e969ed2f12595af8da1cbf4
|
||||
digest: b468d864ea20d0f9629bd7525525d2517c065a5f0d55ab00b3bed7e4f33fb6ed
|
||||
name: loadtest
|
||||
urls:
|
||||
- https://stefanprodan.github.io/k8s-podinfo/loadtest-0.1.0.tgz
|
||||
@@ -39,7 +39,16 @@ entries:
|
||||
ngrok:
|
||||
- apiVersion: v1
|
||||
appVersion: "1.0"
|
||||
created: 2018-10-27T11:49:54.793328+03:00
|
||||
created: 2018-11-28T12:00:06.118723+02:00
|
||||
description: A Ngrok Helm chart for Kubernetes
|
||||
digest: 70168b0c9292ab514f969a4b444f92ebe0d3764a2a91917dc3e95dd78d5226fb
|
||||
name: ngrok
|
||||
urls:
|
||||
- https://stefanprodan.github.io/k8s-podinfo/ngrok-0.2.0.tgz
|
||||
version: 0.2.0
|
||||
- apiVersion: v1
|
||||
appVersion: "1.0"
|
||||
created: 2018-11-28T12:00:06.118449+02:00
|
||||
description: A Ngrok Helm chart for Kubernetes
|
||||
digest: 5678de7c8aac246df507f40b3f4f8fd6d06f4447e636398819a232dd26e1fc41
|
||||
name: ngrok
|
||||
@@ -48,10 +57,26 @@ entries:
|
||||
version: 0.1.0
|
||||
podinfo:
|
||||
- apiVersion: v1
|
||||
appVersion: 1.3.1
|
||||
created: 2018-10-27T11:49:54.804223+03:00
|
||||
appVersion: 1.4.0
|
||||
created: 2018-11-28T12:00:06.128209+02:00
|
||||
description: Podinfo Helm chart for Kubernetes
|
||||
digest: d863e2511ec5f0a7705ae12886aa9cfb40ab1c07d2ab6afd69bba69b39abcf21
|
||||
digest: d30a844229125217f85d5c52ceb48c980f47027a5a1f9ee5c41bac44b9d18088
|
||||
engine: gotpl
|
||||
home: https://github.com/stefanprodan/k8s-podinfo
|
||||
maintainers:
|
||||
- email: stefanprodan@users.noreply.github.com
|
||||
name: stefanprodan
|
||||
name: podinfo
|
||||
sources:
|
||||
- https://github.com/stefanprodan/k8s-podinfo
|
||||
urls:
|
||||
- https://stefanprodan.github.io/k8s-podinfo/podinfo-1.4.0.tgz
|
||||
version: 1.4.0
|
||||
- apiVersion: v1
|
||||
appVersion: 1.3.1
|
||||
created: 2018-11-28T12:00:06.127802+02:00
|
||||
description: Podinfo Helm chart for Kubernetes
|
||||
digest: 9116966f2b1300655be11669789842a3d01e326fe1feb205198df3ba22bac3a5
|
||||
engine: gotpl
|
||||
home: https://github.com/stefanprodan/k8s-podinfo
|
||||
maintainers:
|
||||
@@ -65,7 +90,7 @@ entries:
|
||||
version: 1.3.1
|
||||
- apiVersion: v1
|
||||
appVersion: 1.3.0
|
||||
created: 2018-10-27T11:49:54.803825+03:00
|
||||
created: 2018-11-28T12:00:06.12649+02:00
|
||||
description: Podinfo Helm chart for Kubernetes
|
||||
digest: 7111b868a11014ab56da11b7edbea9ce0d1a483500969252f66c9ae1943bac67
|
||||
engine: gotpl
|
||||
@@ -81,7 +106,7 @@ entries:
|
||||
version: 1.3.0
|
||||
- apiVersion: v1
|
||||
appVersion: 1.2.1
|
||||
created: 2018-10-27T11:49:54.802868+03:00
|
||||
created: 2018-11-28T12:00:06.125804+02:00
|
||||
description: Podinfo Helm chart for Kubernetes
|
||||
digest: c750c1d4a7606a06cd89ae4433431c7e3ecf2ccc9a0e5f6baa26095397bd72da
|
||||
engine: gotpl
|
||||
@@ -97,7 +122,7 @@ entries:
|
||||
version: 1.2.1
|
||||
- apiVersion: v1
|
||||
appVersion: 1.2.0
|
||||
created: 2018-10-27T11:49:54.80169+03:00
|
||||
created: 2018-11-28T12:00:06.125071+02:00
|
||||
description: Podinfo Helm chart for Kubernetes
|
||||
digest: 24460e15e6da77106eb5212cd683dc2c1d4404b927be6b9f0c89433ba865722e
|
||||
engine: gotpl
|
||||
@@ -113,7 +138,7 @@ entries:
|
||||
version: 1.2.0
|
||||
- apiVersion: v1
|
||||
appVersion: 1.1.0
|
||||
created: 2018-10-27T11:49:54.800849+03:00
|
||||
created: 2018-11-28T12:00:06.123714+02:00
|
||||
description: Podinfo Helm chart for Kubernetes
|
||||
digest: 973d60c629d7ae476776098ad6b654d78d91f91b3faa8bc016b94c73c42be094
|
||||
engine: gotpl
|
||||
@@ -129,7 +154,7 @@ entries:
|
||||
version: 1.1.0
|
||||
- apiVersion: v1
|
||||
appVersion: 1.0.0
|
||||
created: 2018-10-27T11:49:54.799786+03:00
|
||||
created: 2018-11-28T12:00:06.1229+02:00
|
||||
description: Podinfo Helm chart for Kubernetes
|
||||
digest: 82068727ba5b552341b14a980e954e27a8517f0ef76aab314c160b0f075e6de4
|
||||
engine: gotpl
|
||||
@@ -145,7 +170,7 @@ entries:
|
||||
version: 1.0.0
|
||||
- apiVersion: v1
|
||||
appVersion: 0.6.0
|
||||
created: 2018-10-27T11:49:54.798697+03:00
|
||||
created: 2018-11-28T12:00:06.122092+02:00
|
||||
description: Podinfo Helm chart for Kubernetes
|
||||
digest: bd25a710eddb3985d3bd921a11022b5c68a04d37cf93a1a4aab17eeda35aa2f8
|
||||
engine: gotpl
|
||||
@@ -161,7 +186,7 @@ entries:
|
||||
version: 0.2.2
|
||||
- apiVersion: v1
|
||||
appVersion: 0.5.1
|
||||
created: 2018-10-27T11:49:54.797853+03:00
|
||||
created: 2018-11-28T12:00:06.121393+02:00
|
||||
description: Podinfo Helm chart for Kubernetes
|
||||
digest: 631ca3e2db5553541a50b625f538e6a1f2a103c13aa8148fdd38baf2519e5235
|
||||
engine: gotpl
|
||||
@@ -177,7 +202,7 @@ entries:
|
||||
version: 0.2.1
|
||||
- apiVersion: v1
|
||||
appVersion: 0.5.0
|
||||
created: 2018-10-27T11:49:54.797046+03:00
|
||||
created: 2018-11-28T12:00:06.120592+02:00
|
||||
description: Podinfo Helm chart for Kubernetes
|
||||
digest: dfe7cf44aef0d170549918b00966422a07e7611f9d0081fb34f5b5beb0641c00
|
||||
engine: gotpl
|
||||
@@ -193,7 +218,7 @@ entries:
|
||||
version: 0.2.0
|
||||
- apiVersion: v1
|
||||
appVersion: 0.3.0
|
||||
created: 2018-10-27T11:49:54.796003+03:00
|
||||
created: 2018-11-28T12:00:06.119829+02:00
|
||||
description: Podinfo Helm chart for Kubernetes
|
||||
digest: 4865a2d8b269cf453935cda9661c2efb82c16411471f8c11221a6d03d9bb58b1
|
||||
engine: gotpl
|
||||
@@ -210,9 +235,9 @@ entries:
|
||||
podinfo-istio:
|
||||
- apiVersion: v1
|
||||
appVersion: 1.2.1
|
||||
created: 2018-10-27T11:49:54.808061+03:00
|
||||
created: 2018-11-28T12:00:06.131282+02:00
|
||||
description: Podinfo Helm chart for Istio
|
||||
digest: 4f47d5373ee5a8cec6bacb61cdd1ac5bad650a62381721ea0178a568ead2b539
|
||||
digest: 7a73e7d64cf75b82764b146a4098a4106f47081d25a0104cc0615b3d41306e9e
|
||||
engine: gotpl
|
||||
home: https://github.com/stefanprodan/k8s-podinfo
|
||||
maintainers:
|
||||
@@ -226,7 +251,7 @@ entries:
|
||||
version: 1.2.1
|
||||
- apiVersion: v1
|
||||
appVersion: 1.2.0
|
||||
created: 2018-10-27T11:49:54.807262+03:00
|
||||
created: 2018-11-28T12:00:06.130776+02:00
|
||||
description: Podinfo Helm chart for Istio
|
||||
digest: 8115e72f232f82eb3e6da1965364cfede7c069f95a627dddac45cfbe6cb90dc4
|
||||
engine: gotpl
|
||||
@@ -242,7 +267,7 @@ entries:
|
||||
version: 1.2.0
|
||||
- apiVersion: v1
|
||||
appVersion: 1.1.0
|
||||
created: 2018-10-27T11:49:54.806166+03:00
|
||||
created: 2018-11-28T12:00:06.129951+02:00
|
||||
description: Podinfo Helm chart for Istio
|
||||
digest: bcceb63ff780a8f0ba0b30997040e4e82170f9cce17c26ec817648ed024c83f5
|
||||
engine: gotpl
|
||||
@@ -258,7 +283,7 @@ entries:
|
||||
version: 0.2.0
|
||||
- apiVersion: v1
|
||||
appVersion: 0.6.0
|
||||
created: 2018-10-27T11:49:54.805124+03:00
|
||||
created: 2018-11-28T12:00:06.129159+02:00
|
||||
description: Podinfo Helm chart for Istio
|
||||
digest: f12f8aa1eca1328e9eaa30bd757f6ed3ff97205e2bf016a47265bc2de6a63d8f
|
||||
engine: gotpl
|
||||
@@ -272,4 +297,4 @@ entries:
|
||||
urls:
|
||||
- https://stefanprodan.github.io/k8s-podinfo/podinfo-istio-0.1.0.tgz
|
||||
version: 0.1.0
|
||||
generated: 2018-10-27T11:49:54.791526+03:00
|
||||
generated: 2018-11-28T12:00:06.116603+02:00
|
||||
|
||||
Binary file not shown.
BIN
docs/ngrok-0.2.0.tgz
Normal file
BIN
docs/ngrok-0.2.0.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
docs/podinfo-1.4.0.tgz
Normal file
BIN
docs/podinfo-1.4.0.tgz
Normal file
Binary file not shown.
Binary file not shown.
BIN
docs/screens/github-actions-ci.png
Normal file
BIN
docs/screens/github-actions-ci.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 118 KiB |
@@ -1,4 +1,4 @@
|
||||
package version
|
||||
|
||||
var VERSION = "1.3.1"
|
||||
var VERSION = "1.4.1"
|
||||
var REVISION = "unknown"
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
<span slot="badge">${ pings }</span>
|
||||
<v-icon left dark>touch_app</v-icon>
|
||||
</v-badge>
|
||||
Ping
|
||||
Ping
|
||||
</v-btn>
|
||||
</v-layout>
|
||||
</v-parallax>
|
||||
@@ -158,6 +158,9 @@
|
||||
}
|
||||
}
|
||||
self.info = data
|
||||
self.info.color = parseInt(data.version.split('.').reverse()[0], 10) === 0
|
||||
? 'blue'
|
||||
: 'green'
|
||||
document.title = data.hostname
|
||||
}
|
||||
xhr.onerror = function() {
|
||||
|
||||
Reference in New Issue
Block a user