Skip to content

Instantly share code, notes, and snippets.

View mlushpenko's full-sized avatar

Maksym Lushpenko mlushpenko

View GitHub Profile
@mlushpenko
mlushpenko / custom-docker-config
Created March 15, 2021 12:23
Docker login custom config
$ docker --config /tmp login registry.gitlab.com
$ cat /tmp/config.json
{
"auths": {
"registry.gitlab.com": {}
},
"credsStore": "osxkeychain"
}
# Example scrape config for probing ingresses via the Blackbox Exporter.
#
# The relabeling allows the actual ingress scrape endpoint to be configured
# via the following annotations:
#
# * `prometheus.io/probe`: Only probe services that have a value of `true`
- job_name: 'kubernetes-ingresses'
metrics_path: /probe
params:
@mlushpenko
mlushpenko / blackbox-ingress.yaml
Created June 18, 2020 15:22
blackbox-ingress
## Monitor Kubernetes ingress endpoints
- job_name: blackbox
metrics_path: /probe
params:
module: [http_2xx]
kubernetes_sd_configs:
- role: ingress
relabel_configs:
# 1. Set ingress address protocol to https, so we can make sure certificates are valid while probing endpoints
@mlushpenko
mlushpenko / cilium.yml
Created October 28, 2019 16:03
Cilium yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: cni-configuration
data:
cni-config: |-
{
"cniVersion": "0.3.0",
"name": "azure",
"plugins": [
c.JupyterHub.authenticator_class = RemoteUserAuthenticator
c.RemoteUserAuthenticator.header_name = "X-User-Id"
eas: {
plugins: [
{
type: "oidc",
issuer: {
discover_url: "https://example.com/.well-known/openid-configuration",
},
client: {
client_id: "tenantA",
client_secret: "tenantSecret",
{
"nbf": 1568720155,
"exp": 1568723755,
"name": "lushpenko",
"email": "maksym.lushpenko@hal24k.com",
"current_tenant": "tenantA",
"permissions": [
"datalab",
"dataflow",
],

Keybase proof

I hereby claim:

  • I am mlushpenko on github.
  • I am lumaks (https://keybase.io/lumaks) on keybase.
  • I have a public key whose fingerprint is 5336 E35D E3B4 74AD 0A88 EB2A 6EA7 02F0 A2AB 8F0F

To claim this, I am signing this object:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.buyme.com/ShipmentService/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ShipmentService" targetNamespace="http://www.buyme.com/ShipmentService/">
<wsdl:message name="GetAdditionalCostsRequest">
<wsdl:part name="Address" type="xsd:string"/>
<wsdl:part name="Weight" type="xsd:float"/>
<wsdl:part name="ShipmentType" type="xsd:int"/>
</wsdl:message>
<wsdl:message name="GetAdditionalCostsResponse">
<wsdl:part name="AdditionalCosts" type="xsd:float"/>
</wsdl:message>
/**
* ShipmentServiceSOAPImpl.java
*
* This file was auto-generated from WSDL
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter.
*/
package com.buyme.www.ShipmentService;
import java.util.Calendar;