use helm clusterissuer instead of kustomize
ci / build (push) Waiting to run
Details
ci / build (push) Waiting to run
Details
This commit is contained in:
parent
151c03dd0a
commit
3ebd2231f2
|
@ -1,7 +1,7 @@
|
|||
apiVersion: v1
|
||||
name: fp
|
||||
description: The Galaxy's Best VTuber Hentai Site
|
||||
version: 0.0.26
|
||||
version: 0.0.27
|
||||
keywords:
|
||||
- fp
|
||||
- futureporn
|
||||
|
|
|
@ -96,7 +96,6 @@ spec:
|
|||
apiSecretRef:
|
||||
name: exoscale
|
||||
key: apiSecret
|
||||
|
||||
{{ end }}
|
||||
|
||||
{{ if eq .Values.environment "production" }}
|
||||
|
@ -107,7 +106,6 @@ metadata:
|
|||
name: letsencrypt-prod
|
||||
spec:
|
||||
acme:
|
||||
# server: https://acme-staging-v02.api.letsencrypt.org/directory
|
||||
server: https://acme-v02.api.letsencrypt.org/directory
|
||||
email: {{ .Values.adminEmail }}
|
||||
privateKeySecretRef:
|
||||
|
|
|
@ -15,42 +15,42 @@ spec:
|
|||
prune: true
|
||||
wait: true
|
||||
|
||||
---
|
||||
apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
kind: Kustomization
|
||||
metadata:
|
||||
name: infra-configs
|
||||
namespace: flux-system
|
||||
spec:
|
||||
dependsOn:
|
||||
- name: infra-controllers
|
||||
interval: 1h
|
||||
retryInterval: 1m
|
||||
timeout: 5m
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
name: flux-system
|
||||
path: ./infrastructure/configs
|
||||
prune: true
|
||||
patches:
|
||||
- patch: |
|
||||
- op: replace
|
||||
path: /spec/acme/server
|
||||
value: https://acme-staging-v02.api.letsencrypt.org/directory
|
||||
target:
|
||||
kind: ClusterIssuer
|
||||
name: letsencrypt
|
||||
- patch: |
|
||||
- op: replace
|
||||
path: /metadata/name
|
||||
value: letsencrypt-staging
|
||||
target:
|
||||
kind: ClusterIssuer
|
||||
name: letsencrypt
|
||||
- patch: |
|
||||
- op: replace
|
||||
path: /spec/acme/privateKeySecretRef/name
|
||||
value: letsencrypt-staging
|
||||
target:
|
||||
kind: ClusterIssuer
|
||||
name: letsencrypt
|
||||
# ---
|
||||
# apiVersion: kustomize.toolkit.fluxcd.io/v1
|
||||
# kind: Kustomization
|
||||
# metadata:
|
||||
# name: infra-configs
|
||||
# namespace: flux-system
|
||||
# spec:
|
||||
# dependsOn:
|
||||
# - name: infra-controllers
|
||||
# interval: 1h
|
||||
# retryInterval: 1m
|
||||
# timeout: 5m
|
||||
# sourceRef:
|
||||
# kind: GitRepository
|
||||
# name: flux-system
|
||||
# path: ./infrastructure/configs
|
||||
# prune: true
|
||||
# patches:
|
||||
# - patch: |
|
||||
# - op: replace
|
||||
# path: /spec/acme/server
|
||||
# value: https://acme-staging-v02.api.letsencrypt.org/directory
|
||||
# target:
|
||||
# kind: ClusterIssuer
|
||||
# name: letsencrypt
|
||||
# - patch: |
|
||||
# - op: replace
|
||||
# path: /metadata/name
|
||||
# value: letsencrypt-staging
|
||||
# target:
|
||||
# kind: ClusterIssuer
|
||||
# name: letsencrypt
|
||||
# - patch: |
|
||||
# - op: replace
|
||||
# path: /spec/acme/privateKeySecretRef/name
|
||||
# value: letsencrypt-staging
|
||||
# target:
|
||||
# kind: ClusterIssuer
|
||||
# name: letsencrypt
|
|
@ -1,3 +1,10 @@
|
|||
|
||||
# DEPRECATED. this is referenced in ../../clusters/{staging,production}/infrastructure.yaml
|
||||
# and it's commented out which makes it not active.
|
||||
# It's easier to reason and understand if we create the cluster-issuers in charts/fp/templates
|
||||
# because if we do it here, we must make it Helm adoptable using annotations.
|
||||
# why not just invoke it from Helm? seems better suited for there.
|
||||
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
|
|
|
@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||
kind: Kustomization
|
||||
resources:
|
||||
# - external-dns.yaml
|
||||
- cert-manager.yaml
|
||||
# - cert-manager.yaml
|
||||
- ingress-traefik.yaml
|
||||
- grafana-k8s-dashboards.yaml
|
||||
- kube-prometheus-stack.yaml
|
Loading…
Reference in New Issue