Skip to content

Instantly share code, notes, and snippets.

➜ curl -v https://dev.walmart.com
* Rebuilt URL to: https://dev.walmart.com/
* Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to dev.walmart.com (127.0.0.1) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
* CAfile: /etc/ssl/cert.pem
@svoynow
svoynow / gist:fc51be6373d756c9348fe642a594ff4c
Created June 18, 2019 23:38
kubectl apply -k ./platform/manifests/walmart/dev
kubectl apply -k ./platform/manifests/walmart/dev
service/walmart-http-frontend-service created
deployment.apps/walmart-deployment created
certificate.certmanager.k8s.io/walmart-certificate created
virtualservice.networking.istio.io/walmart-virtualservice created
Error from server: error when creating "./platform/manifests/walmart/dev": admission webhook "pilot.validation.istio.io" denied the request: configuration is invalid: 3 errors occurred:
* short names (non FQDN) are not allowed
* short names (non FQDN) are not allowed
* domain name "localhost:443" invalid (label "localhost:443" invalid)
admission.certmanager.k8s.io/v1beta1
admissionregistration.k8s.io/v1beta1
apiextensions.k8s.io/v1beta1
apiregistration.k8s.io/v1
apiregistration.k8s.io/v1beta1
apps/v1
apps/v1beta1
apps/v1beta2
authentication.istio.io/v1alpha1
authentication.k8s.io/v1
NAME CREATED AT
adapters.config.istio.io 2019-06-18T22:43:58Z
apikeys.config.istio.io 2019-06-18T22:44:02Z
attributemanifests.config.istio.io 2019-06-18T22:44:02Z
authorizations.config.istio.io 2019-06-18T22:44:02Z
bypasses.config.istio.io 2019-06-18T22:44:02Z
certificates.certmanager.k8s.io 2019-06-18T22:44:02Z
challenges.certmanager.k8s.io 2019-06-18T22:44:02Z
checknothings.config.istio.io 2019-06-18T22:44:02Z
circonuses.config.istio.io 2019-06-18T22:44:02Z

Keybase proof

I hereby claim:

  • I am svoynow on github.
  • I am svoynow (https://keybase.io/svoynow) on keybase.
  • I have a public key ASDe8r_CzKL3AXlAnDBoM31KyqiGRee9ZWcAcNMViFdxaQo

To claim this, I am signing this object:

@svoynow
svoynow / Types.re
Created September 13, 2018 01:45
decoding an array
type userId = string;
type gameId = string;
type screenName = string
type player = {
userId,
screenName
};
type serverGameState =
ERROR in ./src/elm/Main.elm
Module build failed: Error: Compiler process exited with error Compilation failed
Problem in dependency elm-lang/virtual-dom 2.0.0
The elm-package.json constraints of 'elm-lang/virtual-dom' are probably
letting too much stuff through. Definitely open an issue on the relevant github
repo to get this fixed and save other people from this pain.
In the meantime, take a look through the direct dependencies of the broken
package and see if any of them have had releases recently. If you find the new
module.js:457
throw err;
^
Error: Cannot find module 'semver'
at Function.Module._resolveFilename (module.js:455:15)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/usr/local/lib/node_modules/elm-upgrade/upgrade.js:6:14)
import Json.Decode exposing (list, int, string, null, float, Decoder, object2, (:=), at, oneOf)
import Json.Decode.Pipeline exposing (decode, required, custom, requiredAt)
-- trying to get rid of this
type alias NetworksContainer =
{
networks : List Network
}
-- decoders
{"networks": [
{"name" : "foo"},
{"name" : "bar"},
]
}