A Kubernetes Operator for Asterisk
Switch branches/tags
Nothing to show
Clone or download
dougbtv Baseline operational service discovery + SIP trunk creation (#1)
* [testing] This is a test

* adds config field

* bugfix, fixes config field type to string

* bugfix, fixes config field type to string, not array

* updates to use asterisk image, changes names to asterisk

* [move] move 'cache' items into voip items

* change reference in update-generated.sh to voip

* updates crd namespace, cleans up other references to 'cache'

* bugfix, fix unused variable

* bugfix, fix unused variable, removed it

* update generated deepcopy.go

* trace for pod names to later cycle through them

* trace for pod info

* cycle names

* first attempt pod ip

* first attempt pod ip, bugfix var set

* attempt pod ip from another place

* add pod ip get list

* attempt to detect undiscovered IPs

* attempt to detect undiscovered IPs, bugfix var set

* attempt to detect undiscovered IPs, check array length

* attempt to detect undiscovered IPs, fix bug wrong range

* attempt to detect undiscovered IPs, attempt query API again

* attempt to detect undiscovered IPs, increase sleep

* attempt to detect undiscovered IPs, sleep regardless of error

* attempt to detect undiscovered IPs, bump up sleep one more time

* update podIPs to be a map

* bugfix, no make for map

* refactor, create cycle asterisk pods function

* refactor, create cycle asterisk pods function, fix pointers in function call

* refactor, create cycle asterisk pods function, fix missing podNames in function args

* refactor, create cycle asterisk pods function, fix unused err

* Create loop to cycle through trunks to create for each pod

* bugfix, wrong variable assignment

* change to example operator image

* trace out no ips coming up

* stub in create sip trunk function

* stub in create sip trunk function, bugfix wrong var name

* stub in create sip trunk function, bugfix missing return

* stub in create sip trunk function, bugfix missing return value

* having weird timing issue, try a sleep and re-query

* trace for everything ins get ip func again

* revert to original asterisk image, what's the deal

* try failing the sdk list

* try failing the sdk list, bugfix var assign

* try putting back in example operator fix

* remove noisy loud trace

* [stub] Initial stub for push config for sip trunks

* [stub] Initial stub for push config for sip trunks, bugfix variable set

* [stub] Initial stub for push config for sip trunks, bugfix variable typo

* Wait for asterisk booted when doing REST calls

* Wait for asterisk booted when doing REST calls, wrong get call

* Wait for asterisk booted when doing REST calls, missing string lib

* Wait for asterisk booted when doing REST calls, need ioutil to read data

* Wait for asterisk booted when doing REST calls, convert byte array to string

* Wait for asterisk booted when doing REST calls, convert byte array to string, again

* Wait for asterisk booted when doing REST calls, unused error

* attempt put style request

* attempt put style request, missing var set

* different put style

* add identities call

* add identities call, debug match

* add identities call, attempt different cidr format

* change from json unmarshal to string

* change from json unmarshal to string, cleanup mistakes

* change from json unmarshal to string, fix byte array

* change from json unmarshal to string, remove unused packages

* change from json unmarshal to string, bytes typo

* change from json unmarshal to string, wrong type for ioreader

* add aors

* use string formatting in json generation

* change context to inbound

* [significant] Clean up after end-to-end success

* [significant] Clean up after end-to-end success

* bugfix clean up assignment
Latest commit 74e6ca2 Oct 3, 2018

README.md

asterisk-operator

DISCLAIMER: This is just a stub scaffolded project for now!

...More phun to come, phreakers!