Commit graph

1831 commits

Author SHA1 Message Date
Vincent Ambo
bc9fc9730d feat main: Add apply command
This integrates support for actually calling out to `kubectl apply`.

A dry-run flag is implemented, too.

The `run` command has been renamed to `template`.
2017-02-08 15:42:13 +01:00
Vincent Ambo
25f2a1616c feat template: Add additional template functions
This adds the Go template functions from [sprig][] as well as a custom `json`
function that can interpolate any data as a JSON object - very useful for adding
arrays of data in JSON format into a variable:

```
certificateDomains:
  - oslo.pub
  - tazj.in

annotations:
  acme/certificate: {{ .certificateDomains | json }}

annotations:
  acme/certificate: ["oslo.pub", "tazj.in"]
```

[sprig]: https://godoc.org/github.com/Masterminds/sprig
2017-02-08 14:40:45 +01:00
Vincent Ambo
efe49de57f docs: Add generated 'kontemplate run' help 2017-02-08 14:07:56 +01:00
Vincent Ambo
6147ea7b9b docs: Add usage & installation sections 2017-02-08 13:53:46 +01:00
Vincent Ambo
3ef0f35bfe fix templater: Guard against empty values map 2017-02-08 13:47:56 +01:00
Vincent Ambo
a1c23d7018 docs: Add YAML to docs 2017-02-08 13:15:36 +01:00
Vincent Ambo
d94a0ffc25 feat context: Add YAML loading support
Closes #5
2017-02-08 13:13:21 +01:00
Vincent Ambo
c58ce7e2ab Merge pull request #7 from tazjin/feat/travis
Enable Travis.CI builds
2017-02-08 13:04:18 +01:00
Vincent Ambo
1e80f19f7b docs: Add build status 2017-02-08 13:03:06 +01:00
Vincent Ambo
13bf8a8ba3 feat build: Add Travis.CI support 2017-02-08 13:00:34 +01:00
Vincent Ambo
7ac63613fb feat main: Add proper CLI support
Adds a basic CLI structure with a single "run" command that takes a --file (-f)
and --limit (-l) flag.

--limit can be used to only output certain resource sets.

Closes #4
2017-02-08 12:58:53 +01:00
Vincent Ambo
ad82ff3e75 chore: Add LICENSE
Open code under MIT license.
2017-02-08 11:58:26 +01:00
Vincent Ambo
8fac7c1a41 chore: Better example & gofmt 2017-02-08 11:55:59 +01:00
Vincent Ambo
8fb24f9f75 feat main: Initial program implementation & example 2017-02-08 11:51:08 +01:00
Vincent Ambo
9e3ee3f2bb feat templater: Add initial templating support 2017-02-08 11:50:49 +01:00
Vincent Ambo
bb45bfa737 feat context: Add types and loading functions 2017-02-08 11:50:39 +01:00
Vincent Ambo
aff2f7ac1d docs: Add initial WIP README 2017-02-08 11:50:26 +01:00
Vincent Ambo
b11478212a chore: Add .gitignore 2017-02-08 11:50:18 +01:00
Vincent Ambo
035c704f7b Initial commit 2017-02-08 11:50:06 +01:00
Vincent Ambo
e514f9ecff
[nginx] Use SAN certificates
Use SAN certificates from k8s LE controller 1.3
2016-09-26 01:23:29 +02:00
Vincent Ambo
421ef0a77f Question slide & movie reference 2016-09-22 16:20:16 +02:00
Vincent Ambo
631ad80af3 Add compiled presentation 2016-09-22 15:45:22 +02:00
Vincent Ambo
fac2474ac6 Add the rest of the damn presentation 2016-09-22 15:37:17 +02:00
Vincent Ambo
6c456a06c7 Initial check-in 2016-09-22 13:56:02 +02:00
Vincent Ambo
a02148d832
[tazblog] Add tazblog deployment & svc 2016-09-21 02:29:48 +02:00
Vincent Ambo
ef8846eb00
[nginx] Add gogs certificate 2016-09-21 02:29:48 +02:00
Vincent Ambo
7e12db2454
[nginx] Use Deployment resource instead of RC 2016-09-21 02:29:48 +02:00
Vincent Ambo
8bc007c7f3
[nginx/conf] Update TLS cert locations
The setup now uses my Kubernetes controller for Let's Encrypt.

This changes the nginx certificate locations to match the new secrets.
2016-09-21 02:29:47 +02:00
Vincent Ambo
cfe9387af1 [dns] Add DNS setup to git 2016-05-27 00:38:17 +02:00
Vincent Ambo
b85e5e7aca [nginx] Disable SSL tunnel for Quassel 2016-04-14 11:33:55 +02:00
Vincent Ambo
1d144c7348 [bitlbee] Fix key & crt files 2016-04-14 11:33:46 +02:00
Vincent Ambo
c4b27b41af
[quassel] Add stunnel configuration for desktop clients 2016-03-24 22:29:03 +01:00
Vincent Ambo
2dbff70567
[nginx] Add Quassel TLS tunneling 2016-03-24 22:27:54 +01:00
Vincent Ambo
1e3a90646e
[quassel] Add quassel dockerfile & RC 2016-03-24 18:18:17 +01:00
Vincent Ambo
c6feb173c5
[nginx] Open port 22 for git tunneling 2016-03-23 15:13:17 +01:00
Vincent Ambo
f3d71cf5fe
[nginx] Split config into multiple files 2016-03-23 15:13:06 +01:00
Vincent Ambo
196de92752
[nginx] Set static load balancer IP 2016-03-23 15:12:16 +01:00
Vincent Ambo
19ff6c7d98
[gogs] Remove gogs-specific nginx setup 2016-03-23 15:11:39 +01:00
Vincent Ambo
8eec8c6127
[nginx] Redirect over SSL as well 2016-03-03 23:06:08 +01:00
Vincent Ambo
0a10a4487a
[nginx] Add oslo.pub redirect 2016-03-03 23:05:43 +01:00
Vincent Ambo
47ddea2632 [nginx] Add Google log agent 2016-03-03 22:54:43 +01:00
Vincent Ambo
2ff9b1bd3c
[bitlbee] Entire bitlbee setup 2016-03-03 22:44:48 +01:00
Vincent Ambo
83eb026d3e
[nginx] Add versioned RC 2016-03-02 15:31:10 +01:00
Vincent Ambo
a2c95a740d
[nginx] Add RC and config 2016-03-01 01:11:36 +01:00
Vincent Ambo
4bf511ba13 [gogs] Add gogs setup 2016-02-14 16:01:08 +01:00
Vincent Ambo
ca0d71b630 [k8s/cabal] Bump to 5.1.3 2016-02-14 01:43:22 +01:00
Vincent Ambo
ad0d127ab3
Use maps for headers 2016-02-13 15:30:29 +01:00
Vincent Ambo
763bae8a61 Add header parsing logic 2016-02-13 13:00:06 +01:00
Vincent Ambo
b5425938d4 [stack] Bump to LTS 5.2 2016-02-13 11:47:34 +01:00
Vincent Ambo
8addea1058 [server] Serve static files at root 2016-02-13 09:20:43 +01:00