feat: add go-task, set up prettier, format yaml (#50)
This commit is contained in:
1 parent
99370f6d8d
commit
525be88214
53 files changed
+386
-251
No files matched your search
@@ -5,7 +5,7 @@ metadata:
|
||||
name: homer-config
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
- ReadWriteOnce
|
||||
storageClassName: local-path
|
||||
resources:
|
||||
requests:
|
||||
|
||||
@@ -26,13 +26,13 @@ spec:
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: "nginx"
|
||||
hosts:
|
||||
- host: "homer.${SECRET_DOMAIN}"
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
- host: "homer.${SECRET_DOMAIN}"
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
tls:
|
||||
- hosts:
|
||||
- "homer.${SECRET_DOMAIN}"
|
||||
- hosts:
|
||||
- "homer.${SECRET_DOMAIN}"
|
||||
persistence:
|
||||
config:
|
||||
enabled: true
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- config-pvc.yaml
|
||||
- helm-release.yaml
|
||||
- config-pvc.yaml
|
||||
- helm-release.yaml
|
||||
@@ -1,4 +1,4 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- homer
|
||||
- homer
|
||||
@@ -1,6 +1,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- default
|
||||
- networking
|
||||
- system-upgrade
|
||||
- default
|
||||
- networking
|
||||
- system-upgrade
|
||||
@@ -1,4 +1,4 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- helm-release.yaml
|
||||
- helm-release.yaml
|
||||
@@ -1,5 +1,5 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ingress-nginx
|
||||
- wildcard-certificate
|
||||
- ingress-nginx
|
||||
- wildcard-certificate
|
||||
@@ -11,5 +11,5 @@ spec:
|
||||
kind: ClusterIssuer
|
||||
commonName: "${SECRET_DOMAIN}"
|
||||
dnsNames:
|
||||
- "${SECRET_DOMAIN}"
|
||||
- "*.${SECRET_DOMAIN}"
|
||||
- "${SECRET_DOMAIN}"
|
||||
- "*.${SECRET_DOMAIN}"
|
||||
@@ -1,4 +1,4 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- certificate.yaml
|
||||
- certificate.yaml
|
||||
@@ -2,4 +2,4 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- system-upgrade-controller
|
||||
- system-upgrade-controller
|
||||
@@ -12,14 +12,14 @@ spec:
|
||||
channel: https://update.k3s.io/v1-release/channels/v1.20
|
||||
nodeSelector:
|
||||
matchExpressions:
|
||||
- key: node-role.kubernetes.io/master
|
||||
operator: NotIn
|
||||
values:
|
||||
- "true"
|
||||
- key: node-role.kubernetes.io/master
|
||||
operator: NotIn
|
||||
values:
|
||||
- "true"
|
||||
prepare:
|
||||
image: rancher/k3s-upgrade
|
||||
args:
|
||||
- "prepare"
|
||||
- "k3s-server"
|
||||
- "prepare"
|
||||
- "k3s-server"
|
||||
upgrade:
|
||||
image: rancher/k3s-upgrade
|
||||
@@ -2,5 +2,5 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- server-plan.yaml
|
||||
- agent-plan.yaml
|
||||
- server-plan.yaml
|
||||
- agent-plan.yaml
|
||||
@@ -11,12 +11,12 @@ spec:
|
||||
cordon: true
|
||||
nodeSelector:
|
||||
matchExpressions:
|
||||
- key: node-role.kubernetes.io/master
|
||||
operator: In
|
||||
values:
|
||||
- "true"
|
||||
- key: node-role.kubernetes.io/master
|
||||
operator: In
|
||||
values:
|
||||
- "true"
|
||||
tolerations:
|
||||
- key: "node-role.kubernetes.io/master"
|
||||
operator: "Exists"
|
||||
- key: "node-role.kubernetes.io/master"
|
||||
operator: "Exists"
|
||||
upgrade:
|
||||
image: rancher/k3s-upgrade
|
||||
Reference in new issue
Block a user