Skip to content

Commit

Permalink
update operator chart CRDs (#455)
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaByte875 authored Feb 27, 2024
1 parent d9f5d39 commit 5d6c593
Show file tree
Hide file tree
Showing 10 changed files with 5,751 additions and 7 deletions.
2 changes: 2 additions & 0 deletions Dockerfile.multiarch
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ RUN mv ./kubectl /usr/local/bin
ADD charts/nebula-operator/crds/nebulaautoscalers.yaml /tmp/nebula-operator/nebulaautoscalers.yaml
ADD charts/nebula-operator/crds/nebulaclusters.yaml /tmp/nebula-operator/nebulaclusters.yaml
ADD charts/nebula-operator/crds/nebularestores.yaml /tmp/nebula-operator/nebularestores.yaml
ADD charts/nebula-operator/crds/nebulabackups.yaml /tmp/nebula-operator/nebulabackups.yaml
ADD charts/nebula-operator/crds/nebulacronbackups.yaml /tmp/nebula-operator/nebulacronbackups.yaml

ADD bin/${TARGETPLATFORM}/controller-manager /usr/local/bin/controller-manager
ADD bin/${TARGETPLATFORM}/autoscaler /usr/local/bin/autoscaler
Expand Down
8 changes: 8 additions & 0 deletions charts/nebula-cluster/templates/nebula-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,14 @@ spec:
image: {{ .Values.nebula.agent.image }}
version: {{ .Values.nebula.agent.version }}
resources: {{ toYaml .Values.nebula.agent.resources | nindent 6 }}
{{- with .Values.nebula.agent.env }}
env:
{{ toYaml . | nindent 6 }}
{{- end }}
{{- with .Values.nebula.agent.volumeMounts }}
volumeMounts:
{{- toYaml . | nindent 6 }}
{{- end }}
console:
username: {{ .Values.nebula.console.username }}
password: {{ .Values.nebula.console.password }}
Expand Down
2 changes: 2 additions & 0 deletions charts/nebula-cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@ nebula:
limits:
cpu: "200m"
memory: "256Mi"
env: []
volumeMounts: []

console:
username: root
Expand Down
2,598 changes: 2,598 additions & 0 deletions charts/nebula-operator/crds/nebulabackups.yaml

Large diffs are not rendered by default.

88 changes: 87 additions & 1 deletion charts/nebula-operator/crds/nebulaclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,70 @@ spec:
type: object
agent:
properties:
env:
items:
properties:
name:
type: string
value:
type: string
valueFrom:
properties:
configMapKeyRef:
properties:
key:
type: string
name:
type: string
optional:
type: boolean
required:
- key
type: object
x-kubernetes-map-type: atomic
fieldRef:
properties:
apiVersion:
type: string
fieldPath:
type: string
required:
- fieldPath
type: object
x-kubernetes-map-type: atomic
resourceFieldRef:
properties:
containerName:
type: string
divisor:
anyOf:
- type: integer
- type: string
pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
x-kubernetes-int-or-string: true
resource:
type: string
required:
- resource
type: object
x-kubernetes-map-type: atomic
secretKeyRef:
properties:
key:
type: string
name:
type: string
optional:
type: boolean
required:
- key
type: object
x-kubernetes-map-type: atomic
type: object
required:
- name
type: object
type: array
image:
type: string
resources:
Expand Down Expand Up @@ -463,7 +527,28 @@ spec:
type: object
type: object
version:
default: latest
type: string
volumeMounts:
items:
properties:
mountPath:
type: string
mountPropagation:
type: string
name:
type: string
readOnly:
type: boolean
subPath:
type: string
subPathExpr:
type: string
required:
- mountPath
- name
type: object
type: array
type: object
alpineImage:
type: string
Expand Down Expand Up @@ -3199,7 +3284,6 @@ spec:
- image
type: object
failoverPeriod:
default: 5m
type: string
graphd:
properties:
Expand Down Expand Up @@ -8827,6 +8911,8 @@ spec:
serverKey:
default: tls.key
type: string
serverName:
type: string
serverSecret:
type: string
type: object
Expand Down
Loading

0 comments on commit 5d6c593

Please sign in to comment.