-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #72 from damsien/main
✨ Chart 0.3.4
- Loading branch information
Showing
34 changed files
with
3,177 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: v2 | ||
name: syngit | ||
description: An operator to push resources onto git | ||
type: application | ||
version: 0.3.4 | ||
appVersion: 0.3.4 | ||
home: https://github.com/syngit-org/syngit | ||
icon: https://raw.githubusercontent.com/syngit-org/syngit/main/img/icon.png | ||
maintainers: | ||
- email: dassieu.damien@gmail.com | ||
name: Damien |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
syngit {{ .Chart.AppVersion }} has been deployed successfully! | ||
|
||
Information on the usage of the operator can be found here: | ||
https://github.com/syngit-org/syngit/wiki/📖-Usage | ||
|
||
More information about Syngit on the wiki: | ||
https://github.com/syngit-org/syngit/wiki |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{{- if eq .Values.webhook.certmanager.enabled true }} | ||
--- | ||
apiVersion: cert-manager.io/v1 | ||
kind: Issuer | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: certificate | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
app.kubernetes.io/component: certificate | ||
app.kubernetes.io/created-by: {{ .Release.Name }} | ||
app.kubernetes.io/part-of: {{ .Release.Name }} | ||
name: {{ .Release.Name }}-selfsigned-issuer | ||
spec: | ||
selfSigned: {} | ||
--- | ||
apiVersion: cert-manager.io/v1 | ||
kind: Certificate | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: certificate | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
app.kubernetes.io/component: certificate | ||
app.kubernetes.io/created-by: {{ .Release.Name }} | ||
app.kubernetes.io/part-of: {{ .Release.Name }} | ||
name: syngit-webhook-cert | ||
spec: | ||
dnsNames: | ||
- syngit-webhook-service.{{ .Release.Namespace }}.svc | ||
- syngit-webhook-service.{{ .Release.Namespace }}.svc.local | ||
issuerRef: | ||
kind: Issuer | ||
name: {{ .Release.Name }}-selfsigned-issuer | ||
secretName: {{ .Values.webhook.certmanager.certificate.secret }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: controller-manager | ||
labels: | ||
control-plane: controller-manager | ||
app.kubernetes.io/name: deployment | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
app.kubernetes.io/component: manager | ||
app.kubernetes.io/created-by: {{ .Release.Name }} | ||
app.kubernetes.io/part-of: {{ .Release.Name }} | ||
spec: | ||
selector: | ||
matchLabels: | ||
control-plane: controller-manager | ||
replicas: {{ .Values.controller.replicas }} | ||
template: | ||
metadata: | ||
annotations: | ||
kubectl.kubernetes.io/default-container: manager | ||
labels: | ||
control-plane: controller-manager | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
spec: | ||
{{- if .Values.controller.image.imagePullSecrets }} | ||
imagePullSecrets: | ||
{{ toYaml .Values.controller.image.imagePullSecrets | nindent 8 }} | ||
{{- end }} | ||
containers: | ||
- command: | ||
- /manager | ||
{{- if .Values.controller.image.imagePullPolicy }} | ||
imagePullPolicy: {{ .Values.controller.image.imagePullPolicy }} | ||
{{- end }} | ||
args: | ||
- "--leader-elect" | ||
- "--health-probe-bind-address=:8081" | ||
- "--metrics-bind-address=:8443" | ||
image: {{ .Values.controller.image.prefix }}/{{ .Values.controller.image.name }}:{{ .Values.controller.image.tag }} | ||
env: | ||
- name: MANAGER_NAMESPACE | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: metadata.namespace | ||
- name: DYNAMIC_WEBHOOK_NAME | ||
value: {{ .Release.Name }}-dynamic-remotesyncer-webhook | ||
name: manager | ||
securityContext: {{ toYaml .Values.controller.securityContext | nindent 10 }} | ||
livenessProbe: | ||
httpGet: | ||
path: /healthz | ||
port: 8081 | ||
initialDelaySeconds: 15 | ||
periodSeconds: 20 | ||
readinessProbe: | ||
httpGet: | ||
path: /readyz | ||
port: 8081 | ||
initialDelaySeconds: 5 | ||
periodSeconds: 10 | ||
resources: {{ toYaml .Values.controller.resources | nindent 10 }} | ||
ports: | ||
- containerPort: 9443 | ||
name: wbhk-crd-srv | ||
protocol: TCP | ||
- containerPort: 9444 | ||
name: wbhk-pusher-srv | ||
protocol: TCP | ||
volumeMounts: | ||
- mountPath: /tmp/k8s-webhook-server/serving-certs | ||
name: cert | ||
readOnly: true | ||
serviceAccountName: {{ .Release.Name }}-controller-manager | ||
terminationGracePeriodSeconds: 10 | ||
{{- if .Values.controller.tolerations }} | ||
tolerations: {{ toYaml .Values.controller.tolerations | nindent 8 }} | ||
{{- end }} | ||
volumes: | ||
- name: cert | ||
secret: | ||
defaultMode: 420 | ||
secretName: {{ .Values.webhook.certmanager.certificate.secret }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
labels: | ||
control-plane: controller-manager | ||
app.kubernetes.io/name: service | ||
app.kubernetes.io/managed-by: kustomize | ||
name: controller-manager-metrics-service | ||
namespace: {{ .Release.Namespace }} | ||
spec: | ||
ports: | ||
- name: https | ||
port: 8443 | ||
protocol: TCP | ||
targetPort: 8443 | ||
selector: | ||
control-plane: controller-manager |
Oops, something went wrong.