Skip to content

Instantly share code, notes, and snippets.

View lwolf's full-sized avatar

Sergii Nuzhdin lwolf

View GitHub Profile
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: service-gw
namespace: default
spec:
selector:
istio: ingressgateway
servers:
- port:
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: grafana
spec:
hosts:
- grafana.example.com
gateways:
- service-gw.default
http:
apiVersion: certmanager.k8s.io/v1alpha1
kind: Certificate
metadata:
name: example-com
spec:
secretName: example-com-certs
issuerRef:
name: letsencrypt-live
kind: ClusterIssuer
commonName: '*.example.com'
istio-ingressgateway:
secretVolumes:
...
- name: example-com-certs
secretName: example-com-certs
mountPath: /etc/istio/example-com-certs
...
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: service-gw
namespace: istio-system
spec:
selector:
istio: ingressgateway
servers:
- port:
@lwolf
lwolf / keybase.md
Last active September 19, 2019 18:53

Keybase proof

I hereby claim:

  • I am lwolf on github.
  • I am lwolf (https://keybase.io/lwolf) on keybase.
  • I have a public key whose fingerprint is E57E 72C7 E772 3858 8B8E 6C10 9ABA E27A C00C 66EE

To claim this, I am signing this object:

kubectl exec -it agola-gateway-pod /bin/bash
# add gitea
root$ agola remotesource create \
--name gitea \
--type gitea \
--api-url https://gitea.yourdomain.com \
--auth-type oauth2 \
--clientid $GITEA_APP_CLIENTID \
--secret $GITEA_APP_CLIENTSECRET \
--token $ADMIN_TOKEN \