Compare commits

..

27 commits

Author SHA1 Message Date
e997d46ba0 Update operator/fleet.yaml 2024-12-27 14:03:34 -08:00
8d0880aba7 Update README.md 2024-11-19 15:58:39 -08:00
3b21ca0b33 Add MIT License before making public 2024-10-31 14:43:42 -07:00
644c0296ef Update README.md 2024-10-25 15:20:30 -07:00
3eaf003fc5 Update README.md 2024-10-25 15:19:35 -07:00
593c5347da Update README.md 2024-10-25 15:13:23 -07:00
200c4801bb Wait at least 10 minutes for cert-manager to finish 2024-10-25 15:09:15 -07:00
2367f01653 Update operator/fleet.yaml 2024-10-25 14:26:00 -07:00
ae4cea2feb Update manifests/cert-manager-cluster-issuer.yaml 2024-10-25 14:23:27 -07:00
4bc8155017 Update manifests/fleet.yaml 2024-10-25 12:32:21 -07:00
2a1c419fee Merge branch 'main' of git.lsit.ucsb.edu:LSIT-Systems/fleet-cert-manager 2024-03-08 15:23:15 -08:00
38a673c715 Little bit of cleanup 2024-03-08 15:22:58 -08:00
1a20aeda0c Update README.md 2024-03-08 15:09:30 -08:00
195eb29272 Fix typo in annotation 2024-03-08 13:16:41 -08:00
ea24076b67 Still trying to make it happy with namespace refs 2024-03-08 13:01:15 -08:00
1c371a7abe Still trying to make it happy with namespace refs 2024-03-08 12:47:41 -08:00
4dac629bca Still trying to make it happy with namespace refs 2024-03-08 12:43:11 -08:00
4784b1a784 Still trying to make it happy with namespace refs 2024-03-08 12:32:33 -08:00
a5952b0fba Still trying to make it happy with namespace refs 2024-03-08 12:27:37 -08:00
5b88d77a69 Try without default namespace 2024-03-08 12:22:59 -08:00
d733c8d5d0 Set clusterIssuer to be default namespace 2024-03-08 12:21:34 -08:00
12a3e71a2f Point DependOn to right bundle 2024-03-08 12:16:30 -08:00
b36eea699c Refactor to attempt to get clusterissuer and helm all happy together 2024-03-08 12:09:18 -08:00
23aef1d662 Make helm adopt cert-manager 2024-03-08 11:26:58 -08:00
bfd86c29ce Revert "Move manifests to sub-path"
This reverts commit 1985fc00a3.
2024-03-08 11:10:55 -08:00
1985fc00a3 Move manifests to sub-path 2024-03-08 10:57:07 -08:00
866a2f6cf0 Add manifest for cluster-issuer 2024-03-08 10:47:42 -08:00
5 changed files with 67 additions and 1 deletions

7
LICENSE Normal file
View file

@ -0,0 +1,7 @@
Copyright 2024 University of California, Santa Barbara
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

29
README.md Normal file
View file

@ -0,0 +1,29 @@
Fleet Cert Manager
==================
Automate cert-manager with Fleet. This deploys cert-manager via Helm and includes a curated ClusterIssuer for LetsEncrypt for nginx and traefik ingesses.
## Example GitRepo object
```
apiVersion: fleet.cattle.io/v1alpha1
kind: GitRepo
metadata:
name: cert-manager-lsit
namespace: fleet-default
#For rancher manager, also deploy this to fleet-local namespace
spec:
branch: main
correctDrift:
enabled: true
force: true
keepResources: true
paths:
- operator
- manifests
repo: https://git.lsit.ucsb.edu/LSIT-Systems/fleet-cert-manager
targetNamespace: ''
# To limit by label:
#targets:
# - clusterGroup: dev
```

View file

@ -0,0 +1,22 @@
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt-issuer
labels:
app.kubernetes.io/managed-by: Helm
annotations:
meta.helm.sh/release-name: cert-manager-lsit-manifests
meta.helm.sh/release-namespace: default
spec:
acme:
email: lsitops@lsit.ucsb.edu
privateKeySecretRef:
name: letsencrypt-key
server: https://acme-v02.api.letsencrypt.org/directory
solvers:
- http01:
ingress:
ingressClassName: nginx
- http01:
ingress:
ingressClassName: traefik

4
manifests/fleet.yaml Normal file
View file

@ -0,0 +1,4 @@
correctDrift:
enabled: true
dependsOn:
- name: cert-manager-lsit-operator

View file

@ -3,9 +3,13 @@ helm:
repo: https://charts.jetstack.io
releaseName: cert-manager
chart: cert-manager
takeOwnership: true
timeoutSeconds: 600
waitForJobs: true
values:
namespace: cert-manager
installCRDs: true
crds:
enabled: true
targetCustomizations:
- name: prod
helm: