Skip to content

Commit

Permalink
Updated api-docs.md (kubeflow#799)
Browse files Browse the repository at this point in the history
  • Loading branch information
liyinan926 authored Feb 11, 2020
1 parent c8ae9e3 commit 4e0c778
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
20 changes: 17 additions & 3 deletions docs/api-docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -2286,7 +2286,21 @@ map[string]string
<td>
<em>(Optional)</em>
<p>EnvVars carries the environment variables to add to the pod.
Deprecated.</p>
Deprecated. Consider using <code>env</code> instead.</p>
</td>
</tr>
<tr>
<td>
<code>envFrom</code></br>
<em>
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.13/#envfromsource-v1-core">
[]Kubernetes core/v1.EnvFromSource
</a>
</em>
</td>
<td>
<em>(Optional)</em>
<p>EnvFrom is a list of sources to populate environment variables in the container.</p>
</td>
</tr>
<tr>
Expand All @@ -2301,7 +2315,7 @@ map[string]github.com/GoogleCloudPlatform/spark-on-k8s-operator/pkg/apis/sparkop
<td>
<em>(Optional)</em>
<p>EnvSecretKeyRefs holds a mapping from environment variable names to SecretKeyRefs.
Deprecated.</p>
Deprecated. Consider using <code>env</code> instead.</p>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -2468,5 +2482,5 @@ Kubernetes core/v1.PodDNSConfig
<hr/>
<p><em>
Generated with <code>gen-crd-api-reference-docs</code>
on git commit <code>abe1af3</code>.
on git commit <code>c8ae9e3</code>.
</em></p>
4 changes: 2 additions & 2 deletions pkg/apis/sparkoperator.k8s.io/v1beta2/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -401,14 +401,14 @@ type SparkPodSpec struct {
// +optional
Env []apiv1.EnvVar `json:"env,omitempty"`
// EnvVars carries the environment variables to add to the pod.
// Deprecated.
// Deprecated. Consider using `env` instead.
// +optional
EnvVars map[string]string `json:"envVars,omitempty"`
// EnvFrom is a list of sources to populate environment variables in the container.
// +optional
EnvFrom []apiv1.EnvFromSource `json:"envFrom,omitempty"`
// EnvSecretKeyRefs holds a mapping from environment variable names to SecretKeyRefs.
// Deprecated.
// Deprecated. Consider using `env` instead.
// +optional
EnvSecretKeyRefs map[string]NameKey `json:"envSecretKeyRefs,omitempty"`
// Labels are the Kubernetes labels to be added to the pod.
Expand Down

0 comments on commit 4e0c778

Please sign in to comment.