Skip to content

Instantly share code, notes, and snippets.

Avatar
🤑
Hola mi amigo

Eric Shen ericsyh

🤑
Hola mi amigo
View GitHub Profile
View flink-cluster.yaml
View sql-gateway.yaml
apiVersion: flinksql.streamnative.io/v1alpha1
kind: FlinkSqlGateway
metadata:
labels:
app: sql-gateway
name: sql-gateway
namespace: snp
spec:
catalogs:
- name: pulsar
View istio-gateway-certs.yaml
apiVersion: v1
kind: Namespace
metadata:
name: istio-system
---
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: selfsigned-issuer
spec:
View docker-hub-tag-list.go
package main
import (
"encoding/json"
"flag"
"fmt"
"io/ioutil"
"net/http"
"time"
)
@ericsyh
ericsyh / cert-manager-selfsigned-for-istio.yaml
Last active May 12, 2022
kubectl get secret root-secret -o=jsonpath='{.data.ca\.crt}' -n istio-system | base64 --decode -> ca.crt
View cert-manager-selfsigned-for-istio.yaml
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: selfsigned-issuer
spec:
selfSigned: {}
---
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
View local-path-storage.yaml
apiVersion: v1
kind: Namespace
metadata:
name: local-path-storage
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: local-path-provisioner-service-account
View nfs-client-provisioner.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
name: nfs-client-provisioner
# replace with namespace where provisioner is deployed
namespace: nfs
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata: