Browse Source

rc tests

master
Keny Villela 2 years ago
parent
commit
683d575e0a
  1. 4
      charts/sigi/v0.2.3/templates/deployment.yaml
  2. 6
      charts/sigi/v0.2.3/templates/sigi-ldap-secret.yaml
  3. 2
      charts/sigi/v0.2.3/templates/sigi-saberes-token.yaml
  4. 2
      charts/sigi/v0.2.x/Chart.yaml
  5. 4
      charts/sigi/v0.2.x/templates/deployment.yaml
  6. 2
      charts/sigi/v0.2.x/templates/sigi-ldap-secret.yaml
  7. 2
      charts/sigi/v0.2.x/templates/sigi-saberes-token.yaml

4
charts/sigi/v0.2.3/templates/deployment.yaml

@ -63,7 +63,7 @@ spec:
valueFrom: valueFrom:
# Secret Key # Secret Key
secretKeyRef: secretKeyRef:
name: {{ include "sigi.fullname" . }}-auth-ldap-key name: {{ include "sigi.name" . }}-auth-ldap-key
key: AUTH_LDAP_BIND_PASSWORD key: AUTH_LDAP_BIND_PASSWORD
- name: AUTH_LDAP_USER_SEARCH_STRING - name: AUTH_LDAP_USER_SEARCH_STRING
value: "{{ .Values.sigi.auth.ldap.userSearchString }}" value: "{{ .Values.sigi.auth.ldap.userSearchString }}"
@ -93,7 +93,7 @@ spec:
valueFrom: valueFrom:
# Secret Key # Secret Key
secretKeyRef: secretKeyRef:
name: {{ include "sigi.fullname" . }}-saberes-tkn name: {{ include "sigi.name" . }}-saberes-tkn
key: MOODLE_API_TOKEN key: MOODLE_API_TOKEN
volumeMounts: volumeMounts:
# - mountPath: /var/interlegis/sigi/data # - mountPath: /var/interlegis/sigi/data

6
charts/sigi/v0.2.3/templates/sigi-ldap-secret.yaml

@ -1,9 +1,13 @@
apiVersion: v1 apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:
name: {{ include "sigi.fullname" . }}-auth-ldap-key name: {{ include "sigi.name" . }}-auth-ldap-key
labels: labels:
{{- include "sigi.labels" . | nindent 4 }} {{- include "sigi.labels" . | nindent 4 }}
type: Opaque type: Opaque
data: data:
{{- if .Release.IsUpgrade }}
AUTH_LDAP_BIND_PASSWORD: {{ index (lookup "v1" "Secret" .Release.Namespace (printf "%s-auth-ldap-key" (include "sigi.name" .))).data "AUTH_LDAP_BIND_PASSWORD" }}
{{ else }} # install operation
AUTH_LDAP_BIND_PASSWORD: {{ .Values.sigi.auth.ldap.bindPwd | b64enc }} AUTH_LDAP_BIND_PASSWORD: {{ .Values.sigi.auth.ldap.bindPwd | b64enc }}
{{ end }}

2
charts/sigi/v0.2.3/templates/sigi-saberes-token.yaml

@ -1,7 +1,7 @@
apiVersion: v1 apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:
name: {{ include "sigi.fullname" . }}-saberes-tkn name: {{ include "sigi.name" . }}-saberes-tkn
labels: labels:
{{- include "sigi.labels" . | nindent 4 }} {{- include "sigi.labels" . | nindent 4 }}
type: Opaque type: Opaque

2
charts/sigi/v0.2.x/Chart.yaml

@ -8,7 +8,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version. # to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.98 version: 0.2.5-t
# This is the version number of the application being deployed. This version number should be # This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to # incremented each time you make changes to the application. Versions are not expected to

4
charts/sigi/v0.2.x/templates/deployment.yaml

@ -63,7 +63,7 @@ spec:
valueFrom: valueFrom:
# Secret Key # Secret Key
secretKeyRef: secretKeyRef:
name: {{ include "sigi.fullname" . }}-auth-ldap-key name: {{ include "sigi.name" . }}-auth-ldap-key
key: AUTH_LDAP_BIND_PASSWORD key: AUTH_LDAP_BIND_PASSWORD
- name: AUTH_LDAP_USER_SEARCH_STRING - name: AUTH_LDAP_USER_SEARCH_STRING
value: "{{ .Values.sigi.auth.ldap.userSearchString }}" value: "{{ .Values.sigi.auth.ldap.userSearchString }}"
@ -93,7 +93,7 @@ spec:
valueFrom: valueFrom:
# Secret Key # Secret Key
secretKeyRef: secretKeyRef:
name: {{ include "sigi.fullname" . }}-saberes-tkn name: {{ include "sigi.name" . }}-saberes-tkn
key: MOODLE_API_TOKEN key: MOODLE_API_TOKEN
volumeMounts: volumeMounts:
# - mountPath: /var/interlegis/sigi/data # - mountPath: /var/interlegis/sigi/data

2
charts/sigi/v0.2.x/templates/sigi-ldap-secret.yaml

@ -1,7 +1,7 @@
apiVersion: v1 apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:
name: {{ include "sigi.fullname" . }}-auth-ldap-key name: {{ include "sigi.name" . }}-auth-ldap-key
labels: labels:
{{- include "sigi.labels" . | nindent 4 }} {{- include "sigi.labels" . | nindent 4 }}
type: Opaque type: Opaque

2
charts/sigi/v0.2.x/templates/sigi-saberes-token.yaml

@ -1,7 +1,7 @@
apiVersion: v1 apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:
name: {{ include "sigi.fullname" . }}-saberes-tkn name: {{ include "sigi.name" . }}-saberes-tkn
labels: labels:
{{- include "sigi.labels" . | nindent 4 }} {{- include "sigi.labels" . | nindent 4 }}
type: Opaque type: Opaque

Loading…
Cancel
Save