Releases: Aptomi/k8s-app-engine
v0.1.15
Changelog
63709f6 linked superuser blog post + OpenDev youtube demo
d4bb15e removed service model video
926ce16 removed thumbnail which was not used
7e28d62 new language picture with the new terminology
d208769 semantically correct definition of ServiceConsumer role - consume services, not bundles
9253660 don't print "criteria: null" for service in UI when clicking "Edit"
86f27b8 renamed Contract -> Service
346af7b renamed Service -> Bundle
6e43fc8 last change from depIds -> claimIds
8c6f8ec renamed Dependency -> Claim (including lang, CLI/API/UI, examples, scripts, images) part of #302 refactoring
2fb153b Retry last revision every "interval" in enforcer if there were errors during apply Also, print stack trace on panic Fixes #339
1dcf300 print stack trace on panic in actual state updater
37316ed Exclude sending http response from mutex under policy apply, policy delete and state enforce Fixes #344
5b6564f Make full lints always instead of starting from some revision
a64df00 Drop not anymore use gometalinter (lint-old) target from Makefile
0bba5b2 Drop new db layer experiments from master
2b7aebe Some more prototyping for new db layer
2ce5c5c Convert todo.txt in new db layer work to issue #341
36e210d Initial steps on db layer rework - planning and prototyping
a846a21 check object right before we add it to the policy, not after
8f40926 make lint-all now passes (fixed all govet and goconst)
d6b226d deleted gometalinter config
2429754 fixed goimports
ba5ddb1 supressed most of errcheck linter errors, the rest handled in the code
f60c0f9 use own ACLRule struct instead of aliasing to Rule, Fixes #343
a6a6943 uploading the same cluster does not result in an error, Fixes #342
31eb2b0 make sure we can apply aclrules+rules+clusters+policyobjects at the same time also add this scenario into smoke tests Fixes #340
10b5b40 Make lint make target depend on embed-ui due to the code generation
3b2cb7c Unset BUILD_NUMBER for goveralls exec (publishing coverage report)
a76eb6b CI: build before running lint to have webui generated
a1d5968 Instrument actions with basic metrics
4695d29 Rename Prom Handler to MetricsHandler
0b88067 Rename action.Base to action.Interface
8c0f655 Add missed comment on exported function
b413f09 Impl desired state enforcement duration collection
a8ee0f6 Enable enforcements counter and prom API metrics middleware
aea563a Enable /metrics api endpoint to report prom metrics
65ffa87 Implement prometheus middleware for catching API metrics
29efb89 Add prometheus go client directly and update dependencies
ae8f91e Apply goimports
ff842f0 Enable goimports for better imports structure
7d9e50c Switch to golangci-lint instead of the slow gometalinter
db34832 Add golangci-lint config
445eda7 Remove obsolete comments in server.go
4facbff Fix linter in desired state object
832ce0c Remove fixed todo about saving desired state
90a80e9 Save desired state for each revision in DB
556ebf7 Fix new revision creation by using updated desired state
928b613 Fetch the latest k8s from 1.10 branch
ad0f749 state enforce api handler semantics change + DELETE changed to POST
45e75b2 #318 - big rework working with revisions - store revision on policy update/delete/enforce - enforces just takes a revision and applies it
b074321 removed leftover bool variable in the constructor of PolicyResolution
fe00d88 removed GetFirstRevisionForPolicy
e8beec0 fixed how EdgesOut was used - no longer used in actual state fixed UI for actual state as well
b51c6a5 do not use DependencyInstanceMap in desired/actual state as a side benefot, reworked how conflicts in component instances are handled
38d3e4a made all calls to calculate desired state more explicit
72ef95b removed EdgesIn all together (not required anymore)
7cb3bfa renamed method to avoid confusion with EdgesIn
e26a011 renamed var to avoid confusion with EdgesIn
acc9c24 fix for install script --with-examples
0f8a7cf updated most packages to address vulnerabilities (used npm audit)
33cdda2 fixed project dependencies + lowercased logrus
643d549 Remove some more deps not used directly
938575a Remove some dependencies that aren't directly used
ec8a780 Remove no more used cors dependency
205d63e Switch to the latest 1.10 release branch for k8s
9460e67 Cleanup glide
81bf4f8 Add .aptomi-install-cache to git ignore
cdf2f7e Fix status fetching for unsupported strategies
2a8b0ce Fix imports ordering
a4610c8 Fix status fetching for unsupported objects and strategies
82c33af Fix k8s status usage after upgrading to new k8s and helm
05ffc58 Switch to the 2.9.1 tiller
1497e91 Fix ensureNamespace to not fail if namespace created in background
0b918d1 tools/setup-apimachinery.sh no more needed
285aee5 First steps for switching to helm 2.9.x
5940a05 Update and fix dependencies
460f14a fixed a bug in dependency status - we should skip a component instance instead of returning
6be0313 if dependency is not Resolved, set Deployed/Ready to false
16eea63 retrieve dependency resources in parallel (speed up UI)
478bdea no need to check for nil codePlugin anymore
0b4ffd1 removed unsyncronized access to actual state from plugins
637f196 actualStateUpdater supports noop mode for smoke tests
12168a4 action should use context.EventLog to write log messages
87e5a4f implemented endpoints in ActualStateUpdater, checked with aptomictl
2105994 empty implementation of actual state updater
e83bcc1 faster status for dependencies (save 1 API CALL)
1cf8f8e better handling of panics when executing action plan concurrently
54d799b fixed dependency status retrieval (in parallel)
c51723e made action execution parallel, with concurrently limited by "enforcer.MaxConcurrentActions"
602930e refactored actual state updater (prep for parallel action execution + separation of endpoints)
c7c95e4 removed commented out fmt.Println code
fb2ef9c Fix linter
797f548 Fix typo in endpoints: result of fmt.Errorf call not used
e56e41e Enable readiness check for StatefulSet as well
89b0f6c Fix typo in endpoints processing error
7f01fd4 Stop retying failed endpoints fetch as it'll be retried during next enforce
e5094ca Merge remote-tracking branch 'origin/master'
81ca77b fixed UI to show default namespace
aab9a3d switched example to a single cluster and setting namespace via policy - changed gen cluster - changed example - changed docs - changed smoke tests
f29aa37 simplified statement (linter fix)
af90cc3 returned lost line during the refactoring
42692ca changed contextual data for Cluster -> Target
6e133e0 dealt with default NS
71fabbf Don't generate endpoints action if component deleted
bbde8f4 fix component instance validation to use cluster NS
6e8d403 Remove obsolete todos in endpoints code
6d32b3c Set bigger timeout for getting helm charts from repo
44a8601 big rework of target label, allowing to specify deployment namespace in policy Fixes #278
b6cee16 use String() instead of ToString()
2d028eb switched 'cluster'->'target' label for specifying placement during deployment Fixes #303
387d3ba do not allow modification of clusters via API. Fixes #253
1cc5df2 increased write timeout on the server side to 5 min - the client still uses 60 sec timeout by default
9cbc53b default client 15s timeout is often not enough to receive a reply from the server (e.g. receiving endpoints)
fd417f4 switched from wait-attempts to wait-time, fixed #331
70cb785 just some stylistic improvements
63d10fa nocyclo for buildActions(). this function is complicated
68e7616 simplified "if" condition
e83d3e6 correct mechanism for keeping endpoints up-to-date for component instances - now Aptomi will correctly retry to retrieve endpoints, if update/endpoints action failed in the previous revision - Fixes #330
133f5d9 Increase LB address waiting timeout in k8s/endpoints to 15 minutes
41c54e8 Fix lint in k8s/endpoints code
9a326a5 Remove code dup in Service type LB endpoints support
c3884e8 Initial impl for Service type LoadBalancer support for endpoints
Docker images
docker pull aptomi/aptomictl:0
docker pull aptomi/aptomictl:0.1
docker pull aptomi/aptomictl:0.1.15
docker pull aptomi/aptomictl:latest
docker pull aptomi/aptomi:0
docker pull aptomi/aptomi:0.1
docker pull aptomi/aptomi:0.1.15
docker pull aptomi/aptomi:latest
v0.1.14
Changelog
be921fa fixed an issue with map of endpoints being not initialized
f916798 if dependency is not deployed, it's logical to report that it's not ready either
10fb357 fixed bug with endpoints getting overwritten
a249fc7 replaced some panic() with log.Fatal() to avoid printing stacktraces - also, fixed minor spelling errors
941587d use dependency in rules, uppercase Service and Dependency
05c28ca fmt typo
3e68558 added test for allocations keys
88c19f2 use spew to dump objects into logs
f55d9ff better error reporting - show object names with NS when validating policy
c55f237 final logging restructuring: replaced bool -> AddConsoleHook in event log - also, server writes logs on Info vs. Debug level based on debug=false/true
ea9769d logging restructuring + fixed a bug in merging log records - reviewed/removed method WithFields - careful review of NewErrorWithDetails usages and passed params/details - fixed a bug with merging log records and printing to console - lowercased errors in the engine - checked logs manually to verify that everything is correct
93cf988 added NoFields() instead of WithFields(Fields{})
80074d0 got rid of eventlog.LogError()
78b0f81 LogWarning is no longer needed
8227802 renamed files into hook_ for consistency
c8bf00d added fixedFields instead of attachedObjects
d8e8563 only attach dependency, contract and service to log entries
dcfddb3 removed log field and IsLog() from event log
08fc2f8 implemented "state enforce" and reworked waiting for revisions, fixes #314 - state enforce is implemented, similarly to policy apply/delete - state enforce supports noop and wait flags - state enforce can only be performed by domain admin - policy apply/delete and state enforce always wait for specific revision - specific revision to wait for is returned in PolicyUpdateResult - no longer relying on first policy revision
390f957 Fixed #328 - rare smoke test failures - the problem is that append to actionPlan.Actions was not synchronized, so sometimes it resulted in nil entries being added to the slice
1833d62 smoke test script prints last 100 lines of server log in case of failure - easier to debug
1cbc26a attach/detach actions affect status of specific dependencies instead of all dependencies Fixes #324
aee1e41 print full stack trace on client/server panics
8ac28fb switched to coreos/bbolt, supported version of Bolt DB
0cd4493 more consistent logging through hookconsole
f86cb1a fix linter
5742099 fixed #321 - components in actual state don't get rewritten anymore
4b6b84f changed logging to console (removed hook_logger)
0560003 support tracing for the server (see 'go tool trace') - stress script also supports TRACE_PROFILE env variable
fcea606 stress.sh script supports DB and CPU_PROFILE options - DB specifies existing db.bolt file (allowing to start from non-empty db) - CPU_PROFILE specifies where to write cpu profiling information
f322443 server supports --cpuprofile to produce CPU profiling info (pprof)
82dd4c2 stress test script which makes a lot of policy modifications (new generations)
4923297 fixed a major issue with duplicate rules and dependencies - got rid of GlobalRules and GlobalDependencies all together - added test which checks that policy.AddObject idempotent - added test for policy.RemoveObject
656c1f3 fixed smoke test script not to fail when grepping for errors in server logs
2690cef grep for error messages in server log & fail smoke tests if there are any
c1b16a6 updated error message to be less scary
a266506 call appendData only on fully initialized components (don't call on empty)
94fc8bb better comments while appending data for resolved component instances
bf249e6 Switch to latest spark chart version to fix permissions issue on newer K8s cluster
61411b4 another test fix for endpoints
9c24d51 fix tests for endpoints
d643900 fix linter
e656370 Language doc revisions
1140c3e workaround for endpoints
38cd6cd Add initial readiness check support for Deployments, Services and PVC
f6a361a Extend code plubin interface with status method for readiness checks
f1b3492 Shorter and more clear names for dep status
8949c37 Update dependendencies
94abd02 fixed UI to show dependency resources using new API
5fe20ba fixed UI to show dependency endpoints using new API
70da1e8 fixed UI to show dependency state using new API
d20d48a do not log actions during benchmark
d12181f removed the old method for getting dependency status
66acb7b implemented "dependency endpoints", Fixes #298
ae5aaff added TODO to use common.Format() in the future
6ac9a06 smoke tests for "dependency status --wait"
8035928 removed empty lines
6994d71 no need to return error from textMarshal
a6123bc linter fixes
101985a implemented "dependency status" with --wait and --state
9b20a7c initial implementation of "dependency status"
aa1d060 implemented --noop and showing resolution logs in client - fixes #313 (now users can test policy changes without applying and see logs) - fixes #293 (--noop and action plan) - fixes #295 (always comparing desired states on resolution)
86cc4d2 implemented action plan (PlanAsText) -> pretty string format, prep for #293
25898f0 do not generate endpoints action for attach/detach
5e32bee linter fix
4c55f92 large rework of revisions/apply to avoid global revision 'error' status Fixes #292
63bb766 backend part for issue 292 (avoid global error status for revisions)
1b16ba3 fixed progress to show correct numbers for console progress bar (instead of +1)
0d215fe make action.WrapSequential more explicit in unit tests
4e3a68f everything is ready for parallel action execution
79da9ef fixed 'make test-race'
f6d3092 added todo to show dependency status in CLI
816f6df added test for service sharing (do not generate duplicate actions) also, do not generate endpoints actions for non-code components
c109332 introduced action plan with a graph of actions, Fixes #290
d0e1572 comment fix
6e62c96 typo
bed7356 switch from global policy resolution errs to dependency-local, Fixes #291
eee54ce updated comments for policy resolver
69903b5 fixed a bug when server would block when another policy change is pending (Fixes #274) - stupid bug as default channel size is 0
efa02a9 noop plugin doesn't hang forever on validation and cleanup (useful for testing with noop)
85e5b64 help for all commands starts with upper case letters
6646b89 typo in help for "aptomi server"
a8103e5 improved error reporting, Fixes #285
7b64f5b bumped min version for go validator
a321583 made all pipelines triggered manually
987404e another fix for install script (affects '--with-example')
d7b20e2 fixed install script
Docker images
docker pull aptomi/aptomictl:0
docker pull aptomi/aptomictl:0.1
docker pull aptomi/aptomi:0
docker pull aptomi/aptomictl:0.1.14
docker pull aptomi/aptomi:0.1
docker pull aptomi/aptomictl:latest
docker pull aptomi/aptomi:0.1.14
docker pull aptomi/aptomi:latest
v0.1.13
Changelog
42398d4 updated pipelines
4a40277 small renames in UI
2d3d389 updated twitter-analytics CD pipelines for Concourse
410ca2d do not output null criteria into YAMLs
ce2c68b separate dirs for 'rules' and 'clusters' in the example for clarity
24d0baa added initial Aptomi + Concourse CI instructions and example
35d2829 fixed unit & smoke tests
be6d65c better handling of rules with empty (i.e. true) criteria - show true instead of empty text on UI - do not output 'criteria: null' into YAML
61cea02 changed scope of rules to individual namespaces
0f9eed1 updated example readme to use a single shared analytics_pipeline
c511d8a make example use service names in directories - i.e. service-centric as opposed to user-centric
d7cc06b simplified example yamls: making decisions based on message_stream label
435ec20 uppercased Discovery.Service, Discovery.Instance* for consistency - every struct/built-in variable starts with uppercase - when referring to labels or service names, they can be lower or upper (depending on how they were defined)
0216e3b switched to a single platform instance of analytics_pipeline - single context in analytics_pipeline contract - removed labels from services (use namespaces in rules instead) - cross-namespace connection URLs
af6b59c updated gitignore to ignore all clusters yaml files (except templates)
2c2169c Raise server write timeout to 30 secounds
2d58643 Move installation scripts cleanup into the ci run script
a693426 Cleanup after running aptomi installation scripts tests
293766b fixed table of contents
418c549 Merge pull request #284 from Jeffertron/master
75b32b4 Preliminary edits, for docs, landing page, and twitter-analytics example.
53baaba how to create configs if you are building from source
7c0d78f enabling GKE APIs (their UI has changed)
8ece149 updated DevGuide (go 1.10.x, $GOPATH/bin, make targets)
967b9b3 that didn't work too well with spaces in directory name in CI updated PATH to prefer binaries from GOPATH when doing smoke tests
b862385 run smoke tests with debug in CI
022abd6 aptomi smoke test to always takes binaries installed by go (not /usr/local/bin, etc)
3a16a5e better error messages
92ec219 fixed unit tests
8b982b7 Fix complex issue with length of helm release names and discovery
af12603 removed not needed deps from glide
ac2bd33 reverted everything back to use 'go get' due to the issues with --strip-vendor we are unable to build binaries from "vendor" when --strip-vendor is in use when --strip-vendor is not in use, there are build issues in k8s
9c30af5 updated gitignore to ignore 'vendor_bin'
9f30a52 no need to build 'protoc-gen-go', but build 'go-junit-report','goveralls','fileb0x' from vendor
95473dd goreleaser & gometalinter still have to be installed via "go get"
4b0c5f5 linter fix
0c06e3a linter fix (ineffective break statement)
b41a1f0 linter fix (handle err of h.Write() in getReleaseName)
d535753 manage all dependencies via glide (no more "go get" of latest)
609d6a4 Switch to sha1 to avoid linter error
cbcdb56 Add prefix "aptomi-" and use shorter md5 hash for Helm release names
0efe100 Switch helm plugin to use hex sha1 of deploy name
0c4d7e1 changed template for index.html (show param1-3 as is, calculate param4-6)
bc4343c fixed linter
545a418 added back clusters.yaml.template for smoke tests + put comments on why it's there
e846e44 copied over ACL to guestbook, so every example can be imported independently
711e7b6 changed git ignore accordingly, also not include private examples
91290f9 no longer need clusters.yaml.template in example
3d4c260 no need to propagate {{ .Labels.cluster }} into components
f56134c added ComponentIntance.getCluster()
2796640 Add Aptomi Labels demo chart
b6a77c2 Better BATS_TEST_LAST_STATUS integration
13fc5d8 Add first version of lib and example test based on bats
b78016d Make bats reporting status of the previous test run as env variable
c5494a6 Add bats framework for integration testing
3cd4de6 fixed component key generation (do not add revolved keys if they are empty)
7c26720 fixed component key copy (failing UT)
8fd66e2 print keys in UI separately and shorten them
7f7573a truncase long context names in UI (when key is too long)
6d53fe3 ability to allocate instance per dependency (use dependency.Id)
e677b6e show dependency full name in UI and log (as opposed to just user name)
f505e18 UI works correctly when components excluded based on criteria (in dependency subtree)
d407294 reflected in lang doc - components can now have criteria
7c95363 implemented component criteria in policy resolution engine
50d48ff fixed formatting to use assert.* printfs under lang
6858327 use "-n" first in gen cluster docs (easier for people to understand)
5a87662 added criteria field for component + basic unit test
Docker images
docker pull aptomi/aptomictl:0
docker pull aptomi/aptomictl:0.1
docker pull aptomi/aptomictl:0.1.13
docker pull aptomi/aptomictl:latest
docker pull aptomi/aptomi:0
docker pull aptomi/aptomi:0.1
docker pull aptomi/aptomi:0.1.13
docker pull aptomi/aptomi:latest
Automated with GoReleaser
Built with go version go1.10.1 darwin/amd64
v0.1.12
Changelog
73dc72f do now show "no resources found" when loading resources
f3b3ca2 Fix sorting rules on UI to avoid infinite loop
4a79ee4 Fix linter after resources+endpoints rework
fbd0d6e Handle Ready column on ui to show badges and make resources table wider
175e3a5 Handle only Deployments and StatefulSets for now
4fadd5e Fix resources handling to correctly work with different k8s versions
23ecbf2 Add support for getting resources to Helm plugin
d321fb0 Rework plugins to better handle resources api
1a11dc3 Refactor getting endpoints to use standard code w/o label selectors
81a41e5 Trigger enforcement after state reset
3e1de19 Add k8s jobs to the list of objects to be included into resources
8e9e3e8 Add more k8s object types for retrieval in deployment status code
a017633 similar look & feel for policy diagram
dbd7367 better look & feel for dependency resolution diagram
f85001a do not show buttons for unresolved dependencies
f70975e moved browser under 'deployment' menu
492181f added object catalog + component to show object with icon
7ae7b6a added catalog of objects
4483b31 fixed UT for diagrams
91ff989 removed some more unexpected highlight.hs leftovers
d61efa1 removed YAML viewer based on highlight.js
640e587 removed 'ShowObjects' YAML browser used
5dde618 depenencies - active/unactive, also changed order of buttons
6a9f7aa don't wait on '--wait' if policy hasn't changed
41f6506 better diagrams for contracts/services
5a0f8b1 fixed aptomi server reload scripts
1ede2f2 object diagrams for services & contracts
05d673f Fix linter issues introduced in event log and resources display commits
0f210bb Fix sprintf format
745600b Draft impl of event logs display for revisions
d0506e6 Add generation to the k8s Deployment resource handler
248fabe Apply momentjs to "Created" columns in resources
981155a Rename deployment status to resources
4f51e01 Add basic Web UI support for the real deployment status
9aaa64e Add basic support for real deployment status into the API
f097c7f Add PoC implmentation of real deployment status support in k8s raw
82428a3 Add deployment status noop stubs to fake and helm plugins (tmp)
4a8f3d4 Add deployment status to the code plugin api
17cda03 Fix variable shadowing
3a0ec39 Make event logs saved into Revision structured with time, level and msg
Docker images
docker pull aptomi/aptomictl:0
docker pull aptomi/aptomictl:0.1
docker pull aptomi/aptomictl:0.1.12
docker pull aptomi/aptomictl:latest
docker pull aptomi/aptomi:0
docker pull aptomi/aptomi:0.1
docker pull aptomi/aptomi:0.1.12
docker pull aptomi/aptomi:latest
Automated with GoReleaser
Built with go version go1.10 darwin/amd64
v0.1.11
Changelog
f84f25f minimized server/client waiting 1) client uses strategy of doubling interval from 100ms to 2s while waiting for a server 2) when there is no need to wait, client doesn't print progress bar and exits right away 3) when policy is changed, apply/delete tells enforcer to wake up create a new revision immediately 4) enforcing interval is now 60 sec (and no need to specify 2s in install script & 0.1 sec in smoke tests)
ad7030a reworked error handling again
fac6312 added link to guestbook example into readme
303b1a5 fixed yaml browser
fbffcd6 ability to edit all objects
616b7ee support for deleting objects
8faa1eb saving objects with green notifications
be4fb17 added lib for notifications
b3b4fde remove generation prior to viewing/editing objects in UI
551c90a embedded YAML editor for services
0238ba2 moved pages according to the menu structure
55d9c40 fixed initial redirect
b175e67 added vue2-ace-editor
d7e7803 added icons, switched alt->title in for tooltips
086fb67 show dependencies
07a4623 show rules
6697ba3 typo: contracts -> clusters
c6f90cc show clusters
ba03347 alt image typo: helm -> k8s
829c186 show contracts
6d2d9b0 fixed smoke tests (checks for object count in namespaces)
86bc6af added k8s icon & showing code type
76defc1 changed guestbook to use 'social' namespace
902b208 correct margins in UI when user has access to multiple NS
99008ae better menu structure
557e67d change twitter-analytics example to use 'platform' and 'social' namespaces
3f9c702 show separate table of objects for each NS
74cf364 better error handling (e.g. 504) + methods to get object map by ns
94e9643 placeholder alert for diagram
501143c added "Deployment"
f79a775 split menu into "Objects" and "Debug"
ca80192 show object YAMLs in popup
edcf2c9 prep for implementing modal windows
e1dcb1b renamed instances -> dependencies
62798cf show list of services with icons
99e2738 added vue-js-modal
0c6fd7c show list of components for a service
9a8b014 policy objects of a given kind can be loaded via 'getPolicyObjectsWithProperties' call (together with their properties)
800ec81 added services, moved files from /policy to /objects
02ada78 copyright update to 2018
5b07122 Add note about using same acls and rules from ts example
304068f Improve guestbook example and add commands to run example into README
6628920 Make guestbook example names and dependencies parametrized
a63c527 Add simple guestbook example with k8s raw plugin
6affc2f aptomictl: skip files with yaml/json objects that looks similar to k8s
dc40d3e Log loaded objects when doing policy apply/delete
fad189f Better names for Sam's resources - not attached to TS
18b6529 Extract users.yaml from twitter-analytics to the common examples dir
d8ae9e2 Save resolve and revision logs into the revision whole enforcement
862965f Add ability to save event log into the string
eb7f5de updated logrus to the latest commit (there are deadlocks fixed) also bumped a few other packages to latest versions
f028d3f updated UI deps (package-lock.json)
22faa04 updated videos and pics
19c4849 Fix linter
d53154a Add support for endpoints to k8s raw plugin
dc6d00c Extract helper for getting endpoints of the k8s service and improve it
a5bd218 Stop escaping values in nested parameter map as it's not needed anymore
88a790e Add info msg about generating cluster for ctl gen cluster
ebd2e73 Remove obsoltete import from ctl policy common helpers
6109250 Get rid of the EscapeName in k8sraw plugin
4217277 Get rid of the EscapeName in helm plugin
f64988d Include macros now supports finding files by multiple paths, dirs and patterns
ae4f2a4 Extract util for finding yaml files
cbdbae1 Add simple @include macros support for including values on ctl side
2a148c7 Make k8sraw plugin data namespace configurable
f2b4d58 [k8sraw] support updating instances by storing old manifests as configmap
9bbe0c8 Initial k8s raw objects code plugin with only create and destroy supported
92750c1 Expose clientcmd.ClientConfig from k8s cluster plugin
f048e99 Better package doc for plugins
3fb27c5 Add clusters validation using corresponding cluster plugins on policy update
217f723 Fix using namespace in the helm plugin before it was parsed from config
5fed0a0 SWitch plugins to the new sync.Init util for initialization
3752f10 Add sync.Init that run func once and saves returned error/panic
a889532 Add missing exported types comments
aba1e83 Fix printf formatting
e34c726 Fix linter for plugins
307af50 Fix error handling in plugins when parsing config
4036ad2 Fix tests to use new plugin system
1dfe5c1 Remove obsolete code type alias aptomi/code/kubernetes-helm from validation
310ab5a Update actions to much new plugin system
868bb4b Drop not needed alias for code type aptomi/code/kubernetes-helm
be15fda Fix aptomictl gen cluster to use new k8s.ClusterConfig
518f55d Update registry creation code using new registry and plugins
e81b165 Fix logging of the enforcer noop sleep config
6338c72 Fix asciinema demo to show time.Duration in NoopSleep enforcer config
8d009fd Fix NoopSleep to be time.Duration, not dumb int
97cd13b Drop old mock plugins
3aba838 Implement fail components code plugin for testing
6260515 Implement noop plugins for testing and noop enforcement
7ab1cc2 Fix plugin registry to support cluster type -> code type mapping
6978787 Add k8s plugin config
d79d21f Rework k8shelm plugin into k8s cluster plugin and helm code plugin
bf17f5c Update plugin registry to work with new plugin constructors
82a0c61 Update plugin constructors to include plugin configs and return error
662dfd8 Make separated config section for plugins
ca9b020 Rework plugin interfaces and registry
8ff9a4c Explicitly check that mock plugins implements interfaces
3dfb544 Get rid of the hardcoded k8s version in demo-gke script
a85ad89 Add docker images cleanup command after pushing new ones
Docker images
docker pull aptomi/aptomictl:0
docker pull aptomi/aptomictl:0.1
docker pull aptomi/aptomi:0
docker pull aptomi/aptomictl:0.1.11
docker pull aptomi/aptomi:0.1
docker pull aptomi/aptomictl:latest
docker pull aptomi/aptomi:0.1.11
docker pull aptomi/aptomi:latest
Automated with GoReleaser
Built with go version go1.9.3 darwin/amd64
v0.1.10
Changelog
293c6f2 Fix docs/language.md typos and word order
7f7ef7d Add cleanup instructions
25628f1 added tweet button on the very top
1292ee4 simplified "installation" tables and "setting up k8s cluster"
d66084d re-recorded main asciinema demo and added 4 short ones
cf96401 install script supports updates starting from Aptomi 0.1.10 Fixes #222
59a29ec Add --short flag for aptomi version
869029d Add --short flag for aptomictl version
bab6efd added more references to our Slack channel
45ae816 added architecture description, Fixes #239
f62bf3a updated _old.md (removed obsolete install instructions)
8fc9b29 added lazy allocation into benefits
0ef247d simplified features & benefits
793a828 overview update
3d678e0 Fix several typos and imrove README
275b80a changed overview and replaced the image
71b3b0c docker install -> 1st option, also for local mode -> added description & cleanup instructions
f67b747 replaced k8s with Kubernetes in the overview
c0cb1b2 resized images to 600px
c009a67 Avoid hanging on tiller tunnel creation if no permissions in cluster
532016a Explicitly set timeout for helm CRUD ops
1066528 Better logging for tiller tunnel setup
9169840 Make k8s client timout configurable and set it to 10s by default
6f44dee Create CODE_OF_CONDUCT.md
df29a1d Extract plugins preparation into factory and pass it to enforcer and api
5af92c2 Fix linter
92d7758 Support reimporting same objects after deletion
5bec2d3 Set last update at for detected in progress revision before failing it
4208f6a Expand smoke test to cover same objects reimporting after deletion
102d27f Fix comment
88261bd Handle case when trying to update helm chart with another namespace
e48930d Add homebrew to goreleaser config
Docker images
docker pull aptomi/aptomi:0
docker pull aptomi/aptomi:0.1
docker pull aptomi/aptomi:0.1.10
docker pull aptomi/aptomictl:0
docker pull aptomi/aptomi:latest
docker pull aptomi/aptomictl:0.1
docker pull aptomi/aptomictl:0.1.10
docker pull aptomi/aptomictl:latest
Automated with GoReleaser
Built with go version go1.9.4 darwin/amd64
v0.1.9
Changelog
5a9a37c added --wait in twitter-analytics to get rid of skipped policy versions without revisions
81538b3 Drop domain admin checks, claims, etc
5829924 output of aptomi login redirected 2>/dev/null
f2f42de install script to use --config and login for policy show
Docker images
docker pull aptomi/aptomi:0
docker pull aptomi/aptomictl:0
docker pull aptomi/aptomi:0.1
docker pull aptomi/aptomictl:0.1
docker pull aptomi/aptomi:0.1.9
docker pull aptomi/aptomictl:0.1.9
docker pull aptomi/aptomi:latest
docker pull aptomi/aptomictl:latest
Automated with GoReleaser
Built with go version go1.9.3 darwin/amd64
v0.1.8
Changelog
a82712d don't show yellow "N/A" label for skipped policy versions
02c8362 updated docs/scripts to account for user authentication
1728a6c Fix smoke to use new cmd login
7d362be Add missed comment for exported method
170a3a3 Switch webui to auth using yaml
e255446 Fix linter
3c7c1f7 Filter out some defaults from config file before saving it during cmd login
40fe089 Extract defaults into constants in CLI
46ab51d Backup existing config if it differs from updated one on login cmd
9c43cd7 Working cmd login that saves token
e064c13 Better var names in cli gen user
2b3ed0d Add basic login command
eb2d0a8 Rework api auth to work with object instead of formdata
0c49fbd Complete user login client
2b60d0b Add default server secret (super insecure but simplify setup)
01d2709 Avoid shawowing in api package
ddd5cde Rename state reset to state enforce
735ebdc Add client for user login
ccb463b Support read one in api codec
8470d75 Return back recovery and codec into own packages
4bcb04f Move codec to api package
d4c84be Move recovery middleware to api package
c17c7f8 moved dev guide to its own page
f6a6eba updated instructions for demo_gke.sh (1 k8s cluster / 1 context / 2 ns) and updated example
548be1d Finally fix linter in cmd...
034b1df Make demo-gke cleanup faster and removing only east/west namespaces
6824ee4 Rework demo-gke to create single context and do faster cleanup
9ce5506 Explicitly assign ignored errors to _
d768581 Fix linter and avoid context key collisions
f0a1323 Fix format for bool var
8fdbd66 Support actual state reset in API and CLI
d7feb0d Move auth endpoint to /user/login
504c081 Rework auth to use jwt
485f2a7 Rework error and auth handling on UI
31bf158 Make webui in dev mode proxying local server to avoid cors tuning
dd92323 Make client pass token if available in config
546561d Use only needed objects registry in panic handler
b823726 install instructions: Aptomi server on k8s via Helm
937bf61 Bump jws-go version to the latest release
0f9d0e7 Make mandatory flags as required
f36893b Upgrade pflag to latest version
460b4c4 Upgrade deps and especially cobra
d8c5514 Rework demo-gke to deploy single cluster for demo
8c8549f Bump k8s version to 1.8.7
dd4b050 Fix k8s namespace override for local clusters (in gen cluster cmd)
25b2c5a k8s setup instructions for different cases (own, gke, minikube, docker4mac)
1108618 Fix publish charts script
269cd02 Use current dir in publish charts script
c760153 Publish only images for master
330b49c Publish charts in CI
db6201b Add docker images publishing for master into CI
c4fd28b Fix chart version
d849692 Fully rework aptomi chart to support example and admin users
8bf445c Remove demo ldap chart as it's not needed anymore
bb7a429 Fix linter
fcf183e Save error revision when resolution is failing
00adbff Mark lost revisions with error state
b248e5d Make --namespace for gen clusters override k8s namespace
d9ffbfa alice, bob, carol no longer need twitter keys & locations (use fake tweepub)
9c14b86 Make der resolution error human readable in API
90e56f6 Better error message for dep resolution
012365b user auth errors displayed in UI
f703a7e use word "stage" in for fake tweets generator in stage context
9732712 made chart version options
88c29ca updated example to use fake tweets generator in Dev
1d72149 added 'default' function for text/template and changed example
162ed5c DEBUG=yes for smoke test script (sets -x and prints server logs)
1eaab8e better wording
717b06b --client-only
e9d6f7b Make test install script working for path with spaces
36b44a3 No need to start install tests in interactive tty container
fb8530b Fix one more incorrect pwd usage in test install
3d0e26e Fix pwd usage in test-install script
bd1bcd2 Use new test install script in CI
2a58a45 Enable debug in test install script and print success message in the end
97bccfc Add explicit comment about non-caching checksums
cdd7b37 Add script for testing install/uninstall scripts
e543c81 Never cache checksums in install script
38507e6 Add missing godoc
06dfd18 Add missed error handling into helm plugin
a695b0b Initial handling for the auth api response
12a2156 Make auth API return server error or auth success
c5194ca Improve default codec processing
cb23744 Return server error when auth user in API
6c80630 Handle server errors in client
0ac8954 Better error message for unauthorized
fe1414c Ensure that helm plugin implements all needed interfaces
c641bba Make retry.Do panic if it's started with interval less then 1/10 second
8965d93 Disable tiller setup in demo-gke script
bc71a9e Rework tiller setup so it works reliable
ec85966 Add cluster name to helm plugin logs
Docker images
docker pull aptomi/aptomictl:0
docker pull aptomi/aptomi:0
docker pull aptomi/aptomictl:0.1
docker pull aptomi/aptomi:0.1
docker pull aptomi/aptomictl:0.1.8
docker pull aptomi/aptomi:0.1.8
docker pull aptomi/aptomictl:latest
docker pull aptomi/aptomi:latest
Automated with GoReleaser
Built with go version go1.9.3 darwin/amd64
v0.1.7
Changelog
973804e better wording in readme + simplifications
0f96dbd headline fix
eefc6aa compact+concepts install guides fixed
cbe1651 example readme update to use shell pipes when generating clusters
59c46d4 correct handling of exit codes
db56c71 better version checks + debug
4081292 draft version of install_concepts
66d14f1 install script changes - added trap - added install cache - added --with-examples and --help
7d029fc Better error formating
68149a1 Make username in client config optional to avoid issues with gen and version
97719fc Use safier approach for reading from stdin: -f -
1175c7a Ensure k8s namespace exists before running helm install
beb2d61 Add named pipes support for aptomictl policy apply/delete
c0a19ac Fix uninstall script - aptomi is probably not running
44a3382 Replace wait with sleep/check in install script
761a76e Use sudo for aptomi related resources cleanup
c40d246 Set path to have /usr/local/bin first before running install test
fb768e0 Make uninstall script failing faster...
4de3ddf Add -x to CI run script
4328beb Rin install/uninstall scripts in the end of the CI script
870a807 Cleanup all potential locations related to aptomi
e3a870a Add CI script to the repo for easier customization
9d95c92 Make install script more failfast
2fb9356 got rid of secretsDir, fixed smoke
73d5d2b another readme update regarding tweepub/tweeviz
2648b86 fix example readme + instructions to enable real-time tweets
Docker images
docker pull aptomi/aptomictl:0
docker pull aptomi/aptomi:0
docker pull aptomi/aptomictl:0.1
docker pull aptomi/aptomi:0.1
docker pull aptomi/aptomictl:0.1.7
docker pull aptomi/aptomi:0.1.7
docker pull aptomi/aptomictl:latest
docker pull aptomi/aptomi:latest
Automated with GoReleaser
Built with go version go1.9.3 darwin/amd64
v0.1.6
Changelog
826b79f example readme update
722ae27 install script created ~/.aptomi from the current user, not from root
4bb8e3c youtube demo thumbnail
62c5e38 README: install + k8s clusters set up
dbf6998 install script install examples as well
b0bdd12 switch from secrets to labels
118a651 install script fix + switched from LDAP to users.yaml
580bae4 fixed install script
b7d4ae4 install Aptomi with example users.yaml
98bffb6 simplified "features & benefits" section
bd3f156 added yaml with sample users
aa050c8 added "gen user" command
2aa825b do not load configs when just need to print aptomi/aptomictl help
e43d0b7 Fix lang metadata tags separator (should be space)
d46130c Better description for gen cluster context flag
0afc40a Make aptomictl version support showing both client and server versions
4780219 Make version available on /api/v1/version as well
f19b443 Rework version.BuildInfo to be directly returned through rest api
5c1c2f6 Final cleanup to make both client and server binary support version cmd
946ce8a Pass output instead of the client config into the format helper
dd75344 Better formating for version cmd
f41ea60 Use output arg instead of the clint config in format helper
49b925c Switch chart to 0.1.5 image
01eefa0 Better demo names in readme
967acfd Support generating cluster object from kubeconfig and for local clusters
b750b8b Disable shorthand flag for --config
1527e0f Add missing yaml:omitempty tags and accept kubeconfig passed as str
afc4f31 improved some wording in readme
f945fc8 add logging to uninstall script
76c6b21 LDAP instructions -> part of "Compact" guide
c2666e1 removed LDAP from installation instructions - switched to pre-configured 'admin/admin' user
9887df8 wording change for 'concepts' mode - separated fake/concepts mode into its own section
7631996 installation procedure fixes - switched to script-based install - structure of quickstarts with TODOs - use of Admin -> DomainAdmin attribute in file user loader
93daa7e when GitHub throws API rate limit exceeded (60 requests/hour per IP), script will print GitHub API URL where an error occurred
813848a small fix in install script, so it doesn't print 'Terminated' on Ubuntu
86095ea initial version of installation script + moved db out of /etc/aptomi
Docker images
docker pull aptomi/aptomi:0
docker pull aptomi/aptomi:0.1
docker pull aptomi/aptomictl:0
docker pull aptomi/aptomi:0.1.6
docker pull aptomi/aptomictl:0.1
docker pull aptomi/aptomi:latest
docker pull aptomi/aptomictl:0.1.6
docker pull aptomi/aptomictl:latest
Automated with GoReleaser
Built with go version go1.9.3 darwin/amd64