Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions charts/accumulo/templates/accumulo-compactor-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

#

{{- if .Values.accumulo.compactor.enabled }}
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "accumulo.fullname" . }}-compactor
name: {{include "accumulo.fullname" .}}-compactor
labels:
{{- $component := "compactor" }}
{{- include "accumulo.componentLabels" (dict "Chart" .Chart "Release" .Release "Values" .Values "component" $component) | nindent 4 }}
{{- include "accumulo.componentLabels" (dict "Chart" .Chart "Release" .Release "Values" .Values "component" $component) | nindent 4 }}
{{- with .Values.global.commonAnnotations }}
annotations:
{{- toYaml . | nindent 4 }}
Expand All @@ -34,12 +34,12 @@ spec:
selector:
matchLabels:
{{- include "accumulo.selectorLabels" . | nindent 6 }}
app.kubernetes.io/component: compactor
app.kubernetes.io/component: compactor
template:
metadata:
labels:
{{- include "accumulo.selectorLabels" . | nindent 8 }}
app.kubernetes.io/component: compactor
app.kubernetes.io/component: compactor
{{- with .Values.global.commonAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
Expand All @@ -51,7 +51,7 @@ spec:
{{- $podAntiAffinity := .Values.accumulo.compactor.podAntiAffinity }}
{{- include "accumulo.podAntiAffinity" (dict "Chart" .Chart "Release" .Release "Values" .Values "component" $component "podAntiAffinity" $podAntiAffinity) | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "accumulo.serviceAccountName" . }}
serviceAccountName: {{include "accumulo.serviceAccountName" .}}
initContainers:
- name: wait-for-manager
image: busybox:1.35
Expand All @@ -60,7 +60,7 @@ spec:
- -c
- |
echo "Waiting for Accumulo manager to be ready..."
until nc -z {{ include "accumulo.fullname" . }}-manager 9999; do
until nc -z {{include "accumulo.fullname" .}}-manager 9999; do
echo "Waiting for manager..."
sleep 5
done
Expand Down Expand Up @@ -97,8 +97,8 @@ spec:
volumes:
- name: accumulo-config
configMap:
name: {{ include "accumulo.fullname" . }}-config
name: {{include "accumulo.fullname" .}}-config
defaultMode: 0755
- name: logs
emptyDir: {}
{{- end }}
{{- end }}
18 changes: 9 additions & 9 deletions charts/accumulo/templates/accumulo-gc-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

#

{{- if .Values.accumulo.gc.enabled }}
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "accumulo.fullname" . }}-gc
name: {{include "accumulo.fullname" .}}-gc
labels:
{{- $component := "gc" }}
{{- include "accumulo.componentLabels" (dict "Chart" .Chart "Release" .Release "Values" .Values "component" $component) | nindent 4 }}
{{- include "accumulo.componentLabels" (dict "Chart" .Chart "Release" .Release "Values" .Values "component" $component) | nindent 4 }}
{{- with .Values.global.commonAnnotations }}
annotations:
{{- toYaml . | nindent 4 }}
Expand All @@ -34,18 +34,18 @@ spec:
selector:
matchLabels:
{{- include "accumulo.selectorLabels" . | nindent 6 }}
app.kubernetes.io/component: gc
app.kubernetes.io/component: gc
template:
metadata:
labels:
{{- include "accumulo.selectorLabels" . | nindent 8 }}
app.kubernetes.io/component: gc
app.kubernetes.io/component: gc
{{- with .Values.global.commonAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
serviceAccountName: {{ include "accumulo.serviceAccountName" . }}
serviceAccountName: {{include "accumulo.serviceAccountName" .}}
initContainers:
- name: wait-for-manager
image: busybox:1.35
Expand All @@ -54,7 +54,7 @@ spec:
- -c
- |
echo "Waiting for Accumulo manager to be ready..."
until nc -z {{ include "accumulo.fullname" . }}-manager 9999; do
until nc -z {{include "accumulo.fullname" .}}-manager 9999; do
echo "Waiting for manager..."
sleep 5
done
Expand Down Expand Up @@ -89,8 +89,8 @@ spec:
volumes:
- name: accumulo-config
configMap:
name: {{ include "accumulo.fullname" . }}-config
name: {{include "accumulo.fullname" .}}-config
defaultMode: 0755
- name: logs
emptyDir: {}
{{- end }}
{{- end }}
20 changes: 10 additions & 10 deletions charts/accumulo/templates/accumulo-manager-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

#

{{- if .Values.accumulo.manager.enabled }}
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "accumulo.fullname" . }}-manager
name: {{include "accumulo.fullname" .}}-manager
labels:
{{- $component := "manager" }}
{{- include "accumulo.componentLabels" (dict "Chart" .Chart "Release" .Release "Values" .Values "component" $component) | nindent 4 }}
{{- include "accumulo.componentLabels" (dict "Chart" .Chart "Release" .Release "Values" .Values "component" $component) | nindent 4 }}
{{- with .Values.global.commonAnnotations }}
annotations:
{{- toYaml . | nindent 4 }}
Expand All @@ -34,12 +34,12 @@ spec:
selector:
matchLabels:
{{- include "accumulo.selectorLabels" . | nindent 6 }}
app.kubernetes.io/component: manager
app.kubernetes.io/component: manager
template:
metadata:
labels:
{{- include "accumulo.selectorLabels" . | nindent 8 }}
app.kubernetes.io/component: manager
app.kubernetes.io/component: manager
{{- with .Values.global.commonAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
Expand All @@ -51,7 +51,7 @@ spec:
{{- $podAntiAffinity := .Values.accumulo.manager.podAntiAffinity }}
{{- include "accumulo.podAntiAffinity" (dict "Chart" .Chart "Release" .Release "Values" .Values "component" $component "podAntiAffinity" $podAntiAffinity) | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "accumulo.serviceAccountName" . }}
serviceAccountName: {{include "accumulo.serviceAccountName" .}}
initContainers:
- name: wait-for-zookeeper
image: busybox:1.35
Expand All @@ -72,7 +72,7 @@ spec:
- -c
- |
echo "Waiting for Alluxio master to be ready..."
until nc -z {{ include "accumulo.fullname" . }}-alluxio-master 19998; do
until nc -z {{include "accumulo.fullname" .}}-alluxio-master 19998; do
echo "Waiting for Alluxio master..."
sleep 5
done
Expand All @@ -89,7 +89,7 @@ spec:
echo "Accumulo instance '{{ .Values.accumulo.instance.name }}' already exists"
exit 0
fi

echo "Initializing Accumulo instance '{{ .Values.accumulo.instance.name }}'"
/opt/accumulo/bin/accumulo init \
--instance-name {{ .Values.accumulo.instance.name }} \
Expand Down Expand Up @@ -157,8 +157,8 @@ spec:
volumes:
- name: accumulo-config
configMap:
name: {{ include "accumulo.fullname" . }}-config
name: {{include "accumulo.fullname" .}}-config
defaultMode: 0755
- name: logs
emptyDir: {}
{{- end }}
{{- end }}
12 changes: 6 additions & 6 deletions charts/accumulo/templates/accumulo-manager-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

#

{{- if .Values.accumulo.manager.enabled }}
apiVersion: v1
kind: Service
metadata:
name: {{ include "accumulo.fullname" . }}-manager
name: {{include "accumulo.fullname" .}}-manager
labels:
{{- include "accumulo.labels" . | nindent 4 }}
app.kubernetes.io/component: manager
{{- include "accumulo.labels" . | nindent 4}}
app.kubernetes.io/component: manager
{{- with .Values.global.commonAnnotations }}
annotations:
{{- toYaml . | nindent 4 }}
Expand All @@ -42,5 +42,5 @@ spec:
protocol: TCP
selector:
{{- include "accumulo.selectorLabels" . | nindent 4 }}
app.kubernetes.io/component: manager
{{- end }}
app.kubernetes.io/component: manager
{{- end }}
18 changes: 9 additions & 9 deletions charts/accumulo/templates/accumulo-monitor-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

#

{{- if .Values.accumulo.monitor.enabled }}
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "accumulo.fullname" . }}-monitor
name: {{include "accumulo.fullname" .}}-monitor
labels:
{{- $component := "monitor" }}
{{- include "accumulo.componentLabels" (dict "Chart" .Chart "Release" .Release "Values" .Values "component" $component) | nindent 4 }}
{{- include "accumulo.componentLabels" (dict "Chart" .Chart "Release" .Release "Values" .Values "component" $component) | nindent 4 }}
{{- with .Values.global.commonAnnotations }}
annotations:
{{- toYaml . | nindent 4 }}
Expand All @@ -34,18 +34,18 @@ spec:
selector:
matchLabels:
{{- include "accumulo.selectorLabels" . | nindent 6 }}
app.kubernetes.io/component: monitor
app.kubernetes.io/component: monitor
template:
metadata:
labels:
{{- include "accumulo.selectorLabels" . | nindent 8 }}
app.kubernetes.io/component: monitor
app.kubernetes.io/component: monitor
{{- with .Values.global.commonAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
serviceAccountName: {{ include "accumulo.serviceAccountName" . }}
serviceAccountName: {{include "accumulo.serviceAccountName" .}}
initContainers:
- name: wait-for-manager
image: busybox:1.35
Expand All @@ -54,7 +54,7 @@ spec:
- -c
- |
echo "Waiting for Accumulo manager to be ready..."
until nc -z {{ include "accumulo.fullname" . }}-manager 9999; do
until nc -z {{include "accumulo.fullname" .}}-manager 9999; do
echo "Waiting for manager..."
sleep 5
done
Expand Down Expand Up @@ -107,8 +107,8 @@ spec:
volumes:
- name: accumulo-config
configMap:
name: {{ include "accumulo.fullname" . }}-config
name: {{include "accumulo.fullname" .}}-config
defaultMode: 0755
- name: logs
emptyDir: {}
{{- end }}
{{- end }}
12 changes: 6 additions & 6 deletions charts/accumulo/templates/accumulo-monitor-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

#

{{- if .Values.accumulo.monitor.enabled }}
apiVersion: v1
kind: Service
metadata:
name: {{ include "accumulo.fullname" . }}-monitor
name: {{include "accumulo.fullname" .}}-monitor
labels:
{{- include "accumulo.labels" . | nindent 4 }}
app.kubernetes.io/component: monitor
{{- include "accumulo.labels" . | nindent 4}}
app.kubernetes.io/component: monitor
{{- with .Values.global.commonAnnotations }}
annotations:
{{- toYaml . | nindent 4 }}
Expand All @@ -38,5 +38,5 @@ spec:
protocol: TCP
selector:
{{- include "accumulo.selectorLabels" . | nindent 4 }}
app.kubernetes.io/component: monitor
{{- end }}
app.kubernetes.io/component: monitor
{{- end }}
18 changes: 9 additions & 9 deletions charts/accumulo/templates/accumulo-tserver-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

#

{{- if .Values.accumulo.tserver.enabled }}
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "accumulo.fullname" . }}-tserver
name: {{include "accumulo.fullname" .}}-tserver
labels:
{{- $component := "tserver" }}
{{- include "accumulo.componentLabels" (dict "Chart" .Chart "Release" .Release "Values" .Values "component" $component) | nindent 4 }}
{{- include "accumulo.componentLabels" (dict "Chart" .Chart "Release" .Release "Values" .Values "component" $component) | nindent 4 }}
{{- with .Values.global.commonAnnotations }}
annotations:
{{- toYaml . | nindent 4 }}
Expand All @@ -34,12 +34,12 @@ spec:
selector:
matchLabels:
{{- include "accumulo.selectorLabels" . | nindent 6 }}
app.kubernetes.io/component: tserver
app.kubernetes.io/component: tserver
template:
metadata:
labels:
{{- include "accumulo.selectorLabels" . | nindent 8 }}
app.kubernetes.io/component: tserver
app.kubernetes.io/component: tserver
{{- with .Values.global.commonAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
Expand All @@ -51,7 +51,7 @@ spec:
{{- $podAntiAffinity := .Values.accumulo.tserver.podAntiAffinity }}
{{- include "accumulo.podAntiAffinity" (dict "Chart" .Chart "Release" .Release "Values" .Values "component" $component "podAntiAffinity" $podAntiAffinity) | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "accumulo.serviceAccountName" . }}
serviceAccountName: {{include "accumulo.serviceAccountName" .}}
initContainers:
- name: wait-for-manager
image: busybox:1.35
Expand All @@ -60,7 +60,7 @@ spec:
- -c
- |
echo "Waiting for Accumulo manager to be ready..."
until nc -z {{ include "accumulo.fullname" . }}-manager 9999; do
until nc -z {{include "accumulo.fullname" .}}-manager 9999; do
echo "Waiting for manager..."
sleep 5
done
Expand Down Expand Up @@ -114,8 +114,8 @@ spec:
volumes:
- name: accumulo-config
configMap:
name: {{ include "accumulo.fullname" . }}-config
name: {{include "accumulo.fullname" .}}-config
defaultMode: 0755
- name: logs
emptyDir: {}
{{- end }}
{{- end }}
Loading
Loading