Compare commits
2 Commits
aef5684d91
...
4da9a67c36
Author | SHA1 | Date | |
---|---|---|---|
4da9a67c36 | |||
d9265f3c27 |
@ -1,7 +1,7 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
name: fp
|
name: fp
|
||||||
description: The Galaxy's Best VTuber Hentai Site
|
description: The Galaxy's Best VTuber Hentai Site
|
||||||
version: 0.0.28
|
version: 0.0.30
|
||||||
keywords:
|
keywords:
|
||||||
- fp
|
- fp
|
||||||
- futureporn
|
- futureporn
|
||||||
|
@ -69,7 +69,7 @@ subjects:
|
|||||||
name: cert-manager-webhook-exoscale
|
name: cert-manager-webhook-exoscale
|
||||||
|
|
||||||
---
|
---
|
||||||
{{ if eq .Values.environment "staging" }}
|
{{ if eq .Values.environment "development" }}
|
||||||
apiVersion: cert-manager.io/v1
|
apiVersion: cert-manager.io/v1
|
||||||
kind: ClusterIssuer
|
kind: ClusterIssuer
|
||||||
metadata:
|
metadata:
|
||||||
@ -98,28 +98,4 @@ spec:
|
|||||||
key: apiSecret
|
key: apiSecret
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if eq .Values.environment "production" }}
|
## in staging and production, ClusterIssuer is created by Flux2/Kustomize. (not Helm)
|
||||||
---
|
|
||||||
apiVersion: cert-manager.io/v1
|
|
||||||
kind: ClusterIssuer
|
|
||||||
metadata:
|
|
||||||
name: letsencrypt-prod
|
|
||||||
spec:
|
|
||||||
acme:
|
|
||||||
server: https://acme-v02.api.letsencrypt.org/directory
|
|
||||||
email: {{ .Values.adminEmail }}
|
|
||||||
privateKeySecretRef:
|
|
||||||
name: letsencrypt-prod
|
|
||||||
solvers:
|
|
||||||
- dns01:
|
|
||||||
webhook:
|
|
||||||
groupName: acme.exoscale.com
|
|
||||||
solverName: exoscale
|
|
||||||
config:
|
|
||||||
apiKeyRef:
|
|
||||||
name: exoscale
|
|
||||||
key: apiKey
|
|
||||||
apiSecretRef:
|
|
||||||
name: exoscale
|
|
||||||
key: apiSecret
|
|
||||||
{{ end }}
|
|
@ -15,42 +15,42 @@ spec:
|
|||||||
prune: true
|
prune: true
|
||||||
wait: true
|
wait: true
|
||||||
|
|
||||||
# ---
|
---
|
||||||
# apiVersion: kustomize.toolkit.fluxcd.io/v1
|
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||||
# kind: Kustomization
|
kind: Kustomization
|
||||||
# metadata:
|
metadata:
|
||||||
# name: infra-configs
|
name: infra-configs
|
||||||
# namespace: flux-system
|
namespace: flux-system
|
||||||
# spec:
|
spec:
|
||||||
# dependsOn:
|
dependsOn:
|
||||||
# - name: infra-controllers
|
- name: infra-controllers
|
||||||
# interval: 1h
|
interval: 1h
|
||||||
# retryInterval: 1m
|
retryInterval: 1m
|
||||||
# timeout: 5m
|
timeout: 5m
|
||||||
# sourceRef:
|
sourceRef:
|
||||||
# kind: GitRepository
|
kind: GitRepository
|
||||||
# name: flux-system
|
name: flux-system
|
||||||
# path: ./infrastructure/configs
|
path: ./infrastructure/configs
|
||||||
# prune: true
|
prune: true
|
||||||
# patches:
|
patches:
|
||||||
# - patch: |
|
- patch: |
|
||||||
# - op: replace
|
- op: replace
|
||||||
# path: /spec/acme/server
|
path: /spec/acme/server
|
||||||
# value: https://acme-staging-v02.api.letsencrypt.org/directory
|
value: https://acme-staging-v02.api.letsencrypt.org/directory
|
||||||
# target:
|
target:
|
||||||
# kind: ClusterIssuer
|
kind: ClusterIssuer
|
||||||
# name: letsencrypt
|
name: letsencrypt
|
||||||
# - patch: |
|
- patch: |
|
||||||
# - op: replace
|
- op: replace
|
||||||
# path: /metadata/name
|
path: /metadata/name
|
||||||
# value: letsencrypt-staging
|
value: letsencrypt-staging
|
||||||
# target:
|
target:
|
||||||
# kind: ClusterIssuer
|
kind: ClusterIssuer
|
||||||
# name: letsencrypt
|
name: letsencrypt
|
||||||
# - patch: |
|
- patch: |
|
||||||
# - op: replace
|
- op: replace
|
||||||
# path: /spec/acme/privateKeySecretRef/name
|
path: /spec/acme/privateKeySecretRef/name
|
||||||
# value: letsencrypt-staging
|
value: letsencrypt-staging
|
||||||
# target:
|
target:
|
||||||
# kind: ClusterIssuer
|
kind: ClusterIssuer
|
||||||
# name: letsencrypt
|
name: letsencrypt
|
@ -1,4 +1,4 @@
|
|||||||
## Example values are replaced using Kuztomization patches
|
## Example values are replaced using environment-specific Kuztomization patches
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: cert-manager.io/v1
|
apiVersion: cert-manager.io/v1
|
||||||
@ -18,6 +18,14 @@ spec:
|
|||||||
privateKeySecretRef:
|
privateKeySecretRef:
|
||||||
name: letsencrypt
|
name: letsencrypt
|
||||||
solvers:
|
solvers:
|
||||||
- http01:
|
- dns01:
|
||||||
ingress:
|
webhook:
|
||||||
class: traefik
|
groupName: acme.exoscale.com
|
||||||
|
solverName: exoscale
|
||||||
|
config:
|
||||||
|
apiKeyRef:
|
||||||
|
name: exoscale
|
||||||
|
key: apiKey
|
||||||
|
apiSecretRef:
|
||||||
|
name: exoscale
|
||||||
|
key: apiSecret
|
Loading…
x
Reference in New Issue
Block a user