Skip to content

Commit

Permalink
feat: wildcard cert, fix membership list styles, try to fix exception…
Browse files Browse the repository at this point in the history
… logging
  • Loading branch information
thejoeejoee committed Nov 9, 2023
1 parent 992b512 commit 7282b95
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 1 deletion.
33 changes: 33 additions & 0 deletions charts/templates/certs/scw-webhook-sa-rb.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{{/* to allow SA of scw-webhook read secrets in fiesta ns with dns api credentials*/}}

apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: scaleway-webhook:secrets-reader
namespace: fiesta
labels:
{{- include "fiesta.labels" . | nindent 4 }}
rules:
- apiGroups:
- ""
resources:
- secrets
verbs:
- get

---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: github-actions-token
namespace: fiesta
labels:
{{- include "fiesta.labels" . | nindent 4 }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: scaleway-webhook:secrets-reader
subjects:
- kind: ServiceAccount
name: scaleway-webhook
namespace: cert-manager
1 change: 1 addition & 0 deletions charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ ingress:
extraHosts:
- esnvutbrno.fiesta.plus
- esnhawaii.fiesta.plus
- "*.fiesta.plus"

web:
repository: nginxdemos/hello
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ <h1 class="card-title">My Memberships</h1>
</div>
</li>
{% endfor %}
<li class="py-6 flex flex-row justify-between items-center">
<li class="py-6 flex flex-col md:flex-row justify-between items-center">
<h1 class="text-base-content text-lg font-medium">Your section is not here?</h1>
<a class="btn btn-wide btn-primary"
href="{% url "accounts:membership-new" %}">Request new membership</a>
Expand Down
5 changes: 5 additions & 0 deletions fiesta/fiesta/settings/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ def LOGGING(self):
"level": self.LOG_LEVEL,
"propagate": False,
},
"django.request": {
"handlers": ["console"],
"level": self.LOG_LEVEL,
"propagate": False,
},
"django.server": {
"handlers": ["console.server"],
"level": self.LOG_LEVEL,
Expand Down
5 changes: 5 additions & 0 deletions fiesta/templates/fiesta/parts/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
<span class="mx-auto">
<a href="{% url "public:team" %}">Our Team</a>
</span>
<span class="mx-auto">
<a href="https://t.me/+n51mwgfqohszNDRk"
rel="nofollow,noreferer,noopener"
target="_blank">Support</a>
</span>
<span class="inline-flex sm:ml-auto sm:mt-0 mt-4 justify-center sm:justify-start">
<a>
<svg fill="currentColor"
Expand Down

0 comments on commit 7282b95

Please sign in to comment.